PageRenderTime 50ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/branches/2010/Projects/Eneta.Portal.Deployment/Publishing/Styles/forums.css

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