threads.less 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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. .post-checkbox {
  162. float: right;
  163. margin-left: 4px;
  164. }
  165. .label {
  166. margin-left: 8px;
  167. margin-bottom: 8px;
  168. padding: 4px 5px;
  169. font-size: 100%;
  170. }
  171. .label-purple {
  172. background-color: @purple;
  173. }
  174. }
  175. .post-nav {
  176. clear: both;
  177. margin-left: 286px;
  178. overflow: auto;
  179. padding: 8px 16px;
  180. padding-bottom: 0px;
  181. margin-bottom: -8px;
  182. .changelog {
  183. float: left;
  184. .opacity(50);
  185. color: @grayLight;
  186. }
  187. ul {
  188. margin: 0px;
  189. padding: 0px;
  190. }
  191. .nav-pills li {
  192. .opacity(10);
  193. a {
  194. padding: 6px 7px;
  195. }
  196. button {
  197. padding: 3px 7px;
  198. }
  199. a, button {
  200. background-color: darken(@bodyBackground, 20%);
  201. border: none;
  202. .border-radius(3px);
  203. margin: 0px;
  204. color: @white;
  205. font-weight: bold;
  206. &:hover {
  207. background-color: lighten(@linkColor, 15%);
  208. &.danger {
  209. background-color: lighten(@red, 15%);
  210. }
  211. }
  212. }
  213. i {
  214. background-image: url("@{iconWhiteSpritePath}");
  215. }
  216. }
  217. }
  218. &:hover {
  219. .changelog, .nav-pills li {
  220. .opacity(100);
  221. }
  222. }
  223. }
  224. .post-checkpoints {
  225. padding-top: 4px;
  226. &:last-child {
  227. margin-bottom: -24px;
  228. }
  229. .checkpoint {
  230. margin: 0px;
  231. color: @grayLight;
  232. text-align: center;
  233. span {
  234. background-color: @bodyBackground;
  235. display: inline-block;
  236. padding: 4px 12px;
  237. position: relative;
  238. bottom: 16px;
  239. }
  240. }
  241. a {
  242. color: @textColor;
  243. font-weight: bold;
  244. }
  245. hr {
  246. background-color: @grayLight;
  247. background-image: -webkit-gradient(linear, 0 0, 100% 100%,
  248. color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent),
  249. color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)),
  250. color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent),
  251. to(transparent));
  252. background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  253. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  254. transparent 75%, transparent);
  255. background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  256. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  257. transparent 75%, transparent);
  258. background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  259. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  260. transparent 75%, transparent);
  261. background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  262. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  263. transparent 75%, transparent);
  264. background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
  265. transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
  266. transparent 75%, transparent);
  267. -webkit-background-size: 10px 10px;
  268. -moz-background-size: 10px 10px;
  269. background-size: 10px 10px;
  270. border: none;
  271. margin: 0px;
  272. margin-top: 8px;
  273. height: 4px;
  274. }
  275. }
  276. }
  277. // Thread mod actions
  278. .mod-actions {
  279. overflow: auto;
  280. border: none;
  281. .border-radius(3px);
  282. margin-top: 0px;
  283. }
  284. // Quick reply box
  285. .quick-reply {
  286. margin-top: 12px;
  287. overflow: auto;
  288. .avatar-big, .arrow {
  289. float: left;
  290. }
  291. .arrow {
  292. width: 0;
  293. height: 0;
  294. border-top: 12px solid transparent;
  295. border-bottom: 12px solid transparent;
  296. border-right: 12px solid darken(@bodyBackground, 10%);
  297. position: relative;
  298. top: 12px;
  299. left: 5px;
  300. }
  301. .editor {
  302. margin-left: 142px;
  303. }
  304. }