PageRenderTime 197ms CodeModel.GetById 38ms RepoModel.GetById 5ms app.codeStats 0ms

/branches/2007/Projects/Eneta.Portal.Site/12/TEMPLATE/FEATURES/Eneta.Site.styles/Styles/forums.css

#
CSS | 316 lines | 297 code | 5 blank | 14 comment | 0 complexity | e676fd7b68057b193190d2eb08afdbac MD5 | raw file
Possible License(s): LGPL-2.1
  1. /* 9.11.2009 */
  2. .forums .content-txt { /* div.forums#content */
  3. width:665px;
  4. margin:-4px 0 0;
  5. position:relative;
  6. padding:0 0 4px;
  7. }
  8. .forums .content-top { background:url(../images/bg-urituste-calendar-top.png); }
  9. .forums .content-bottom { background:url(../images/bg-calendar-content-btm.png); }
  10. .forums .content-main {
  11. background:url(../images/bg-calendar-content-center.png) repeat-y;
  12. padding:0 21px;
  13. }
  14. .forums-head {
  15. padding:0 0 0 15px;
  16. background:#d6eaf4;
  17. }
  18. .forums-head .small-menu { margin:2px 10px 0 0 !important; }
  19. .forums-head h2 {
  20. float:left;
  21. color:#666;
  22. position:relative;
  23. margin:0 0 0 2px;
  24. font-weight:normal;
  25. font-size:20px;
  26. line-height:22px;
  27. }
  28. .forums-head {
  29. height:1%;
  30. padding:0 0 0 16px;
  31. }
  32. .forums-head:after {
  33. height:0;
  34. clear:both;
  35. content:"";
  36. display:block;
  37. }
  38. .forums-head-main {
  39. height:1%;
  40. overflow:hidden;
  41. padding:0 0 7px;
  42. }
  43. /* SharePoint Forums output styling starts
  44. ver 1.2.0.0, Copyright 2009 by Bil Simser, bsimser@shaw.ca
  45. http://www.codeplex.com/Wiki/View.aspx?ProjectName=SPFORUMS
  46. */
  47. .forums table .ms-toolbar, /* Home, My Profile, Members, Admin */
  48. .forums table span, /* Current time, Your last visit */
  49. .forums table p, /* Powered by ... */
  50. .forums td.ms-alternating, /* stats <td> below forums table */
  51. .forums table table table #_invisibleIfEmpty {
  52. /* display:none;*/
  53. }
  54. .ie6 .forums td.ms-alternating,
  55. .ie6 .forums table p,
  56. .ie6 .forums table table table table table.ms-toolbar {
  57. display:none;
  58. }
  59. .forums div.ms-WPBody { /* container div */
  60. overflow:hidden;
  61. padding:0 14px 0 15px;
  62. width:628px;
  63. }
  64. .ie6 .forums div.ms-WPBody {
  65. padding:0 0 0 15px;
  66. }
  67. .forums div.ms-WPBody table,
  68. .forums .thread div.ms-WPBody table { clear:both; }
  69. .forums table {
  70. overflow:hidden;
  71. border-collapse:collapse;
  72. }
  73. .forums table p.ms-navheader { /* breadcrumbs */
  74. color:#666;
  75. display:inline;
  76. float:left;
  77. margin:10px 0;
  78. width:390px;
  79. overflow:hidden;
  80. }
  81. .forums table p.ms-navheader + br,
  82. .forums table p.ms-navheader + br + table { /* nasty BR, "Current time, Your last visit" table after breadcrumbs */
  83. display:none;
  84. }
  85. .forums .thread table p.ms-navheader + br + table { /* reset table after BR for thread pg */
  86. display:inline-table;
  87. }
  88. /* top action links/buttons */
  89. .forums div.ms-WPBody table.forums-tools { /* Lembit 9.11.2009 - mod */
  90. clear:none !important;
  91. color:#666;
  92. float: right;
  93. margin:7px 0 0;
  94. /* width:235px; */
  95. width:auto;
  96. display:inline-table;
  97. }
  98. .ie6 .forums div.ms-WPBody table.forums-tools { }
  99. .ie7 .forums div.ms-WPBody table.forums-tools { /* Lembit 9.11.2009 - add */
  100. display:block !important;
  101. }
  102. .forums table table.forums-tools td { /* Lembit 9.11.2009 - add */
  103. float:right;
  104. padding:0;
  105. width:auto;
  106. }
  107. .forums table table.forums-tools a { /* Lembit 9.11.2009 - mod */
  108. padding:0 3px;
  109. white-space:nowrap;
  110. }
  111. .forums table table.forums-tools .button { /* Lembit 9.11.2009 - add */
  112. background-position:100% 100%;
  113. background-repeat:no-repeat;
  114. display:inline;
  115. float:left;
  116. height:20px;
  117. margin:0 0 0 10px;
  118. overflow:hidden;
  119. }
  120. .forums table table.forums-tools .button a { /* Lembit 9.11.2009 - add */
  121. border:0;
  122. color:#fff;
  123. cursor:pointer;
  124. float:left;
  125. font-size:12px;
  126. font-weight:bold;
  127. height:18px;
  128. line-height:14px;
  129. margin:0;
  130. padding:2px 8px 0 6px;
  131. }
  132. .ie .forums table table.forums-tools .button a { /* Lembit 9.11.2009 - add */
  133. height:17px;
  134. padding:3px 8px 0 6px;
  135. }
  136. .forums table table.forums-tools .button { background-image:url(../images/bg-btn-main-action-right.gif);} /* Lembit 9.11.2009 - add */
  137. .forums table table.forums-tools .button a { background:url(../images/bg-btn-main-action-left.gif) no-repeat;} /* Lembit 9.11.2009 - add */
  138. /* bottom action links/buttons */
  139. .forums .thread div.ms-WPBody table.forums-tools:last-child { /* .thread only */ /* Lembit 9.11.2009 - add */
  140. margin:0 0 7px;
  141. }
  142. .forums table td.ms-ToolPaneTitle { /* List: Forum, Topics, Posts, Last Post */
  143. color:#666;
  144. font-size:11px;
  145. font-style:italic;
  146. border:1px solid #D6EAF4;
  147. border-width:1px 0;
  148. }
  149. .forums .thread table td.ms-ToolPaneTitle { /* List: Forum, Topics, Posts, Last Post */ border-width:0; }
  150. .forums .thread table td.ms-ToolPaneTitle:first-child { /* Thread: Thread heading */
  151. border:1px solid #D6EAF4;
  152. border-width:1px 0 0 0;
  153. color:#000;
  154. font:bold 25px/28px Arial, Helvetica, sans-serif;
  155. letter-spacing:-1px;
  156. padding:9px 3px 5px;
  157. }
  158. .forums .thread table td.ms-ToolPaneTitle:first-child .mode { /* moderator, div below thread heading */
  159. letter-spacing:normal;
  160. margin:0;
  161. padding:6px 0 3px 1px;
  162. }
  163. .forums .thread table td.ms-ToolPaneTitle:first-child .mode img { /* moderator's avatar 16x16 */ margin:0 3px 0 0; }
  164. .forums .thread table td.ms-ToolPaneTitle:first-child .mode a { /* link to moderator's user profile */ color:#008000; }
  165. .forums table td.ms-TPHeader { /* forum category subheaders td */ padding:9px 3px 5px; }
  166. .forums table td.ms-TPHeader a { /* forum category subheaders/links */
  167. font-size:16px;
  168. line-height:18px;
  169. }
  170. .forums .thread table td.ms-TPHeader { /* forum thread - author td, post date td */
  171. padding:9px 3px 0;
  172. background:#fff;
  173. border:1px solid #D6EAF4;
  174. border-width:1px 0 0;
  175. }
  176. .forums .thread table td.ms-TPHeader:first-child { /* author td */
  177. border-bottom:1px solid #fff;
  178. width:111px !important;
  179. overflow:hidden;
  180. }
  181. .forums .thread td.ms-TPHeader a { /* author name/link */
  182. font-size:12px;
  183. font-weight:bold;
  184. line-height:14px;
  185. width:110px;
  186. overflow:hidden;
  187. padding:0 0 0 4px;
  188. }
  189. .forums .thread td.ms-TPHeader table { /* Reply, Edit, Quote container, user is logged in */ color:#666; }
  190. .forums .thread td.ms-TPHeader table a { /* Reply, Edit, Quote links */
  191. font-weight:normal;
  192. width:auto;
  193. overflow:hidden;
  194. padding:0;
  195. white-space:nowrap;
  196. }
  197. .forums .thread td.ms-TPHeader .author { /* Custom: div wrapper for author name/link and 16x16 avatar */
  198. margin:-12px 0 0;
  199. position:absolute;
  200. height:53px; /* img 32px + 1 row of txt */
  201. }
  202. .ie6 .forums .thread td.ms-TPHeader .author,
  203. .ie7 .forums .thread td.ms-TPHeader .author {
  204. margin:-16px 0 0;
  205. }
  206. .author img {
  207. border:2px solid #99cce5 !important;
  208. clear:right;
  209. display:block;
  210. margin:0 0 2px;
  211. }
  212. .forums .thread td.ms-TPHeader table { /* post date, e.g. Posted: 9/24/2009 10:54:59 PM */
  213. border-bottom:1px solid #E0EFF7;
  214. width:489px;
  215. }
  216. .forums .thread td.ms-TPHeader table td { padding:0 0 4px 0; }
  217. .forums .thread td.ms-TPHeader table strong { /* string "Posted:" */
  218. font-weight:normal;
  219. display:none;
  220. }
  221. .forums tr.ms-alternating { /* main forum row */
  222. background:#fff;
  223. border:1px solid #D6EAF4;
  224. border-width:1px 0;
  225. }
  226. .ie6 .forums tr.ms-alternating td,
  227. .ie7 .forums tr.ms-alternating td {
  228. border:1px solid #D6EAF4;
  229. border-width:1px 0;
  230. }
  231. .ie6 .forums .thread tr.ms-alternating td,
  232. .ie7 .forums .thread tr.ms-alternating td {
  233. border-width:0;
  234. }
  235. .forums .thread tr.ms-alternating { /* main forum row */ border-width:0; }
  236. .forums .thread tr.ms-alternating td:first-child { /* joined, posts count and other user infos */
  237. border-top:1px solid #fff;
  238. color:#666;
  239. font-size:11px;
  240. font-style:italic;
  241. line-height:14px;
  242. padding:31px 0 5px 5px;
  243. }
  244. .forums tr.ms-alternating:hover { background:#F7FBFD; }
  245. .forums .thread tr.ms-alternating:hover { background:#fff; }
  246. .forums tr.ms-alternating:hover .mode a,
  247. .forums .thread td.ms-TPHeader a.author.mode { color:#008000; }
  248. .forums tr.ms-alternating td { /* main forum row <td> */
  249. /* font-size:14px; */
  250. line-height:20px;
  251. padding: 7px 3px;
  252. }
  253. .forums tr.ms-alternating td a { /* forum name/link */
  254. font-weight:bold;
  255. font-size:14px;
  256. }
  257. .forums tr.ms-alternating td br + a { /* lame way of targeting last post author's name+link etc. */
  258. font-size:12px;
  259. }
  260. .forums tr.ms-alternating td img { /* forum icon */ margin:3px 0 0 3px; }
  261. .forums .thread tr.ms-alternating td { /* main forum row <td> */
  262. font-size:14px;
  263. /* line-height:20px; */
  264. padding: 8px 5px;
  265. }
  266. /* moderators */
  267. .mode {
  268. font:12px/17px Arial, Helvetica, sans-serif;
  269. margin:3px 0 1px;
  270. padding:0;
  271. height:1%;
  272. overflow:hidden;
  273. color:#666;
  274. }
  275. .forums table .mode span { display:inline; }
  276. .mode span,
  277. .mode img,
  278. .mode a { float:left; }
  279. .mode a span { cursor:pointer; }
  280. .mode a {
  281. color:#666;
  282. margin:0 0 0 5px;
  283. font-weight:bold;
  284. }
  285. .forums tr.ms-alternating td .mode a { font-size:12px; }
  286. .mode img { border:1px solid #99cce5; }
  287. .forums tr.ms-alternating .mode img { margin:0 3px 0 0; }
  288. .forums .thread td.ms-TPHeader a.author.mode img { float:none; }
  289. /* quote */
  290. .blockquote { /* for the <strong> "[username] wrote:" above <blockquote> */
  291. color:#505050; /* 69% black */
  292. /* font-size:12px; */
  293. margin-left:22px;
  294. }
  295. .forums .thread tr.ms-alternating blockquote {
  296. background:#F7FBFD;
  297. border:1px solid #EAF4F9 !important;
  298. color:#505050; /* 69% black */
  299. font-style:italic;
  300. margin:2px 10px 12px 20px !important;
  301. padding:3px;
  302. }
  303. .post-body p
  304. {
  305. display:block !important;
  306. }
  307. .post-body a
  308. {
  309. font-weight:normal !important;
  310. font-size:14px !important;
  311. }