threads.less 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. // Misago Threads Styles
  2. // --------------------------------------------------
  3. .subforums-list {
  4. margin: 0px;
  5. position: relative;
  6. bottom: 32px;
  7. .category {
  8. margin-bottom: -24px;
  9. }
  10. }
  11. // Threads list
  12. // --------------------------------------------------
  13. .threads-list {
  14. .thread-icon {
  15. background-color: @grayLighter;
  16. .border-radius(3px);
  17. padding: 5px 6px;
  18. }
  19. .jump {
  20. .border-radius(3px);
  21. padding: 3px 4px;
  22. margin: -3px 0px;
  23. .opacity(30);
  24. &:hover {
  25. .opacity(100);
  26. &.jump-new {
  27. background-color: @orange;
  28. }
  29. &.jump-last {
  30. background-color: @blue;
  31. }
  32. i {
  33. background-image: url("@{iconWhiteSpritePath}");
  34. }
  35. }
  36. }
  37. .thread-stat {
  38. text-align: right;
  39. }
  40. .thread-author, .thread-poster {
  41. font-weight: bold;
  42. a {
  43. color: @textColor;
  44. }
  45. .avatar-tiny {
  46. margin-right: 4px;
  47. }
  48. }
  49. .thread-closed {
  50. background-color: @red;
  51. }
  52. .thread-new {
  53. background-color: @linkColor;
  54. }
  55. .thread-flags {
  56. float: right;
  57. margin: 0px;
  58. padding: 0px;
  59. li {
  60. float: right;
  61. margin: 0px;
  62. margin-left: 6px;
  63. padding: 0px;
  64. }
  65. }
  66. }
  67. // Thread view
  68. // --------------------------------------------------
  69. .thread-info {
  70. overflow: auto;
  71. li {
  72. float: left;
  73. margin-right: 16px;
  74. .opacity(50);
  75. font-weight: bold;
  76. a {
  77. color: @textColor;
  78. }
  79. }
  80. }
  81. .posts-list {
  82. margin-top: 12px;
  83. margin-bottom: 20px;
  84. .well-post {
  85. margin: 0px;
  86. margin-bottom: 16px;
  87. overflow: auto;
  88. padding: 16px 0px;
  89. .post-author{
  90. overflow: auto;
  91. float: left;
  92. width: 286px;
  93. position: relative;
  94. bottom: 4px;
  95. .avatar-normal {
  96. float: left;
  97. margin: 4px 0px;
  98. margin-left: 16px;
  99. width: 80px;
  100. height: 80px;
  101. .box-shadow(0px 0px 4px @grayLight);
  102. }
  103. .post-bit {
  104. float: left;
  105. margin-left: 12px;
  106. padding-top: 4px;
  107. font-weight: bold;
  108. font-size: 120%;
  109. p {
  110. margin: 0px;
  111. }
  112. .lead {
  113. font-size: 150%;
  114. }
  115. span.lead {
  116. color: lighten(@grayLight, 20%);
  117. }
  118. .user-title {
  119. color: @grayLight;
  120. }
  121. .post-date {
  122. margin-top: 4px;
  123. color: @grayLight;
  124. font-size: 70%;
  125. font-weight: normal
  126. }
  127. }
  128. }
  129. .post-content {
  130. margin-left: 286px;
  131. margin-right: 200px;
  132. padding: 0px 16px;
  133. .post-foot {
  134. margin-top: 20px;
  135. .lead {
  136. margin: 0px;
  137. color: @grayLight;
  138. font-size: 100%;
  139. a {
  140. color: @grayLight;
  141. }
  142. }
  143. .signature {
  144. border-top: 1px solid @grayLighter;
  145. padding-top: 12px;
  146. .markdown {
  147. .opacity(70);
  148. }
  149. }
  150. }
  151. }
  152. .post-extra {
  153. overflow: auto;
  154. float: right;
  155. width: 200px;
  156. padding-right: 16px;
  157. .post-perma {
  158. margin-left: 8px;
  159. color: @grayLight;
  160. }
  161. .label {
  162. margin-left: 8px;
  163. margin-bottom: 8px;
  164. padding: 4px 5px;
  165. font-size: 100%;
  166. }
  167. .label-purple {
  168. background-color: @purple;
  169. }
  170. }
  171. .post-nav {
  172. clear: both;
  173. margin-left: 286px;
  174. overflow: auto;
  175. padding: 8px 16px;
  176. padding-bottom: 0px;
  177. margin-bottom: -8px;
  178. .changelog {
  179. float: left;
  180. .opacity(50);
  181. color: @grayLight;
  182. }
  183. ul {
  184. margin: 0px;
  185. padding: 0px;
  186. }
  187. .nav-pills li {
  188. .opacity(10);
  189. a {
  190. padding: 6px 7px;
  191. }
  192. button {
  193. padding: 3px 7px;
  194. }
  195. a, button {
  196. background-color: darken(@bodyBackground, 20%);
  197. border: none;
  198. .border-radius(3px);
  199. margin: 0px;
  200. color: @white;
  201. font-weight: bold;
  202. &:hover {
  203. background-color: lighten(@linkColor, 15%);
  204. &.danger {
  205. background-color: lighten(@red, 15%);
  206. }
  207. }
  208. }
  209. i {
  210. background-image: url("@{iconWhiteSpritePath}");
  211. }
  212. }
  213. }
  214. &:hover {
  215. .changelog, .nav-pills li {
  216. .opacity(100);
  217. }
  218. }
  219. }
  220. .post-checkpoints {
  221. padding-top: 4px;
  222. &:last-child {
  223. margin-bottom: -24px;
  224. }
  225. .checkpoint {
  226. margin: 0px;
  227. color: @grayLight;
  228. text-align: center;
  229. span {
  230. background-color: @bodyBackground;
  231. display: inline-block;
  232. padding: 4px 12px;
  233. position: relative;
  234. bottom: 16px;
  235. }
  236. }
  237. a {
  238. color: @textColor;
  239. font-weight: bold;
  240. }
  241. hr {
  242. background-color: @grayLight;
  243. background-image: -webkit-gradient(linear, 0 0, 100% 100%,
  244. color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent),
  245. color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)),
  246. color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent),
  247. to(transparent));
  248. background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  249. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  250. transparent 75%, transparent);
  251. background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  252. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  253. transparent 75%, transparent);
  254. background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  255. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  256. transparent 75%, transparent);
  257. background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  258. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  259. transparent 75%, transparent);
  260. background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  261. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  262. transparent 75%, transparent);
  263. -webkit-background-size: 10px 10px;
  264. -moz-background-size: 10px 10px;
  265. background-size: 10px 10px;
  266. border: none;
  267. margin: 0px;
  268. margin-top: 8px;
  269. height: 4px;
  270. }
  271. }
  272. }
  273. // Thread mod actions
  274. .mod-actions {
  275. overflow: auto;
  276. border: none;
  277. .border-radius(3px);
  278. margin-top: 0px;
  279. }
  280. // Quick reply box
  281. .quick-reply {
  282. margin-top: 12px;
  283. overflow: auto;
  284. .avatar-big, .arrow {
  285. float: left;
  286. }
  287. .arrow {
  288. width: 0;
  289. height: 0;
  290. border-top: 12px solid transparent;
  291. border-bottom: 12px solid transparent;
  292. border-right: 12px solid darken(@bodyBackground, 10%);
  293. position: relative;
  294. top: 12px;
  295. left: 5px;
  296. }
  297. .editor {
  298. margin-left: 142px;
  299. }
  300. }