BioTorrents.de’s version of Gazelle
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.

tables.scss 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. @mixin center-all {
  2. }
  3. table {
  4. width: 100%;
  5. th {
  6. font-size: 120%;
  7. }
  8. /*
  9. tr {
  10. background-color: white;
  11. }
  12. */
  13. }
  14. /**
  15. * Torrent form
  16. */
  17. .torrent_form,
  18. #dynamic_form {
  19. /* margin-bottom: 2rem; */
  20. label {
  21. float: right;
  22. }
  23. td {
  24. vertical-align: top;
  25. }
  26. }
  27. /**
  28. * colhead
  29. * The main table heading.
  30. */
  31. .colhead {
  32. padding: 0.5em 0;
  33. border-bottom: 1px solid #e1e1e1;
  34. font-size: 120%;
  35. font-weight: bold;
  36. }
  37. .colhead .sign,
  38. .colhead_dark .sign {
  39. padding: 0 1rem;
  40. vertical-align: middle;
  41. text-align: center;
  42. font-weight: bold;
  43. }
  44. .colhead .sign {
  45. padding: 0 1rem;
  46. font-weight: bold;
  47. }
  48. /* Torrent and collage tables */
  49. .torrent_table,
  50. .collage_table {
  51. tr:nth-child(2n) {
  52. background-color: whitesmoke;
  53. }
  54. tr:nth-child(2n-1) {
  55. background-color: white;
  56. }
  57. div.tags {
  58. font-weight: normal;
  59. max-width: 500px;
  60. }
  61. span {
  62. float: right;
  63. }
  64. }
  65. /*
  66. .torrent_table,
  67. .collage_table {
  68. tr.group {
  69. background-color: white;
  70. td.center:first-child {
  71. padding: 3px;
  72. width: 21px;
  73. }
  74. }
  75. tr.group_torrent {
  76. background-color: white;
  77. span {
  78. float: right;
  79. }
  80. }
  81. tr.torrent {
  82. background-color: white;
  83. }
  84. tr.torrent:nth-child(2n),
  85. tr.row:nth-child(2n) {
  86. background-color: whitesmoke;
  87. }
  88. tr.torrent:nth-child(2n-1),
  89. tr.row:nth-child(2n-1) {
  90. background-color: white;
  91. }
  92. tr .center,
  93. td {
  94. vertical-align: middle;
  95. /* text-align: center; * /
  96. }
  97. div.tags {
  98. font-weight: normal;
  99. max-width: 500px;
  100. }
  101. }
  102. */
  103. .torrent_table .group_torrent .torrent span {
  104. font-weight: normal;
  105. float: right;
  106. }
  107. /* Forums */
  108. .forum_post .colhead_dark {
  109. background: $lb100;
  110. }
  111. .forum_post.staff_post .colhead_dark {
  112. background: $lb200;
  113. }
  114. .forum_post.sticky_post {
  115. border: 2px solid $lb200;
  116. }
  117. td.label {
  118. font-weight: bold;
  119. text-align: right;
  120. width: 180px;
  121. }
  122. table.slice {
  123. margin-top: -1px;
  124. }
  125. /* Get rid of extraneous padding in the Top Contributors box */
  126. #request_top_contrib {
  127. border: none;
  128. tr:first-child th {
  129. border-top: 0;
  130. }
  131. tr:last-child td {
  132. border-bottom: 0;
  133. }
  134. tr td:first-child,
  135. tr th:first-child,
  136. tr td:nth-child(2),
  137. tr th:nth-child(2) {
  138. border-left: 0;
  139. border-top: 0;
  140. }
  141. tr td:last-child,
  142. tr th:last-child {
  143. border-right: 0;
  144. }
  145. }
  146. #request_table {
  147. margin-bottom: 0.5rem;
  148. }