You are here

tablesaw-base.css in Responsive Tables Filter 8

/*! Tablesaw - v3.1.2 - 2019-03-19
* https://github.com/filamentgroup/tablesaw
* Copyright (c) 2019 Filament Group; Licensed MIT */

.tablesaw {
  width: 100%;
  max-width: 100%;
  empty-cells: show;
  border-collapse: collapse;
  border: 0;
  padding: 0;
}

.tablesaw * {
  box-sizing: border-box;
}

.tablesaw-btn {
  border: 1px solid #ccc;
  border-radius: .25em;
  background: none;
  box-shadow: 0 1px 0 rgba(255,255,255,1);
  color: #4a4a4a;
  cursor: pointer;
  display: inline-block;
  margin: 0;
  padding: .5em .85em .4em .85em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

a.tablesaw-btn {
  color: #1c95d4;
}

.tablesaw-btn:hover {
  text-decoration: none;
}

/* Default radio/checkbox styling horizonal controlgroups. */

.tablesaw-btn:active {
  background-color: #ddd;
}

@supports (box-shadow: none ) {
  .tablesaw-btn:focus {
    background-color: #fff;
    outline: none;
  }

  .tablesaw-btn:focus {
    box-shadow: 0 0 .35em #4faeef !important;
  }
}

.tablesaw-btn-select select {
  background: none;
  border: none;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  min-height: 1em;
  opacity: 0;
  color: transparent;
}

.tablesaw-btn select option {
  background: #fff;
  color: #000;
}

.tablesaw-btn {
  display: inline-block;
  width: auto;
  height: auto;
  position: relative;
  top: 0;
}

.tablesaw-btn.btn-small {
  font-size: 1.0625em;
  line-height: 19px;
  padding: .3em 1em .3em 1em;
}

.tablesaw-btn.btn-micro {
  font-size: .8125em;
  padding: .4em .7em .25em .7em;
}

.tablesaw-btn-select {
  padding-right: 1.5em;
  text-align: left;
  display: inline-block;
  color: #4d4d4d;
  padding-right: 2.5em;
  min-width: 7.25em;
}

.tablesaw-btn-select:after {
  content: " ";
  position: absolute;
  background: none;
  background-repeat: no-repeat;
  background-position: .25em .45em;
  content: "\25bc";
  font-size: .55em;
  padding-top: 1.2em;
  padding-left: 1em;
  left: auto;
  right: 0;
  margin: 0;
  top: 0;
  bottom: 0;
  width: 1.8em;
}

.tablesaw-btn-select.btn-small:after,
.tablesaw-btn-select.btn-micro:after {
  width: 1.2em;
  font-size: .5em;
  padding-top: 1em;
  padding-right: .5em;
  line-height: 1.65;
  background: none;
  box-shadow: none;
  border-left-width: 0;
}

/* Column navigation buttons for swipe and columntoggle tables */

.tablesaw-advance .tablesaw-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  text-shadow: 0 1px 0 #fff;
  border-radius: .25em;
}

.tablesaw-advance .tablesaw-btn.btn-micro {
  font-size: .8125em;
  padding: .3em .7em .25em .7em;
}

.tablesaw-advance a.tablesaw-nav-btn:first-child {
  margin-left: 0;
}

.tablesaw-advance a.tablesaw-nav-btn:last-child {
  margin-right: 0;
}

.tablesaw-advance a.tablesaw-nav-btn {
  display: inline-block;
  overflow: hidden;
  width: 1.8em;
  height: 1.8em;
  background-position: 50% 50%;
  margin-left: .25em;
  margin-right: .25em;
  position: relative;
  text-indent: -9999px;
}

.tablesaw-advance a.tablesaw-nav-btn.left:before,
.tablesaw-advance a.tablesaw-nav-btn.right:before,
.tablesaw-advance a.tablesaw-nav-btn.down:before,
.tablesaw-advance a.tablesaw-nav-btn.up:before {
  content: "\0020";
  overflow: hidden;
  width: 0;
  height: 0;
  position: absolute;
}

.tablesaw-advance a.tablesaw-nav-btn.down:before {
  left: .5em;
  top: .65em;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #808080;
}

.tablesaw-advance a.tablesaw-nav-btn.up:before {
  left: .5em;
  top: .65em;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #808080;
}

.tablesaw-advance a.tablesaw-nav-btn.left:before,
.tablesaw-advance a.tablesaw-nav-btn.right:before {
  top: .45em;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.tablesaw-advance a.tablesaw-nav-btn.left:before {
  left: .6em;
  border-right: 5px solid #808080;
}

.tablesaw-advance a.tablesaw-nav-btn.right:before {
  left: .7em;
  border-left: 5px solid #808080;
}

.tablesaw-advance a.tablesaw-nav-btn.disabled {
  opacity: .25;
  cursor: default;
  pointer-events: none;
}

/* Table Toolbar */

.tablesaw-bar {
  clear: both;
}

.tablesaw-bar * {
  box-sizing: border-box;
}

.tablesaw-bar-section {
  float: left;
}

.tablesaw-bar-section label {
  font-size: .875em;
  padding: .5em 0;
  clear: both;
  display: block;
  color: #888;
  margin-right: .5em;
  text-transform: uppercase;
}

.tablesaw-btn,
.tablesaw-enhanced .tablesaw-btn {
  margin-top: .5em;
  margin-bottom: .5em;
}

.tablesaw-btn-select,
.tablesaw-enhanced .tablesaw-btn-select {
  margin-bottom: 0;
}

/* TODO */

.tablesaw-bar .tablesaw-bar-section .tablesaw-btn {
  margin-left: .4em;
  margin-top: 0;
  text-transform: uppercase;
  border: none;
  box-shadow: none;
  background: transparent;
  font-size: 1em;
  padding-left: .3em;
}

.tablesaw-bar .tablesaw-bar-section .btn-select {
  min-width: 0;
}

.tablesaw-bar .tablesaw-bar-section .btn-select:after {
  padding-top: .9em;
}

.tablesaw-bar .tablesaw-bar-section select {
  color: #888;
  text-transform: none;
  background: transparent;
}

.tablesaw-bar-section ~ table {
  clear: both;
}

.tablesaw-bar-section .abbreviated {
  display: inline;
}

.tablesaw-bar-section .longform {
  display: none;
}

@media (min-width: 24em) {
  .tablesaw-bar-section .abbreviated {
    display: none;
  }

  .tablesaw-bar-section .longform {
    display: inline;
  }
}

.tablesaw th,
.tablesaw td {
  padding: .5em .7em;
  text-align: left;
  vertical-align: middle;
}

.tablesaw-sortable-btn {
  /* same as cell padding above */
  padding: .5em .7em;
}

.tablesaw thead th {
  text-align: left;
}

/* Table rows have a gray bottom stroke by default */

.tablesaw-row-border tr {
  border-bottom: 1px solid #dfdfdf;
}

/* Zebra striping */

.tablesaw-row-zebra tr:nth-child(2n) {
  background-color: #f8f8f8;
}

.tablesaw caption {
  text-align: left;
  margin: .59375em 0;
}

.tablesaw-swipe .tablesaw-swipe-cellpersist {
  border-right: 2px solid #e4e1de;
}

.tablesaw-swipe-shadow .tablesaw-swipe-cellpersist {
  border-right-width: 1px;
}

.tablesaw-swipe-shadow .tablesaw-swipe-cellpersist {
  box-shadow: 3px 0 4px -1px #e4e1de;
}

.tablesaw-stack td .tablesaw-cell-label,
.tablesaw-stack th .tablesaw-cell-label {
  display: none;
}

/* Media query to show as a standard table at 560px (35em x 16px) or wider */

@media (min-width: 40em) {
  .tablesaw-stack tr {
    display: table-row;
  }

  /* Show the table header rows */

  .tablesaw-stack td,
  .tablesaw-stack th,
  .tablesaw-stack thead td,
  .tablesaw-stack thead th {
    display: table-cell;
    margin: 0;
  }

  /* Hide the labels in each cell */

  .tablesaw-stack td .tablesaw-cell-label,
  .tablesaw-stack th .tablesaw-cell-label {
    display: none !important;
  }
}

.tablesaw-fix-persist {
  table-layout: fixed;
}

@media only all {
  /* Unchecked manually: Always hide */

  .tablesaw-swipe th.tablesaw-swipe-cellhidden,
  .tablesaw-swipe td.tablesaw-swipe-cellhidden {
    display: none;
  }
}

.tablesaw-overflow {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* More in skin.css */
}

.tablesaw-overflow > .tablesaw {
  margin-top: 2px;
  /* sortable focus rings are clipped */
}

/* Used for a11y text on button: "Columns" */

.tablesaw-columntoggle-btn span {
  text-indent: -9999px;
  display: inline-block;
}

.tablesaw-columntoggle-btnwrap {
  position: relative;
  /* for dialog positioning */
}

.tablesaw-columntoggle-btnwrap .dialog-content {
  padding: .5em;
}

.tablesaw-columntoggle tbody td {
  line-height: 1.5;
}

/* Remove top/bottom margins around the fieldcontain on check list */

.tablesaw-columntoggle-popup {
  display: none;
}

.tablesaw-columntoggle-btnwrap.visible .tablesaw-columntoggle-popup {
  display: block;
  position: absolute;
  top: 2em;
  right: 0;
  background-color: #fff;
  padding: .5em .8em;
  border: 1px solid #ccc;
  box-shadow: 0 1px 2px #ccc;
  border-radius: .2em;
  z-index: 1;
}

.tablesaw-columntoggle-popup fieldset {
  margin: 0;
}

.tablesaw-columntoggle-btnwrap .dialog-content {
  top: 0 !important;
  right: 1em;
  left: auto !important;
  width: 12em;
  max-width: 18em;
  margin: -.5em auto 0;
}

.tablesaw-columntoggle-btnwrap .dialog-content:focus {
  outline-style: none;
}

/* Preset breakpoints if "" class added to table */

/* Show priority 4 at 800px (50em x 16px) */

@media (min-width: 50em) {
  .tablesaw-columntoggle th.tablesaw-priority-4,
  .tablesaw-columntoggle td.tablesaw-priority-4 {
    display: table-cell;
  }
}

/* Show priority 5 at 960px (60em x 16px) */

@media (min-width: 60em) {
  .tablesaw-columntoggle th.tablesaw-priority-5,
  .tablesaw-columntoggle td.tablesaw-priority-5 {
    display: table-cell;
  }
}

/* Show priority 6 at 1,120px (70em x 16px) */

@media (min-width: 70em) {
  .tablesaw-columntoggle th.tablesaw-priority-6,
  .tablesaw-columntoggle td.tablesaw-priority-6 {
    display: table-cell;
  }
}

@media only all {
  /* Unchecked manually: Always hide */

  .tablesaw-columntoggle th.tablesaw-toggle-cellhidden,
  .tablesaw-columntoggle td.tablesaw-toggle-cellhidden {
    display: none;
  }

  /* Checked manually: Always show */

  .tablesaw-columntoggle th.tablesaw-toggle-cellvisible,
  .tablesaw-columntoggle td.tablesaw-toggle-cellvisible {
    display: table-cell;
  }
}

.tablesaw-columntoggle-popup .tablesaw-btn-group > label {
  display: block;
  padding: .2em 0;
  white-space: nowrap;
  cursor: default;
}

.tablesaw-columntoggle-popup .tablesaw-btn-group > label input {
  margin-right: .8em;
}

.tablesaw-sortable-head {
  position: relative;
  vertical-align: top;
}

/* Override */

.tablesaw .tablesaw-sortable-head {
  padding: 0;
}

.tablesaw-sortable-btn {
  min-width: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: inherit;
  font: inherit;
  text-transform: inherit;
}

.tablesaw-sortable-arrow:after {
  display: inline-block;
  width: 10px;
  height: 14px;
  content: " ";
  margin-left: .3125em;
}

.tablesaw-sortable-ascending .tablesaw-sortable-arrow:after,
.tablesaw-sortable-descending .tablesaw-sortable-arrow:after {
  content: "\0020";
}

.tablesaw-sortable-ascending .tablesaw-sortable-arrow:after {
  content: "\2191";
}

.tablesaw-sortable-descending .tablesaw-sortable-arrow:after {
  content: "\2193";
}

.tablesaw-advance {
  float: right;
}

.tablesaw-advance.minimap {
  margin-right: .4em;
}

.tablesaw-advance-dots {
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tablesaw-advance-dots li {
  display: table-cell;
  margin: 0;
  padding: .4em .2em;
}

.tablesaw-advance-dots li i {
  width: .25em;
  height: .25em;
  background: #555;
  border-radius: 100%;
  display: inline-block;
}

.tablesaw-advance-dots-hide {
  opacity: .25;
  cursor: default;
  pointer-events: none;
}

File

css/tablesaw-base.css
View source
  1. /*! Tablesaw - v3.1.2 - 2019-03-19
  2. * https://github.com/filamentgroup/tablesaw
  3. * Copyright (c) 2019 Filament Group; Licensed MIT */
  4. .tablesaw {
  5. width: 100%;
  6. max-width: 100%;
  7. empty-cells: show;
  8. border-collapse: collapse;
  9. border: 0;
  10. padding: 0;
  11. }
  12. .tablesaw * {
  13. box-sizing: border-box;
  14. }
  15. .tablesaw-btn {
  16. border: 1px solid #ccc;
  17. border-radius: .25em;
  18. background: none;
  19. box-shadow: 0 1px 0 rgba(255,255,255,1);
  20. color: #4a4a4a;
  21. cursor: pointer;
  22. display: inline-block;
  23. margin: 0;
  24. padding: .5em .85em .4em .85em;
  25. position: relative;
  26. text-align: center;
  27. text-decoration: none;
  28. text-transform: capitalize;
  29. -webkit-appearance: none;
  30. -moz-appearance: none;
  31. appearance: none;
  32. }
  33. a.tablesaw-btn {
  34. color: #1c95d4;
  35. }
  36. .tablesaw-btn:hover {
  37. text-decoration: none;
  38. }
  39. /* Default radio/checkbox styling horizonal controlgroups. */
  40. .tablesaw-btn:active {
  41. background-color: #ddd;
  42. }
  43. @supports (box-shadow: none ) {
  44. .tablesaw-btn:focus {
  45. background-color: #fff;
  46. outline: none;
  47. }
  48. .tablesaw-btn:focus {
  49. box-shadow: 0 0 .35em #4faeef !important;
  50. }
  51. }
  52. .tablesaw-btn-select select {
  53. background: none;
  54. border: none;
  55. display: inline-block;
  56. position: absolute;
  57. left: 0;
  58. top: 0;
  59. margin: 0;
  60. width: 100%;
  61. height: 100%;
  62. z-index: 2;
  63. min-height: 1em;
  64. opacity: 0;
  65. color: transparent;
  66. }
  67. .tablesaw-btn select option {
  68. background: #fff;
  69. color: #000;
  70. }
  71. .tablesaw-btn {
  72. display: inline-block;
  73. width: auto;
  74. height: auto;
  75. position: relative;
  76. top: 0;
  77. }
  78. .tablesaw-btn.btn-small {
  79. font-size: 1.0625em;
  80. line-height: 19px;
  81. padding: .3em 1em .3em 1em;
  82. }
  83. .tablesaw-btn.btn-micro {
  84. font-size: .8125em;
  85. padding: .4em .7em .25em .7em;
  86. }
  87. .tablesaw-btn-select {
  88. padding-right: 1.5em;
  89. text-align: left;
  90. display: inline-block;
  91. color: #4d4d4d;
  92. padding-right: 2.5em;
  93. min-width: 7.25em;
  94. }
  95. .tablesaw-btn-select:after {
  96. content: " ";
  97. position: absolute;
  98. background: none;
  99. background-repeat: no-repeat;
  100. background-position: .25em .45em;
  101. content: "\25bc";
  102. font-size: .55em;
  103. padding-top: 1.2em;
  104. padding-left: 1em;
  105. left: auto;
  106. right: 0;
  107. margin: 0;
  108. top: 0;
  109. bottom: 0;
  110. width: 1.8em;
  111. }
  112. .tablesaw-btn-select.btn-small:after,
  113. .tablesaw-btn-select.btn-micro:after {
  114. width: 1.2em;
  115. font-size: .5em;
  116. padding-top: 1em;
  117. padding-right: .5em;
  118. line-height: 1.65;
  119. background: none;
  120. box-shadow: none;
  121. border-left-width: 0;
  122. }
  123. /* Column navigation buttons for swipe and columntoggle tables */
  124. .tablesaw-advance .tablesaw-btn {
  125. -webkit-appearance: none;
  126. -moz-appearance: none;
  127. box-sizing: border-box;
  128. text-shadow: 0 1px 0 #fff;
  129. border-radius: .25em;
  130. }
  131. .tablesaw-advance .tablesaw-btn.btn-micro {
  132. font-size: .8125em;
  133. padding: .3em .7em .25em .7em;
  134. }
  135. .tablesaw-advance a.tablesaw-nav-btn:first-child {
  136. margin-left: 0;
  137. }
  138. .tablesaw-advance a.tablesaw-nav-btn:last-child {
  139. margin-right: 0;
  140. }
  141. .tablesaw-advance a.tablesaw-nav-btn {
  142. display: inline-block;
  143. overflow: hidden;
  144. width: 1.8em;
  145. height: 1.8em;
  146. background-position: 50% 50%;
  147. margin-left: .25em;
  148. margin-right: .25em;
  149. position: relative;
  150. text-indent: -9999px;
  151. }
  152. .tablesaw-advance a.tablesaw-nav-btn.left:before,
  153. .tablesaw-advance a.tablesaw-nav-btn.right:before,
  154. .tablesaw-advance a.tablesaw-nav-btn.down:before,
  155. .tablesaw-advance a.tablesaw-nav-btn.up:before {
  156. content: "\0020";
  157. overflow: hidden;
  158. width: 0;
  159. height: 0;
  160. position: absolute;
  161. }
  162. .tablesaw-advance a.tablesaw-nav-btn.down:before {
  163. left: .5em;
  164. top: .65em;
  165. border-left: 5px solid transparent;
  166. border-right: 5px solid transparent;
  167. border-top: 5px solid #808080;
  168. }
  169. .tablesaw-advance a.tablesaw-nav-btn.up:before {
  170. left: .5em;
  171. top: .65em;
  172. border-left: 5px solid transparent;
  173. border-right: 5px solid transparent;
  174. border-bottom: 5px solid #808080;
  175. }
  176. .tablesaw-advance a.tablesaw-nav-btn.left:before,
  177. .tablesaw-advance a.tablesaw-nav-btn.right:before {
  178. top: .45em;
  179. border-top: 5px solid transparent;
  180. border-bottom: 5px solid transparent;
  181. }
  182. .tablesaw-advance a.tablesaw-nav-btn.left:before {
  183. left: .6em;
  184. border-right: 5px solid #808080;
  185. }
  186. .tablesaw-advance a.tablesaw-nav-btn.right:before {
  187. left: .7em;
  188. border-left: 5px solid #808080;
  189. }
  190. .tablesaw-advance a.tablesaw-nav-btn.disabled {
  191. opacity: .25;
  192. cursor: default;
  193. pointer-events: none;
  194. }
  195. /* Table Toolbar */
  196. .tablesaw-bar {
  197. clear: both;
  198. }
  199. .tablesaw-bar * {
  200. box-sizing: border-box;
  201. }
  202. .tablesaw-bar-section {
  203. float: left;
  204. }
  205. .tablesaw-bar-section label {
  206. font-size: .875em;
  207. padding: .5em 0;
  208. clear: both;
  209. display: block;
  210. color: #888;
  211. margin-right: .5em;
  212. text-transform: uppercase;
  213. }
  214. .tablesaw-btn,
  215. .tablesaw-enhanced .tablesaw-btn {
  216. margin-top: .5em;
  217. margin-bottom: .5em;
  218. }
  219. .tablesaw-btn-select,
  220. .tablesaw-enhanced .tablesaw-btn-select {
  221. margin-bottom: 0;
  222. }
  223. /* TODO */
  224. .tablesaw-bar .tablesaw-bar-section .tablesaw-btn {
  225. margin-left: .4em;
  226. margin-top: 0;
  227. text-transform: uppercase;
  228. border: none;
  229. box-shadow: none;
  230. background: transparent;
  231. font-size: 1em;
  232. padding-left: .3em;
  233. }
  234. .tablesaw-bar .tablesaw-bar-section .btn-select {
  235. min-width: 0;
  236. }
  237. .tablesaw-bar .tablesaw-bar-section .btn-select:after {
  238. padding-top: .9em;
  239. }
  240. .tablesaw-bar .tablesaw-bar-section select {
  241. color: #888;
  242. text-transform: none;
  243. background: transparent;
  244. }
  245. .tablesaw-bar-section ~ table {
  246. clear: both;
  247. }
  248. .tablesaw-bar-section .abbreviated {
  249. display: inline;
  250. }
  251. .tablesaw-bar-section .longform {
  252. display: none;
  253. }
  254. @media (min-width: 24em) {
  255. .tablesaw-bar-section .abbreviated {
  256. display: none;
  257. }
  258. .tablesaw-bar-section .longform {
  259. display: inline;
  260. }
  261. }
  262. .tablesaw th,
  263. .tablesaw td {
  264. padding: .5em .7em;
  265. text-align: left;
  266. vertical-align: middle;
  267. }
  268. .tablesaw-sortable-btn {
  269. /* same as cell padding above */
  270. padding: .5em .7em;
  271. }
  272. .tablesaw thead th {
  273. text-align: left;
  274. }
  275. /* Table rows have a gray bottom stroke by default */
  276. .tablesaw-row-border tr {
  277. border-bottom: 1px solid #dfdfdf;
  278. }
  279. /* Zebra striping */
  280. .tablesaw-row-zebra tr:nth-child(2n) {
  281. background-color: #f8f8f8;
  282. }
  283. .tablesaw caption {
  284. text-align: left;
  285. margin: .59375em 0;
  286. }
  287. .tablesaw-swipe .tablesaw-swipe-cellpersist {
  288. border-right: 2px solid #e4e1de;
  289. }
  290. .tablesaw-swipe-shadow .tablesaw-swipe-cellpersist {
  291. border-right-width: 1px;
  292. }
  293. .tablesaw-swipe-shadow .tablesaw-swipe-cellpersist {
  294. box-shadow: 3px 0 4px -1px #e4e1de;
  295. }
  296. .tablesaw-stack td .tablesaw-cell-label,
  297. .tablesaw-stack th .tablesaw-cell-label {
  298. display: none;
  299. }
  300. /* Media query to show as a standard table at 560px (35em x 16px) or wider */
  301. @media (min-width: 40em) {
  302. .tablesaw-stack tr {
  303. display: table-row;
  304. }
  305. /* Show the table header rows */
  306. .tablesaw-stack td,
  307. .tablesaw-stack th,
  308. .tablesaw-stack thead td,
  309. .tablesaw-stack thead th {
  310. display: table-cell;
  311. margin: 0;
  312. }
  313. /* Hide the labels in each cell */
  314. .tablesaw-stack td .tablesaw-cell-label,
  315. .tablesaw-stack th .tablesaw-cell-label {
  316. display: none !important;
  317. }
  318. }
  319. .tablesaw-fix-persist {
  320. table-layout: fixed;
  321. }
  322. @media only all {
  323. /* Unchecked manually: Always hide */
  324. .tablesaw-swipe th.tablesaw-swipe-cellhidden,
  325. .tablesaw-swipe td.tablesaw-swipe-cellhidden {
  326. display: none;
  327. }
  328. }
  329. .tablesaw-overflow {
  330. position: relative;
  331. width: 100%;
  332. overflow-x: auto;
  333. -webkit-overflow-scrolling: touch;
  334. /* More in skin.css */
  335. }
  336. .tablesaw-overflow > .tablesaw {
  337. margin-top: 2px;
  338. /* sortable focus rings are clipped */
  339. }
  340. /* Used for a11y text on button: "Columns" */
  341. .tablesaw-columntoggle-btn span {
  342. text-indent: -9999px;
  343. display: inline-block;
  344. }
  345. .tablesaw-columntoggle-btnwrap {
  346. position: relative;
  347. /* for dialog positioning */
  348. }
  349. .tablesaw-columntoggle-btnwrap .dialog-content {
  350. padding: .5em;
  351. }
  352. .tablesaw-columntoggle tbody td {
  353. line-height: 1.5;
  354. }
  355. /* Remove top/bottom margins around the fieldcontain on check list */
  356. .tablesaw-columntoggle-popup {
  357. display: none;
  358. }
  359. .tablesaw-columntoggle-btnwrap.visible .tablesaw-columntoggle-popup {
  360. display: block;
  361. position: absolute;
  362. top: 2em;
  363. right: 0;
  364. background-color: #fff;
  365. padding: .5em .8em;
  366. border: 1px solid #ccc;
  367. box-shadow: 0 1px 2px #ccc;
  368. border-radius: .2em;
  369. z-index: 1;
  370. }
  371. .tablesaw-columntoggle-popup fieldset {
  372. margin: 0;
  373. }
  374. .tablesaw-columntoggle-btnwrap .dialog-content {
  375. top: 0 !important;
  376. right: 1em;
  377. left: auto !important;
  378. width: 12em;
  379. max-width: 18em;
  380. margin: -.5em auto 0;
  381. }
  382. .tablesaw-columntoggle-btnwrap .dialog-content:focus {
  383. outline-style: none;
  384. }
  385. /* Preset breakpoints if "" class added to table */
  386. /* Show priority 4 at 800px (50em x 16px) */
  387. @media (min-width: 50em) {
  388. .tablesaw-columntoggle th.tablesaw-priority-4,
  389. .tablesaw-columntoggle td.tablesaw-priority-4 {
  390. display: table-cell;
  391. }
  392. }
  393. /* Show priority 5 at 960px (60em x 16px) */
  394. @media (min-width: 60em) {
  395. .tablesaw-columntoggle th.tablesaw-priority-5,
  396. .tablesaw-columntoggle td.tablesaw-priority-5 {
  397. display: table-cell;
  398. }
  399. }
  400. /* Show priority 6 at 1,120px (70em x 16px) */
  401. @media (min-width: 70em) {
  402. .tablesaw-columntoggle th.tablesaw-priority-6,
  403. .tablesaw-columntoggle td.tablesaw-priority-6 {
  404. display: table-cell;
  405. }
  406. }
  407. @media only all {
  408. /* Unchecked manually: Always hide */
  409. .tablesaw-columntoggle th.tablesaw-toggle-cellhidden,
  410. .tablesaw-columntoggle td.tablesaw-toggle-cellhidden {
  411. display: none;
  412. }
  413. /* Checked manually: Always show */
  414. .tablesaw-columntoggle th.tablesaw-toggle-cellvisible,
  415. .tablesaw-columntoggle td.tablesaw-toggle-cellvisible {
  416. display: table-cell;
  417. }
  418. }
  419. .tablesaw-columntoggle-popup .tablesaw-btn-group > label {
  420. display: block;
  421. padding: .2em 0;
  422. white-space: nowrap;
  423. cursor: default;
  424. }
  425. .tablesaw-columntoggle-popup .tablesaw-btn-group > label input {
  426. margin-right: .8em;
  427. }
  428. .tablesaw-sortable-head {
  429. position: relative;
  430. vertical-align: top;
  431. }
  432. /* Override */
  433. .tablesaw .tablesaw-sortable-head {
  434. padding: 0;
  435. }
  436. .tablesaw-sortable-btn {
  437. min-width: 100%;
  438. color: inherit;
  439. background: transparent;
  440. border: 0;
  441. text-align: inherit;
  442. font: inherit;
  443. text-transform: inherit;
  444. }
  445. .tablesaw-sortable-arrow:after {
  446. display: inline-block;
  447. width: 10px;
  448. height: 14px;
  449. content: " ";
  450. margin-left: .3125em;
  451. }
  452. .tablesaw-sortable-ascending .tablesaw-sortable-arrow:after,
  453. .tablesaw-sortable-descending .tablesaw-sortable-arrow:after {
  454. content: "\0020";
  455. }
  456. .tablesaw-sortable-ascending .tablesaw-sortable-arrow:after {
  457. content: "\2191";
  458. }
  459. .tablesaw-sortable-descending .tablesaw-sortable-arrow:after {
  460. content: "\2193";
  461. }
  462. .tablesaw-advance {
  463. float: right;
  464. }
  465. .tablesaw-advance.minimap {
  466. margin-right: .4em;
  467. }
  468. .tablesaw-advance-dots {
  469. float: left;
  470. margin: 0;
  471. padding: 0;
  472. list-style: none;
  473. }
  474. .tablesaw-advance-dots li {
  475. display: table-cell;
  476. margin: 0;
  477. padding: .4em .2em;
  478. }
  479. .tablesaw-advance-dots li i {
  480. width: .25em;
  481. height: .25em;
  482. background: #555;
  483. border-radius: 100%;
  484. display: inline-block;
  485. }
  486. .tablesaw-advance-dots-hide {
  487. opacity: .25;
  488. cursor: default;
  489. pointer-events: none;
  490. }