From 4db41cbdcf860f186bc9b050e4116de3458724d5 Mon Sep 17 00:00:00 2001 From: Mary Evans Date: Wed, 9 Nov 2011 02:22:36 +0000 Subject: [PATCH] MDL-25511-theme_canvas tidy up CORE css files --- theme/canvas/style/admin.css | 101 +++++----- theme/canvas/style/blocks.css | 84 ++++----- theme/canvas/style/core.css | 54 +++--- theme/canvas/style/course.css | 100 +++++----- theme/canvas/style/editor.css | 78 ++++---- theme/canvas/style/mods.css | 299 +++++++++++++++--------------- theme/canvas/style/pagelayout.css | 33 +--- theme/canvas/style/popups.css | 2 +- theme/canvas/style/tables.css | 11 +- theme/canvas/style/tabs.css | 118 ++++++------ theme/canvas/style/text.css | 2 +- 11 files changed, 446 insertions(+), 436 deletions(-) diff --git a/theme/canvas/style/admin.css b/theme/canvas/style/admin.css index 0b23550f15a..5f66876395b 100644 --- a/theme/canvas/style/admin.css +++ b/theme/canvas/style/admin.css @@ -1,73 +1,73 @@ #page-admin-index #notice { - text-align: center; - width: 50%; - margin: 15px auto; - padding: 10px 10px; + text-align: center; + width: 50%; + margin: 15px auto; + padding: 10px 10px; } #page-admin-index #notice strong { - background: #ffc; + background: #ffc; } #page-admin-index .notifysuccess { - text-align: center; - font-weight: bold; - padding: 10px; + text-align: center; + font-weight: bold; + padding: 10px; } #page-admin-index h2.main { - padding: 1em 0; + padding: 1em 0; } #page-admin-index .adminwarning { - border: 1px solid #a35f1d; - background: #ffeeba; - padding: 10px; - margin: 10px auto; - width: 75%; + border: 1px solid #a35f1d; + background: #ffeeba; + padding: 10px; + margin: 10px auto; + width: 75%; } #page-admin-index .copyright { - text-align: center; - margin: 20px auto; + text-align: center; + margin: 20px auto; } #adminsettings .form-buttons { - width: 100%; - text-align: center; - margin: 10px 0; + width: 100%; + text-align: center; + margin: 10px 0; } #authmenu .generalbox { - border: none; + border: none; } #page-admin-cohort-index .generaltable, #page-admin-user .generaltable { - width: 100%; + width: 100%; } #page-admin-roles-manage .generaltable { - width: 95%; - margin: 1em auto; + width: 95%; + margin: 1em auto; } #page-admin-roles-allow .generalbox { - margin: 0 auto 1em; - width: 65%; - padding: 10px; + margin: 0 auto 1em; + width: 65%; + padding: 10px; } .editcourse .singleselect { - margin: 0; + margin: 0; } #page-admin-course-category .generalbox { - margin-bottom: 0; + margin-bottom: 0; } #userselector_options { - font-size: 0.75em; + font-size: 0.75em; } @@ -75,45 +75,54 @@ ----------------------------*/ #page-admin-theme-index .generalbox { - border: none; + border: none; } .theme_screenshot { - float: left; - width: 300px; + float: left; + width: 300px; } .theme_screenshot img { - width: 275px; + width: 275px; } .theme_screenshot h2 { - font-size: 2em; + font-size: 2em; } .theme_screenshot h3 { - font-size: 0.9em; - margin: 1em 0 0; + font-size: 0.9em; + margin: 1em 0 0; } .theme_screenshot p { - font-size: 0.9em; - margin: 0 0 1em; + font-size: 0.9em; + margin: 0 0 1em; } .theme_description { - margin-left: 300px; + margin-left: 300px; } .theme_description h2 { - padding-top: 0.5em; + padding-top: 0.5em; } .plugincheckwrapper {text-align: center;} -/** -* Web services -*/ -#page-admin-webservice-service_users .missingcaps {color: #ff6600;font-size: 90%;} -#page-admin-setting-webservicetokens .missingcaps {color: #ff6600;font-size: 90%;} -#page-admin-webservice-service_functions .functiondesc {font-size: 90%;} + +/* Web services +-------------------------*/ + +#page-admin-webservice-service_users .missingcaps { + color: #ff6600; + font-size: 90%; +} +#page-admin-setting-webservicetokens .missingcaps { + color: #ff6600; + font-size: 90%; +} +#page-admin-webservice-service_functions .functiondesc { + font-size: 90%; +} \ No newline at end of file diff --git a/theme/canvas/style/blocks.css b/theme/canvas/style/blocks.css index 2b3bb9bc353..73d802cd164 100644 --- a/theme/canvas/style/blocks.css +++ b/theme/canvas/style/blocks.css @@ -1,97 +1,97 @@ .block { - padding: 0 + padding: 0 } .block .footer { - margin-top: 10px; - margin-bottom: 0; - text-align: center; + margin-top: 10px; + margin-bottom: 0; + text-align: center; } .block_action .reloadnavigation { - margin-right: 3px; + margin-right: 3px; } .block .header .commands .icon { - padding-left: 2px; - padding-right: 2px; - margin-right: 2px; + padding-left: 2px; + padding-right: 2px; + margin-right: 2px; } .block h3.main { - padding: 0.5em 0; - text-align: left; - font-size: 1.1em; + padding: 0.5em 0; + text-align: left; + font-size: 1.1em; } /* Login ------------------------------*/ .block_login .content { - padding: 5px 10% 5px 0; + padding: 5px 10% 5px 0; } .block_login #login_username, .block_login #login_password { - width:90%; - margin-bottom: 0.5em; - padding: 2px 5px; + width:90%; + margin-bottom: 0.5em; + padding: 2px 5px; } .block_login .btn { - margin-top:1em; + margin-top:1em; } .block_login .footer { - text-align: left; + text-align: left; } /* News -------------------------------*/ .block_news_items .newlink { - text-align: center; - margin-bottom: 5px; + text-align: center; + margin-bottom: 5px; } .block_news_items .post .head { - font-style: italic; - font-size: 0.9em; - margin-top: 10px; + font-style: italic; + font-size: 0.9em; + margin-top: 10px; } .block_news_items .post .date { - float: right; - text-align: right; + float: right; + text-align: right; } .block_news_items .post .name { - float: left; - color: #555; + float: left; + color: #555; } /* Calendar --------------------------------*/ .block_calendar_upcoming .event { - font-weight: bold; + font-weight: bold; } .block_calendar_upcoming .date { - font-weight: normal; - font-size: 0.85em; - font-style: italic; - margin-left: 20px; + font-weight: normal; + font-size: 0.85em; + font-style: italic; + margin-left: 20px; } .block_recent_activity .activitydate { - font-size: 0.9em; - color: #444; - margin-bottom: 5px; + font-size: 0.9em; + color: #444; + margin-bottom: 5px; } .block_recent_activity .activityhead { - font-size: 0.95em; - margin: 0.5em 0; + font-size: 0.95em; + margin: 0.5em 0; } /* Messages and Online Users @@ -99,16 +99,16 @@ .block_messages .info, .block_online_users .info { - text-align: center; - font-size: 0.85em; - color: #444; - margin-bottom: 7px; + text-align: center; + font-size: 0.85em; + color: #444; + margin-bottom: 7px; } /* Blog Menu ------------------------------*/ .block_blog_menu .list li { - font-size: 0.9em; - margin: 0.25em 0; + font-size: 0.9em; + margin: 0.25em 0; } diff --git a/theme/canvas/style/core.css b/theme/canvas/style/core.css index 0431db18e23..f763f971401 100644 --- a/theme/canvas/style/core.css +++ b/theme/canvas/style/core.css @@ -82,7 +82,7 @@ input[type="radio"] { } /* Login -------------------------*/ +-------------------------*/ .loginbox { margin: 15px 25%; @@ -176,7 +176,7 @@ input[type="radio"] { } /* Calendar ------------------------*/ +-------------------------*/ .calendarlayout .sidecalendar { padding-left: 15px; @@ -327,7 +327,7 @@ input[type="radio"] { } /* User ------------------------*/ +-------------------------*/ .userinfobox { border-color: #ddd; @@ -653,24 +653,26 @@ input[type="radio"] { border-left: 2px solid #8a8a8a; } -/** - * Enrol - TODO: tidy up styles here - */ +/* Enrol +-------------------------*/ + .userenrolment { font-size:90%; border:1px solid #999; } .userenrolment tr.r0 { - background-color:#F9F9F9; + background-color: #F9F9F9; } .userenrolment tr.r1 { - background-color:#F3F3F3; + background-color: #F3F3F3; } .userenrolment td { - border:1px solid #E9E9E9; - border-top-color:#F6F6F6; - border-right-color:#EEE; - border-left-color:#F3F3F3; + border-width: 1px; + border-style: solid; + border-top-color: #F6F6F6; + border-right-color: #EEE; + border-bottom-color: #E9E9E9; + border-left-color: #F3F3F3; } .userenrolment td.c0 { border-left-color:#999; @@ -686,19 +688,19 @@ input[type="radio"] { position:relative; } .userenrolment .col_role .role { - line-height:10px; - font-size:10px; + line-height: 10px; + font-size: 10px; } .userenrolment .col_role .role a img { height:8px; } .userenrolment .col_role .addrole { - background-color:#DDD; - border:1px outset #EEE; - -moz-border-radius:5px; + background-color: #DDD; + border: 1px outset #EEE; + -moz-border-radius: 5px; } .userenrolment .col_group { - max-width:300px; + max-width: 300px; } .userenrolment .col_group .group { line-height:10px; @@ -731,16 +733,18 @@ input[type="radio"] { float:right; } -/* Registration */ +/* Registration +-------------------------*/ + + #page-admin-registration-hubselector .registration_textfield { width: 400px; } -/** - * Redirect - */ +/* Redirect +-------------------------*/ + .pagelayout-redirect #content { - text-align:center; - margin-top:10%; - margin-bottom:10%; + text-align: center; + margin: 10% auto; } \ No newline at end of file diff --git a/theme/canvas/style/course.css b/theme/canvas/style/course.css index aeffd447dae..0363d04af22 100644 --- a/theme/canvas/style/course.css +++ b/theme/canvas/style/course.css @@ -1,134 +1,150 @@ .coursebox { - border-color: #ddd; - border-width: 0 0 1px; - border-style: solid; + border-color: #ddd; + border-width: 0 0 1px; + border-style: solid; } .coursebox .name { - font-size: 1.1em; + font-size: 1.1em; } .coursebox .teachers { - margin: 0 0 0 0.75em; + margin: 0 0 0 0.75em; } .categorybox { - border: none; + border: none; } .categorybox .categorylist td { - padding: 2px; + padding: 2px; } .categorypicker { - margin: 15px 0 25px; + margin: 15px 0 25px; } .course_category_tree .controls { - color: #888; - font-size: 0.9em; - margin-top: 10px; + color: #888; + font-size: 0.9em; + margin-top: 10px; } .course_category_tree .controls div { - margin: 0 5px 0 0; + margin: 0 5px 0 0; } #page-course-category .rolelink { - text-align: right; + text-align: right; } #page-course-category .generalbox { - margin: 25px auto 30px; - width: 75%; - padding: 10px; + margin: 25px auto 30px; + width: 75%; + padding: 10px; } .path-course-view .section .side { - padding: 5px 0; + padding: 5px 0; } .path-course-view .section .content { - padding: 10px; + padding: 10px; } .path-course-view .section .content .section { - margin: 0; + margin: 0; } .path-course-view .section .content .weekdates { - font-size: 1em; - color: #777; - font-weight: normal; + font-size: 1em; + color: #777; + font-weight: normal; } .path-course-view .section_add_menus { - margin-top: 1em; + margin-top: 1em; } #page-course-report .plugin p, #page-course-report .logselectform { - text-align: center; + text-align: center; } #page-course-report .logselectform .select { - margin: 0 4px 10px; + margin: 0 4px 10px; } #page-course-report-outline-index .loginfo { - text-align: center; - margin-bottom: 1em; + text-align: center; + margin-bottom: 1em; } #page-course-report-participation-index #participationreport { - text-align: center; + text-align: center; } #page-course-report-participation-index #participationreport .reporttable { - margin: 0 auto 1em; + margin: 0 auto 1em; } #page-course-report-participation-index #participationreport .selectbuttons input { - margin: 10px 5px; + margin: 10px 5px; } #page-course-report-log-live .info, #page-course-report-log-index .logselectform, #page-course-report-log-index .info, #page-course-report-log-index .paging { - text-align: center; + text-align: center; } #page-course-report-log-index .logselectform select, #page-course-report-log-index .logselectform input { - margin: 2px 4px; + margin: 2px 4px; } #page-course-report-log-live .generaltable, #page-course-report-log-index .generaltable { - margin: 5px auto; + margin: 5px auto; } #page-course-loginas #notice { - width: 50%; - text-align: center; - margin: 10px auto; + width: 50%; + text-align: center; + margin: 10px auto; } #page-course-reset .generalbox { - margin-bottom: 1em; + margin-bottom: 1em; } /* Publication */ -#page-course-publish-metadata .metadatatext {width: 400px;} +#page-course-publish-metadata .metadatatext { + width: 400px; +} + #page-course-publish-metadata .hubscreenshot { display:inline; float:left; margin-right:10px; } -#page-course-publish-metadata .hubscreenshot img {vertical-align: bottom;} +#page-course-publish-metadata .hubscreenshot img { + vertical-align: bottom; +} + #page-course-publish-metadata .hubdescription {} -#page-course-publish-metadata .hubinfo {display:block; margin-bottom:20px;} + +#page-course-publish-metadata .hubinfo { + display:block; + margin-bottom:20px; +} #page-course-publish-metadata .hublink {} -#page-course-publish-backup .courseuploadtextinfo {text-align: center;} -#page-course-publish-backup .sharecoursecontinue {text-align: center;} \ No newline at end of file + +#page-course-publish-backup .courseuploadtextinfo { + text-align: center; +} + +#page-course-publish-backup .sharecoursecontinue { + text-align: center; +} \ No newline at end of file diff --git a/theme/canvas/style/editor.css b/theme/canvas/style/editor.css index 321c115d821..687ee1edb07 100644 --- a/theme/canvas/style/editor.css +++ b/theme/canvas/style/editor.css @@ -1,116 +1,116 @@ body { - font-size: 85%; - line-height: 1.4; + font-size: 85%; + line-height: 1.4; } body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: Helvetica, Arial, sans-serif; + font-family: Helvetica, Arial, sans-serif; } h1,h2,h3,h4,h5,h6 { - font-weight: bold; - margin: 0; + font-weight: bold; + margin: 0; } h1 { - font-size: 2.25em; - line-height: 1; - margin-bottom: 0.5em; + font-size: 2.25em; + line-height: 1; + margin-bottom: 0.5em; } h2 { - font-size: 1.5em; - margin-bottom: 0.5em; + font-size: 1.5em; + margin-bottom: 0.5em; } h3 { - font-size: 1.25em; - line-height: 1; - margin-bottom: 0.5em; + font-size: 1.25em; + line-height: 1; + margin-bottom: 0.5em; } h4 { - font-size: 1.1em; - line-height: 1.25; - margin-bottom: 0.75em; + font-size: 1.1em; + line-height: 1.25; + margin-bottom: 0.75em; } h5 { - font-size: 1em; - margin-bottom: 1em; + font-size: 1em; + margin-bottom: 1em; } h6 { - font-size: 1em; + font-size: 1em; } p { - margin: 0 0 1em; + margin: 0 0 1em; } ul, ol { - margin: 0 1.5em 1.5em 1.5em; + margin: 0 1.5em 1.5em 1.5em; } ul { - list-style-type: circle; + list-style-type: circle; } ol { - list-style-type: decimal; + list-style-type: decimal; } dl { - margin: 0 0 1.5em 0; + margin: 0 0 1.5em 0; } dl dt { - font-weight: bold; + font-weight: bold; } dl dd { - margin-left: 1.5em; + margin-left: 1.5em; } abbr, acronym { - border-bottom: 1px dotted #000; + border-bottom: 1px dotted #000; } address { - margin-top: 1.5em; - font-style: italic; + margin-top: 1.5em; + font-style: italic; } del { - color: #000; + color: #000; } a { - text-decoration: none; + text-decoration: none; } blockquote { - margin: 1.5em; + margin: 1.5em; } strong { - font-weight: bold; + font-weight: bold; } em, dfn { - font-style: italic; + font-style: italic; } dfn { - font-weight: bold; + font-weight: bold; } pre, code { - white-space: pre; + white-space: pre; } pre, code, tt { - font: 1.2em monospace; - line-height: 1.5; - margin: 1.5em 0; + font: 1.2em monospace; + line-height: 1.5; + margin: 1.5em 0; } \ No newline at end of file diff --git a/theme/canvas/style/mods.css b/theme/canvas/style/mods.css index e2fb366b4f9..1d003a6022c 100644 --- a/theme/canvas/style/mods.css +++ b/theme/canvas/style/mods.css @@ -1,10 +1,10 @@ #intro { - border-color: #ddd; - margin: 2% 10%; - padding: 10px; + border-color: #ddd; + margin: 2% 10%; + padding: 10px; } -/* +/* ** Needs to be taken out of mod sheets and added ** to Base so we can change the following to ** just .mod_introbox. @@ -12,455 +12,454 @@ #urlintro, #pageintro, -#resourceintro { - border-color:#ddd; - margin: 0 10% 3% +#resourceintro { + border-color:#ddd; + margin: 0 10% 3% } -/* Forums +/* Forums -------------------------*/ .path-mod-forum .forumheaderlist { - border-color: #ddd; - border-collapse: collapse; + border-color: #ddd; + border-collapse: collapse; } .path-mod-forum .forumheaderlist td { - border-color: #ddd; + border-color: #ddd; } .path-mod-forum .forumheaderlist th { - text-align: left; - border-right: 1px solid #ddd; + text-align: left; + border-right: 1px solid #ddd; } .forumnodiscuss, .path-mod-forum .forumheaderlist .replies { - text-align: center; + text-align: center; } .forumpost { - border: none; + border: none; } .forumpost .content .commands, .forumpost .content .link { - font-size: 0.9em; + font-size: 0.9em; } .forumpost .attachments { - font-size: 0.95em; - margin: 0.5em 0; + font-size: 0.95em; + margin: 0.5em 0; } .forumpost .attachments .icon { - height: 14px; - width: 14px; + height: 14px; + width: 14px; } .forumolddiscuss { - text-align:right; + text-align:right; } /* Database ------------------------*/ .path-mod-folder #pageintro { - border-color: #ddd; - width: 75%; - margin: 0 auto; + border-color: #ddd; + width: 75%; + margin: 0 auto; } .path-mod-folder .foldertree { - width: 60%; - margin: 1.5em auto; - padding: 10px; + width: 60%; + margin: 1.5em auto; + padding: 10px; } /* Assignment ------------------------*/ .path-mod-assignment .reportlink { - font-size: 0.9em; + font-size: 0.9em; } .path-mod-assignment #dates { - margin: 1em auto; - border: none; + margin: 1em auto; + border: none; } .path-mod-assignment #dates .c0 { - background: #f6f6f6; + background: #f6f6f6; } .path-mod-assignment #dates table { - margin: 0 auto; + margin: 0 auto; } .path-mod-assignment #dates table td { - border: 1px solid #ddd; + border: 1px solid #ddd; } .path-mod-assignment .generalbox { - border: none; + border: none; } .path-mod-assignment #intro { - border: 1px solid #ddd; + border: 1px solid #ddd; } .path-mod-assignment .generalbox .files { - width:35%; - margin: 2em auto; - border-bottom: 1px solid #eee; - padding: 10px; + width:35%; + margin: 2em auto; + border-bottom: 1px solid #eee; + padding: 10px; } .path-mod-assignment #userfiles { - width: 50%; - margin: 0 auto; - padding: 10px; + width: 50%; + margin: 0 auto; + padding: 10px; } .path-mod-assignment #userfiles .files { - width:100%; + width:100%; } .path-mod-assignment .nofiles { - text-align: center; - color: #f00; + text-align: center; + color: #f00; } .path-mod-assignment #notice { - padding: 10px 10px 0; - width: 50%; - margin: 0 auto; + padding: 10px 10px 0; + width: 50%; + margin: 0 auto; } .path-mod-assignment #notice .buttons { - margin: 0; + margin: 0; } #page-mod-assignment-view .uploadbox .mform { - margin: 1em 22%; + margin: 1em 22%; } #page-mod-assignment-view .uploadbox .mform .ffile { - margin-left: 27%; - width: 100%; + margin-left: 27%; + width: 100%; } #page-mod-assignment-view .uploadbox .mform .fitemtitle { - width: 24%; + width: 24%; } #page-mod-assignment-view .mform .fsubmit { - text-align: center; + text-align: center; } #page-mod-assignment-view h3.main { - padding-top: 1em; + padding-top: 1em; } #page-mod-assignment-view #online { - padding: 10px; - width: 90%; + padding: 10px; + width: 90%; } #online, #onlineenter { - border: none; - margin-top: 1em; + border: none; + margin-top: 1em; } #page-mod-assignment-view #onlineenter .mform { - margin: 0; + margin: 0; } #page-mod-assignment-view #onlineenter .fgroup { - text-align: center; - width: 90%; + text-align: center; + width: 90%; } #page-mod-assignment-submissions .firstinitial { - margin-top: 1em; + margin-top: 1em; } #page-mod-assignment-submissions .lastinitial { - margin-bottom: 0.5em; + margin-bottom: 0.5em; } #page-mod-assignment-submissions #attempts { - font-size: 0.95em; + font-size: 0.95em; } #page-mod-assignment-submissions #attempts td { - vertical-align: middle; + vertical-align: middle; } #page-mod-assignment-submissions #attempts .status .s0 { - background: #ffc; + background: #ffc; } #page-mod-assignment-submissions #optiontable .iconhelp { - margin-left: 3px; + margin-left: 3px; } #page-mod-assignment-submissions #optiontable #perpage { - width: 50px; + width: 50px; } #page-mod-assignment-submissions .feedback .finalgrade { - margin: 5px 0; + margin: 5px 0; } #page-mod-assignment-submissions .feedback #edit-submissioncomment_tbl { - margin-bottom: 5px; + margin-bottom: 5px; } #page-mod-assignment-submissions .feedback .buttons input { - margin: 0 5px 10px; + margin: 0 5px 10px; } #page-mod-assignment-submissions .feedback .mform { - width: 75%; - margin: 10px auto; + width: 75%; + margin: 10px auto; } #page-mod-assignment-submissions .feedback .mform .fitemtitle { - width: 27%; + width: 27%; } #page-mod-assignment-submissions .feedback .mform .ffile { - margin-left: 29%; + margin-left: 29%; } #page-mod-assignment-submissions .feedback .mform .fsubmit { - text-align: center; + text-align: center; } #page-mod-assignment-submissions .feedback .user, #page-mod-assignment-submissions .feedback .topic { - border-top: 1px solid #ddd; + border-top: 1px solid #ddd; } #page-mod-assignment-submissions .feedback .topic .time { - font-size: 0.9em; - font-style: italic; - color: #555; + font-size: 0.9em; + font-style: italic; + color: #555; } #page-mod-assignment-submissions .feedback .topic .singlebutton { - margin-top: 5px; + margin-top: 5px; } /* Chat ------------------------*/ #page-mod-chat-view #enterlink { - text-align: center; - border: none; + text-align: center; + border: none; } #page-mod-chat-view #chatcurrentusers { - margin: 10px auto; + margin: 10px auto; } .path-mod-chat.pagelayout-embedded #content { - padding: 5px; + padding: 5px; } .path-mod-chat .generaltable, .path-mod-chat .generaltable td, .path-mod-chat .generaltable th { - border: none !important; + border: none !important; } .chat-message .text .title { - font-style: italic; - color: #444; + font-style: italic; + color: #444; } #mod-chat-gui_basic #participants ul { - margin: 0 0 1em; + margin: 0 0 1em; } #mod-chat-gui_basic #participants ul li { - list-style: none; - padding: 5px 0; - line-height: 1.75; + list-style: none; + padding: 5px 0; + line-height: 1.75; } #mod-chat-gui_basic #participants ul li a { - float: left; - padding-right: 10px; + float: left; + padding-right: 10px; } #mod-chat-gui_basic #editing { - margin-bottom: 15px; + margin-bottom: 15px; } #mod-chat-gui_basic #editing input { - margin: 5px 5px 0; + margin: 5px 5px 0; } #mod-chat-gui_basic #messages dl { - margin: 0 0 5px 1em; + margin: 0 0 5px 1em; } #mod-chat-gui_basic #messages dt { - font-weight: normal; + font-weight: normal; } #page-mod-chat-report .generalbox { - padding: 10px; - width: 50%; - margin: 0 auto 1em; + padding: 10px; + width: 50%; + margin: 0 auto 1em; } #page-mod-chat-report .generalbox p { - margin: 0; + margin: 0; } #page-mod-chat-report #notice { - margin-bottom: 1em; + margin-bottom: 1em; } /* Choice -------------------------*/ .path-mod-choice #notice { - width: 50%; - margin: 1em auto; - padding: 5px; + width: 50%; + margin: 1em auto; + padding: 5px; } .path-mod-choice .results .header, .path-mod-choice td { - border-top: 1px solid; - border-color: #ddd; + border-top: 1px solid; + border-color: #ddd; } .path-mod-choice .count, .path-mod-choice .results .header, .path-mod-choice .data, .path-mod-choice .lastcol { - border-right: 1px solid #ddd; + border-right: 1px solid #ddd; } .path-mod-choice .col1, .path-mod-choice .c0, .path-mod-choice .lastcol { - border-left: 1px solid #ddd; + border-left: 1px solid #ddd; } .path-mod-choice .lastrow td { - border-bottom: 1px solid #ddd; + border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } .path-mod-choice .count { - border-top: 2px solid #ddd; - background: #f5f5f5; - border-bottom: 1px solid #ddd; + border-top: 2px solid #ddd; + background: #f5f5f5; + border-bottom: 1px solid #ddd; } -/* Lesson +/* Lesson --------------------------*/ .path-mod-lesson .firstpageoptions { - padding: 10px; + padding: 10px; } .path-mod-lesson .centerpadded { - text-align: center; - display: block; - padding: 10px; + text-align: center; + display: block; + padding: 10px; } .path-mod-lesson .edit_pages_box .addlinks { - text-align: center; + text-align: center; } .path-mod-lesson .feedback { - text-align: center; - font-weight: bold; + text-align: center; + font-weight: bold; } .path-mod-lesson .password-form .generalbox { - padding: 10px; - width: 50%; - text-align: center; + padding: 10px; + width: 50%; + text-align: center; } .path-mod-lesson .center { - text-align: center; + text-align: center; } .path-mod-lesson .ongoing { - color: #00f; - margin: 0 0 1em; + color: #00f; + margin: 0 0 1em; } .path-mod-lesson .clock .content { - font-size: 1.2em; - padding-left: 15px; + font-size: 1.2em; + padding-left: 15px; } .path-mod-lesson .leftduring .generalbox { - padding: 10px; - width: 50%; - margin: 0 auto; + padding: 10px; + width: 50%; + margin: 0 auto; } .path-mod-lesson .correctanswer { - margin: 1em auto; - width: 50%; - padding: 10px; + margin: 1em auto; + width: 50%; + padding: 10px; } .path-mod-lesson .correctanswer .correct { - color: #0fb337; + color: #0fb337; } #page-mod-lesson-view #pageheader, #page-mod-lesson-view #pageheader legend { - border: none; + border: none; } #page-mod-lesson-continue .generalbox { - padding: 10px; + padding: 10px; } .branchbuttoncontainer { - text-align: center; + text-align: center; } .branchbuttoncontainer input { - margin: 10px; + margin: 10px; } /* Resources -------------------------------*/ .path-mod-page .generalbox { - border: none; + border: none; } .resourceworkaround, .urlworkaround, .modified { - text-align: center; - font-size: 0.85em; - color: #777; - margin-top: 1em; + text-align: center; + font-size: 0.85em; + color: #777; + margin-top: 1em; } #page-mod-folder-edit .foldertree { - width: 65%; + width: 65%; } /* Quiz --------------------------------*/ - .que { - border-color: #eee; + border-color: #eee; } \ No newline at end of file diff --git a/theme/canvas/style/pagelayout.css b/theme/canvas/style/pagelayout.css index a148772fd0a..808695fbb12 100644 --- a/theme/canvas/style/pagelayout.css +++ b/theme/canvas/style/pagelayout.css @@ -1,41 +1,24 @@ #page-content #region-main-box { - left: 210px; -/* Width of left sideblock */ + left: 210px; /* Width of left sideblock */ } #page-content #region-post-box { - margin-left: -420px; - - -/* Twice width of left sideblock */ - padding-top: 5px; + margin-left: -420px; /* Twice width of left sideblock */ + padding-top: 5px; } #page-content #region-main { - margin-left: 420px; - - -/* Twice width of left sideblock */ - padding: 0 15px; - - -/* Padding around middle column */ + margin-left: 420px; /* Twice width of left sideblock */ + padding: 0 15px; /* Padding around middle column */ } #page-content #region-pre { - left: 210px; - - -/* Width of left sideblock */ - width: 210px; - - -/* Width of left sideblock */ + left: 210px; /* Width of left sideblock */ + width: 210px; /* Width of left sideblock */ } #page-content #region-post { - width: 210px; -/* Width of right sideblock */ + width: 210px; /* Width of right sideblock */ } #page-content #region-main-box .region-content { diff --git a/theme/canvas/style/popups.css b/theme/canvas/style/popups.css index 7bd7a556105..2c7b04f3bb9 100644 --- a/theme/canvas/style/popups.css +++ b/theme/canvas/style/popups.css @@ -1,3 +1,3 @@ body.pagelayout-popup { - background: #fff !important; + background: #fff !important; } \ No newline at end of file diff --git a/theme/canvas/style/tables.css b/theme/canvas/style/tables.css index e0425018a08..40864072d73 100644 --- a/theme/canvas/style/tables.css +++ b/theme/canvas/style/tables.css @@ -10,11 +10,10 @@ .environmenttable td, .forumheaderlist td, .forumheaderlist th { - border: 1px solid #ddd; - border-collapse: collapse; + border: 1px solid #ddd; + border-collapse: collapse; } - #page-admin-course-category .generalbox th, .editcourse .header, .results .header, @@ -22,6 +21,6 @@ .generaltable .header, .environmenttable th, .forumheaderlist th { - background: #f3f3f3; - border-bottom-width: 2px; -} + background: #f3f3f3; + border-bottom-width: 2px; +} \ No newline at end of file diff --git a/theme/canvas/style/tabs.css b/theme/canvas/style/tabs.css index 81c06b066ab..a4fb505eaf1 100644 --- a/theme/canvas/style/tabs.css +++ b/theme/canvas/style/tabs.css @@ -1,161 +1,161 @@ .tabtree ul { - text-align: center; + text-align: center; } .tabtree .tabrow0 { - width: 100%; - margin: 1em 0px; + width: 100%; + margin: 1em 0px; } .tabtree .tabrow0 li { - margin-right: -4px; + margin-right: -4px; } .tabtree .tabrow0 li.here { - font-weight: bold; + font-weight: bold; } .tabtree .tabrow0 li.here a { - position: relative; - z-index: 102; + position: relative; + z-index: 102; } .tabtree .tabrow0 li a { - background: #f7f7f7; - padding: 8px 10px 5px; - border-width: 2px 2px 0; - border-style: solid; - border-color: #ddd; - margin: 0 2px; + background: #f7f7f7; + padding: 8px 10px 5px; + border-width: 2px 2px 0; + border-style: solid; + border-color: #ddd; + margin: 0 2px; } .tabtree .tabrow0 .here a { - background: #fff; + background: #fff; } .tabtree .tabrow0 li a:hover { - background: #fff; + background: #fff; } .tabtree .tabrow0 ul, .tabtree .tabrow0 div { - font-weight: normal; - border-top: 2px solid #ddd; - padding: 0.25em 0px; - margin: 0px; + font-weight: normal; + border-top: 2px solid #ddd; + padding: 0.25em 0px; + margin: 0px; } .tabtree .tabrow0 li.here .empty { - display: block; - height: 1px; - overflow: hidden; - padding: 0px; - position: absolute; - width: 100%; - bottom: -4px; + display: block; + height: 1px; + overflow: hidden; + padding: 0px; + position: absolute; + width: 100%; + bottom: -4px; } .tabtree .tabrow0 .tabrow1 { - padding: 5px 0 2px; - margin-top: 1px; + padding: 5px 0 2px; + margin-top: 1px; } .tabtree .tabrow1 li a, .tabtree .tabrow1 li a:hover, .tabtree .tabrow1 li a span, .tabtree .tabrow1 li a:hover span { - padding: 0 10px; - border: none; + padding: 0 10px; + border: none; } .tabtree a.nolink, .tabtree .here ul a.nolink, .tabtree a.nolink:hover, .tabtree .here ul a.nolink:hover { - color: #888; - text-decoration: none; + color: #888; + text-decoration: none; } .tabtree .here a.nolink, .tabtree .here ul .here a.nolink, .tabtree .here a.nolink:hover, .tabtree .here ul .here a.nolink:hover { - color: black; - text-decoration: none; + color: black; + text-decoration: none; } .ie7 .tabtree .tabrow0 li { - margin-left: 0; + margin-left: 0; } .ie7 .tabtree .tabrow0 li.first { - margin-right: -4px; + margin-right: -4px; } .ie7 .tabtree .tabrow0 li.onerow { - margin-right: 0; + margin-right: 0; } .ie7 .tabtree .tabrow0 a { - display: inline-block; - padding: 8px 0 0.35em 13px; - line-height: 1.5em; + display: inline-block; + padding: 8px 0 0.35em 13px; + line-height: 1.5em; } .ie7 .tabtree .tabrow0 a span { - padding: 10px 1em 10px 0; + padding: 10px 1em 10px 0; } .ie7 .tabtree .tabrow0 div { - top: 2.6em; - padding: 0.2em 0; + top: 2.6em; + padding: 0.2em 0; } .ie7 .tabtree .tabrow0 div.empty { - margin-right: 0; + margin-right: 0; } .ie7.mod-quiz div.tabtree a span img.iconsmall { - margin: 0; - vertical-align: baseline; - position: relative; - top: 2px; + margin: 0; + vertical-align: baseline; + position: relative; + top: 2px; } .ie6 .tabtree { - height: 100%; + height: 100%; } .ie6 .tabtree .tabrow0 { - padding-top: 10px; + padding-top: 10px; } .ie6 .tabtree .tabrow0 li { - margin-left: 0; + margin-left: 0; } .ie6 .tabtree .tabrow0 li.first { - margin-left: -4px; - margin-right: -4px; + margin-left: -4px; + margin-right: -4px; } .ie6 .tabtree .tabrow0 li.last a { - margin-right: 0; + margin-right: 0; } .ie6 .tabtree .tabrow0 li.onerow { - margin-right: 0; + margin-right: 0; } .ie6 .tabtree .tabrow0 a { - padding: 0 0 0 13px; + padding: 0 0 0 13px; } .ie6 .tabtree .tabrow0 a span { - padding: 12px 1em 4px 0; + padding: 12px 1em 4px 0; } .ie6 .tabtree .tabrow0 div { - top: 3.5em; - padding: 0.2em 0; + top: 3.5em; + padding: 0.2em 0; } \ No newline at end of file diff --git a/theme/canvas/style/text.css b/theme/canvas/style/text.css index f0d97a44fa3..89b0014795a 100644 --- a/theme/canvas/style/text.css +++ b/theme/canvas/style/text.css @@ -1,4 +1,4 @@ -/* Text Elements +/* Text Elements --------------------------*/ h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {