A bare bones front-end for knockout designed for maximum compatibility with "obsolete" browsers
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.

231 line
4.0KB

  1. .row.postInfo {
  2. position: relative;
  3. height: 32px;
  4. padding: 0 !important;
  5. overflow: hidden;
  6. color: #aaa;
  7. }
  8. .row.postInfo.show-avatar {
  9. height: 45px !important;
  10. }
  11. .postInfo .userBackground {
  12. position: absolute;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. height: 100%;
  17. overflow: hidden;
  18. background: #444;
  19. z-index: 1;
  20. }
  21. .postInfo .userBackground img {
  22. width: 100%;
  23. height: auto;
  24. margin-top: -40%;
  25. opacity: 0.35;
  26. filter: blur(5px);
  27. filter: Alpha(Opacity=35, Style=0), Blur(Add=true, Dirrection=0, Strength=20);
  28. }
  29. .postInfo .userForeground {
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. right: 0;
  34. z-index: 5;
  35. padding: 6px 10px;
  36. }
  37. .postInfo .userForeground img.avatar {
  38. float: left;
  39. min-height: 32px;
  40. max-height: 32px;
  41. margin-right: 10px;
  42. }
  43. .postInfo .userForeground .username {
  44. color: white;
  45. text-decoration: none;
  46. }
  47. .postInfo .userForeground .date {
  48. color: #aaa;
  49. text-decoration: none;
  50. }
  51. .postInfo .userForeground .username,
  52. .postInfo .userForeground .date {
  53. display: block;
  54. font-size: 14px;
  55. line-height: 16px;
  56. color: #fff;
  57. }
  58. .postInfo .userForeground .date {
  59. color: #aaa;
  60. }
  61. .postInfo.banned .userForeground .username,
  62. .postInfo.banned .userForeground .date {
  63. color: #ff8f8f;
  64. }
  65. .post .postContent {
  66. word-break: break-word;
  67. }
  68. .post .postContent .marginBreak {
  69. height: 1px;
  70. clear: both;
  71. }
  72. .post .postContent a {
  73. color: white;
  74. word-wrap: break-word;
  75. }
  76. .post .postContent a.smart {
  77. display: block;
  78. width: 100%;
  79. max-width: 480px;
  80. margin: 5px auto;
  81. background: #3e3e3e;
  82. border: outset 1px #666;
  83. text-decoration: none;
  84. }
  85. .post .postContent a.smart .title,
  86. .post .postContent a.smart .desc {
  87. display: block;
  88. margin: 0;
  89. padding: 5px 15px;
  90. color: #aaa;
  91. background-color: #383838;
  92. border-bottom: outset 1px #666;
  93. }
  94. .post .postContent a.smart .desc {
  95. color: #fff;
  96. border-bottom: none;
  97. border-top: outset 1px #666;
  98. }
  99. .post .postContent img {
  100. display: inline;
  101. max-width: 100%;
  102. outline: none;
  103. border: none;
  104. text-decoration: none;
  105. }
  106. .post .postContent a.image {
  107. display: block;
  108. text-align: center;
  109. text-decoration: none;
  110. color: white;
  111. }
  112. .post .postContent .quote {
  113. width: 100%;
  114. margin: 5px 0;
  115. background: #3e3e3e;
  116. border: outset 1px #4e4e4e;
  117. }
  118. .post .postContent .quote a.user {
  119. display: block;
  120. margin: 0;
  121. padding: 5px 15px;
  122. color: #aaa;
  123. background-color: #383838;
  124. border-bottom: outset 1px #484848;
  125. text-decoration: none;
  126. }
  127. .post .postContent .quote .postContent {
  128. padding: 5px 15px;
  129. }
  130. .post .postContent .blockquote {
  131. margin: 5px 0;
  132. padding: 10px 15px;
  133. background: #3e3e3e;
  134. border: outset 1px #666;
  135. }
  136. .post .postContent .youtube {
  137. position: relative;
  138. display: block;
  139. width: 480px;
  140. height: 360px;
  141. margin: 0 auto;
  142. background: black;
  143. }
  144. .post .postContent .youtube h4 {
  145. position: absolute;
  146. top: 0;
  147. left: 0;
  148. right: 0;
  149. margin: 0;
  150. padding: 10px;
  151. text-indent: 0;
  152. color: white;
  153. background: url('../../img/translucent.gif');
  154. }
  155. .post .postContent .youtube i {
  156. position: absolute;
  157. top: 50%;
  158. left: 50%;
  159. width: 64px;
  160. height: 45px;
  161. margin-top: -23px;
  162. margin-left: -32px;
  163. background: url('../../img/youtube-play.gif');
  164. }
  165. .post .ratings {
  166. padding-top: 5px;
  167. }
  168. .post .ratings td {
  169. padding: 0;
  170. padding-right: 5px;
  171. }
  172. .row.banInfo {
  173. min-height: 32px;
  174. padding-left: 62px;
  175. color: #ff8f8f;
  176. background-color: #854540 !important;
  177. border-color: #bf6c66 !important;
  178. background-image: url('/img/ban-icon.gif');
  179. background-position: 15px center;
  180. background-repeat: no-repeat;
  181. }
  182. .row.banInfo p {
  183. margin: 0;
  184. }
  185. .row.banInfo span {
  186. color: #ffc7c7;
  187. }
  188. .row.reply textarea {
  189. position: relative;
  190. width: 100%;
  191. min-height: 200px;
  192. outline: none;
  193. resize: none;
  194. }
  195. .row.reply .buttons {
  196. margin-top: 10px;
  197. text-align: center;
  198. }