You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

284 lines
6.0 KiB

  1. /*-------------------
  2. Globals Used
  3. --------------------*/
  4. // @textColor
  5. // @borderColor
  6. // @invertedUnselectedTextColor
  7. /*-------------------
  8. Collection
  9. --------------------*/
  10. @margin: 1rem 0rem;
  11. @verticalPadding: 0.83em;
  12. @horizontalPadding: 0.95em;
  13. @background: #FFFFFF;
  14. @itemBackground: none;
  15. @fontWeight: normal;
  16. @boxShadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  17. @borderSize: 0em;
  18. @transition:
  19. opacity 0.2s ease,
  20. background 0.2s ease,
  21. box-shadow 0.2s ease
  22. ;
  23. @borderRadius: 0.1875rem;
  24. @dividerSize: 1px;
  25. @dividerBackground: linear-gradient(
  26. rgba(0, 0, 0, 0.05) 0%,
  27. rgba(0, 0, 0, 0.1) 50%,
  28. rgba(0, 0, 0, 0.05) 100%)
  29. ;
  30. @headerBackground: rgba(0, 0, 0, 0.04);
  31. @headerWeight: bold;
  32. @textLineHeight: 1.3;
  33. @transition:
  34. opacity 0.2s ease,
  35. background 0.2s ease,
  36. box-shadow 0.2s ease
  37. ;
  38. @menuTextColor: @textColor;
  39. /* Sub Menu */
  40. @subMenuMargin: 0.5em;
  41. @subMenuFontSize: 0.875rem;
  42. @subMenuTextColor: @textColor;
  43. @subMenuHorizontalPadding: 0.5rem;
  44. @subMenuVerticalPadding: 1.5rem;
  45. /*--------------
  46. Elements
  47. ---------------*/
  48. /* Icon */
  49. @iconMargin: 0.5em;
  50. @iconLabelMargin: 0.25em;
  51. /* Header */
  52. @headerBackground: rgba(0, 0, 0, 0.04);
  53. @headerWeight: bold;
  54. @headerTextTransform: normal;
  55. @headerFontSize: 1rem;
  56. /*--------------
  57. Couplings
  58. ---------------*/
  59. /* Button */
  60. @buttonOffset: -0.05em;
  61. @buttonVerticalPadding: 0.55em;
  62. @buttonSize: 0.875em;
  63. @actionButtonHorizontalPadding: 0.8em;
  64. @labeledButtonPadding: 0.6em;
  65. /* Input */
  66. @inputSize: 0.875em;
  67. @inputVerticalMargin: -0.8em;
  68. @inputOffset: -0.05em;
  69. @inputVerticalPadding: 0.5em;
  70. @inputIconOffset: -0.3em;
  71. @smallInputOffset: 0em;
  72. @smallInputVerticalPadding: 0.4em;
  73. @largeInputOffset: -0.125em;
  74. @largeInputVerticalPadding: 0.6em;
  75. /* Label */
  76. @labelOffset: -0.15em;
  77. @labelBackground: rgba(0, 0, 0, 0.35);
  78. @labelTextColor: #FFFFFF;
  79. @labelTextMargin: 0.5em;
  80. @labelVerticalPadding: 0.3em;
  81. @labelHorizontalPadding: 0.8em;
  82. /* Dropdown */
  83. @dropdownBackground: #FFFFFF;
  84. @dropdownMenuOffset: 1px;
  85. @dropdownPointingDistance: 0.75em;
  86. @dropdownTextColor: @textColor;
  87. @dropdownBoxShadow: 0 1px 1px 1px @solidBorderColor;
  88. @dropdownVerticalBoxShadow: 0 0px 1px 1px @solidBorderColor;
  89. /* Pointing Arrow */
  90. @arrowSize: 0.6em;
  91. @arrowOffset: -(@arrowSize / 2);
  92. @arrowBorder: 1px solid rgba(0, 0, 0, 0.1);
  93. @arrowHoverColor: #FAFAFA;
  94. @arrowActiveColor: #FCFCFC;
  95. @arrowVerticalHoverColor: #FAFAFA;
  96. @arrowVerticalActiveColor: #FCFCFC;
  97. /*--------------
  98. States
  99. ---------------*/
  100. @hoverBackground: @subtleTransparentBlack;
  101. @hoverColor: @textColor;
  102. @downBackground: @subtleTransparentBlack;
  103. @activeBackground: @subtleTransparentBlack;
  104. @activeColor: @darkTextColor;
  105. @activeBorderSize: 0.2em;
  106. @activeFontWeight: normal;
  107. @activeHoverBackground: @hoverBackground;
  108. @subMenuActiveColor: rgba(0, 0, 0, 0.03);
  109. @loadingBackgroundColor: rgba(255, 255, 255, 0.8);
  110. @loadingImage: "@{imagePath}/loader-large.gif";
  111. @loadingPosition: 50% 50%;
  112. /*--------------
  113. Types
  114. ---------------*/
  115. /* Vertical */
  116. @verticalBackground: #FFFFFF;
  117. @verticalItemBackground: none;
  118. @verticalDividerBackground: linear-gradient(to right,
  119. rgba(0, 0, 0, 0.03) 0%,
  120. rgba(0, 0, 0, 0.1) 1.5em,
  121. rgba(0, 0, 0, 0.03) 100%)
  122. ;
  123. /* Secondary */
  124. @secondaryBackground: none;
  125. @secondaryItemBackground: none;
  126. @secondaryTransition: color 0.2s ease;
  127. @secondaryBorderRadius: 0.3125em;
  128. @secondaryMargin: 0.25em;
  129. @secondaryVerticalMargin: 0.3em;
  130. @secondaryVerticalPadding: 0.5em;
  131. @secondaryHorizontalPadding: 1em;
  132. @secondaryLinkOpacity: 0.8;
  133. @secondaryHeaderBackground: none transparent;
  134. @secondaryHeaderBorder: 0.1em solid rgba(0, 0, 0, 0.1);
  135. @secondaryActiveBackground: @transparentBlack;
  136. @secondaryInvertedActiveBackground: @transparentWhite;
  137. /* Pointing */
  138. @secondaryPointingBorderWidth: 3px;
  139. @secondaryPointingVerticalPadding: 0.6em;
  140. @secondaryPointingHorizontalPadding: 0.95em;
  141. @secondaryPointingBorderColor: rgba(0, 0, 0, 0.2);
  142. @secondaryPointingHoverTextColor: @textColor;
  143. @secondaryPointingActiveBorderColor: rgba(0, 0, 0, 0.4);
  144. @secondaryPointingActiveTextColor: @selectedTextColor;
  145. @secondaryPointingHeaderColor: @selectedTextColor;
  146. /* Tiered */
  147. @tieredActiveItemBackground: #FCFCFC;
  148. @tieredActiveMenuBackground: #FCFCFC;
  149. @tieredSubMenuTextTransform: normal;
  150. @tieredSubMenuFontWeight: normal;
  151. @tieredSubMenuColor: @lightTextColor;
  152. @tieredSubMenuHoverBackground: none transparent;
  153. @tieredSubMenuHoverColor: @selectedTextColor;
  154. @tieredSubMenuActiveBackground: none transparent;
  155. @tieredSubMenuActiveColor: @selectedTextColor;
  156. @tieredInvertedSubMenuBackground: rgba(0, 0, 0, 0.2);
  157. /* Tabular */
  158. @tabularBorderColor: #DCDDDE;
  159. @tabularBackgroundColor: #FFFFFF;
  160. @tabularBorderWidth: 1px;
  161. @tabularHorizontalPadding: 1.4em;
  162. @tabularMenuTextColor: @menuTextColor;
  163. @tabularActiveColor: @selectedTextColor;
  164. @tabularMenuActiveBackground: #FFFFFF;
  165. @tabularActiveWeight: bold;
  166. @tabularBorderRadius: 5px;
  167. /* Pagination */
  168. @paginationMinWidth: 3em;
  169. @paginationActiveBackground: rgba(0, 0, 0, 0.03);
  170. /* Labeled Icon */
  171. @labeledIconSize: 1.5em;
  172. @labeledIconMinWidth: 6em;
  173. @labeledIconTextMargin: 0.3em;
  174. /* Text */
  175. @textMenuTransition: opacity 0.2s ease;
  176. /*--------------
  177. Variations
  178. ---------------*/
  179. /* Inverted */
  180. @invertedBackground: none #333333;
  181. @invertedBoxShadow: none;
  182. @invertedHeaderBackground: rgba(0, 0, 0, 0.3);
  183. @invertedSubMenuColor: @invertedLightTextColor;
  184. /* Inverted Secondary */
  185. @secondaryInvertedColor: @invertedLightTextColor;
  186. @secondaryInvertedHoverColor: @invertedSelectedTextColor;
  187. /* Inverted Menu Divider */
  188. @invertedDividerBackground: linear-gradient(
  189. rgba(255, 255, 255, 0.03) 0%,
  190. rgba(255, 255, 255, 0.1) 50%,
  191. rgba(255, 255, 255, 0.03) 100%)
  192. ;
  193. @invertedVerticalDividerBackground: linear-gradient(to right,
  194. rgba(255, 255, 255, 0.03) 0%,
  195. rgba(255, 255, 255, 0.1) 50%,
  196. rgba(255, 255, 255, 0.03) 100%)
  197. ;
  198. /* Fixed */
  199. @fixedGridMargin: 2.75rem;
  200. /* Attached */
  201. @attachedBoxShadow: 0px 0px 0px 1px #DDDDDD;
  202. /* Sizes */
  203. @small: 0.875rem;
  204. @smallSubMenu: 0.875rem;
  205. @smallWidth: 13rem;
  206. @medium: 1rem;
  207. @mediumWidth: 15rem;
  208. @large: 1.125rem;
  209. @largeSubMenu: 0.875rem;
  210. @largeDropdown: 1rem;
  211. @largeWidth: 18rem;