tables.skin.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. :root {
  2. --thead-background: #e2dfdc;
  3. --thead-background-to-gradient: #fff;
  4. }
  5. table.tablesaw tbody th {
  6. font-weight: bold;
  7. }
  8. table.tablesaw thead th,
  9. table.tablesaw thead td {
  10. color: #444;
  11. font-size: .9em;
  12. }
  13. .tablesaw th,
  14. .tablesaw td {
  15. line-height: 1em;
  16. text-align: left;
  17. vertical-align: middle;
  18. }
  19. .tablesaw td,
  20. .tablesaw tbody th {
  21. vertical-align: middle;
  22. font-size: 1.17em; /* 19px */
  23. }
  24. .tablesaw td .btn,
  25. .tablesaw tbody th .btn {
  26. margin:0;
  27. }
  28. .tablesaw thead {
  29. border: 1px solid #e5e5e4;
  30. background: var(--thead-background);
  31. background-image: linear-gradient(to bottom, var(--thead-background-to-gradient), var(--thead-background));
  32. }
  33. .tablesaw thead th {
  34. font-weight: 100;
  35. color: #777;
  36. text-transform: uppercase;
  37. text-shadow: 0 1px 0 #fff;
  38. text-align: left;
  39. }
  40. .tablesaw thead tr:first-child th {
  41. font-weight: normal;
  42. font-family: sans-serif;
  43. border-right: 1px solid #e4e1de;
  44. }
  45. /* Table rows have a gray bottom stroke by default */
  46. .tablesaw tbody tr {
  47. border-bottom: 1px solid #dfdfdf;
  48. }
  49. .tablesaw caption {
  50. text-align: left;
  51. margin-bottom: 0;
  52. opacity: .5;
  53. filter: alpha(opacity=50);
  54. line-height: 2.4;
  55. }
  56. @media (min-width: 25em) {
  57. .tablesaw caption {
  58. margin-bottom: .6em;
  59. line-height: 1.2;
  60. }
  61. }
  62. /* Stack */
  63. .tablesaw-cell-label-top {
  64. text-transform: uppercase;
  65. font-size: .9em;
  66. font-weight: normal;
  67. }
  68. .tablesaw-cell-label {
  69. font-size: .65em;
  70. text-transform: uppercase;
  71. color: #888;
  72. font-family: sans-serif;
  73. }
  74. @media (min-width: 40em) {
  75. .tablesaw td {
  76. line-height: 2em;
  77. }
  78. }
  79. @media only all {
  80. .tablesaw-swipe .tablesaw-cell-persist {
  81. border-right: 1px solid #e4e1de;
  82. }
  83. .tablesaw-swipe .tablesaw-cell-persist {
  84. box-shadow: 3px 0 4px -1px #e4e1de;
  85. }
  86. }