From 7005a81c114e5bda72fd4bdd8369a0cdb0ca83bb Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Wed, 26 Jan 2005 20:18:17 +0000 Subject: [PATCH] Optimized the Structure to make it even more "readable". --- theme/standard/styles_color.css | 49 ++++++++++++++----- theme/standard/styles_fonts.css | 32 ++++++++++--- theme/standard/styles_layout.css | 82 +++++++++++++++++++++----------- 3 files changed, 119 insertions(+), 44 deletions(-) diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index 6090226bc6..53032ba2da 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -1,8 +1,10 @@ /* $Id$ */ -/* -** color -*/ +/************************************************* +*** +*** color +*** +**************************************************/ /************************************************* *** @@ -14,7 +16,7 @@ *** basic and general styles *** header and footer styles *** content styles (alphabetically) -*** activities, calendar, blocks +*** admin, course, activities, calendar, blocks *** *** Please sort new styles for existing content *** into the appropriate part of this CSS file. @@ -26,7 +28,6 @@ /* basic styles */ - a:link, a:visited { color:#0000FF; @@ -49,6 +50,7 @@ a.dimmed:hover { color:#FF0000; } + /* general styles */ body { background-color:#FAFAFA; @@ -62,6 +64,7 @@ th { background-color:#AAFFAA; /* highlight */ } + /* header styles */ @@ -82,16 +85,19 @@ th { border-color:#DDDDDD; /* borders */ } + /* summary of a user in a nice little box - weblib.php */ .userinfobox { border-color:#DDDDDD; /* borders */ } + /* weblib.php table */ .tabledivider { border-color:#DDDDDD; /* borders */ } + /* entry-page index.php */ .sitetopic { background-color:#FFFFFF; /* cellheading */ @@ -101,7 +107,7 @@ th { /***************************** *** -*** Activities +*** Admin *** ******************************/ /* admin, calednder, course */ @@ -109,17 +115,18 @@ th { color:#AAAAAA; } -/* assignment, forum, glossary */ -.forumheaderlist, -.forumpost { - border-color:#DDDDDD; /* borders */ -} +/***************************** +*** +*** Course +*** +******************************/ /* course, entry-page, login */ .headingblock { border-color:#DDDDDD; /* borders */ } + /* course */ .outlineheadingblock { border-color:#DDDDDD; /* borders */ @@ -147,10 +154,24 @@ th { .courseboxcontent { border-color:#DDDDDD; /* borders */ } + .weeklydatetext { color:#DDDDDD; /* cellheading2 */ } + +/***************************** +*** +*** Activities +*** +******************************/ +/* assignment, forum, glossary */ +.forumheaderlist, +.forumpost { + border-color:#DDDDDD; /* borders */ +} + + /* glossary, wiki */ .generaltab { background-color:#FFD991; /* cellheading */ @@ -160,6 +181,7 @@ th { background-color:#DDDDDD; /* cellheading2 */ } + /* lang, forum */ .teacheronly { color:#990000; @@ -169,16 +191,19 @@ th { color:#555555; } + /* message */ table.message_search_results td { border-color:#DDDDDD; /* borders */ } + /* weblib.php, wiki */ .sideblockmain hr { border-top-color:#999999; } + /***************************** *** *** Calendar @@ -282,6 +307,7 @@ table.calendarmonth, border-color:#DDDDDD; /* borders */ } + /***************************** *** *** Blocks @@ -296,6 +322,7 @@ table.calendarmonth, color:#555555; } + /* sideblock */ /* calendar, weblib.php, wiki */ .sideblock { diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index de8842a68c..652e84e0b2 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -1,8 +1,10 @@ /* $Id$ */ -/* -** fonts -*/ +/************************************************* +*** +*** fonts +*** +**************************************************/ /************************************************* *** @@ -15,7 +17,7 @@ *** basic and general styles *** header and footer styles *** content styles (alphabetically) -*** activities, calendar, blocks +*** admin, course, activities, calendar, blocks *** *** Please sort new styles for existing content *** into the appropriate part of this CSS file. @@ -56,6 +58,7 @@ a.dimmed:hover { text-decoration:underline; } + /* general styles */ body, td, th, li { font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; @@ -96,7 +99,6 @@ th { } - /***************************** *** *** content styles @@ -105,6 +107,18 @@ th { /* many places */ +/***************************** +*** +*** Admin +*** +******************************/ + + +/***************************** +*** +*** Course +*** +******************************/ /***************************** @@ -119,6 +133,7 @@ th { font-weight:bold; } + /* course */ .activitydate, .activityhead { font-size:x-small; @@ -143,6 +158,7 @@ th { font-size:small; } + /* forum */ .forumolddiscuss { text-align:right; @@ -176,6 +192,7 @@ th { font-size:x-small; } + /* message */ .message_summary_link { font-size:small; @@ -207,6 +224,7 @@ th { font-size:x-small; } + /* quiz */ .feedbacktext { text-align:right; @@ -216,6 +234,7 @@ th { font-size:x-small; } + /***************************** *** *** Calendar @@ -284,6 +303,7 @@ table.calendarmonth tbody td div { font-weight:bold; } + /***************************** *** *** Blocks @@ -296,4 +316,4 @@ table.calendarmonth tbody td div { .rssclientdescription { font-size:x-small; -} +} \ No newline at end of file diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index d7a248d052..861fcd5cb0 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1,8 +1,10 @@ /* $Id$ */ -/* -** layout -*/ +/************************************************* +*** +*** layout +*** +**************************************************/ /************************************************* *** @@ -15,7 +17,7 @@ *** basic and general styles *** header and footer styles *** content styles (alphabetically) -*** activities, calendar, blocks +*** admin, course, activities, calendar, blocks *** *** Please sort new styles for existing content *** into the appropriate part of this CSS file. @@ -25,6 +27,7 @@ *** **************************************************/ + /* basic styles */ .clearer { clear:both; @@ -91,7 +94,6 @@ form { /* footer styles */ - /***************************** *** *** content styles @@ -107,17 +109,19 @@ form { border-style:solid; } + /* summary of a user in a nice little box - weblib.php */ .userinfobox { + margin-bottom:5px; border-width:1px; border-style:solid; - margin-bottom:5px; } .userinfoboxside, .userinfoboxsummary, .userinfoboxlinkcontent { } + /* weblib.php table */ .tabledivider { border-width:1px; @@ -127,15 +131,17 @@ form { border-top:0px; } + /* entry-page index.php */ .sitetopic { border-width:1px; border-style:solid; } + /***************************** *** -*** Activities +*** Admin *** ******************************/ /* admin, calendar */ @@ -143,25 +149,12 @@ table.formtable td { padding:9px; } -/* assignment, forum, glossary */ -.forumheaderlist, -.forumpost { - border-width:1px; - border-style:solid; -} - -.forumpostindent { - margin-left: 30px; -} - -/* calendar, course, weblib,php, attandance -dialouge, exercise, forum, lesson, quiz */ -.generaltableheader { - background-image:url(gradient.jpg); - background-position:top; - background-repeat:repeat-x; -} +/***************************** +*** +*** Course +*** +******************************/ /* course, entry-page, login */ .headingblock { background-image:url(gradient.jpg); @@ -171,6 +164,7 @@ dialouge, exercise, forum, lesson, quiz */ border-style:solid; } + /* course */ .outlineheadingblock { background-image:url(gradient.jpg); @@ -179,6 +173,7 @@ dialouge, exercise, forum, lesson, quiz */ border-width:1px; border-style:solid; } + .weeklyoutlinecontent, .topicsoutlinecontent { border-width:1px; @@ -209,12 +204,40 @@ dialouge, exercise, forum, lesson, quiz */ border-style:solid; } + +/***************************** +*** +*** Activities +*** +******************************/ +/* assignment, forum, glossary */ +.forumheaderlist, +.forumpost { + border-width:1px; + border-style:solid; +} + +.forumpostindent { + margin-left: 30px; +} + + +/* calendar, course, weblib,php, attandance +dialouge, exercise, forum, lesson, quiz */ +.generaltableheader { + background-image:url(gradient.jpg); + background-position:top; + background-repeat:repeat-x; +} + + /* glossary, wiki */ .generaltab, .generaltabselected { background:none; } + /* message */ .message_link { vertical-align:center; @@ -231,11 +254,13 @@ table.message_search_results td { border-style:solid; } + /* quiz */ .feedbacktext { display:block; } + /***************************** *** *** Calendar @@ -377,6 +402,7 @@ td.cal_event_description { padding:8px; } + /***************************** *** *** Blocks @@ -393,6 +419,7 @@ td.cal_event_description { padding-bottom:8px; } + /* sideblock */ .sideblock { width: 100%; @@ -400,6 +427,7 @@ td.cal_event_description { border-width:1px; border-style:solid; } + .sideblockheading { background-image:url(gradient.jpg); background-position:top; @@ -414,6 +442,7 @@ td.cal_event_description { border-top:1px solid; } + /* sideblock weblib.php */ #block_course_summary .sideblockmain { padding:10px; @@ -437,5 +466,4 @@ td.cal_event_description { font-weight: bold; font-size: 1em; margin: 0px; -} - +} \ No newline at end of file -- 2.39.5