From 00a55bd4f11987ccd9a0974a0e542a2f9993baaa Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Thu, 2 Jun 2005 12:33:26 +0000 Subject: [PATCH] some theme optimizations: manly font-sizes and the list pages. merged from 1.5 --- theme/orangewhite/styles_color.css | 2 +- theme/orangewhite/styles_fonts.css | 61 ++++++++++++++++++----------- theme/orangewhite/styles_layout.css | 19 +++++++++ 3 files changed, 58 insertions(+), 24 deletions(-) diff --git a/theme/orangewhite/styles_color.css b/theme/orangewhite/styles_color.css index 609ecb747a7..b66c59d49f7 100644 --- a/theme/orangewhite/styles_color.css +++ b/theme/orangewhite/styles_color.css @@ -358,7 +358,7 @@ table.minicalendar { } #calendar .today, .minicalendar .today { - border-color:#000 !important + border-color:#DDD !important } .cal_popup_fg { background-color:#FFF diff --git a/theme/orangewhite/styles_fonts.css b/theme/orangewhite/styles_fonts.css index 897be133e63..e5741a61b4b 100644 --- a/theme/orangewhite/styles_fonts.css +++ b/theme/orangewhite/styles_fonts.css @@ -58,23 +58,31 @@ h6.main { font-weight:bold } h1 { - font-size:1.4em -} -h2 { font-size:1.2em } -h3 { +h2 { font-size:1em } -h4 { +h3 { font-size:0.8em } +h4 { + font-size:0.7em +} +pre code { + font-size:1.2em +} .bold { font-weight:bold } .generalboxcontent { font-size:0.8em } +.generaltable .header { + font-size:0.9em; + font-weight:normal; + white-space:normal !important +} .warning { font-weight:bold; font-style:italic @@ -90,6 +98,9 @@ h4 { .pagingbar .thispage { font-weight:bold } +.paging { + font-size:0.8em +} .categorybox .category, .categorybox .category { font-size:1.2em; @@ -169,10 +180,14 @@ table.formtable tbody th { #admin-config .r1 { font-size:0.9em } +#admin-config #content > center { + font-size:0.8em +} /*** *** Blocks ***/ + .sideblock { font-size:0.7em } @@ -199,7 +214,6 @@ table.formtable tbody th { font-style:italic } - /*** *** Calendar ***/ @@ -258,6 +272,7 @@ table.minicalendar { /*** *** Course ***/ + #course-view .section { font-size:0.8em; line-height:1.4em @@ -304,6 +319,7 @@ table.minicalendar { /*** *** Doc ***/ + body#doc-contents h1 { font-size:0.9em } @@ -375,8 +391,8 @@ body#doc-contents ul { /*** *** User ***/ - -#user-view .userinfobox .list { + +#user-view .userinfobox .content { font-size:0.8em } #course-user .section .content td { @@ -391,7 +407,6 @@ body#doc-contents ul { #course-log .logtable { font-size:0.8em } - .userinfobox .username { font-weight:bold } @@ -404,21 +419,21 @@ body#doc-contents ul { ***/ #mod-assignment-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Chat ***/ #mod-chat-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Choice ***/ #mod-choice-index .cell { - font-size:0.9em + font-size:0.85em } /*** @@ -447,8 +462,8 @@ body#doc-contents ul { body#mod-forum-search .introcontent { font-weight:bold } -body#mod-forum-index .generalbox .cell { - font-size:0.9em +body#mod-forum-index .cell { + font-size:0.85em } /*** @@ -484,7 +499,7 @@ body#mod-forum-index .generalbox .cell { font-size:0.8em } #mod-glossary-index .cell { - font-size:0.9em + font-size:0.85em } /*** @@ -507,7 +522,7 @@ body#mod-forum-index .generalbox .cell { font-style:italic } #mod-journal-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Label @@ -518,7 +533,7 @@ body#mod-forum-index .generalbox .cell { ***/ #mod-lesson-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Quiz @@ -528,7 +543,7 @@ body#mod-forum-index .generalbox .cell { font-size:0.7em } #mod-quiz-index .cell { - font-size:0.9em + font-size:0.85em } /*** @@ -536,7 +551,7 @@ body#mod-forum-index .generalbox .cell { ***/ #mod-resource-index .cell { - font-size:0.9em + font-size:0.85em } .mod-resource font { font-size:0.8em @@ -547,26 +562,26 @@ body#mod-forum-index .generalbox .cell { ***/ #mod-scorm-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Survey ***/ #mod-survey-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Wiki ***/ #mod-wiki-index .cell { - font-size:0.9em + font-size:0.85em } /*** *** Modules:Workshop ***/ #mod-workshop-index .cell { - font-size:0.9em + font-size:0.85em } diff --git a/theme/orangewhite/styles_layout.css b/theme/orangewhite/styles_layout.css index fe27934d51f..d8e917bcf2c 100644 --- a/theme/orangewhite/styles_layout.css +++ b/theme/orangewhite/styles_layout.css @@ -66,10 +66,16 @@ h6.main { #middle-column .section .side { border:0 none } +.generalbox { + width:90% +} .generaltable th.header { border-left:1px solid; border-right:1px solid; } +.generaltable .smallinfo p { + margin-top:0 +} .sitetopiccontent { border:0 none } @@ -229,6 +235,12 @@ h6.main { *** Calendar ***/ +#calendar .today, +.minicalendar .today { + padding-top:0; + padding-bottom:0; + border:1px solid !important +} #calendar .maincalendar .calendarmonth { width:75% } @@ -236,6 +248,7 @@ h6.main { /*** *** Course ***/ + #site-index .headingblock { border:0 none } @@ -258,6 +271,9 @@ h6.main { #course-view .section .spacer { height:2em } +#course-view .section .activity .spacer { + height:12px +} #course-view .section .content .section { margin-top:0; margin-left:0.7em @@ -299,6 +315,9 @@ h6.main { border-left:1px solid; border-right:1px solid } +#mod-forum-index .generalbox { + width:100% +} /*** *** Modules:Glossary