From: urs_hunkler Date: Sun, 30 Jan 2005 23:32:05 +0000 (+0000) Subject: this is a theme for Moodle for pdas. together with the course format "pda" it can... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8cd1bc780447d48dc508b305aec6d6ef40c09b10;p=moodle.git this is a theme for Moodle for pdas. together with the course format "pda" it can be used for small screens. I started to define width of the blocks and the content to 240px. I tested it on a sony th 55 - it looks quite promissing. It's just a start ... --- diff --git a/theme/orangewhitepda/config.php b/theme/orangewhitepda/config.php new file mode 100644 index 0000000000..9638eaca1e --- /dev/null +++ b/theme/orangewhitepda/config.php @@ -0,0 +1,68 @@ +sheets = array('styles_layout', 'styles_font', 'styles_color'); + +/// This variable is an array containing the names of all the +/// stylesheet files you want included in this theme, and in what order +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->standardsheets = false; + +/// This variable can be set to an array containing +/// filenames from the *STANDARD* theme. If the +/// array exists, it will be used to choose the +/// files to include in the standard style sheet. +/// When false, then no files are used. +/// When true or NON-EXISTENT, then ALL standard files are used. +/// This parameter can be used, for example, to prevent +/// having to override too many classes. +/// Note that the trailing .css should not be included +/// eg $THEME->standardsheets = array('styles_layout', 'styles_fonts', +/// 'styles_color', 'styles_moz'); +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->parent = ''; + +/// This variable can be set to the name of a parent theme +/// which you want to have included before the current theme. +/// This can make it easy to make modifications to another +/// theme without having to actually change the files +/// If this variable is empty or false then a parent theme +/// is not used. +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->parentsheets = false; + +/// This variable can be set to an array containing +/// filenames from a chosen *PARENT* theme. If the +/// array exists, it will be used to choose the +/// files to include in the standard style sheet. +/// When false, then no files are used. +/// When true or NON-EXISTENT, then ALL standard files are used. +/// This parameter can be used, for example, to prevent +/// having to override too many classes. +/// Note that the trailing .css should not be included +/// eg $THEME->standardsheets = array('styles_layout', 'styles_fonts', +/// 'styles_color', 'styles_moz'); +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->custompix = false; + +/// If true, then this theme must have a "pix" +/// subdirectory that contains copies of all +/// files from the moodle/pix directory, plus a +/// "pix/mod" directory containing all the icons +/// for all the activity modules. +//////////////////////////////////////////////////////////////////////////////// + +?> diff --git a/theme/orangewhitepda/css.gif b/theme/orangewhitepda/css.gif new file mode 100644 index 0000000000..312cde9438 Binary files /dev/null and b/theme/orangewhitepda/css.gif differ diff --git a/theme/orangewhitepda/csshover.htc b/theme/orangewhitepda/csshover.htc new file mode 100644 index 0000000000..7aa6c79e29 --- /dev/null +++ b/theme/orangewhitepda/csshover.htc @@ -0,0 +1,88 @@ + + diff --git a/theme/orangewhitepda/docstyles.php b/theme/orangewhitepda/docstyles.php new file mode 100644 index 0000000000..0123ea291e --- /dev/null +++ b/theme/orangewhitepda/docstyles.php @@ -0,0 +1,102 @@ + +body { + background-color:#FFFFFF; +} +p, a { + font-size:90%; +} + +h1, h2, h3 { + padding-left:0px; + background-color:transparent; + color:#000000; +} + +h1 { + font-size:1.7em; + margin:0.5em 0 0; +} + +h2 { + font-size:1.4em; + margin:0.5em 0 0; +} + +h3 { + font-size:1.2em; + margin:0.5em 0 0; +} + + +li { + margin-bottom: 10px; +} + +ul { + margin-top: 10px; +} + +.question { + font-size: medium; + font-weight: bold; + border: 1px dotted; + padding: 10px; + background-color: #EEEEEE; +} + +.answer { + font-size: medium; + border: none; + padding-left: 40px; +} + +.normaltext { + font-size: medium; + border: none; + margin-left: 30px; +} + +.answercode { + font-family: "Courier New", Courier, mono; + font-size: small; + border: none; + padding-left: 60px; +} + +.questionlink { + font-size: medium; + border: none; + padding-left: 40px; +} + +.examplecode { + font-family: "Courier New", Courier, mono; + font-size: small; + border: thin dashed #999999; + background-color: #FBFBFB; + margin: auto; + margin-top: 0.5em; + padding: 30px; + height: auto; + width: auto; +} + +.spaced { + margin-bottom: 30px; +} diff --git a/theme/orangewhitepda/farbstreifen_moodle.gif b/theme/orangewhitepda/farbstreifen_moodle.gif new file mode 100644 index 0000000000..8bdd82568a Binary files /dev/null and b/theme/orangewhitepda/farbstreifen_moodle.gif differ diff --git a/theme/orangewhitepda/favicon.ico b/theme/orangewhitepda/favicon.ico new file mode 100644 index 0000000000..5a7a36a68e Binary files /dev/null and b/theme/orangewhitepda/favicon.ico differ diff --git a/theme/orangewhitepda/footer.html b/theme/orangewhitepda/footer.html new file mode 100644 index 0000000000..2a1ecf54df --- /dev/null +++ b/theme/orangewhitepda/footer.html @@ -0,0 +1,15 @@ + + + + + + + diff --git a/theme/orangewhitepda/header.html b/theme/orangewhitepda/header.html new file mode 100644 index 0000000000..3b533c0bbf --- /dev/null +++ b/theme/orangewhitepda/header.html @@ -0,0 +1,48 @@ + +> + + + + <?php echo $title ?> + + wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> + javascript"); ?> + + + + +
+ + +
+
+
+
+
+ + + + +
+ + + +
+ +
\ No newline at end of file diff --git a/theme/orangewhitepda/nostyle.css b/theme/orangewhitepda/nostyle.css new file mode 100644 index 0000000000..31c52ca6a6 --- /dev/null +++ b/theme/orangewhitepda/nostyle.css @@ -0,0 +1,9 @@ +*, body, p, td, +h1, h2, h3, h4, h5, h6 +{ + font-style:inherit; + font-family:inherit; + font-size:100%; + background-color:#FFFFFF; + color:#000000; +} \ No newline at end of file diff --git a/theme/orangewhitepda/section_508.gif b/theme/orangewhitepda/section_508.gif new file mode 100644 index 0000000000..89e9c9a181 Binary files /dev/null and b/theme/orangewhitepda/section_508.gif differ diff --git a/theme/orangewhitepda/styles.php b/theme/orangewhitepda/styles.php new file mode 100644 index 0000000000..fc007906b1 --- /dev/null +++ b/theme/orangewhitepda/styles.php @@ -0,0 +1,46 @@ +parentsheets) or $THEME->parentsheets === true) { // Use all the sheets we have + $THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color', 'styles_moz'); + } else if (empty($THEME->parentsheets)) { // We can stop right now! + exit; + } else { // Use the provided subset only + $THEME->sheets = $THEME->parentsheets; + } + } + +/// Work out the last modified date for this theme + + foreach ($THEME->sheets as $sheet) { + $sheetmodified = filemtime($sheet.'.css'); + if ($sheetmodified > $lastmodified) { + $lastmodified = $sheetmodified; + } + } + +/// Print out the entire style sheet + + style_sheet_setup($lastmodified, $lifetime); + + foreach ($THEME->sheets as $sheet) { + echo "/***** $sheet.css start *****/\n\n"; + include_once($sheet.'.css'); + echo "\n\n/***** $sheet.css end *****/\n\n"; + } + +?> diff --git a/theme/orangewhitepda/styles_color.css b/theme/orangewhitepda/styles_color.css new file mode 100644 index 0000000000..33d4854943 --- /dev/null +++ b/theme/orangewhitepda/styles_color.css @@ -0,0 +1,635 @@ +/* $Id$ */ + +/************************************************* +*** +*** color +*** +**************************************************/ + +/************************************************* +*** +*** This CSS file contains all color definitions +*** like background-color, font-color, +*** border-color etc. +*** +*** Shortindex: +*** basic and general styles +*** header and footer styles +*** content styles (alphabetically) +*** admin, course, activities, calendar, blocks +*** +*** Please sort new styles for existing content +*** into the appropriate part of this CSS file. +*** Styles for new Blocks or Activities please +*** place at the end. +*** Wouldn't the alphabetical order be better? +*** +**************************************************/ + + +/* basic styles */ +font { + background-color:transparent; +} + +a:link { + color:#1246A3; +} +a:visited { + color:#AE1107; +} +a:hover { + border-bottom-color:#EC6E0A; +} + +a.autolink:link { + background-color:transparent; + color:#000000; + border-bottom-color:#000000; +} + +a.autolink:visited { + background-color:transparent; + color:#000000; + border-bottom-color:#000000; +} + +a.autolink:hover { + background-color:transparent; + color:#000000; + border-bottom-color:#000000; +} + +a.dimmed:link { + color:#AAAAAA; +} + +a.dimmed:visited { + color:#AAAAAA; +} + +a.dimmed:hover { + color:#990000; +} + + +/* general styles */ +body { + /*margin:0px; + padding:0px;*/ + background-color:#FFFFFF; + color:#000000; +} + +.highlight { + background-color:#C0CAD4; +} + +.dimmed_text { + color:#AAAAAA; +} + +/* header styles */ +#nav-bar a:link { + color:#1246A3; +} + +#nav-bar a:visited { + color:#AE1107; +} + +#nav-bar, +#nav-bar td, +#nav-bar input { + color:#000000; +} + +#nav-bar hr { + background-color:#0B4161; + color:#0B4161; +} + + +/* footer styles */ + + +/***************************** +*** +*** content styles +*** +******************************/ +#content { + background-color:#EEF0F2; + border-color:#FFFFFF; +} + +#layout-table { + background-color:#FFFFFF; +} + + +/* many places */ +.generalbox { + background-color:#FFFFFF; + border-color:#D1D7DC; +} + +.generalboxcontent { + background-color:#FFFFFF; + border-color:#D1D7DC; +} + +.noticebox { + border-color:#D1D7DC; +} + + +/* weblib.php table */ +.tabledivider { + border-color:#C0CAD4; +} + + +/* entry page */ +#site-index { + background-color:#FFFFFF; +} + +#site-index #left-column { + background-color:#F9FAFA; +} + +#site-index #middle-column .headingblock, +#site-index #middle-column .forumpostheadertopic, +#course-view #middle-column .headingblock, +#course-view #middle-column .forumpostheadertopic { + background-color:transparent; + border-color:#FFC86C; +} + + +/* entry-page index.php */ +.sitetopic, +.siteinfo { + border-color:#D1D7DC; +} + +.siteinfocontent { + background-color:#EEF0F2; +} + + +/* summary of a user in a nice little box - weblib.php */ +.userinfobox { + border-color:#D1D7DC; +} + + +/***************************** +*** +*** Admin +*** +******************************/ + + +/***************************** +*** +*** Course +*** +******************************/ +.course .course-content { + background-color:#FFFFFF; +} + + +/* course, entry-page, login */ +.headingblock { + background-color:#FFFFFF; +} + + +/* course */ +#left-column { + background-color:#F9FAFA; +} + +#right-column .sideblockheading { + background-color:#FFDA9D; +} + +#left-column .sideblocklinks { + background-color:#F9FAFA; + border-color:#FFFFFF; +} + +#left-column td.sideblocklinks:hover, +#left-column td.sideblocklinks:active { + background-color:#FFB63B; +} + +.outlineheadingblock { + background-color:#FFFFFF; +} + +.topicsoutlinecontent, +.topicsoutlinecontenthighlight { + background-color:#FFFFFF; + border-color:#FFC86C; +} + +.course-2 .topicsoutlinecontent, +.course-2 .topicsoutlinecontenthighlight { + background-color:#FFFFFF; + border-color:#F1F3C2; +} + +.course-3 .topicsoutlinecontent, +.course-3 .topicsoutlinecontenthighlight { + background-color:#FFFFFF; + border-color:#C2F3C7; +} + +.course-4 .topicsoutlinecontent, +.course-4 .topicsoutlinecontenthighlight { + background-color:#FFFFFF; + border-color:#C2D3F3; +} + +.course-5 .topicsoutlinecontent, +.course-5 .topicsoutlinecontenthighlight { + background-color:#FFFFFF; + border-color:#F3C6C2; +} + +.topicsoutlinecontenthidden { + background-color:#FFFFFF; + border-color:#EEF0F2; +} + +.topicsoutlineside, +.topicsoutlinesidehighlight, +.topicsoutlinesidehidden { + background-color:#FFFFFF; + border-color:#FFFFFF; +} + +.topicsoutlinecontent span.unread, +.topicsoutlinecontenthighlight span.unread, +.topicsoutlinecontenthidden span.unread { + border-bottom-color:#FFB63B; +} + +.weeklyoutlineside { + border-color:#D1D7DC; +} + +.weeklyoutlinesidehighlight { + border-color:#D1D7DC; +} + +.weeklyoutlinesidehidden { + border-color:#D1D7DC; +} + +.weeklyoutlinecontent { + border-color:#D1D7DC; +} + +.weeklyoutlinecontenthighlight { + background-color:#FFFFFF; + border-color:#D1D7DC; +} + +.weeklyoutlinecontenthidden { + background-color:#F7F6F1; + border-color:#D1D7DC; +} + +.categorybox { + border-color:#D1D7DC; +} + +.courseboxcontent { + border-color:#D1D7DC; +} + + +/***************************** +*** +*** Activities +*** +******************************/ +/* assignment, forum, glossary */ +.forumpost { + border-color:#D1D7DC; +} + +.forumpostpicture { + background-color:#FFFFFF; +} + +.forumpostside { + background-color:#EEF0F2; +} + + +/* forum */ +.forum { + background-color:#FFFFFF; + border-color:#D1D7DC; +} + +.forumpostheadertopic { + background-color:#FFC86C} + +.forumpostheaderpicture { + background-color:#EEF0F2; +} + +.forumpostheadername { + background-color:#EEF0F2; +} + +.forumpostheaderdate { + background-color:#EEF0F2; +} + +.forumheaderlist { + border-color:#D1D7DC; +} + +.forumthread .unread { + background: #FFD991; +} + +.unread { + border-color:#FFB63B; + color:#555555; +} + + +/* glossary */ +.glossary { + /*background-color:#FFFFFF;*/ + background-color:#EEF0F2; + border-color:#D1D7DC; +} + +.glossary .forumpost td { + background-color:#FFFFFF; +} + +.glossary td, +.glossary-edit td { + background-color:transparent; +} + +.glossary center center td table td, +.glossary-edit center center td table td { + background-color:#FFFFFF; +} + +.glossary center center td, +.glossary-edit center center td { + background-color:#EEF0F2; +} + +.glossary table.generaltabselected td, +.glossary form table.generaltabselected td { + background-color:#FFC86C; +} + +.glossary form table.forumpost td { + background-color:#F9FAFA; +} + +.glossary .generaltab { + background-color:#D1D7DC !important; +} + +.glossary .generaltabselected { + background-color:#FFD991 !important; +} + + +/* lang, forum */ +.teacheronly { + color:#AE1107; +} + + +/* quiz */ +.feedbacktext { + color:#C0CAD4; +} + + +/* wiki styles */ +.mwiki { + border-color:#D1D7DC; +} + +.mwiki .edit { + background-color:#FFFFFF; +} + +.wiki { + border-color:#A7B1B7; +} + +.wiki .title { + background-color:#EEF0F2; + border-color:#C6BDA8; +} + +.mwiki .generaltab { + background-color:#D1D7DC !important; +} + +.mwiki .generaltabselected { + background-color:#FFD991 !important; +} + + +/***************************** +*** +*** Calendar +*** +******************************/ +TABLE.calendarmini { + border-color:#C0CAD4; +} + +TABLE.calendarmonth { + border-color:#C0CAD4; +} + +TABLE.calendarmini TBODY TD { + border-color:#C0CAD4; +} + +TABLE.calendarmonth TBODY TD { + background-color:#EEF0F2; + border-color:#C0CAD4; +} + +TABLE.calendarmonth THEAD TD { + background-color:#EEF0F2; + border-bottom-color:#666666; +} + +.cal_event_global { + background-color:#009999 !important; + border-color:#009999 !important; +} + +.cal_event_course { + background-color:#ff3333 !important; + border-color:#ff3333 !important; +} + +.cal_event_group { + background-color:#ffcc33 !important; + border-color:#ffcc33 !important; +} + +.cal_event_user { + background-color:#99ccff !important; + border-color:#99ccff !important; +} + +.cal_duration_global { + border-top-color:#009999 !important; + border-bottom-color:#009999 !important; +} + +.cal_duration_course { + border-top-color:#ff3333 !important; + border-bottom-color:#ff3333 !important; +} + +.cal_duration_user { + border-top-color:#99ccff !important; + border-bottom-color:#99ccff !important; +} + +.cal_duration_group { + border-top-color:#ffcc33 !important; + border-bottom-color:#ffcc33 !important; +} + +.cal_weekend { + color:red; +} + +.cal_today { + border-color:#666666 !important; +} + +.mycalendar { + background-color:#EEF0F2; +} + +.mycalendar TABLE.cal_filters { + border-color:#C0CAD4; +} + +.mycalendar .cal_filters THEAD TD { + border-bottom-color:#666666; +} + +.mycalendar .cal_event_table { + border-color:#C0CAD4; +} + +.mycalendar .cal_event_table THEAD { + background-color:#EEF0F2; +} + +.mycalendar HR { + border-top-color:#999; +} + +.calendarexpired { + color:red; +} + +TD.cal_event_description { + border-left-color:#C6BDA8; +} + +.cal_popup_fg { + background-color:#EEF0F2; +} + +.cal_popup_bg { + background-color:#FFFFFF; + border-top-color:#C6BDA8; + border-left-color:#C6BDA8; + border-right-color:#663300; + border-bottom-color:#663300; +} + +.cal_popup_caption { + background-color:#FFFFFF; +} + +.eventfull { + border-color:#D1D7DC; +} + + +/***************************** +*** +*** Blocks +*** +******************************/ +/* sideblock */ +.sideblock a:link { + color:#4B809E; +} + +.sideblock a:visited { + color:#C16E28; +} + +.sideblock, +.sideblockmain, +.sideblocklinks { + background-color:#F9FAFA; +} + +.sideblockheading { + background-color:#EEF0F2; +} + +.sideblock, +.sideblockheading { + border-color:#D1D7DC; +} + +.sideblockheading { + color:#666666; +} + +.sideblockmain { + color:#666666; +} + +.sideblockmain HR { + border-top-color:#999; +} + + +/* course summary */ +#block_course_summary .sideblockmain { + background-color:#F9FAFA; + color:#000000; +} + + +/* glossary random */ +#block_glossary_random .sideblockmain { + /*background-color:#FFDA9D;*/ +} + diff --git a/theme/orangewhitepda/styles_font.css b/theme/orangewhitepda/styles_font.css new file mode 100644 index 0000000000..447cf9851d --- /dev/null +++ b/theme/orangewhitepda/styles_font.css @@ -0,0 +1,390 @@ +/* $Id$ */ + +/************************************************* +*** +*** fonts +*** +**************************************************/ + +/************************************************* +*** +*** This CSS file contains all font definitions +*** like family, size, weight, +*** text-align, letter-spacing +*** etc. +*** +*** Shortindex: +*** basic and general styles +*** header and footer styles +*** content styles (alphabetically) +*** admin, course, activities, calendar, blocks +*** +*** Please sort new styles for existing content +*** into the appropriate part of this CSS file. +*** Styles for new Blocks or Activities please +*** place at the end. +*** Wouldn't the alphabetical order be better? +*** +**************************************************/ + + +/* basic styles */ +font { + font-size:100% !important; +} + +.clearer { + font-size:1px; +} + +.smallinfo { + font-size:100%; +} + +.smallinfohead { + font-size:100%; +} + + +/* general styles */ +body { + font-family:"Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important; + font-size:1em; + line-height:1.2em; + letter-spacing:0.02em; +} + +/*td, th, p, a { + font-family:inherit; + font-family:inherit; + font-size:inherit; +}*/ + +th { + font-weight:bold; +} + +a { + font-family:inherit; + font-size:inherit; + line-height:150%; + text-decoration:none; +} + +a:hover { + text-decoration:underline; +} + +a.dimmed:link, +a.dimmed:visited, +a.dimmed:hover, +a.autolink:link, +a.autolink:visited, +a.autolink:hover { + text-decoration:none; +} + +h2 { + font-size:150%; + font-weight:bold; +} + +h3 { + font-size:130%; + font-weight:bold; +} + +h4 { + font-size:110%; + font-weight:bold; +} + + +/* header styles */ +#header, +#header-home { + font-size:90%; +} + +#nav-bar { + font-size:80%; +} + +#header-home .headermain { + font-size:150%; +} + +#header .headermain { + font-size:130%; +} + +#breadcrumb { + font-size:80%; +} + +.headermenu { + font-size:90%; + text-align:right; +} + +.headermain, +.headerhomemain { + font-weight:bold; +} + +.headerhomemenu, +.headerhomemenu a { + font-size:90%; +} + +.logininfo { + font-size:90%; +} + + +/* footer styles */ +#footer { + font-size:90%; + text-align:center; +} + +.homelink { + font-size:90%; +} + + +/***************************** +*** +*** content styles +*** +******************************/ +#content { + font-size:80%; + text-align:left; +} + + +/* many places */ +.noticeboxcontent { + text-align:center; +} + + +/* entry page */ +#site-index #layout-table { } + +#site-index #layout-table .sideblock a { } + +#site-index #block_course_summary { + line-height:1.5em; +} + + +/***************************** +*** +*** Admin +*** +******************************/ +#admin-config .generalbox, +#admin-site .generalbox, +#admin-backup .generalbox, +#admin-calendar .generalbox, +#admin-editor .generalbox, +#admin-lang .generalbox { + font-size:90%; + text-align:left; +} + +#admin-index .generaltable { + /*font-size:0.9em;*/ + text-align:left; +} + +#admin-lang FORM { + /*font-size:0.9em;*/ +} + +#admin-blocks #content p, +#admin-modules #content p { + margin:0; + padding:0; +} + + +/***************************** +*** +*** Course +*** +******************************/ +.course { + text-align:left; +} + + +/* course, entry-page, login */ +.headingblock { + font-weight:bold; +} + + +/* course */ +#left-column, +#right-column { + text-align:left; +} + +#middle-column{ + text-align:left; +} + +.outlineheadingblock { + font-weight:bold; +} + +.weeklydatetext { + font-weight:bold; +} + +.courseboxinfo { + font-weight:bold; +} + + +/***************************** +*** +*** Activities +*** +******************************/ +/* index, admin, course, lang, adodb, quiz */ +.categoryname, +.categorynumber { + font-weight:bold; +} + + +/* forum */ +.forum { + text-align:left; +} + +.forumpostheadertopic { } + +.unread { + font-style:normal; +} + + +/* glossary */ +.glossary .generaltab B, +.glossary .generaltabselected B { + font-weight:normal; +} + +.glossary .generaltab, +.glossary .generaltabselected { + font-size:80%; +} + + +/* wiki */ +.mwiki { + text-align:left; +} + +.wiki .upload { + font-size:0.9em; +} + +.mwiki .generaltab, +.mwiki .generaltabselected { } + +#containerPageActions { + text-align:left; +} + + +/***************************** +*** +*** Calendar +*** +******************************/ +TABLE.calendarmini { + letter-spacing:0.1em; +} + +TABLE.calendarmini TBODY TD { + text-align:center; + letter-spacing:0em; +} + +TABLE.calendarmonth TBODY TD TABLE { + line-height:1.2em; +} + +TABLE.calendarmonth TBODY TD DIV { + line-height:1.2em; +} + +TABLE.calendarmini THEAD TD, +TABLE.calendarmonth THEAD TD { + font-weight:bold; + text-align:center; +} + +TABLE.cal_controls td { + line-height:1.2em; +} + +.mycalendar .cal_event { + font-weight:bold; +} + +.mycalendar .cal_event_date { } + +.mycalendar .cal_event_table THEAD { + text-align:center; + font-weight:bold; +} + +.calendarexpired { + font-weight:bold; +} + +.calendarreferer { + font-weight:bold; +} + +.cal_popup_caption { + font-weight:bold; +} + +.cal_popup_close { + font-weight:bold; +} + +.sideblock .cal_controls { } + + +/***************************** +*** +*** Blocks +*** +******************************/ +/* sideblock */ +.sideblock { + font-size:90%; +} + +.sideblockheading { + font-weight:bold; +} + +.sideblocklinks { } + +td.sideblockmain center, td.sideblockmain p, td.sideblockmain div { + text-align:left; +} + + +/* course summary */ +#block_course_summary .sideblockmain { } \ No newline at end of file diff --git a/theme/orangewhitepda/styles_layout.css b/theme/orangewhitepda/styles_layout.css new file mode 100644 index 0000000000..d14ec07cfc --- /dev/null +++ b/theme/orangewhitepda/styles_layout.css @@ -0,0 +1,751 @@ +/* $Id$ */ + +/************************************************* +*** +*** layout +*** +**************************************************/ + +/************************************************* +*** +*** This CSS file contains all layout definitions +*** like positioning, floats, +*** margins, paddding, +*** borders etc. +*** +*** Shortindex: +*** basic and general styles +*** header and footer styles +*** content styles (alphabetically) +*** admin, course, activities, calendar, blocks +*** +*** Please sort new styles for existing content +*** into the appropriate part of this CSS file. +*** Styles for new Blocks or Activities please +*** place at the end. +*** Wouldn't the alphabetical order be better? +*** +**************************************************/ + +/* basic styles */ +.clearer { + clear:both; + margin:0px; + padding:0px; + height:1px; + border:none; + background:transparent; +} + +a.autolink:link { + border-bottom:dashed 1px; + cursor:help; +} + +a.autolink:visited { + border-bottom:dashed 1px; + cursor:help; +} + +a.autolink:hover { + border-bottom:solid 1px; + cursor:help; +} + + +/* general styles */ +body { + behavior:url(/htc/csshover.htc); + margin:10px; +} + +ul { + margin-bottom:5px; + margin-top:0px; +} + +form { + margin-bottom:0px; +} + +a img { + border:none; +} + +input { + background:transparent; +} + + +/* header styles */ +#header-home { + padding:0.5em 0.5em; + height:2em; +} + +#header, +#header-main, +#nav-bar { + margin:0px; +} + +#header { + padding:0.1em 0.5em; + height:50px; +} + +.headermain { + float:left; +} + +#header .headermain { + margin:0.2em 0em; +} + +.headermenu { + float:right; + padding:0px; + margin:0px, +} + +#nav-bar { + background-image:url(farbstreifen_moodle.gif); + background-position:left; + background-repeat:no-repeat; + margin-bottom:0px; + padding:1px 0.5em; + height:3em; +} + +#breadcrumb { + float:left; + padding-top:13px; + margin:0.2em 0em; +} + +#navbutton { + float:right; + padding-top:13px; + margin:0.2em 0em; +} + +#nav-bar hr { + height:1px; +} + + +/* footer styles */ +#footer br { + display:none; +} + +#footer HR { + display:none; +} + + +/***************************** +*** +*** content styles +*** +******************************/ +#content { + margin-left:auto; + margin-right:auto; + padding:0px; + width:240px: + border:thin solid; +} + + +/* many places */ +.generalbox { + margin-left:auto; + margin-right:auto; + border-width:1px; + border-style:solid; +} + +.generalboxcontent { + background-image:none; +} + +.noticebox { + border-width:1px; + border-style:solid; +} + + +/* weblib.php table */ +.tabledivider { + border-width:1px; + border-style:solid; + border-left:0px; + border-right:0px; + border-top:0px; +} + + +/* entry page */ +#layout-table { + width:240px; +} + +#course-view #left-column, +#course-view #left-column .sideblock +{ + width:100%; +} + +#course-view #middle-column +{ + width:100%; + padding:0em 0em; +} + +#course-view #right-column{ + width:100%; +} + +#site-index #middle-column .forumpost, +#course-view #middle-column .forumpost { + border-width:0px; + border-style:none; +} + +#site-index #middle-column .forumpostpicture, +#site-index #middle-column .forumpostside, +#course-view #middle-column .forumpostpicture, +#course-view #middle-column .forumpostside { + display:none; +} + +#site-index #middle-column .headingblock, +#site-index #middle-column .forumpostheadertopic, +#course-view #middle-column .headingblock, +#course-view #middle-column .forumpostheadertopic { + padding:0.2em; + border-width:0px 0px 0px 5px; + border-style:solid; +} + + +/* entry-page index.php */ +.sitetopic, +.siteinfo { + border-width:1px; + border-style:solid; +} + + +/* summary of a user in a nice little box - weblib.php */ +.userinfobox { + margin-bottom:5px; + border-width:1px; + border-style:solid; +} + + +/***************************** +*** +*** Admin +*** +******************************/ +/* admin, calendar */ +table.formtable td { + padding:9px; +} + + +/* admin */ +.admin #content, +.admin .generalboxcontent, +.admin .generalbox { + width:auto; +} + + +/***************************** +*** +*** Course +*** +******************************/ +/* course, entry-page, login */ +.headingblock { + background-image:none; + border-style:none; +} + +.generaltableheader { + background-image:none; +} + + +/* course */ +#left-column, +#right-column { + margin:0px; + padding:0px; + border:0px; +} + +#middle-column { + padding:0px 0px; +} + +.outlineheadingblock { + background-image:none; + display:none; +} + +.topicsoutlineside, +.topicsoutlinesidehighlight, +.topicsoutlinesidehidden { + border-width:0px; +} + +.topicsoutlineside p b, +.topicsoutlinesidehighlight p b, +.topicsoutlinesidehidden p b { + display:none; +} + +.topicsoutlinecontent, +.topicsoutlinecontenthighlight, +.topicsoutlinecontenthidden { + margin:0em; + padding:0.5em 0.2em; + border-width:0px 0px 0px 5px; + border-style:solid; +} + +.topicsoutlinecontent span.unread, +.topicsoutlinecontenthighlight span.unread, +.topicsoutlinecontenthidden span.unread { + padding:0em; + margin-left:0.8em; +} + +.weeklyoutlineside { + border-width:1px; + border-style:solid; +} + +.weeklyoutlinesidehighlight { + border-width:1px; + border-style:solid; +} + +.weeklyoutlinesidehidden { + border-width:1px; + border-style:dashed; +} + +.weeklyoutlinecontent { + border-width:0px; + border-top:1px; + border-bottom:1px; + border-style:solid; +} + +.weeklyoutlinecontenthighlight { + border-width:0px; + border-top:1px; + border-bottom:1px; + border-style:solid; +} + +.weeklyoutlinecontenthidden { + border-width:0px; + border-top:1px; + border-bottom:1px; + border-style:dashed; +} + +.categorybox { + border-width:1px; + border-style:solid; +} + +.courseboxcontent { + border-width:1px; + border-style:solid; +} + + +/***************************** +*** +*** Activities +*** +******************************/ +/* assignment, forum, glossary */ +.forumpost, +.forumheaderlist { + border-width:1px; + border-style:solid; +} + + +/* forum */ +.forum { + position:relative; + width:240px; + margin-left:0px; + margin-right:auto; + border:1px solid; +} + +#forum-post { + margin:0px; + width:auto; +} + +.unread { + border-width:0px 0px 1px 3px; + border-style:solid; +} + + +/* glossary */ +.glossary { + position:relative; + width:240px; + margin-left:0px; + margin-right:auto; + border:1px solid; +} + +#glossary-edit { + margin:0px; + width:auto; +} + +.glossary .generaltab, +.glossary .generaltabselected { + padding:0px 1px; +} + +.glossary table { + width:auto; + margin-left:0px; +} + +.glossary center, +.glossary center table, +.glossary center table tr { + width:240px; +} + + +/* quiz */ +.mod-quiz #content { + position:relative; + width:240px; + margin-left:0px; + margin-right:auto; + border:1px solid; +} + +.mod-quiz table { + width:auto; +} + +table.quiz td { + padding-top:0.1em; + line-height:1.7em; +} + +table.quiz input { + height:1.7em; + padding-top:0.1em; + vertical-align:top; +} + + +/* wiki */ +.wiki { + border-width:1px; + border-style:solid; +} + +.mwiki .view { + margin-left:auto; + margin-right:auto; + width:35em; +} + +.mwiki .edit { + margin-right:auto; + margin-left:auto; + padding:0em; +} + +.wiki .title { + padding:3px; + border:1px solid; +} + +.wiki .upload { + padding-top:1em; +} + +#wikiPageActions { + position:relative; + width:auto !important; + margin:auto; +} + +#wikiPageActions td { + text-align:left !important; +} + +#wikiPageActions INPUT { + padding:0px; + margin:0px; +} + +.mwiki { + position:relative; + width:45em; + margin-left:auto; + margin-right:auto; + border:1px solid; +} + + +/***************************** +*** +*** Calendar +*** +******************************/ +TABLE.calendarmini { + width:100%; + margin:0px; + padding:0px; + border-width:1px; + border-style:solid; +} + +TABLE.calendarmonth { + width:100%; + margin:0px; + padding:0px; + border-width:1px; + border-style:solid; +} + +TABLE.calendarmini TBODY TD { + width:14%; + border-width:1px 0px; + border-style:none; + vertical-align:center; +} + +TABLE.calendarmonth TBODY TD { + width:14%; + border-width:1px; + border-style:solid; + vertical-align:top; +} + +TABLE.calendarmonth TBODY TD TABLE { + margin-top:0px; + margin-left:0px; +} + +TABLE.calendarmonth TBODY TD TABLE TD { + background:none; + border:none; +} + +TABLE.calendarmonth TBODY TD DIV { + margin-top:0px; + margin-left:0px; +} + +TABLE.calendarmini THEAD TD { + vertical-align:center; +} + +TABLE.calendarmonth THEAD TD { + padding-bottom:3px; + border-bottom:2px solid; + vertical-align:center; +} + +.cal_event_global { + border:2px solid !important; +} + +.cal_event_course { + border:2px solid !important; +} + +.cal_event_group { + border:2px solid !important; +} + +.cal_event_user { + border:2px solid !important; +} + +.cal_duration_global { + border-top:2px solid !important; + border-bottom:2px solid !important; +} + +.cal_duration_course { + border-top:2px solid !important; + border-bottom:2px solid !important; +} + +.cal_duration_user { + border-top:2px solid !important; + border-bottom:2px solid !important; +} + +.cal_duration_group { + border-top:2px solid !important; + border-bottom:2px solid !important; +} + +.cal_today { + border:2px solid !important; +} + +.mycalendar TABLE.cal_filters { + margin:0px; + padding:2px; + width:100%; + border-width:1px; + border-style:solid; +} + +.mycalendar .cal_filters THEAD TD { + margin:0px; + padding:2px; + border-bottom:2px solid; +} + +.mycalendar .cal_event_table { + margin:0px; + padding:2px; + width:100%; + border-width:1px; + border-style:solid; +} + +.mycalendar HR { + height:1px; + border:none; + border-top:1px solid; + margin-top:4px; + margin-bottom:4px; +} + +TD.cal_event_description { + width:80%; + border-left:2px solid; + vertical-align:top; + padding:5px; +} + +.cal_popup_bg { + padding:0px; + margin:0px; + border-top:2px solid; + border-left:2px solid; + border-right:2px solid; + border-bottom:2px solid; +} + +.cal_popup_close { + margin-right:5px; +} + +.eventfull { + border-width:1px; + border-style:solid; +} + +.eventfullpicture { + padding:8px; +} + + +/***************************** +*** +*** Blocks +*** +******************************/ +/* sideblock */ +.sideblock { + width:100%; + border-width:1px 1px 1px 1px; + border-style:solid; +} + +.sideblockheading { + background-image:none; + padding:0px 5px; + border-width:1px 0px 0px 1px; + border-style:solid; +} + +.sideblockheading a { + cursor:pointer; + border-bottom:none; +} + +.sideblockheading a img { + padding-top:0.5em; +} + +.sideblockmain HR { + height:1px; + border:none; + border-top:1px solid; + margin-top:4px; + margin-bottom:4px; +} + +#left-column .sideblock { + margin-bottom:0; +} + +#left-column .sideblockmain { + padding:1px 0px; +} + +#left-column .sideblockheading, +#left-column .sideblock { + border-width:0px 0px 0px 1px; +} + +#left-column .sideblocklinks { + padding-left:5px; + border-width:0px 0px 1px 0px; + border-style:solid; +} + +#right-column .sideblock { + margin:1em 0em 0.5em; +} + + +/* glossary random */ +#block_glossary_random .sideblockheading, +#block_glossary_random .sideblockmain br, +#block_glossary_random .sideblockmain b { + display:none; +} + +#block_glossary_random .sideblockmain { + text-align:center; +} + + +/* course summary */ +#block_course_summary .sideblockmain { + padding:10px; +} \ No newline at end of file diff --git a/theme/orangewhitepda/xhtml_1_0.gif b/theme/orangewhitepda/xhtml_1_0.gif new file mode 100644 index 0000000000..119e2ca7ea Binary files /dev/null and b/theme/orangewhitepda/xhtml_1_0.gif differ