|
|
@ -118,15 +118,19 @@ |
|
|
|
/*------------------- |
|
|
|
Types |
|
|
|
--------------------*/ |
|
|
|
/* Selection */ |
|
|
|
@selectionMinWidth: 200px; |
|
|
|
@selectionBorderEmWidth: @relative1px; |
|
|
|
@selectionMinHeight: @defaultInputLineHeight + (@selectionVerticalPadding * 2) - @selectionBorderEmWidth; |
|
|
|
@selectionBackground: @white; |
|
|
|
@selectionDisplay: inline-block; |
|
|
|
|
|
|
|
/*------------ |
|
|
|
Selection |
|
|
|
--------------*/ |
|
|
|
|
|
|
|
@selectionMinWidth: 14em; |
|
|
|
@selectionVerticalPadding: @inputVerticalPadding; |
|
|
|
@selectionHorizontalPadding: @inputHorizontalPadding; |
|
|
|
@selectionIconDistance: 2em; |
|
|
|
@selectionBorderEmWidth: @relative1px; |
|
|
|
@selectionMinHeight: @inputLineHeight + (@selectionVerticalPadding * 2) - @selectionBorderEmWidth; |
|
|
|
@selectionBackground: @inputBackground; |
|
|
|
@selectionDisplay: inline-block; |
|
|
|
@selectionIconDistance: @inputHorizontalPadding + @glyphWidth + 0.5em; |
|
|
|
@selectionPadding: @selectionVerticalPadding @selectionIconDistance @selectionVerticalPadding @selectionHorizontalPadding; |
|
|
|
@selectionZIndex: 10; |
|
|
|
|
|
|
@ -185,7 +189,7 @@ |
|
|
|
@selectionHoverBorderColor: @selectedBorderColor; |
|
|
|
@selectionHoverBoxShadow: none; |
|
|
|
|
|
|
|
/* Hover */ |
|
|
|
/* Focus */ |
|
|
|
@selectionFocusBorderColor: @selectedBorderColor; |
|
|
|
@selectionFocusBoxShadow: none; |
|
|
|
@selectionFocusMenuBoxShadow: @raisedShadow; |
|
|
@ -206,11 +210,14 @@ |
|
|
|
@selectionVisibleConnectingBorder: 0em; |
|
|
|
@selectionVisibleIconOpacity: 1; |
|
|
|
|
|
|
|
/* Search */ |
|
|
|
/*-------------- |
|
|
|
Search |
|
|
|
--------------*/ |
|
|
|
|
|
|
|
@searchMinWidth: ''; |
|
|
|
|
|
|
|
/* Search Selection */ |
|
|
|
@searchSelectionLineHeight: @defaultInputLineHeight; |
|
|
|
@searchSelectionLineHeight: @inputLineHeight; |
|
|
|
@searchSelectionLineHeightOffset: ((@searchSelectionLineHeight - 1em) / 2); |
|
|
|
@searchSelectionVerticalPadding: (@selectionVerticalPadding - @searchSelectionLineHeightOffset); |
|
|
|
@searchSelectionHorizontalPadding: @selectionHorizontalPadding; |
|
|
@ -229,7 +236,9 @@ |
|
|
|
@inlineMenuBorderRadius: @borderRadius; |
|
|
|
|
|
|
|
|
|
|
|
/* Multiple */ |
|
|
|
/*-------------- |
|
|
|
Multiple |
|
|
|
--------------*/ |
|
|
|
|
|
|
|
/* Split Actual Padding Between Child and Parent (allows for label spacing) */ |
|
|
|
@multipleSelectionVerticalPadding: (@searchSelectionVerticalPadding * (1/3)); |
|
|
@ -239,8 +248,8 @@ |
|
|
|
|
|
|
|
/* Child Elements */ |
|
|
|
@multipleSelectionChildVerticalMargin: (@searchSelectionVerticalPadding * (2/3)); |
|
|
|
@multipleSelectionChildSpacing: @relative6px; |
|
|
|
@multipleSelectionChildMargin: @multipleSelectionChildVerticalMargin 0em @multipleSelectionChildVerticalMargin @multipleSelectionChildSpacing; |
|
|
|
@multipleSelectionChildLeftMargin: (@inputHorizontalPadding - @multipleSelectionLeftPadding); |
|
|
|
@multipleSelectionChildMargin: @multipleSelectionChildVerticalMargin 0em @multipleSelectionChildVerticalMargin @multipleSelectionChildLeftMargin; |
|
|
|
@multipleSelectionChildLineHeight: @searchSelectionLineHeight; |
|
|
|
@multipleSelectionSearchStartWidth: (@glyphWidth * 2); |
|
|
|
|
|
|
@ -250,9 +259,9 @@ |
|
|
|
|
|
|
|
/* Selection Label */ |
|
|
|
@labelSize: @relativeMedium; |
|
|
|
@labelHorizontalSpacing: @4px; |
|
|
|
@labelVerticalSpacing: (@relative4px / 2); |
|
|
|
@labelMargin: @labelVerticalSpacing @labelHorizontalSpacing @labelVerticalSpacing 0em; |
|
|
|
@labelHorizontalMargin: @4px; |
|
|
|
@labelVerticalMargin: (@relative6px / 2); |
|
|
|
@labelMargin: @labelVerticalMargin @labelHorizontalMargin @labelVerticalMargin 0em; |
|
|
|
@labelBorderWidth: 1px; |
|
|
|
@labelBoxShadow: 0px 0px 0px @labelBorderWidth @borderColor inset; |
|
|
|
|
|
|
@ -260,7 +269,6 @@ |
|
|
|
@labelHorizontalPadding: @relativeMini; |
|
|
|
@labelPadding: @labelVerticalPadding @labelHorizontalPadding; |
|
|
|
|
|
|
|
|
|
|
|
/*------------------- |
|
|
|
States |
|
|
|
--------------------*/ |
|
|
|