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.

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