|
@ -11,7 +11,7 @@ |
|
|
border-radius 0.1s ease, |
|
|
border-radius 0.1s ease, |
|
|
width 0.2s ease |
|
|
width 0.2s ease |
|
|
; |
|
|
; |
|
|
@borderRadius: 0.325em; |
|
|
|
|
|
|
|
|
@borderRadius: @defaultBorderRadius; |
|
|
|
|
|
|
|
|
/*------------------- |
|
|
/*------------------- |
|
|
Content |
|
|
Content |
|
@ -51,17 +51,6 @@ |
|
|
@itemTextTransform: none; |
|
|
@itemTextTransform: none; |
|
|
@itemBoxShadow: none; |
|
|
@itemBoxShadow: none; |
|
|
|
|
|
|
|
|
/* Responsive */ |
|
|
|
|
|
@itemActualHeight: (@itemVerticalPadding * 2) + @itemLineHeight; |
|
|
|
|
|
|
|
|
|
|
|
@mobileMaxItems: 6; |
|
|
|
|
|
@tabletMaxItems: 8; |
|
|
|
|
|
@computerMaxItems: 12; |
|
|
|
|
|
@mobileMaxMenuHeight: (@itemActualHeight * @mobileMaxItems); |
|
|
|
|
|
@tabletMaxMenuHeight: (@itemActualHeight * @tabletMaxItems); |
|
|
|
|
|
@computerMaxMenuHeight: (@itemActualHeight * @computerMaxItems); |
|
|
|
|
|
@widescreenMaxMenuHeight: 9999px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Menu Header */ |
|
|
/* Menu Header */ |
|
|
@menuHeaderColor: @darkTextColor; |
|
|
@menuHeaderColor: @darkTextColor; |
|
@ -126,7 +115,6 @@ b Types |
|
|
@selectionBorderRadius: @borderRadius; |
|
|
@selectionBorderRadius: @borderRadius; |
|
|
@selectionIconOpacity: 0.8; |
|
|
@selectionIconOpacity: 0.8; |
|
|
@selectionIconTransition: opacity 0.2s ease; |
|
|
@selectionIconTransition: opacity 0.2s ease; |
|
|
@selectionMenuMaxHeight: 245px; |
|
|
|
|
|
@selectionMenuBoxShadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.08); |
|
|
@selectionMenuBoxShadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.08); |
|
|
@selectionMenuItemBoxShadow: none; |
|
|
@selectionMenuItemBoxShadow: none; |
|
|
|
|
|
|
|
@ -140,6 +128,20 @@ b Types |
|
|
border 0.2s @defaultEasing |
|
|
border 0.2s @defaultEasing |
|
|
; |
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
/* Responsive */ |
|
|
|
|
|
@selectionMobileMaxItems: 3; |
|
|
|
|
|
@selectionTabletMaxItems: 4; |
|
|
|
|
|
@selectionComputerMaxItems: 6; |
|
|
|
|
|
@selectionWidescreenMaxItems: 8; |
|
|
|
|
|
|
|
|
|
|
|
/* Derived */ |
|
|
|
|
|
@selectedBorderEMWidth: 0.0714em; |
|
|
|
|
|
@selectionItemActualHeight: (@itemVerticalPadding * 2) + @itemLineHeight + @selectedBorderEMWidth; |
|
|
|
|
|
@selectionMobileMaxMenuHeight: (@selectionItemActualHeight * @selectionMobileMaxItems); |
|
|
|
|
|
@selectionTabletMaxMenuHeight: (@selectionItemActualHeight * @selectionTabletMaxItems); |
|
|
|
|
|
@selectionComputerMaxMenuHeight: (@selectionItemActualHeight * @selectionComputerMaxItems); |
|
|
|
|
|
@selectionWidescreenMaxMenuHeight: (@selectionItemActualHeight * @selectionWidescreenMaxItems); |
|
|
|
|
|
|
|
|
/* Hover */ |
|
|
/* Hover */ |
|
|
@selectionHoverBorderColor: @selectedBorderColor; |
|
|
@selectionHoverBorderColor: @selectedBorderColor; |
|
|
@selectionHoverBoxShadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05); |
|
|
@selectionHoverBoxShadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05); |
|
|