/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
- /*
- Last update: 18.06.2010, lembit@ux.ee
- - 18.06.2010, lembit@ux.ee: modified .forums tr.ms-alternating td img
- - 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
- - 10.05.2010, lembit@ux.ee: synced w/ CSS from http://test.ux.ee/microsoft/eneta/html/
- */
- .forums .content-txt { /* div.forums#content */
- width:665px;
- margin:-4px 0 0;
- position:relative;
- padding:0 0 4px;
- }
- .forums .content-top { background:url(../images/bg-urituste-calendar-top.png); }
- .forums .content-bottom { background:url(../images/bg-calendar-content-btm.png); }
- .forums .content-main {
- background:url(../images/bg-calendar-content-center.png) repeat-y;
- padding:0 21px;
- }
- .forums-head {
- padding:0 0 0 15px;
- background:#d6eaf4;
- }
- .forums-head .small-menu { margin:2px 10px 0 0 !important; }
- .forums-head h2 {
- float:left;
- color:#666;
- position:relative;
- margin:0 0 0 2px;
- font-weight:normal;
- font-size:20px;
- line-height:22px;
- }
- .forums-head {
- height:1%;
- padding:0 0 0 16px;
- }
- .forums-head:after {
- height:0;
- clear:both;
- content:"";
- display:block;
- }
- .forums-head-main {
- height:1%;
- overflow:hidden;
- padding:0 0 7px;
- }
- .forums .tsentraliseeritud { /* "Eneta foorumis saad.." */
- padding:0 0 0 18px;
- }
- /* SharePoint Forums output styling starts
- ver 1.2.0.0, Copyright 2009 by Bil Simser, bsimser@shaw.ca
- http://www.codeplex.com/Wiki/View.aspx?ProjectName=SPFORUMS
- */
- .forums table .ms-toolbar, /* Home, My Profile, Members, Admin */
- .forums table span, /* Current time, Your last visit */
- /* .forums table p, */ /* Powered by ... */
- .forums td.ms-alternating, /* stats <td> below forums table */
- .forums table table table #_invisibleIfEmpty {
- /* display:none; */
- }
- .ie6 .forums td.ms-alternating,
- .ie6 .forums table p,
- .ie6 .forums table table table table table.ms-toolbar {
- display:none;
- }
- .forums div.ms-WPBody { /* container div */
- overflow:hidden;
- padding:0 14px 0 15px;
- width:628px;
- }
- .ie6 .forums div.ms-WPBody {
- padding:0 0 0 15px;
- }
- .forums div.ms-WPBody table,
- .forums .thread div.ms-WPBody table { clear:both; }
- .forums table {
- overflow:hidden;
- border-collapse:collapse;
- }
- .forums table p.ms-navheader { /* breadcrumbs */
- color:#666;
- display:inline;
- float:left;
- margin:10px 0;
- width:390px;
- overflow:hidden;
- }
- .forums table p.ms-navheader + br,
- .forums table p.ms-navheader + br + table { /* nasty BR, "Current time, Your last visit" table after breadcrumbs */
- display:none;
- }
- .forums .thread table p.ms-navheader + br + table { /* reset table after BR for thread pg */
- display:inline-table;
- }
- /* top action links/buttons */
- .forums div.ms-WPBody table.forums-tools {
- clear:none !important;
- color:#666;
- float: right;
- margin:7px 0 0;
- width:auto;
- display:inline-table;
- }
- .ie6 .forums div.ms-WPBody table.forums-tools { }
-
- .ie7 .forums div.ms-WPBody table.forums-tools {
- display:block !important;
- }
- .forums table table.forums-tools td {
- float:right;
- padding:0;
- width:auto;
- }
- .forums table table.forums-tools a {
- padding:0 3px;
- white-space:nowrap;
- }
- .forums table table.forums-tools .button {
- background-position:100% 100%;
- background-repeat:no-repeat;
- display:inline;
- float:left;
- height:20px;
- margin:0 0 0 10px;
- overflow:hidden;
- }
- .forums table table.forums-tools .button a {
- border:0;
- color:#fff;
- cursor:pointer;
- float:left;
- font-size:12px;
- font-weight:bold;
- height:18px;
- line-height:14px;
- margin:0;
- padding:2px 8px 0 6px;
- }
- .ie .forums table table.forums-tools .button a {
- height:17px;
- padding:3px 8px 0 6px;
- }
- .forums table table.forums-tools .button { background-image:url(../images/bg-btn-main-action-right.gif); }
- .forums table table.forums-tools .button a { background:url(../images/bg-btn-main-action-left.gif) no-repeat; }
- /* bottom action links/buttons */
- .forums .thread div.ms-WPBody table.forums-tools:last-child { /* .thread only */
- margin:0 0 7px;
- }
- .forums table td.ms-ToolPaneTitle { /* List: Forum, Topics, Posts, Last Post */
- color:#666; /* also <td style="height: 5px;" /> between posts */
- font-size:11px;
- font-style:italic;
- border:1px solid #d6eaf4;
- border-width:1px 0;
- }
- .forums .thread table td.ms-ToolPaneTitle { /* List: Forum, Topics, Posts, Last Post */
- border-width:0;
- padding:6px 3px 2px;
- }
- .forums .thread table td.ms-ToolPaneTitle:first-child { /* Thread: Thread heading <td> */
- border:1px solid #d6eaf4;
- border-width:1px 0 0 0;
- color:#000;
- font:bold 25px/28px Arial, Helvetica, sans-serif;
- letter-spacing:-1px;
- padding:0 3px;
- }
- .forums .thread table td.ms-ToolPaneTitle:first-child span:first-child { /* Thread: Thread heading <span> */
- display:block !important;
- padding:7px 0;
- }
- .forums .thread table td.ms-ToolPaneTitle:first-child .mode { /* moderator, div below thread heading */
- letter-spacing:normal;
- margin:0;
- padding:6px 0 3px 1px;
- }
- .forums .thread table td.ms-ToolPaneTitle:first-child .mode img { /* moderator's avatar 16x16 */
- margin:0 3px 0 0;
- }
- .forums .thread table td.ms-ToolPaneTitle:first-child .mode a { /* link to moderator's user profile */
- color:#008000;
- }
- .forums table td.ms-TPHeader { /* forum category subheaders td */
- padding:9px 3px 5px;
- }
- .forums table td.ms-TPHeader a { /* forum category subheaders/links */
- font-size:16px;
- line-height:18px;
- }
- .forums .thread table td.ms-TPHeader { /* forum thread - author td, post date td */
- background:#fff;
- border:1px solid #d6eaf4;
- border-width:1px 0 0;
- padding:9px 6px 0 3px;
- }
- .forums .thread table td.ms-TPHeader:first-child { /* author td */
- border-bottom:1px solid #fff;
- width:61px !important;
- overflow:hidden;
- }
- .forums .thread td.ms-TPHeader a { /* author name/link */
- font-size:12px;
- font-weight:bold;
- line-height:14px;
- width:73px;
- overflow:hidden;
- padding:0 0 0 4px;
- }
- .forums .thread td.ms-TPHeader table { /* Reply, Edit, Quote container, user is logged in */ color:#666; }
- .forums .thread td.ms-TPHeader table a { /* Reply, Edit, Quote links */
- font-weight:normal;
- width:auto;
- overflow:hidden;
- padding:0;
- white-space:nowrap;
- }
- .forums .thread td.ms-TPHeader .author { /* Custom: div wrapper for author name/link and 16x16 avatar */
- height:53px; /* img 32px + 1 rows of txt */
- /* height:66px; */ /* img 32px + 2 rows of txt */
- margin:-12px 0 0;
- position:absolute;
- }
- .ie6 .forums .thread td.ms-TPHeader .author,
- .ie7 .forums .thread td.ms-TPHeader .author {
- margin:-16px 0 0;
- }
- .author img {
- border:2px solid #99cce5 !important;
- clear:right;
- display:block;
- margin:0 0 2px;
- }
- .forums .thread td.ms-TPHeader table { /* post date */
- border-bottom:1px solid #e0eff7;
- width:539px;
- }
- .forums .thread td.ms-TPHeader table td { padding:0 0 4px 0; }
- .forums .thread td.ms-TPHeader table strong { /* string "Posted:" */
- font-weight:normal;
- display:none;
- }
- .forums tr.ms-alternating { /* main forum row */
- background:#fff;
- border:1px solid #d6eaf4;
- border-width:1px 0;
- }
- .ie6 .forums tr.ms-alternating td,
- .ie7 .forums tr.ms-alternating td {
- border:1px solid #d6eaf4;
- border-width:1px 0;
- }
- .ie6 .forums .thread tr.ms-alternating td,
- .ie7 .forums .thread tr.ms-alternating td {
- border-width:0;
- }
- .forums .thread tr.ms-alternating { /* main forum row */ border-width:0; }
- .forums .thread tr.ms-alternating td:first-child { /* joined, posts count and other user infos */
- border-top:1px solid #fff;
- color:#666;
- font-size:11px;
- font-style:italic;
- line-height:14px;
- padding:31px 0 5px 5px;
- }
- .forums tr.ms-alternating:hover { background:#f7fbfd; }
- .forums .thread tr.ms-alternating:hover { background:#fff; }
- .forums tr.ms-alternating:hover .mode a,
- .forums .thread td.ms-TPHeader a.author.mode { color:#008000; }
- .forums tr.ms-alternating td { /* main forum row <td> */
- line-height:20px;
- padding:7px 3px;
- /* vertical-align:middle; */
- }
- .forums tr.ms-alternating td a { /* forum name/link */
- font-weight:bold;
- font-size:14px;
- }
- .forums tr.ms-alternating td br + a { /* last post author's name+link etc. */
- font-size:12px;
- }
- .forums tr.ms-alternating td img { /* forum icon */
- margin:3px 0 0 3px;
- }
- .forums .thread tr.ms-alternating td { /* main forum row <td> */
- font-size:14px;
- padding: 8px 5px;
- }
- .forums .thread tr.ms-alternating td.post-body { /* main forum row <td>, overwrite padding above */
- padding:6px 5px 8px;
- }
- /* moderators */
- .mode {
- font:12px/17px Arial, Helvetica, sans-serif;
- margin:3px 0 1px;
- padding:0;
- height:1%;
- overflow:hidden;
- color:#666;
- }
- .forums table .mode span {
- display:inline;
- padding:0 !important;
- }
- .mode span,
- .mode img,
- .mode a { float:left; }
- .mode a span { cursor:pointer; }
- .mode a {
- color:#666;
- margin:0 0 0 5px;
- font-weight:bold;
- }
- .forums tr.ms-alternating td .mode a { font-size:12px; }
- .mode img { border:1px solid #99cce5; }
- .forums tr.ms-alternating .mode img { margin:0 3px 0 0; }
- .forums .thread td.ms-TPHeader a.author.mode img { float:none; }
- /* quote */
- .blockquote, /* <strong> "[username] wrote:" above <blockquote> */
- .forums .thread tr.ms-alternating blockquote {
- border:1px solid #eaf4f9 !important; /* 10% #09c */
- border-width:0 0 0 4px !important;
- clear:both;
- color:#666; /* 60% black */
- font-style:italic;
- }
- .blockquote { /* <strong> "[username] wrote:" above <blockquote> */
- clear:right;
- color:#7b7b7b; /* 52% black */
- display:block;
- float:left;
- margin:5px 10px 0;
- padding:2px 0 0 10px;
- }
- .forums .thread tr.ms-alternating blockquote {
- margin:0 10px 12px !important;
- padding:0 0 0 10px;
- }
- .forums .thread tr.ms-alternating blockquote p {
- padding-bottom:5px;
- width:auto;
- }
- .forums .thread tr.ms-alternating blockquote .blockquote,
- .forums .thread tr.ms-alternating blockquote blockquote { }
-
- .forums .thread tr.ms-alternating blockquote .blockquote {
- margin-top:10px;
- }
- .forums .thread tr.ms-alternating blockquote blockquote {
- margin-bottom:5px !important;
- }
- .post-body p {
- margin:7px 0;
- overflow:hidden;
- width:542px;
- }
- .post-body a {
- font-weight:normal !important;
- font-size:14px !important;
- }