From 4c7f1eb67954b5338bb200772fbdd37d1b9b2eb7 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 15 Feb 2005 17:28:24 +0000 Subject: [PATCH] Checking in some unfinished work on forums ... moving back to test.moodle.com --- theme/standard/styles_color.css | 12 ++++-------- theme/standard/styles_fonts.css | 8 ++++++++ theme/standard/styles_layout.css | 29 +++++++++++++++++++++++++++++ theme/standard/styles_moz.css | 13 +++++++++++-- 4 files changed, 52 insertions(+), 10 deletions(-) diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index f05c93329fe..5fecff8c3b1 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -236,25 +236,21 @@ th { border-color:#DDDDDD; /* borders */ } -.forumpostside { - background:#EEEEEE; +.forumpost .content { + background: #FFFFFF; } -.forumpostpicture { +.forumpost .left { background:#EEEEEE; } -.forumpostheader { +.forumpost .topic { border-style:solid; /* borders */ border-width: 0px; border-bottom-color: #EEEEEE; border-bottom-width: 1px; } -.forumpostmessage { - background:#FFFFFF; -} - /* survey */ #mod-survey-view .r0 { background-color: #EEEEEE; diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 6288b1244af..9ba5add786e 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -213,6 +213,14 @@ h4 { font-size:x-small; } +.forumpost .topic .subject { + font-weight: bold; +} + +.forumpost .topic .author { + font-size: 0.8em; +} + /* message */ .message_summary_link { diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index f864c5da1a0..49770398e49 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -294,6 +294,35 @@ table.formtable td { border-style:solid; } +.forumpost { + margin-top: 15px; +} + +.forumpost .topic { + padding: 4px; +} + + +.forumpost .commands { + padding-top: 0.5em; + text-align:right; +} + +.forumpost .ratings { + padding-top: 1em; + text-align:right; +} + +.forumpost .content { + padding: 4px; +} + +.forumpost .left { + padding: 4px; + text-align: center; + vertical-align: top; +} + .forumpostindent { margin-left: 30px; } diff --git a/theme/standard/styles_moz.css b/theme/standard/styles_moz.css index 3d63784413b..3396b2fd269 100644 --- a/theme/standard/styles_moz.css +++ b/theme/standard/styles_moz.css @@ -121,13 +121,22 @@ table.minicalendar td { -moz-border-radius:3px; } -.sideblock, .forumpost { +.sideblock { -moz-border-radius-bottomleft:20px; -moz-border-radius-bottomright:20px; } -.forumpost .left { +.forumpost { -moz-border-radius-bottomleft:20px; + -moz-border-radius-bottomright:20px; +} + +.forumpost .side { + -moz-border-radius-bottomleft:20px; +} + +.forumpost .content { + -moz-border-radius-bottomright:20px; } #user-view .left {