/******************************* Dropdown *******************************/ /*------------------- Element --------------------*/ @transition: box-shadow @defaultDuration @defaultEasing, width @defaultDuration @defaultEasing ; @borderRadius: @defaultBorderRadius; @raisedShadow: 0px 2px 3px 0px @borderColor; /*------------------- Content --------------------*/ /* Icon */ @dropdownIconSize: @relative12px; @dropdownIconMargin: 0em 0em 0em 1em; /* Current Text */ @textTransition: none; /* Menu */ @menuBackground: #FFFFFF; @menuMargin: 0em; @menuPadding: 0em 0em; @menuTop: 100%; @menuTextAlign: left; @menuBorderWidth: 1px; @menuBorderColor: @borderColor; @menuBorder: @menuBorderWidth solid @menuBorderColor; @menuBoxShadow: @raisedShadow; @menuBorderRadius: @borderRadius; @menuTransition: opacity @defaultDuration @defaultEasing; @menuMinWidth: ~"calc(100% + "(@menuBorderWidth * 2)~")"; @menuZIndex: 11; /* Text */ @textLineHeight: 1em; @textLineHeightOffset: (@textLineHeight - 1em); /* Menu Item */ @itemFontSize: @medium; @itemTextAlign: left; @itemBorder: none; @itemHeight: auto; @itemDivider: none; @itemColor: @textColor; @itemVerticalPadding: @mini; @itemHorizontalPadding: @large; @itemPadding: @itemVerticalPadding @itemHorizontalPadding; @itemFontWeight: normal; @itemLineHeight: 1em; @itemLineHeightOffset: (@itemLineHeight - 1em); @itemTextTransform: none; @itemBoxShadow: none; /* Sub Menu */ @subMenuTop: 0%; @subMenuLeft: 100%; @subMenuRight: auto; @subMenuDistanceAway: -0.5em; @subMenuMargin: 0em 0em 0em @subMenuDistanceAway; @subMenuBorderRadius: @borderRadius; @subMenuZIndex: 21; /* Menu Header */ @menuHeaderColor: @darkTextColor; @menuHeaderFontSize: @relative11px; @menuHeaderFontWeight: bold; @menuHeaderTextTransform: uppercase; @menuHeaderMargin: 1rem 0rem 0.75rem; @menuHeaderPadding: 0em @itemHorizontalPadding; /* Menu Divider */ @menuDividerMargin: 0.5em 0em; @menuDividerColor: @internalBorderColor; @menuDividerSize: 1px; @menuDividerBorder: @menuDividerSize solid @menuDividerColor; /* Menu Input */ @menuInputMargin: @large @mini; @menuInputMinWidth: 10rem; @menuInputVerticalPadding: 0.5em; @menuInputHorizontalPadding: @inputHorizontalPadding; @menuInputPadding: @menuInputVerticalPadding @menuInputHorizontalPadding; /* Menu Image */ @menuImageMaxHeight: 2em; /* Item Sub-Element */ @itemElementFloat: none; @itemElementDistance: @mini; /* Sub-Menu Dropdown Icon */ @itemDropdownIconDistance: 1em; @itemDropdownIconFloat: right; @itemDropdownIconMargin: @itemLineHeightOffset 0em 0em @itemDropdownIconDistance; /* Description */ @itemDescriptionFloat: right; @itemDescriptionMargin: 0em 0em 0em 1em; @itemDescriptionColor: @lightTextColor; /* Message */ @messagePadding: @selectionItemPadding; @messageFontWeight: normal; @messageColor: @unselectedTextColor; /* Floated Content */ @floatedDistance: 1em; /*------------------- Types --------------------*/ /*------------ Selection --------------*/ @selectionMinWidth: 14em; @selectionVerticalPadding: @inputVerticalPadding; @selectionHorizontalPadding: @inputHorizontalPadding; @selectionBorderEmWidth: @relative1px; @selectionMinHeight: @inputLineHeight + (@selectionVerticalPadding * 2) - @selectionBorderEmWidth; @selectionBackground: @inputBackground; @selectionDisplay: inline-block; @selectionIconDistance: @inputHorizontalPadding + @glyphWidth + 0.5em; @selectionPadding: @selectionVerticalPadding @selectionIconDistance @selectionVerticalPadding @selectionHorizontalPadding; @selectionZIndex: 10; @selectionItemDivider: 1px solid @solidInternalBorderColor; @selectionMessagePadding: @selectionItemPadding; /*