forummap.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. // Forum Map
  2. // -------------------------
  3. .forum-map-category {
  4. background-color: @categoryBackground;
  5. border: 1px solid @categoryBorder;
  6. border-radius: @borderRadiusSmall;
  7. .box-shadow(0px 0px 0px 3px @categoryShadow);
  8. margin-bottom: @baseLineHeight;
  9. table {
  10. margin: 0px;
  11. caption {
  12. background-color: @categoryHeader;
  13. border: 1px solid @categoryBorder;
  14. border-radius: @borderRadiusSmall @borderRadiusSmall 0px 0px;
  15. margin: -1px;
  16. padding: (@fontSizeSmall / 3) (@fontSizeSmall - 2px);
  17. color: @grayDark;
  18. font-size: @fontSizeSmall;
  19. font-weight: bold;
  20. text-align: left;
  21. small {
  22. margin-left: @baseFontSize / 2;
  23. color: @grayLight;
  24. font-size: @fontSizeSmall;
  25. }
  26. }
  27. .forum-map-forum, .forum-map-subforum {
  28. h3 {
  29. margin: 0px;
  30. padding: 0px;
  31. font-size: @baseFontSize;
  32. line-height: @baseLineHeight;
  33. a:link, a:visited {
  34. color: @gray;
  35. }
  36. a:active, a:hover {
  37. color: @textColor;
  38. }
  39. }
  40. .forum-details {
  41. float: right;
  42. margin-top: (@baseLineHeight * -1) + 1px;
  43. color: @grayLight;
  44. font-size: @fontSizeSmall;
  45. strong, a {
  46. color: @gray;
  47. font-weight: normal
  48. }
  49. a:hover, a:active {
  50. color: @textColor;
  51. }
  52. strong.stat-increment {
  53. color: @green;
  54. }
  55. }
  56. }
  57. .forum-map-subforum {
  58. padding-left: @baseLineHeight * 0.75;
  59. span {
  60. &.tree-t, &.tree-l, &.tree-s, &.tree-i {
  61. display: inline-block;
  62. height: @baseLineHeight;
  63. width: @baseLineHeight * 0.5;
  64. }
  65. &.tree-t {
  66. border-left: 1px solid @grayLight;
  67. margin-right: 2px;
  68. span {
  69. border-top: 1px solid @grayLight;
  70. display: inline-block;
  71. height: 1px;
  72. width: 100%;
  73. margin-bottom: 3px;
  74. }
  75. }
  76. &.tree-l {
  77. margin-right: 4px;
  78. span {
  79. border-left: 1px solid @grayLight;
  80. border-bottom: 1px solid @grayLight;
  81. display: inline-block;
  82. height: @baseLineHeight * 0.5;
  83. width: 100%;
  84. margin-bottom: 3px;
  85. }
  86. }
  87. &.tree-i {
  88. border-left: 1px solid @grayLight;
  89. position: relative;
  90. top: 5px;
  91. margin-top: -5px;
  92. margin-right: 4px;
  93. }
  94. &.tree-s {
  95. height: 1px;
  96. width: (@baseLineHeight * 0.5) + 2px;
  97. margin-right: 4px;
  98. }
  99. }
  100. }
  101. }
  102. &.forum-map-category-important {
  103. caption {
  104. background-color: @red;
  105. border: 1px solid darken(@red, 10%);
  106. color: @white;
  107. text-shadow: 0px 1px 0px darken(@red, 25%);
  108. small {
  109. color: darken(@red, 40%);
  110. text-shadow: none;
  111. }
  112. }
  113. }
  114. &.forum-map-category-inverse {
  115. caption {
  116. background-color: @grayDark;
  117. border: 1px solid darken(@grayDark, 10%);
  118. color: @grayLighter;
  119. text-shadow: 0px 1px 0px darken(@black, 25%);
  120. small {
  121. color: lighten(@grayLight, 10%);
  122. text-shadow: none;
  123. }
  124. }
  125. }
  126. &.forum-map-category-info {
  127. caption {
  128. background-color: @bluePale;
  129. border: 1px solid darken(@bluePale, 10%);
  130. color: @white;
  131. text-shadow: 0px 1px 0px darken(@bluePale, 25%);
  132. small {
  133. color: darken(@bluePale, 25%);
  134. text-shadow: none;
  135. }
  136. }
  137. }
  138. }