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.

icons.scss 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. /**
  2. * Icons
  3. *
  4. * All default sitewide icons:
  5. * - category icons,
  6. * - forum icons, and
  7. * - badge styles.
  8. */
  9. $cats: "assets/bioicons/";
  10. $posts: "assets/forums/";
  11. $nrcc: no-repeat center center;
  12. @mixin scale() {
  13. background-size: contain;
  14. }
  15. /*
  16. * Category Icons
  17. */
  18. .cats_sequences {
  19. background: url($cats + "sequences.png") $nrcc;
  20. @include scale;
  21. }
  22. .cats_graphs {
  23. background: url($cats + "graphs.png") $nrcc;
  24. @include scale;
  25. }
  26. .cats_systems {
  27. background: url($cats + "systems.png") $nrcc;
  28. @include scale;
  29. }
  30. .cats_geometric {
  31. background: url($cats + "geometric.png") $nrcc;
  32. @include scale;
  33. }
  34. .cats_scalars\/vectors {
  35. background: url($cats + "scalars_vectors.png") $nrcc;
  36. @include scale;
  37. }
  38. .cats_patterns {
  39. background: url($cats + "patterns.png") $nrcc;
  40. @include scale;
  41. }
  42. .cats_constraints {
  43. background: url($cats + "constraints.png") $nrcc;
  44. @include scale;
  45. }
  46. .cats_images {
  47. background: url($cats + "images.png") $nrcc;
  48. @include scale;
  49. }
  50. .cats_spatial {
  51. background: url($cats + "spatial.png") $nrcc;
  52. @include scale;
  53. }
  54. .cats_models {
  55. background: url($cats + "models.png") $nrcc;
  56. @include scale;
  57. }
  58. .cats_documents {
  59. background: url($cats + "documents.png") $nrcc;
  60. @include scale;
  61. }
  62. .cats_machinedata {
  63. background: url($cats + "machine_data.png") $nrcc;
  64. @include scale;
  65. }
  66. /* Shown on browse page */
  67. .cats_col div {
  68. width: 3rem;
  69. height: 3rem;
  70. }
  71. /* Related? */
  72. #cat-selector ul {
  73. width: 100%;
  74. }
  75. #cat-selector ul li {
  76. display: inline;
  77. }
  78. /* Shown on torrent details page */
  79. h2.group_cat {
  80. width: 1rem;
  81. height: 1rem;
  82. background-size: 1rem 1rem;
  83. display: inline-block;
  84. margin: 0 0.5rem;
  85. }
  86. /**
  87. * Forum Icons
  88. */
  89. .unread {
  90. background: url($posts + "unread.png") $nrcc;
  91. }
  92. .read {
  93. background: url($posts + "read.png") $nrcc;
  94. }
  95. .unread_locked {
  96. background: url($posts + "locked_unread.png") $nrcc;
  97. }
  98. .read_locked {
  99. background: url($posts + "locked_read.png") $nrcc;
  100. }
  101. .read_sticky {
  102. background: url($posts + "sticky_read.png") $nrcc;
  103. }
  104. .unread_sticky {
  105. background: url($posts + "sticky_unread.png") $nrcc;
  106. }
  107. .unread_locked_sticky {
  108. background: url($posts + "locked_sticky_unread.png") $nrcc;
  109. }
  110. .read_locked_sticky {
  111. background: url($posts + "locked_sticky_read.png") $nrcc;
  112. }
  113. /**
  114. * Badges
  115. */
  116. img.badge {
  117. max-width: 16px;
  118. max-height: 16px;
  119. }
  120. a.badge_icon {
  121. white-space: nowrap;
  122. }