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.

179 lines
4.3 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*-------------------
  2. Collection
  3. --------------------*/
  4. @borderCollapse: separate;
  5. @borderSpacing: 0px;
  6. @transition: all 0.2s @defaultEasing;
  7. @borderRadius: 0.25rem;
  8. @background: #FFFFFF;
  9. @color: @textColor;
  10. @border: 1px solid @solidBorderColor;
  11. @boxShadow: none;
  12. /*--------------
  13. Elements
  14. ---------------*/
  15. /* Table Row */
  16. @rowBorder: 1px solid @solidBorderColor;
  17. /* Table Cell */
  18. @cellVerticalPadding: 0.7em;
  19. @cellHorizontalPadding: 0.8em;
  20. @cellVerticalAlign: middle;
  21. @cellBorder: 1px solid @solidBorderColor;
  22. /* Table Header */
  23. @headerBorder: 1px solid rgba(0, 0, 0, 0.1);
  24. @headerBackground: transparent;
  25. @headerAlign: left;
  26. @headerVerticalAlign: middle;
  27. @headerColor: @textColor;
  28. @headerVerticalPadding: @cellVerticalPadding;
  29. @headerHorizontalPadding: @cellHorizontalPadding;
  30. @headerFontStyle: none;
  31. @headerFontWeight: bold;
  32. @headerTextTransform: none;
  33. /* Table Footer */
  34. @footerBorder: 1px solid rgba(0, 0, 0, 0.1);
  35. @footerBackground: rgba(0, 0, 0, 0.05);
  36. @footerAlign: left;
  37. @footerVerticalAlign: middle;
  38. @footerColor: @textColor;
  39. @footerVerticalPadding: 1em;
  40. @footerHorizontalPadding: @cellHorizontalPadding;
  41. @footerFontStyle: italic;
  42. @footerFontWeight: normal;
  43. @footerTextTransform: none;
  44. /* Responsive Size */
  45. @responsiveHeaderDisplay: none;
  46. @responsiveFooterDisplay: none;
  47. @responsiveRowVerticalPadding: 1em;
  48. @responsiveRowBoxShadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
  49. @responsiveCellVerticalPadding: 0.25em;
  50. @responsiveCellHorizontalPadding: 0.75em;
  51. @responsiveCellBoxShadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05) !important;
  52. @responsiveStatusColor: transparent;
  53. /*--------------
  54. Couplings
  55. ---------------*/
  56. @iconVerticalAlign: baseline;
  57. /*--------------
  58. States
  59. ---------------*/
  60. @stateMarkerWidth: 2px;
  61. /* Positive */
  62. @positiveColor: #119000;
  63. @positiveBackgroundColor: #F2F8F0;
  64. @positiveBoxShadow: @stateMarkerWidth 0px 0px @positiveColor inset;
  65. @positiveBackgroundHover: #ECF5E9;
  66. @positiveColorHover: #119000;
  67. /* Negative */
  68. @negativeColor: #CD2929;
  69. @negativeBackgroundColor: #F9F4F4;
  70. @negativeBoxShadow: @stateMarkerWidth 0px 0px @negativeColor inset;
  71. @negativeBackgroundHover: #F2E8E8;
  72. @negativeColorHover: #CD2929;
  73. /* Error */
  74. @errorColor: #CD2929;
  75. @errorBackgroundColor: #F9F4F4;
  76. @errorBoxShadow: @stateMarkerWidth 0px 0px @errorColor inset;
  77. @errorBackgroundHover: #F2E8E8;
  78. @errorColorHover: #CD2929;
  79. /* Warning */
  80. @warningColor: #7D6C00;
  81. @warningBackgroundColor: #FBF6E9;
  82. @warningBoxShadow: @stateMarkerWidth 0px 0px @warningColor inset;
  83. @warningBackgroundHover: #F3EDDC;
  84. @warningColorHover: #CD2929;
  85. /* Active */
  86. @activeColor: rgba(50, 50, 50, 0.9);
  87. @activeBackgroundColor: #E0E0E0;
  88. @activeBoxShadow: @stateMarkerWidth 0px 0px @activeColor inset;
  89. @activeBackgroundHover: #EFEFEF;
  90. @activeColorHover: rgba(50, 50, 50, 1);
  91. /*--------------
  92. Types
  93. ---------------*/
  94. /* Striped */
  95. @stripedBackground: rgba(0, 0, 50, 0.03);
  96. @invertedStripedBackground: rgba(255, 255, 255, 0.06);
  97. /* Sortable */
  98. @sortableBackground: '';
  99. @sortableColor: @textColor;
  100. @sortableIconWidth: 1em;
  101. @sortableIconDistance: 0.5em;
  102. @sortableIconOpacity: 0.8;
  103. @sortableIconFont: 'Icons';
  104. @sortableIconAscending: '\f0d7';
  105. @sortableIconDescending: '\f0d8';
  106. @sortableDisabledColor: @disabledTextColor;
  107. @sortableHoverBackground: @strongTransparentBlack;
  108. @sortableHoverColor: @selectedTextColor;
  109. @sortableInvertedHoverBackground: @strongTransparentWhite;
  110. @sortableInvertedHoverColor: @invertedSelectedTextColor;
  111. /* Colors */
  112. @coloredBorderSize: 0.2em;
  113. @coloredBorderRadius: 0em;
  114. /* Inverted */
  115. @invertedBackground: #333333;
  116. @invertedBorder: none;
  117. @invertedCellBorderColor: rgba(0, 0, 0, 0.2);
  118. @invertedCellColor: @invertedTextColor;
  119. @invertedHeaderBackground: rgba(0, 0, 0, 0.15);
  120. @invertedHeaderColor: rgba(255, 255, 255, 0.9);
  121. /* Definition */
  122. @definitionBackground: '';
  123. @definitionColor: @selectedTextColor;
  124. @definitionFontWeight: bold;
  125. /* Basic */
  126. @basicTableBackground: transparent;
  127. @basicTableBorder: none;
  128. @basicTableHeaderBackground: transparent;
  129. @basicTableCellBackground: transparent;
  130. @basicTableCellBorder: 1px solid rgba(0, 0, 0, 0.1);
  131. @basicTableCellVerticalPadding: 0.8em;
  132. @basicTableCellHorizontalPadding: 0em;
  133. @basicTableStripedBackground: transparent;
  134. /* Padded */
  135. @paddedVerticalPadding: 0.8em;
  136. @paddedHorizontalPadding: 1em;
  137. @compactVerticalPadding: 0.5em;
  138. @compactHorizontalPadding: 0.8em;
  139. /* Sizes */
  140. @small: 0.875em;
  141. @medium: 1em;
  142. @large: 1.1em;