You are here

tables.css in AT Tools 8

@charset "UTF-8";
/**
 * Table Base
 * Set base styles for table elements.
 ============================================================================ */
table {
  padding: 0;
  border: 0;
  border-collapse: collapse;
}
table caption {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 18px;
  line-height: 1.125rem;
  font-style: italic;
}

tr {
  border: 1px solid;
}

caption,
th,
td {
  text-align: left;
}

thead tr {
  font-weight: 600;
}

tr,
td,
th {
  border: 1px solid;
}

td,
th {
  padding: 7px;
  padding: 0.4375rem;
  vertical-align: middle;
}

/**
 * Table Theme
 * Style Drupal selectors for tables.
 ============================================================================ */
.path-admin table {
  width: 100%;
}
table.sticky-header {
  z-index: 10;
}
table .view-table__details {
  padding: 0;
  margin: 0 0 16px;
  margin: 0 0 1rem;
  font-size: 16px;
  font-size: 1rem;
  line-height: 21px;
  line-height: 1.3125rem;
}
table .view-table__details,
table .view-table__details--summary {
  border: 0;
}
table .view-table__details--description {
  font-style: italic;
}
table ul {
  margin: 0;
}
table[align='right'] {
  margin-left: 16px;
  margin-left: 1rem;
}
table[align='left'] {
  margin-right: 16px;
  margin-right: 1rem;
}
@media all and (max-width: 45em) {
  table[align='right'], table[align='left'] {
    margin-left: 0;
    margin-right: 0;
  }
}

thead, tbody, tr, th, td {
  border-width: 1px;
}
[border='2'] thead, [border='2'] tbody, [border='2'] tr, [border='2'] th, [border='2'] td {
  border-width: 2px;
}
[border='3'] thead, [border='3'] tbody, [border='3'] tr, [border='3'] th, [border='3'] td {
  border-width: 3px;
}
[border='4'] thead, [border='4'] tbody, [border='4'] tr, [border='4'] th, [border='4'] td {
  border-width: 4px;
}
[border='5'] thead, [border='5'] tbody, [border='5'] tr, [border='5'] th, [border='5'] td {
  border-width: 5px;
}
[border='6'] thead, [border='6'] tbody, [border='6'] tr, [border='6'] th, [border='6'] td {
  border-width: 6px;
}
[border='7'] thead, [border='7'] tbody, [border='7'] tr, [border='7'] th, [border='7'] td {
  border-width: 7px;
}
[border='8'] thead, [border='8'] tbody, [border='8'] tr, [border='8'] th, [border='8'] td {
  border-width: 8px;
}
[border='9'] thead, [border='9'] tbody, [border='9'] tr, [border='9'] th, [border='9'] td {
  border-width: 9px;
}
[border='10'] thead, [border='10'] tbody, [border='10'] tr, [border='10'] th, [border='10'] td {
  border-width: 10px;
}

thead .active img {
  display: inline;
}

/**
 * Table sort indicators.
 ============================================================================ */
.tablesort {
  height: 16px;
  height: 1rem;
  width: 16px;
  width: 1rem;
  display: inline-block;
}
.tablesort--asc:after, .tablesort--desc:after {
  font-family: FontAwesome, sans-serif;
  height: 16px;
  height: 1rem;
  width: 16px;
  width: 1rem;
  padding: 0 3px;
  padding: 0 0.1875rem;
  background-image: none;
  display: none;
}
.fa-loaded .tablesort--asc:after, .fa-loaded .tablesort--desc:after {
  display: inline-block;
}
.tablesort--asc:after {
  content: "";
}
.tablesort--desc:after {
  content: "";
}

/*# sourceMappingURL=maps/tables.css.map */

File

at_theme_generator/starterkits/starterkit/styles/css/components/tables.css
View source
  1. @charset "UTF-8";
  2. /**
  3. * Table Base
  4. * Set base styles for table elements.
  5. ============================================================================ */
  6. table {
  7. padding: 0;
  8. border: 0;
  9. border-collapse: collapse;
  10. }
  11. table caption {
  12. font-size: 14px;
  13. font-size: 0.875rem;
  14. line-height: 18px;
  15. line-height: 1.125rem;
  16. font-style: italic;
  17. }
  18. tr {
  19. border: 1px solid;
  20. }
  21. caption,
  22. th,
  23. td {
  24. text-align: left;
  25. }
  26. thead tr {
  27. font-weight: 600;
  28. }
  29. tr,
  30. td,
  31. th {
  32. border: 1px solid;
  33. }
  34. td,
  35. th {
  36. padding: 7px;
  37. padding: 0.4375rem;
  38. vertical-align: middle;
  39. }
  40. /**
  41. * Table Theme
  42. * Style Drupal selectors for tables.
  43. ============================================================================ */
  44. .path-admin table {
  45. width: 100%;
  46. }
  47. table.sticky-header {
  48. z-index: 10;
  49. }
  50. table .view-table__details {
  51. padding: 0;
  52. margin: 0 0 16px;
  53. margin: 0 0 1rem;
  54. font-size: 16px;
  55. font-size: 1rem;
  56. line-height: 21px;
  57. line-height: 1.3125rem;
  58. }
  59. table .view-table__details,
  60. table .view-table__details--summary {
  61. border: 0;
  62. }
  63. table .view-table__details--description {
  64. font-style: italic;
  65. }
  66. table ul {
  67. margin: 0;
  68. }
  69. table[align='right'] {
  70. margin-left: 16px;
  71. margin-left: 1rem;
  72. }
  73. table[align='left'] {
  74. margin-right: 16px;
  75. margin-right: 1rem;
  76. }
  77. @media all and (max-width: 45em) {
  78. table[align='right'], table[align='left'] {
  79. margin-left: 0;
  80. margin-right: 0;
  81. }
  82. }
  83. thead, tbody, tr, th, td {
  84. border-width: 1px;
  85. }
  86. [border='2'] thead, [border='2'] tbody, [border='2'] tr, [border='2'] th, [border='2'] td {
  87. border-width: 2px;
  88. }
  89. [border='3'] thead, [border='3'] tbody, [border='3'] tr, [border='3'] th, [border='3'] td {
  90. border-width: 3px;
  91. }
  92. [border='4'] thead, [border='4'] tbody, [border='4'] tr, [border='4'] th, [border='4'] td {
  93. border-width: 4px;
  94. }
  95. [border='5'] thead, [border='5'] tbody, [border='5'] tr, [border='5'] th, [border='5'] td {
  96. border-width: 5px;
  97. }
  98. [border='6'] thead, [border='6'] tbody, [border='6'] tr, [border='6'] th, [border='6'] td {
  99. border-width: 6px;
  100. }
  101. [border='7'] thead, [border='7'] tbody, [border='7'] tr, [border='7'] th, [border='7'] td {
  102. border-width: 7px;
  103. }
  104. [border='8'] thead, [border='8'] tbody, [border='8'] tr, [border='8'] th, [border='8'] td {
  105. border-width: 8px;
  106. }
  107. [border='9'] thead, [border='9'] tbody, [border='9'] tr, [border='9'] th, [border='9'] td {
  108. border-width: 9px;
  109. }
  110. [border='10'] thead, [border='10'] tbody, [border='10'] tr, [border='10'] th, [border='10'] td {
  111. border-width: 10px;
  112. }
  113. thead .active img {
  114. display: inline;
  115. }
  116. /**
  117. * Table sort indicators.
  118. ============================================================================ */
  119. .tablesort {
  120. height: 16px;
  121. height: 1rem;
  122. width: 16px;
  123. width: 1rem;
  124. display: inline-block;
  125. }
  126. .tablesort--asc:after, .tablesort--desc:after {
  127. font-family: FontAwesome, sans-serif;
  128. height: 16px;
  129. height: 1rem;
  130. width: 16px;
  131. width: 1rem;
  132. padding: 0 3px;
  133. padding: 0 0.1875rem;
  134. background-image: none;
  135. display: none;
  136. }
  137. .fa-loaded .tablesort--asc:after, .fa-loaded .tablesort--desc:after {
  138. display: inline-block;
  139. }
  140. .tablesort--asc:after {
  141. content: "";
  142. }
  143. .tablesort--desc:after {
  144. content: "";
  145. }
  146. /*# sourceMappingURL=maps/tables.css.map */