diff --git a/admin/tool/assignmentupgrade/styles.css b/admin/tool/assignmentupgrade/styles.css index 277400bded1..5025b1ceefe 100644 --- a/admin/tool/assignmentupgrade/styles.css +++ b/admin/tool/assignmentupgrade/styles.css @@ -1,11 +1,23 @@ -#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_upgradetable .c0 { display: none; } -#page-admin-tool-assignmentupgrade-listnotupgraded.jsenabled .tool_assignmentupgrade_upgradetable .c0 { display: table-cell; } +#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_upgradetable .c0 { + display: none; +} + +#page-admin-tool-assignmentupgrade-listnotupgraded.jsenabled .tool_assignmentupgrade_upgradetable .c0 { + display: table-cell; +} /* .gradingbatchoperationsform { display: none; } .jsenabled .gradingbatchoperationsform { display: block; } */ -#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_upgradetable tr.selectedrow td { background-color: #ffeecc; } -#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_upgradetable tr.unselectedrow td { background-color: white; } +#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_upgradetable tr.selectedrow td { + background-color: #ffeecc; +} -#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_paginationform .hidden { display: none; } +#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_upgradetable tr.unselectedrow td { + background-color: white; +} + +#page-admin-tool-assignmentupgrade-listnotupgraded .tool_assignmentupgrade_paginationform .hidden { + display: none; +} diff --git a/admin/tool/behat/styles.css b/admin/tool/behat/styles.css index d7ca4d1e795..8300294de36 100644 --- a/admin/tool/behat/styles.css +++ b/admin/tool/behat/styles.css @@ -1,5 +1,25 @@ -.steps-definitions{border-style:solid;border-width:1px;border-color:#BBB;padding:5px;margin:auto;width:50%;} -.steps-definitions .step{margin: 10px 0px 10px 0px;} -.steps-definitions .stepdescription{color:#bf8c12;} -.steps-definitions .steptype{color:#1467a6;margin-right: 5px;} -.steps-definitions .stepregex{color:#060;} +.steps-definitions { + border-style: solid; + border-width: 1px; + border-color: #bbb; + padding: 5px; + margin: auto; + width: 50%; +} + +.steps-definitions .step { + margin: 10px 0px 10px 0px; +} + +.steps-definitions .stepdescription { + color: #bf8c12; +} + +.steps-definitions .steptype { + color: #1467a6; + margin-right: 5px; +} + +.steps-definitions .stepregex { + color: #060; +} diff --git a/admin/tool/capability/styles.css b/admin/tool/capability/styles.css index a3d1046dc2e..2e742c2829d 100644 --- a/admin/tool/capability/styles.css +++ b/admin/tool/capability/styles.css @@ -1,32 +1,74 @@ -.path-admin-tool-capability .comparisontable {margin-top:150px;} -.path-admin-tool-capability .comparisontable th, -.path-admin-tool-capability .comparisontable td {vertical-align:middle;padding:0.4em 0.5em 0.3em;} -.path-admin-tool-capability .comparisontable thead th {vertical-align:bottom;background:none;} -.path-admin-tool-capability .comparisontable thead th div {position:relative;} -.path-admin-tool-capability .comparisontable thead th div > a { - position:absolute; - top:-1.75em; - left:1em; - width:150px; - text-align:left; - margin-bottom:1em; - text-indent:-1.45em; - - -webkit-transform-origin: top left; - -moz-transform-origin: top left; - -ms-transform-origin: top left; - -o-transform-origin: top left; - - -webkit-transform: rotate(315deg); - -moz-transform: rotate(315deg); - -ms-transform: rotate(315deg); - -o-transform: rotate(315deg); +.path-admin-tool-capability .comparisontable { + margin-top: 150px; } -.path-admin-tool-capability .comparisontable tbody th {background-color:#EEE;text-align:right;border:1px solid #DFDFDF;} -.path-admin-tool-capability .comparisontable tbody th span {display:block;color:#666;font-size:80%;} -.path-admin-tool-capability .comparisontable tbody td {border:1px solid #DFDFDF;} -.path-admin-tool-capability .comparisontable .inherit {color:#666} -.path-admin-tool-capability .comparisontable .allow {background-color:#006600;font-weight:bold;color:white;} -.path-admin-tool-capability .comparisontable .prevent {background-color:#ad6704;font-weight:bold;color:white;} -.path-admin-tool-capability .comparisontable .prohibit {background-color:#880000;font-weight:bold;color:white;} \ No newline at end of file +.path-admin-tool-capability .comparisontable th, +.path-admin-tool-capability .comparisontable td { + vertical-align: middle; + padding: 0.4em 0.5em 0.3em; +} + +.path-admin-tool-capability .comparisontable thead th { + vertical-align: bottom; + background: none; +} + +.path-admin-tool-capability .comparisontable thead th div { + position: relative; +} + +.path-admin-tool-capability .comparisontable thead th div > a { + position: absolute; + top: -1.75em; + left: 1em; + width: 150px; + text-align: left; + margin-bottom: 1em; + text-indent: -1.45em; + -webkit-transform-origin: top left; + -moz-transform-origin: top left; + -ms-transform-origin: top left; + -o-transform-origin: top left; + -webkit-transform: rotate(315deg); + -moz-transform: rotate(315deg); + -ms-transform: rotate(315deg); + -o-transform: rotate(315deg); +} + +.path-admin-tool-capability .comparisontable tbody th { + background-color: #eee; + text-align: right; + border: 1px solid #dfdfdf; +} + +.path-admin-tool-capability .comparisontable tbody th span { + display: block; + color: #666; + font-size: 80%; +} + +.path-admin-tool-capability .comparisontable tbody td { + border: 1px solid #dfdfdf; +} + +.path-admin-tool-capability .comparisontable .inherit { + color: #666; +} + +.path-admin-tool-capability .comparisontable .allow { + background-color: #006600; + font-weight: bold; + color: white; +} + +.path-admin-tool-capability .comparisontable .prevent { + background-color: #ad6704; + font-weight: bold; + color: white; +} + +.path-admin-tool-capability .comparisontable .prohibit { + background-color: #880000; + font-weight: bold; + color: white; +} \ No newline at end of file diff --git a/admin/tool/customlang/styles.css b/admin/tool/customlang/styles.css index 963b289016f..9f9fa98ecfd 100644 --- a/admin/tool/customlang/styles.css +++ b/admin/tool/customlang/styles.css @@ -11,7 +11,6 @@ display: inline; } - .path-admin-tool-customlang .mform.filterform { width: 70%; margin-left: auto; diff --git a/admin/tool/health/styles.css b/admin/tool/health/styles.css index 6a625f6efb0..df34febb0fd 100644 --- a/admin/tool/health/styles.css +++ b/admin/tool/health/styles.css @@ -1,4 +1,3 @@ - .path-admin-tool-health div#healthnoproblemsfound { width: 60%; margin: auto; @@ -6,59 +5,72 @@ border: 1px solid black; -moz-border-radius: 6px; } + .path-admin-tool-health dl.healthissues { width: 60%; margin: auto; } + .path-admin-tool-health dl.critical dt, .path-admin-tool-health dl.critical dd { background-color: #a71501; } + .path-admin-tool-health dl.significant dt, .path-admin-tool-health dl.significant dd { background-color: #d36707; } + .path-admin-tool-health dl.annoyance dt, .path-admin-tool-health dl.annoyance dd { background-color: #dba707; } + .path-admin-tool-health dl.notice dt, .path-admin-tool-health dl.notice dd { background-color: #e5db36; } + .path-admin-tool-health dl dt.solution, .path-admin-tool-health dl dd.solution, .path-admin-tool-health div#healthnoproblemsfound { - background-color: #5BB83E; + background-color: #5bb83e; } + .path-admin-tool-health dl.healthissues dt, .path-admin-tool-health dl.healthissues dd { margin: 0px; padding: 1em; border: 1px solid black; } + .path-admin-tool-health dl.healthissues dt { font-weight: bold; border-bottom: 0; padding-bottom: 0.5em; } + .path-admin-tool-health dl.healthissues dd { border-top: 0; padding-top: 0.5em; margin-bottom: 10px; } + .path-admin-tool-health dl.healthissues dd form { margin-top: 0.5em; text-align: right; } + .path-admin-tool-health form#healthformreturn { text-align: center; margin: 2em; } + .path-admin-tool-health dd.solution p { padding: 0px; margin: 1em 0px; } + .path-admin-tool-health dd.solution li { margin-top: 1em; } diff --git a/admin/tool/langimport/styles.css b/admin/tool/langimport/styles.css index a499c0dd1dc..42d8a69dcef 100644 --- a/admin/tool/langimport/styles.css +++ b/admin/tool/langimport/styles.css @@ -1,5 +1,9 @@ - -#page-admin-tool-langimport-index .generalbox table {margin:auto;width:100%;} +#page-admin-tool-langimport-index .generalbox table { + margin: auto; + width: 100%; +} #page-admin-tool-langimport-index .generalbox, -#page-admin-tool-langimport-index .generalbox table {text-align: center;} +#page-admin-tool-langimport-index .generalbox table { + text-align: center; +} diff --git a/admin/tool/lp/styles.css b/admin/tool/lp/styles.css index 21ebff6fb22..a4671058a3f 100644 --- a/admin/tool/lp/styles.css +++ b/admin/tool/lp/styles.css @@ -4,36 +4,42 @@ .path-admin-tool-lp [data-region="competencylinktree"] ul li { list-style-type: none; } + .path-admin-tool-lp .progresstext { display: inline-block; vertical-align: top; } + .path-admin-tool-lp .progress { width: 100%; display: inline-block; } + .path-admin-tool-lp .progress .bar { min-width: 3em; } + .path-admin-tool-lp [data-region="managecompetencies"] ul[data-enhance="tree"], .path-admin-tool-lp [data-region="plans"] ul[data-enhance="tree"], .path-admin-tool-lp [data-region="competencylinktree"] ul[data-enhance="linktree"], .path-admin-tool-lp [data-region="competencymovetree"] ul[data-enhance="movetree"] { border: 1px solid #ccc; - box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); - transition: border linear .2s,box-shadow linear .2s; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + transition: border linear .2s, box-shadow linear .2s; border-radius: 4px; padding-left: 20px; padding-right: 20px; margin-left: 10px; margin-right: 10px; } + .path-admin-tool-lp [data-region="managecompetencies"] ul, .path-admin-tool-lp [data-region="plans"] ul, .path-admin-tool-lp [data-region="competencylinktree"] ul, .path-admin-tool-lp [data-region="competencymovetree"] ul { cursor: pointer; } + .path-admin-tool-lp [data-region="competencylinktree"] ul li>span, .path-admin-tool-lp [data-region="competencymovetree"] ul li>span, .path-admin-tool-lp [data-region="plans"] ul li>span, @@ -44,18 +50,21 @@ padding-right: 4px; border-radius: 4px; } + .path-admin-tool-lp [data-region="competencylinktree"] ul [aria-selected="true"]>span, .path-admin-tool-lp [data-region="competencymovetree"] ul [aria-selected="true"]>span, .path-admin-tool-lp [data-region="plans"] ul [aria-selected="true"]>span, .path-admin-tool-lp [data-region="managecompetencies"] ul [aria-selected="true"]>span { background-color: #dfdfdf; } + .path-admin-tool-lp [data-region="competencylinktree"] ul [tabindex="0"]>span, .path-admin-tool-lp [data-region="competencymovetree"] ul [tabindex="0"]>span, .path-admin-tool-lp [data-region="plans"] ul [tabindex="0"]>span, .path-admin-tool-lp [data-region="managecompetencies"] ul [tabindex="0"]>span { border: 2px solid #0070a8; } + .path-admin-tool-lp [data-region="filtercompetencies"] input { margin-left: 10px; } @@ -83,25 +92,30 @@ display: table; width: 100%; } + .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"], .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] { display: table-row; } + .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] label, .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] label { padding-right: 10px; } + .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] label, .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] select, .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] label, .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] select { display: table-cell; } + .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] select, .path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] select, .path-admin-tool-lp [data-region="competencylinktree"] select { width: 100%; } + .path-admin-tool-lp [data-region] .generaltable.fullwidth { clear: both; } @@ -109,12 +123,15 @@ .path-admin-tool-lp .competency-rule-points { margin-top: 10px; } + .path-admin-tool-lp .competency-rule-points table input { margin-bottom: 0; } + .path-admin-tool-lp .competency-rule-points tr[data-competency] th { font-weight: normal; } + .path-admin-tool-lp .competency-rule-points input[type="number"] { width: 50px; } @@ -122,6 +139,7 @@ .competency-heading { margin-bottom: 15px; } + .competency-heading h4 { margin: 0; } @@ -149,6 +167,7 @@ .tool-lp-sub-menu li { float: none; } + .tool-lp-menu .tool-lp-sub-menu[aria-hidden=false] { display: block; } @@ -167,10 +186,10 @@ /** This highlighting is copied from bootstrap - but can be overridden by a theme */ .tool-lp-menu .tool-lp-sub-menu .menu-focus a { - color: #fff ; + color: #fff; text-decoration: none; background-color: #00699e; - background-image: linear-gradient(to bottom,#0070a8,#005f8f); + background-image: linear-gradient(to bottom, #0070a8, #005f8f); background-repeat: repeat-x; } @@ -185,11 +204,13 @@ input[type="checkbox"].tool_lp_scale_proficient { margin: 10px 20px; list-style: none; } + .user-evidence-competencies, .user-evidence-documents li { margin-bottom: 5px; word-break: break-all; } + [data-region="user-evidence-list"] .user-evidence-competencies, [data-region="user-evidence-list"] .user-evidence-documents { margin: 0; @@ -199,9 +220,11 @@ input[type="checkbox"].tool_lp_scale_proficient { .user-competency-course-navigation select { display: none; } + .user-competency-course-navigation { width: 240px; } + .user-competency-course-navigation span { max-width: 100%; overflow: hidden; diff --git a/admin/tool/profiling/styles.css b/admin/tool/profiling/styles.css index 4025312cd89..24f86cabd50 100644 --- a/admin/tool/profiling/styles.css +++ b/admin/tool/profiling/styles.css @@ -3,20 +3,25 @@ .path-admin-tool-profiling .profilingruntable .label { font-weight: bold; } + .path-admin-tool-profiling .profiling_worse { color: red; } + .path-admin-tool-profiling .profiling_better { color: green; } + .path-admin-tool-profiling .profiling_same { color: dimgrey; } + .path-admin-tool-profiling .profiling_important, .path-admin-tool-profiling .flexible .referencerun { font-weight: bold; } + .path-admin-tool-profiling .flexible { - margin-left:auto; - margin-right:auto + margin-left: auto; + margin-right: auto; } diff --git a/blocks/activity_results/styles.css b/blocks/activity_results/styles.css index 781df182eaa..83ffd7d618b 100644 --- a/blocks/activity_results/styles.css +++ b/blocks/activity_results/styles.css @@ -1,6 +1,28 @@ -.block_activity_results h1 {margin: 4px;font-size: 1.1em;} -.block_activity_results table.grades {text-align: left; width: 100%;} -.block_activity_results table.grades .number{text-align: left; width:10%;} -.block_activity_results table.grades .name{text-align: left; width:77%;} -.block_activity_results table.grades .grade {text-align: right;} -.block_activity_results table.grades caption {font-weight: bold; font-size: 18px;} +.block_activity_results h1 { + margin: 4px; + font-size: 1.1em; +} + +.block_activity_results table.grades { + text-align: left; + width: 100%; +} + +.block_activity_results table.grades .number { + text-align: left; + width: 10%; +} + +.block_activity_results table.grades .name { + text-align: left; + width: 77%; +} + +.block_activity_results table.grades .grade { + text-align: right; +} + +.block_activity_results table.grades caption { + font-weight: bold; + font-size: 18px; +} diff --git a/blocks/blog_tags/styles.css b/blocks/blog_tags/styles.css index 5df71654d46..9fc8a17a8ca 100644 --- a/blocks/blog_tags/styles.css +++ b/blocks/blog_tags/styles.css @@ -1,20 +1,68 @@ -.block_blog_tags .s20 {font-size: 1.5em;font-weight: bold;} -.block_blog_tags .s19 {font-size: 1.5em;} -.block_blog_tags .s18 {font-size: 1.4em;font-weight: bold;} -.block_blog_tags .s17 {font-size: 1.4em;} -.block_blog_tags .s16 {font-size: 1.3em;font-weight: bold;} -.block_blog_tags .s15 {font-size: 1.3em;} -.block_blog_tags .s14 {font-size: 1.2em;font-weight: bold;} -.block_blog_tags .s13 {font-size: 1.2em;} +.block_blog_tags .s20 { + font-size: 1.5em; + font-weight: bold; +} + +.block_blog_tags .s19 { + font-size: 1.5em; +} + +.block_blog_tags .s18 { + font-size: 1.4em; + font-weight: bold; +} + +.block_blog_tags .s17 { + font-size: 1.4em; +} + +.block_blog_tags .s16 { + font-size: 1.3em; + font-weight: bold; +} + +.block_blog_tags .s15 { + font-size: 1.3em; +} + +.block_blog_tags .s14 { + font-size: 1.2em; + font-weight: bold; +} + +.block_blog_tags .s13 { + font-size: 1.2em; +} + .block_blog_tags .s12, -.block_blog_tags .s11 {font-size: 1.1em;font-weight: bold;} +.block_blog_tags .s11 { + font-size: 1.1em; + font-weight: bold; +} + .block_blog_tags .s10, -.block_blog_tags .s9 {font-size: 1.1em;} +.block_blog_tags .s9 { + font-size: 1.1em; +} + .block_blog_tags .s8, -.block_blog_tags .s7 {font-size: 1em;font-weight: bold;} +.block_blog_tags .s7 { + font-size: 1em; + font-weight: bold; +} + .block_blog_tags .s6, -.block_blog_tags .s5 {font-size: 1em;} +.block_blog_tags .s5 { + font-size: 1em; +} + .block_blog_tags .s4, -.block_blog_tags .s3 {font-size: 0.9em;font-weight: bold;} +.block_blog_tags .s3 { + font-size: 0.9em; + font-weight: bold; +} + .block_blog_tags .s2, -.block_blog_tags .s1 {font-size: 0.9em;} \ No newline at end of file +.block_blog_tags .s1 { + font-size: 0.9em; +} \ No newline at end of file diff --git a/blocks/community/styles.css b/blocks/community/styles.css index 82646775222..9b35c55d983 100644 --- a/blocks/community/styles.css +++ b/blocks/community/styles.css @@ -1,51 +1,160 @@ /** General display rules **/ /* HUB SELECTOR */ -#page-blocks-community-communitycourse .hubscreenshot {float: left; } -#page-blocks-community-communitycourse .hubtitlelink {color: #999; } -#page-blocks-community-communitycourse .hubsmalllogo {padding-left: 3px; padding-right: 7px; float: left; } -#page-blocks-community-communitycourse .hubtext {display: block; width: 68%; padding-left: 165px;} -#page-blocks-community-communitycourse .hubimgandtext {display:table;} -#page-blocks-community-communitycourse .hubimage {float: left; display: block; width: 100px;} -#page-blocks-community-communitycourse .hubstats {padding-top: 10px} -#page-blocks-community-communitycourse .hubstats .iconhelp {float: left; padding-right: 3px;} -#page-blocks-community-communitycourse .hubadditionaldesc {color: #666666; font-size: 90%; display:block;} -#page-blocks-community-communitycourse .hubscreenshot {margin-right: 10px;} -#page-blocks-community-communitycourse .hubtrusted {display:inline;} -#page-blocks-community-communitycourse .trustedtr {background-color: #ffe1c3;} -#page-blocks-community-communitycourse .prioritisetr {background-color: #ffd4ff;} -#page-blocks-community-communitycourse .blockdescription {font-size: 80%; color: #555555;} -#page-blocks-community-communitycourse .trusted {font-size: 90%; color: #006633; font-weight: normal; font-style: italic;} +#page-blocks-community-communitycourse .hubscreenshot { + float: left; +} + +#page-blocks-community-communitycourse .hubtitlelink { + color: #999; +} + +#page-blocks-community-communitycourse .hubsmalllogo { + padding-left: 3px; + padding-right: 7px; + float: left; +} + +#page-blocks-community-communitycourse .hubtext { + display: block; + width: 68%; + padding-left: 165px; +} + +#page-blocks-community-communitycourse .hubimgandtext { + display: table; +} + +#page-blocks-community-communitycourse .hubimage { + float: left; + display: block; + width: 100px; +} + +#page-blocks-community-communitycourse .hubstats { + padding-top: 10px; +} + +#page-blocks-community-communitycourse .hubstats .iconhelp { + float: left; + padding-right: 3px; +} + +#page-blocks-community-communitycourse .hubadditionaldesc { + color: #666666; + font-size: 90%; + display: block; +} + +#page-blocks-community-communitycourse .hubscreenshot { + margin-right: 10px; +} + +#page-blocks-community-communitycourse .hubtrusted { + display: inline; +} + +#page-blocks-community-communitycourse .trustedtr { + background-color: #ffe1c3; +} + +#page-blocks-community-communitycourse .prioritisetr { + background-color: #ffd4ff; +} + +#page-blocks-community-communitycourse .blockdescription { + font-size: 80%; + color: #555555; +} + +#page-blocks-community-communitycourse .trusted { + font-size: 90%; + color: #006633; + font-weight: normal; + font-style: italic; +} /* COURSES RESULT */ -#page-blocks-community-communitycourse .additionaldesc {font-size: 80%; color: #8B8989;} -#page-blocks-community-communitycourse .comment-link {font-size: 80%; color: #555555;} -#page-blocks-community-communitycourse .coursescreenshot {text-align:center;cursor: pointer;} -#page-blocks-community-communitycourse .hubcourseinfo {margin-left: 15px;} -#page-blocks-community-communitycourse .pagingbar {text-align: center;} -#page-blocks-community-communitycourse .coursecomment {float: right;} -#page-blocks-community-communitycourse .courseoperations {margin-top:9px; text-align:center} -#page-blocks-community-communitycourse .hubcoursedownload:hover {background-color: #CDC9C9;} -#page-blocks-community-communitycourse .courselinks {float: right;width: 180px} -#page-blocks-community-communitycourse .ratingaggregate {float: left; padding-right: 4px;} -#page-blocks-community-communitycourse .hubcourserating { padding-top: 3px; font-size: 80%; color: #555555;} -#page-blocks-community-communitycourse .coursedescription {width: 70%; float: left;} -#page-blocks-community-communitycourse .fullhubcourse {margin-bottom: 20px;} -#page-blocks-community-communitycourse .hubcoursetitlepanel {margin-bottom: 6px;} +#page-blocks-community-communitycourse .additionaldesc { + font-size: 80%; + color: #8b8989; +} + +#page-blocks-community-communitycourse .comment-link { + font-size: 80%; + color: #555555; +} + +#page-blocks-community-communitycourse .coursescreenshot { + text-align: center; + cursor: pointer; +} + +#page-blocks-community-communitycourse .hubcourseinfo { + margin-left: 15px; +} + +#page-blocks-community-communitycourse .pagingbar { + text-align: center; +} + +#page-blocks-community-communitycourse .coursecomment { + float: right; +} + +#page-blocks-community-communitycourse .courseoperations { + margin-top: 9px; + text-align: center; +} + +#page-blocks-community-communitycourse .hubcoursedownload:hover { + background-color: #cdc9c9; +} + +#page-blocks-community-communitycourse .courselinks { + float: right; + width: 180px; +} + +#page-blocks-community-communitycourse .ratingaggregate { + float: left; + padding-right: 4px; +} + +#page-blocks-community-communitycourse .hubcourserating { + padding-top: 3px; + font-size: 80%; + color: #555555; +} + +#page-blocks-community-communitycourse .coursedescription { + width: 70%; + float: left; +} + +#page-blocks-community-communitycourse .fullhubcourse { + margin-bottom: 20px; +} + +#page-blocks-community-communitycourse .hubcoursetitlepanel { + margin-bottom: 6px; +} + #page-blocks-community-communitycourse .hubcourseresult { - background:none repeat scroll 0 0 #FFFFFF; - clear:both; - margin:30px auto 0; - z-index:90; + background: none repeat scroll 0 0 #ffffff; + clear: both; + margin: 30px auto 0; + z-index: 90; width: 95%; padding: 10px 10px 10px 10px; border-style: solid; border-width: 1px; } + #page-blocks-community-communitycourse .hubcoursetitle { -webkit-box-shadow: rgba(0, 0, 0, 0.546875) 0px 0px 4px; -moz-box-shadow: rgba(0, 0, 0, 0.546875) 0px 0px 4px; - background: #8B8989; + background: #8b8989; left: -15px; position: relative; z-index: 0; @@ -57,15 +166,16 @@ color: #fff; padding-top: 6px; padding-bottom: 6px; - text-shadow: 1px 1px 2px rgba(0,0,0,0.2); + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); text-align: left; - font-style:italic; - font-weight:normal; - line-height:1.2em; + font-style: italic; + font-weight: normal; + line-height: 1.2em; font-size: 140%; width: 102%; text-indent: 15px; } + #page-blocks-community-communitycourse .hubcoursedownload { display: inline-block; padding: 5px 8px 6px; @@ -73,38 +183,50 @@ text-decoration: none; -moz-border-radius: 6px; -webkit-border-radius: 6px; - -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6); - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6); - border-bottom: 1px solid rgba(0,0,0,0.25); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + border-bottom: 1px solid rgba(0, 0, 0, 0.25); position: relative; cursor: pointer; - background-color: #EEE9E9; + background-color: #eee9e9; margin-left: 6px; font-size: 95%; margin-bottom: 9px; } /* STAR RATING */ -#page-blocks-community-communitycourse .ratingcount {color: #8B8989;font-size: 80%;vertical-align: top;} -#page-blocks-community-communitycourse .norating {font-weight: bold;color:#8B8989;font-size: 80%;} -#page-blocks-community-communitycourse .star-rating{ - list-style:none; +#page-blocks-community-communitycourse .ratingcount { + color: #8b8989; + font-size: 80%; + vertical-align: top; +} + +#page-blocks-community-communitycourse .norating { + font-weight: bold; + color: #8b8989; + font-size: 80%; +} + +#page-blocks-community-communitycourse .star-rating { + list-style: none; margin: 4px 0 4px; - padding:0px; + padding: 0px; width: 100px; height: 20px; position: relative; background: url([[pix:i/star-rating]]) top left repeat-x; float: left; } -#page-blocks-community-communitycourse .star-rating li{ - padding:0px; - margin:0px; - height:20px; + +#page-blocks-community-communitycourse .star-rating li { + padding: 0px; + margin: 0px; + height: 20px; width: 20px; float: left; } -#page-blocks-community-communitycourse .star-rating li.current-rating{ + +#page-blocks-community-communitycourse .star-rating li.current-rating { background: url([[pix:i/star-rating]]) left bottom; position: absolute; height: 20px; @@ -114,18 +236,37 @@ } /* COMMENTS */ -#page-blocks-community-communitycourse .nocomments {font-weight: bold;color:#8B8989;font-size: 80%;} -#page-blocks-community-communitycourse .hubcommentator {float: left;font-weight: bold;} -#page-blocks-community-communitycourse .hubcommentdate {font-weight: bold;} -#page-blocks-community-communitycourse .hubcommenttext{margin-bottom: 10px;} -#page-blocks-community-communitycourse .hubnoscriptcoursecomments {margin-left: 5px;} +#page-blocks-community-communitycourse .nocomments { + font-weight: bold; + color: #8b8989; + font-size: 80%; +} + +#page-blocks-community-communitycourse .hubcommentator { + float: left; + font-weight: bold; +} + +#page-blocks-community-communitycourse .hubcommentdate { + font-weight: bold; +} + +#page-blocks-community-communitycourse .hubcommenttext { + margin-bottom: 10px; +} + +#page-blocks-community-communitycourse .hubnoscriptcoursecomments { + margin-left: 5px; +} + #page-blocks-community-communitycourse .yui3-overlay-loading { /* Hide overlay markup while loading, if js is enabled */ - top:-1000em; - left:-1000em; - position:absolute; - z-index:1000; + top: -1000em; + left: -1000em; + position: absolute; + z-index: 1000; } + #page-blocks-community-communitycourse .hubcoursecomments { /* comment button */ display: inline-block; @@ -136,25 +277,35 @@ -webkit-border-radius: 6px; position: relative; cursor: pointer; - background-color: #8B8989; + background-color: #8b8989; margin-left: 0px; font-size: 80%; - margin-top:15px; + margin-top: 15px; +} + +#page-blocks-community-communitycourse .hubrateandcomment { + font-size: 80%; +} + +#page-blocks-community-communitycourse .nextlink { + text-align: center; + margin-top: 6px; +} + +#page-blocks-community-communitycourse .textinfo { + text-align: center; } -#page-blocks-community-communitycourse .hubrateandcomment { font-size: 80%;} -#page-blocks-community-communitycourse .nextlink {text-align: center;margin-top: 6px;} -#page-blocks-community-communitycourse .textinfo { text-align: center;} #ss-mask { z-index: 10; - position:fixed; - top:0; - left:0; - bottom:0; - right:0; - opacity:0.35; - filter:alpha(opacity=35); - background:#000; + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + opacity: 0.35; + filter: alpha(opacity=35); + background: #000; } .hiddenoverlay { @@ -167,41 +318,42 @@ display: inline; cursor: pointer; } + .imagetitle { display: inline; cursor: pointer; } #page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue { - -moz-border-radius:12px 12px 12px 12px; - -moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.6); - -webkit-border-radius:12px 12px 12px 12px; - -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.6); - border-width:0 0 0 0; + -moz-border-radius: 12px 12px 12px 12px; + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + -webkit-border-radius: 12px 12px 12px 12px; + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + border-width: 0 0 0 0; } #page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue-wrap { - -moz-border-radius:12px 12px 0px 0px; - -webkit-border-radius:12px 12px 0px 0px; - background-color:#FFFFFF; - border:1px solid #555555; + -moz-border-radius: 12px 12px 0px 0px; + -webkit-border-radius: 12px 12px 0px 0px; + background-color: #ffffff; + border: 1px solid #555555; } #page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue-hd { - -moz-border-radius:12px 12px 0 0; - -webkit-border-radius:12px 12px 0 0; - background-color:#F6F6F6; - border:1px solid #CCCCCC; + -moz-border-radius: 12px 12px 0 0; + -webkit-border-radius: 12px 12px 0 0; + background-color: #f6f6f6; + border: 1px solid #cccccc; overflow: auto; padding: 7px 6px; } #page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue-bd { - padding:0px; + padding: 0px; margin-bottom: -5px; } #page-blocks-community-communitycourse .moodle-dialogue-base .closebutton { - margin-top:4px; + margin-top: 4px; margin-right: 4px; } diff --git a/blocks/course_list/styles.css b/blocks/course_list/styles.css index 7d75fcee092..b94fe89a252 100644 --- a/blocks/course_list/styles.css +++ b/blocks/course_list/styles.css @@ -1,2 +1,7 @@ -.block_course_list .footer {margin-top: 5px;} -.block_course_list .content li { margin-bottom: .3em;} +.block_course_list .footer { + margin-top: 5px; +} + +.block_course_list .content li { + margin-bottom: .3em; +} diff --git a/blocks/course_overview/styles.css b/blocks/course_overview/styles.css index d7d14825686..ca0864a66c4 100644 --- a/blocks/course_overview/styles.css +++ b/blocks/course_overview/styles.css @@ -3,13 +3,14 @@ font-style: italic; } -.block_course_overview .categorypath{ +.block_course_overview .categorypath { text-align: right; } .block_course_overview .content { margin: 0 20px; } + .block_course_overview .content .notice { margin: 5px 0; } @@ -22,6 +23,7 @@ .block_course_overview .profilepicture { float: left; } + .block_course_overview .welcome_area { width: 100%; padding-bottom: 5px; @@ -70,13 +72,17 @@ .block_course_overview .activity_overview { padding: 2px; } -.block_course_overview .activity_overview img.iconlarge { vertical-align: text-bottom; margin-right: 6px; } + +.block_course_overview .activity_overview img.iconlarge { + vertical-align: text-bottom; + margin-right: 6px; +} .block_course_overview .singleselect { text-align: left; margin: 0; } -.block_course_overview .content .course_list .movehere{ +.block_course_overview .content .course_list .movehere { margin-bottom: 15px; } diff --git a/blocks/course_summary/styles.css b/blocks/course_summary/styles.css index 7c58b8d3615..5d37bebd1bf 100644 --- a/blocks/course_summary/styles.css +++ b/blocks/course_summary/styles.css @@ -1,2 +1,7 @@ -.block_course_summary .content {padding:10px;} -.block_course_summary .editbutton {text-align:right;} \ No newline at end of file +.block_course_summary .content { + padding: 10px; +} + +.block_course_summary .editbutton { + text-align: right; +} \ No newline at end of file diff --git a/blocks/globalsearch/styles.css b/blocks/globalsearch/styles.css index b8b5c69c872..6b94c4d8a01 100644 --- a/blocks/globalsearch/styles.css +++ b/blocks/globalsearch/styles.css @@ -1,2 +1,7 @@ -.block_globalsearch .searchform {text-align: center;} -.block_globalsearch .footer {text-align: center;} +.block_globalsearch .searchform { + text-align: center; +} + +.block_globalsearch .footer { + text-align: center; +} diff --git a/blocks/lp/styles.css b/blocks/lp/styles.css index b17f1cbcebe..2f0651632db 100644 --- a/blocks/lp/styles.css +++ b/blocks/lp/styles.css @@ -2,13 +2,16 @@ padding: 0; text-transform: none; } + .block_lp .sub-content { padding: 0 15px; } + .block_lp ul { list-style: none; margin: 0; } + .block_lp ul .more { padding-top: 10px; } diff --git a/blocks/messages/styles.css b/blocks/messages/styles.css index 9b7ef1aa308..176f75664f0 100644 --- a/blocks/messages/styles.css +++ b/blocks/messages/styles.css @@ -1,6 +1,25 @@ -.block_messages .content {text-align:left;padding-top:5px;} -.block_messages .content .list li.listentry {clear:both;} -.block_messages .content .list li.listentry .user {float:left;position:relative;} -.block_messages .content .list li.listentry .message {float:right;} -.block_messages .content .info {text-align:center;} -.block_messages .content .footer {clear:both;} +.block_messages .content { + text-align: left; + padding-top: 5px; +} + +.block_messages .content .list li.listentry { + clear: both; +} + +.block_messages .content .list li.listentry .user { + float: left; + position: relative; +} + +.block_messages .content .list li.listentry .message { + float: right; +} + +.block_messages .content .info { + text-align: center; +} + +.block_messages .content .footer { + clear: both; +} diff --git a/blocks/myprofile/styles.css b/blocks/myprofile/styles.css index 30df40d6b7e..ee3944eb440 100644 --- a/blocks/myprofile/styles.css +++ b/blocks/myprofile/styles.css @@ -1,4 +1,14 @@ -.block_myprofile img.profilepicture { height:100px; width:100px;} -.block_myprofile .myprofileitem.fullname {font-size:1.5em; font-weight: bold;} -.block_myprofile .myprofileitem.edit {text-align: right;} +.block_myprofile img.profilepicture { + height: 100px; + width: 100px; +} + +.block_myprofile .myprofileitem.fullname { + font-size: 1.5em; + font-weight: bold; +} + +.block_myprofile .myprofileitem.edit { + text-align: right; +} diff --git a/blocks/online_users/styles.css b/blocks/online_users/styles.css index 958c184311a..90be20393c0 100644 --- a/blocks/online_users/styles.css +++ b/blocks/online_users/styles.css @@ -1,5 +1,21 @@ -.block_online_users .content .list li.listentry {clear:both;} -.block_online_users .content .list li.listentry .user {float:left;position:relative;} -.block_online_users .content .list li.listentry .user .userpicture { vertical-align: text-bottom;} -.block_online_users .content .list li.listentry .message {float:right; margin-top: 3px;} -.block_online_users .content .info {text-align:center;} +.block_online_users .content .list li.listentry { + clear: both; +} + +.block_online_users .content .list li.listentry .user { + float: left; + position: relative; +} + +.block_online_users .content .list li.listentry .user .userpicture { + vertical-align: text-bottom; +} + +.block_online_users .content .list li.listentry .message { + float: right; + margin-top: 3px; +} + +.block_online_users .content .info { + text-align: center; +} diff --git a/blocks/recent_activity/styles.css b/blocks/recent_activity/styles.css index 28b0cf1c251..3d1d9e3b6da 100644 --- a/blocks/recent_activity/styles.css +++ b/blocks/recent_activity/styles.css @@ -1,4 +1,12 @@ .block_recent_activity .activitydate, -.block_recent_activity .activityhead {text-align:center;} -.block_recent_activity .unlist li {margin-bottom:1em;} -.block_recent_activity li .head .date {float:right;} +.block_recent_activity .activityhead { + text-align: center; +} + +.block_recent_activity .unlist li { + margin-bottom: 1em; +} + +.block_recent_activity li .head .date { + float: right; +} diff --git a/blocks/rss_client/styles.css b/blocks/rss_client/styles.css index 1ec870d10c9..b1afcae54ce 100644 --- a/blocks/rss_client/styles.css +++ b/blocks/rss_client/styles.css @@ -3,6 +3,7 @@ .block_rss_client .list li:first-child { border-top-width: 0; } + .block_rss_client .list li { border-top: 1px solid; padding: 5px; diff --git a/blocks/search_forums/styles.css b/blocks/search_forums/styles.css index f424ebf641d..09217a5b187 100644 --- a/blocks/search_forums/styles.css +++ b/blocks/search_forums/styles.css @@ -1,4 +1,16 @@ -.block_search_forums .searchform {text-align: center;} -.block_search_forums .searchform img {vertical-align: middle;} -.block_search_forums .searchform img.resize {width: 1em;height: 1.1em;} -.block_search_forums .invisiblefieldset {display: block;} \ No newline at end of file +.block_search_forums .searchform { + text-align: center; +} + +.block_search_forums .searchform img { + vertical-align: middle; +} + +.block_search_forums .searchform img.resize { + width: 1em; + height: 1.1em; +} + +.block_search_forums .invisiblefieldset { + display: block; +} \ No newline at end of file diff --git a/blocks/settings/styles.css b/blocks/settings/styles.css index 12f39e21c1f..d3432ac3a0d 100644 --- a/blocks/settings/styles.css +++ b/blocks/settings/styles.css @@ -1,22 +1,65 @@ -.block_settings .block_tree ul {margin-left: 18px;} -.block_settings .block_tree p.hasicon {text-indent: -21px; padding-left: 21px;} -.block_settings .block_tree p.hasicon img {width: 16px; height: 16px; margin-top: 3px; margin-right: 5px; vertical-align: top;} -.block_settings .block_tree p.hasicon.visibleifjs {display: block;} +.block_settings .block_tree ul { + margin-left: 18px; +} -.block_settings .block_tree .tree_item.branch {padding-left: 21px;} -.block_settings .block_tree .tree_item {cursor:pointer; margin:3px 0px; background-position: 0 50%; background-repeat: no-repeat;} -.block_settings .block_tree .active_tree_node {font-weight:bold;} +.block_settings .block_tree p.hasicon { + text-indent: -21px; + padding-left: 21px; +} -.block_settings .block_tree [aria-expanded="true"] {background-image: url('[[pix:t/expanded]]');} -.block_settings .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed]]');} -.block_settings .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty]]');} -.block_settings .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');} +.block_settings .block_tree p.hasicon img { + width: 16px; + height: 16px; + margin-top: 3px; + margin-right: 5px; + vertical-align: top; +} + +.block_settings .block_tree p.hasicon.visibleifjs { + display: block; +} + +.block_settings .block_tree .tree_item.branch { + padding-left: 21px; +} + +.block_settings .block_tree .tree_item { + cursor: pointer; + margin: 3px 0px; + background-position: 0 50%; + background-repeat: no-repeat; +} + +.block_settings .block_tree .active_tree_node { + font-weight: bold; +} + +.block_settings .block_tree [aria-expanded="true"] { + background-image: url('[[pix:t/expanded]]'); +} + +.block_settings .block_tree [aria-expanded="false"] { + background-image: url('[[pix:t/collapsed]]'); +} + +.block_settings .block_tree [aria-expanded="true"].emptybranch { + background-image: url('[[pix:t/collapsed_empty]]'); +} + +.block_settings .block_tree [aria-expanded="false"].loading { + background-image: url('[[pix:i/loading_small]]'); +} /*rtl:raw: .block_settings .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');} .block_settings .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');} .block_settings .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');} */ -.block_settings .block_tree [aria-hidden="false"] {display: block;} -.block_settings .block_tree [aria-hidden="true"] {display: none;} +.block_settings .block_tree [aria-hidden="false"] { + display: block; +} + +.block_settings .block_tree [aria-hidden="true"] { + display: none; +} diff --git a/blocks/site_main_menu/styles.css b/blocks/site_main_menu/styles.css index 9c001097053..9f4747a49aa 100644 --- a/blocks/site_main_menu/styles.css +++ b/blocks/site_main_menu/styles.css @@ -1,9 +1,13 @@ -.block_site_main_menu li { clear: both; } +.block_site_main_menu li { + clear: both; +} + .block_site_main_menu.block.list_block .unlist > li > .column { /* Made specific to win over .block.list_block .unlist > li > .column. */ width: 100%; display: table; } + .block_site_main_menu li .buttons { float: right; margin: 0; @@ -11,8 +15,20 @@ border: 0; background-color: inherit; } -.block_site_main_menu li .buttons a img{ vertical-align: text-bottom;} -.block_site_main_menu .footer { margin-top: 1em; } -.block_site_main_menu .section_add_menus noscript div { display: inline;} + +.block_site_main_menu li .buttons a img { + vertical-align: text-bottom; +} + +.block_site_main_menu .footer { + margin-top: 1em; +} + +.block_site_main_menu .section_add_menus noscript div { + display: inline; +} + .block_site_main_menu .mod-indent, -.block_site_main_menu .main-menu-content { display: table-cell; } +.block_site_main_menu .main-menu-content { + display: table-cell; +} diff --git a/blocks/social_activities/styles.css b/blocks/social_activities/styles.css index 25a18467f64..14dea69ddf2 100644 --- a/blocks/social_activities/styles.css +++ b/blocks/social_activities/styles.css @@ -1,4 +1,16 @@ -.block_social_activities li { clear: both; } -.block_social_activities li .column { width: 100%; } -.block_social_activities li .buttons { float: right; margin: 0; } -.block_social_activities li .buttons a img{ vertical-align: text-bottom;} +.block_social_activities li { + clear: both; +} + +.block_social_activities li .column { + width: 100%; +} + +.block_social_activities li .buttons { + float: right; + margin: 0; +} + +.block_social_activities li .buttons a img { + vertical-align: text-bottom; +} diff --git a/blocks/tag_flickr/styles.css b/blocks/tag_flickr/styles.css index 7351ce80eb4..08a9a6096ec 100644 --- a/blocks/tag_flickr/styles.css +++ b/blocks/tag_flickr/styles.css @@ -1 +1,3 @@ -.block_tag_flickr .flickr-photos {padding:3px;} \ No newline at end of file +.block_tag_flickr .flickr-photos { + padding: 3px; +} \ No newline at end of file diff --git a/blocks/tag_youtube/styles.css b/blocks/tag_youtube/styles.css index 1def4e3d0f7..0956ff3640e 100644 --- a/blocks/tag_youtube/styles.css +++ b/blocks/tag_youtube/styles.css @@ -1,2 +1,10 @@ -.block_tag_youtube .youtube-thumb {padding: 3px;padding-bottom: 0.5em;display: block;float: left;} -.block_tag_youtube .yt-video-entry li {clear: left;} \ No newline at end of file +.block_tag_youtube .youtube-thumb { + padding: 3px; + padding-bottom: 0.5em; + display: block; + float: left; +} + +.block_tag_youtube .yt-video-entry li { + clear: left; +} \ No newline at end of file diff --git a/calendar/yui/build/moodle-calendar-info/assets/skins/sam/moodle-calendar-info.css b/calendar/yui/build/moodle-calendar-info/assets/skins/sam/moodle-calendar-info.css index 2e32b325ddb..d895c9a3b09 100644 --- a/calendar/yui/build/moodle-calendar-info/assets/skins/sam/moodle-calendar-info.css +++ b/calendar/yui/build/moodle-calendar-info/assets/skins/sam/moodle-calendar-info.css @@ -1,4 +1,24 @@ -.calendar-event-panel {background-color:#666;border:2px solid #666;border-width: 0 2px 2px 0;} -.calendar-event-panel .yui3-overlay-content {background-color:#fff;border:1px solid #555;margin-top:-5px;margin-left:-5px;} -.calendar-event-panel .yui3-overlay-content h2.eventtitle {margin:3px 5px 2px;padding:0;text-align:center;} -.calendar-event-panel .eventcontent {margin:5px;padding:0;text-align:center;} +.calendar-event-panel { + background-color: #666; + border: 2px solid #666; + border-width: 0 2px 2px 0; +} + +.calendar-event-panel .yui3-overlay-content { + background-color: #fff; + border: 1px solid #555; + margin-top: -5px; + margin-left: -5px; +} + +.calendar-event-panel .yui3-overlay-content h2.eventtitle { + margin: 3px 5px 2px; + padding: 0; + text-align: center; +} + +.calendar-event-panel .eventcontent { + margin: 5px; + padding: 0; + text-align: center; +} diff --git a/calendar/yui/src/info/assets/skins/sam/moodle-calendar-info.css b/calendar/yui/src/info/assets/skins/sam/moodle-calendar-info.css index 2e32b325ddb..d895c9a3b09 100644 --- a/calendar/yui/src/info/assets/skins/sam/moodle-calendar-info.css +++ b/calendar/yui/src/info/assets/skins/sam/moodle-calendar-info.css @@ -1,4 +1,24 @@ -.calendar-event-panel {background-color:#666;border:2px solid #666;border-width: 0 2px 2px 0;} -.calendar-event-panel .yui3-overlay-content {background-color:#fff;border:1px solid #555;margin-top:-5px;margin-left:-5px;} -.calendar-event-panel .yui3-overlay-content h2.eventtitle {margin:3px 5px 2px;padding:0;text-align:center;} -.calendar-event-panel .eventcontent {margin:5px;padding:0;text-align:center;} +.calendar-event-panel { + background-color: #666; + border: 2px solid #666; + border-width: 0 2px 2px 0; +} + +.calendar-event-panel .yui3-overlay-content { + background-color: #fff; + border: 1px solid #555; + margin-top: -5px; + margin-left: -5px; +} + +.calendar-event-panel .yui3-overlay-content h2.eventtitle { + margin: 3px 5px 2px; + padding: 0; + text-align: center; +} + +.calendar-event-panel .eventcontent { + margin: 5px; + padding: 0; + text-align: center; +} diff --git a/course/format/singleactivity/styles.css b/course/format/singleactivity/styles.css index f717984a120..d03b9822848 100644 --- a/course/format/singleactivity/styles.css +++ b/course/format/singleactivity/styles.css @@ -1 +1,3 @@ -.format-singleactivity .tree_item.orphaned a {color:red;} +.format-singleactivity .tree_item.orphaned a { + color: red; +} diff --git a/course/format/topics/styles.css b/course/format/topics/styles.css index 068dac44ef4..2aaaadf1e77 100644 --- a/course/format/topics/styles.css +++ b/course/format/topics/styles.css @@ -1,12 +1,43 @@ -.course-content ul.topics {margin:0;} -.course-content ul.topics li.section {list-style: none;margin:0 0 5px 0;padding:0;} -.course-content ul.topics li.section .content {margin:0 40px;} +.course-content ul.topics { + margin: 0; +} + +.course-content ul.topics li.section { + list-style: none; + margin: 0 0 5px 0; + padding: 0; +} + +.course-content ul.topics li.section .content { + margin: 0 40px; +} + .course-content ul.topics li.section .left, -.course-content ul.topics li.section .right {width:40px;padding: 0 6px;} -.course-content ul.topics li.section .right img.icon { padding: 0 0 4px 0;} -.course-content ul.topics li.section .left {padding-top:22px;text-align: right;} +.course-content ul.topics li.section .right { + width: 40px; + padding: 0 6px; +} + +.course-content ul.topics li.section .right img.icon { + padding: 0 0 4px 0; +} + +.course-content ul.topics li.section .left { + padding-top: 22px; + text-align: right; +} + .jsenabled .course-content ul.topics li.section .left, -.jsenabled .course-content ul.topics li.section .right {width:auto;} -.course-content ul.topics li.section .left .section-handle img.icon { padding:0; vertical-align: baseline; } +.jsenabled .course-content ul.topics li.section .right { + width: auto; +} + +.course-content ul.topics li.section .left .section-handle img.icon { + padding: 0; + vertical-align: baseline; +} + .course-content ul.topics li.section .section_action_menu .textmenu, -.course-content ul.topics li.section .section_action_menu .menu-action-text { white-space: nowrap; } \ No newline at end of file +.course-content ul.topics li.section .section_action_menu .menu-action-text { + white-space: nowrap; +} \ No newline at end of file diff --git a/course/format/weeks/styles.css b/course/format/weeks/styles.css index 8f1a5b312fe..eb85763c92f 100644 --- a/course/format/weeks/styles.css +++ b/course/format/weeks/styles.css @@ -1,12 +1,43 @@ -.course-content ul.weeks {margin:0;} -.course-content ul.weeks li.section {list-style: none;margin:0 0 5px 0;padding:0;} -.course-content ul.weeks li.section .content {margin:0 40px;} +.course-content ul.weeks { + margin: 0; +} + +.course-content ul.weeks li.section { + list-style: none; + margin: 0 0 5px 0; + padding: 0; +} + +.course-content ul.weeks li.section .content { + margin: 0 40px; +} + .course-content ul.weeks li.section .left, -.course-content ul.weeks li.section .right {width:40px;padding: 0 6px;} -.course-content ul.weeks li.section .right img.icon { padding: 0 0 4px 0;} -.course-content ul.weeks li.section .left {padding-top:22px;text-align: right;} +.course-content ul.weeks li.section .right { + width: 40px; + padding: 0 6px; +} + +.course-content ul.weeks li.section .right img.icon { + padding: 0 0 4px 0; +} + +.course-content ul.weeks li.section .left { + padding-top: 22px; + text-align: right; +} + .jsenabled .course-content ul.weeks li.section .left, -.jsenabled .course-content ul.weeks li.section .right {width:auto;} -.course-content ul.weeks li.section .left .section-handle img.icon { padding:0; vertical-align: baseline; } +.jsenabled .course-content ul.weeks li.section .right { + width: auto; +} + +.course-content ul.weeks li.section .left .section-handle img.icon { + padding: 0; + vertical-align: baseline; +} + .course-content ul.weeks li.section .section_action_menu .textmenu, -.course-content ul.weeks li.section .section_action_menu .menu-action-text { white-space: nowrap; } \ No newline at end of file +.course-content ul.weeks li.section .section_action_menu .menu-action-text { + white-space: nowrap; +} \ No newline at end of file diff --git a/enrol/manual/yui/quickenrolment/assets/skins/sam/quickenrolment.css b/enrol/manual/yui/quickenrolment/assets/skins/sam/quickenrolment.css index 950a0e7c935..7921c9445e8 100644 --- a/enrol/manual/yui/quickenrolment/assets/skins/sam/quickenrolment.css +++ b/enrol/manual/yui/quickenrolment/assets/skins/sam/quickenrolment.css @@ -34,50 +34,264 @@ Structure of the user enroller panel **************************************/ -.user-enroller-panel {width:400px;background-color:#666;position:absolute;top:10%;left:10%;border:1px solid #666;border-width:0 5px 5px 0;} -.user-enroller-panel.hidden {display:none;} -.user-enroller-panel .uep-wrap {margin-top:-5px;margin-left:-5px;background-color:#FFF;border:1px solid #999;height:inherit;} +.user-enroller-panel { + width: 400px; + background-color: #666; + position: absolute; + top: 10%; + left: 10%; + border: 1px solid #666; + border-width: 0 5px 5px 0; +} -.user-enroller-panel .uep-header {background-color:#eee;padding:1px;} -.user-enroller-panel .uep-header h2 {margin:3px 1em 0.5em 1em;font-size:1em;} -.user-enroller-panel .uep-header .close {width:25px;height:15px;position:absolute;top:2px;right:1em;cursor:pointer;background:url("sprite.png") no-repeat scroll 0 0 transparent;} +.user-enroller-panel.hidden { + display: none; +} -.user-enroller-panel .uep-content {text-align:center;position:relative;width:100%;border-top:1px solid #999;border-bottom:1px solid #999;} -.user-enroller-panel .uep-content .uep-controls {margin:0;padding:3px;background-color:#ddd;text-align:left;border-bottom:1px solid #BBB;} -.user-enroller-panel .uep-content .uep-controls label {display: inline;padding-right:5px;} -.user-enroller-panel .uep-content .uep-controls .uep-enrolment-option input {vertical-align:middle;margin-left:1em;} -.user-enroller-panel .uep-ajax-content {height:375px;overflow:auto;} -.user-enroller-panel .uep-search-results .totalusers {background-color:#eee;padding:5px;border-bottom:1px solid #BBB;font-size:7pt;font-weight: bold;} -.user-enroller-panel .uep-search-results .user {width:100%;text-align:left;font-size:9pt;border-bottom:1px solid #ddd;border-top:1px solid #eee;} -.user-enroller-panel .uep-search-results .user.odd {border-bottom:1px solid #ddd;border-top:1px solid #eee;background-color:#f9f9f9;} -.user-enroller-panel .uep-search-results .user .count {width:20px;float:left;font-size:7pt;line-height:41px;border-right:1px solid #ddd;background-color:#EEE;text-align:right;padding:2px;} -.user-enroller-panel .uep-search-results .user .picture {width:45px;float:left;margin:3px;} -.user-enroller-panel .uep-search-results .user .details {width:250px;float:left;margin:3px;} -.user-enroller-panel .uep-search-results .user .options {padding-right:7px;font-size:8pt;margin:3px;} -.user-enroller-panel .uep-search-results .user .options .enrol {margin:3px;float:right;cursor:pointer;} -.user-enroller-panel .uep-search-results .user.enrolled .count {width:40px;color:#eee;} -.user-enroller-panel .uep-search-results .uep-more-results {background-color:#eee;padding:5px;border-top:1px solid #BBB;} +.user-enroller-panel .uep-wrap { + margin-top: -5px; + margin-left: -5px; + background-color: #fff; + border: 1px solid #999; + height: inherit; +} -.user-enroller-panel .uep-search-results .totalcohorts {background-color:#eee;padding:5px;border-bottom:1px solid #BBB;font-size:7pt;font-weight: bold;} -.user-enroller-panel .uep-search-results .cohort {width:100%;text-align:left;font-size:9pt;border-bottom:1px solid #ddd;border-top:1px solid #eee;} -.user-enroller-panel .uep-search-results .cohort .count {width:20px;float:left;font-size:7pt;line-height:27px;border-right:1px solid #ddd;background-color:#EEE;text-align:right;padding:2px;} -.user-enroller-panel .uep-search-results .cohort .details {width:250px;float:left;margin:5px;} -.user-enroller-panel .uep-search-results .cohort .options {padding-right:7px;font-size:8pt;margin:3px;} -.user-enroller-panel .uep-search-results .cohort .options .enrol {margin:3px;float:right;cursor:pointer;} -.user-enroller-panel .uep-search-results .cohort.enrolled .count {width:40px;color:#eee;} +.user-enroller-panel .uep-header { + background-color: #eee; + padding: 1px; +} -.user-enroller-panel .uep-loading-lightbox {position:absolute;width:100%;height:100%;top:0;left:0;background-color:#FFF;min-width:50px;min-height:50px;} -.user-enroller-panel .uep-loading-lightbox.hidden {display:none;} -.user-enroller-panel .uep-loading-lightbox .loading-icon {margin:auto;vertical-align:middle;margin-top:125px;} +.user-enroller-panel .uep-header h2 { + margin: 3px 1em 0.5em 1em; + font-size: 1em; +} -.user-enroller-panel .uep-footer {padding:3px;background-color:#ddd;text-align:center;} -.user-enroller-panel .uep-search {margin:3px;} -.user-enroller-panel .uep-search label {padding-right:8px;} -.user-enroller-panel .uep-search input {width:50%; margin: 0 0 10px 5px} -.user-enroller-panel .uep-search input.uep-search-btn {width:20%;} -.user-enroller-panel .uep-searchoptions {margin:3px;cursor:pointer;} -.user-enroller-panel .uep-controls select {margin-left:1em;margin-bottom:0;} -.user-enroller-panel .collapsibleheading img {margin-right:8px;} -.user-enroller-panel .collapsiblearea {border:1px solid #bbb;background-color:#f6f6f6;} -.user-enroller-panel .collapsiblearea.hidden {display:none;} -.user-enroller-panel .collapsiblearea .uep-enrolment-option {margin:5px 1em;} +.user-enroller-panel .uep-header .close { + width: 25px; + height: 15px; + position: absolute; + top: 2px; + right: 1em; + cursor: pointer; + background: url("sprite.png") no-repeat scroll 0 0 transparent; +} + +.user-enroller-panel .uep-content { + text-align: center; + position: relative; + width: 100%; + border-top: 1px solid #999; + border-bottom: 1px solid #999; +} + +.user-enroller-panel .uep-content .uep-controls { + margin: 0; + padding: 3px; + background-color: #ddd; + text-align: left; + border-bottom: 1px solid #bbb; +} + +.user-enroller-panel .uep-content .uep-controls label { + display: inline; + padding-right: 5px; +} + +.user-enroller-panel .uep-content .uep-controls .uep-enrolment-option input { + vertical-align: middle; + margin-left: 1em; +} + +.user-enroller-panel .uep-ajax-content { + height: 375px; + overflow: auto; +} + +.user-enroller-panel .uep-search-results .totalusers { + background-color: #eee; + padding: 5px; + border-bottom: 1px solid #bbb; + font-size: 7pt; + font-weight: bold; +} + +.user-enroller-panel .uep-search-results .user { + width: 100%; + text-align: left; + font-size: 9pt; + border-bottom: 1px solid #ddd; + border-top: 1px solid #eee; +} + +.user-enroller-panel .uep-search-results .user.odd { + border-bottom: 1px solid #ddd; + border-top: 1px solid #eee; + background-color: #f9f9f9; +} + +.user-enroller-panel .uep-search-results .user .count { + width: 20px; + float: left; + font-size: 7pt; + line-height: 41px; + border-right: 1px solid #ddd; + background-color: #eee; + text-align: right; + padding: 2px; +} + +.user-enroller-panel .uep-search-results .user .picture { + width: 45px; + float: left; + margin: 3px; +} + +.user-enroller-panel .uep-search-results .user .details { + width: 250px; + float: left; + margin: 3px; +} + +.user-enroller-panel .uep-search-results .user .options { + padding-right: 7px; + font-size: 8pt; + margin: 3px; +} + +.user-enroller-panel .uep-search-results .user .options .enrol { + margin: 3px; + float: right; + cursor: pointer; +} + +.user-enroller-panel .uep-search-results .user.enrolled .count { + width: 40px; + color: #eee; +} + +.user-enroller-panel .uep-search-results .uep-more-results { + background-color: #eee; + padding: 5px; + border-top: 1px solid #bbb; +} + +.user-enroller-panel .uep-search-results .totalcohorts { + background-color: #eee; + padding: 5px; + border-bottom: 1px solid #bbb; + font-size: 7pt; + font-weight: bold; +} + +.user-enroller-panel .uep-search-results .cohort { + width: 100%; + text-align: left; + font-size: 9pt; + border-bottom: 1px solid #ddd; + border-top: 1px solid #eee; +} + +.user-enroller-panel .uep-search-results .cohort .count { + width: 20px; + float: left; + font-size: 7pt; + line-height: 27px; + border-right: 1px solid #ddd; + background-color: #eee; + text-align: right; + padding: 2px; +} + +.user-enroller-panel .uep-search-results .cohort .details { + width: 250px; + float: left; + margin: 5px; +} + +.user-enroller-panel .uep-search-results .cohort .options { + padding-right: 7px; + font-size: 8pt; + margin: 3px; +} + +.user-enroller-panel .uep-search-results .cohort .options .enrol { + margin: 3px; + float: right; + cursor: pointer; +} + +.user-enroller-panel .uep-search-results .cohort.enrolled .count { + width: 40px; + color: #eee; +} + +.user-enroller-panel .uep-loading-lightbox { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background-color: #fff; + min-width: 50px; + min-height: 50px; +} + +.user-enroller-panel .uep-loading-lightbox.hidden { + display: none; +} + +.user-enroller-panel .uep-loading-lightbox .loading-icon { + margin: auto; + vertical-align: middle; + margin-top: 125px; +} + +.user-enroller-panel .uep-footer { + padding: 3px; + background-color: #ddd; + text-align: center; +} + +.user-enroller-panel .uep-search { + margin: 3px; +} + +.user-enroller-panel .uep-search label { + padding-right: 8px; +} + +.user-enroller-panel .uep-search input { + width: 50%; + margin: 0 0 10px 5px; +} + +.user-enroller-panel .uep-search input.uep-search-btn { + width: 20%; +} + +.user-enroller-panel .uep-searchoptions { + margin: 3px; + cursor: pointer; +} + +.user-enroller-panel .uep-controls select { + margin-left: 1em; + margin-bottom: 0; +} + +.user-enroller-panel .collapsibleheading img { + margin-right: 8px; +} + +.user-enroller-panel .collapsiblearea { + border: 1px solid #bbb; + background-color: #f6f6f6; +} + +.user-enroller-panel .collapsiblearea.hidden { + display: none; +} + +.user-enroller-panel .collapsiblearea .uep-enrolment-option { + margin: 5px 1em; +} diff --git a/enrol/yui/otherusersmanager/assets/skins/sam/otherusersmanager.css b/enrol/yui/otherusersmanager/assets/skins/sam/otherusersmanager.css index db39b132ca1..0cc06979aba 100644 --- a/enrol/yui/otherusersmanager/assets/skins/sam/otherusersmanager.css +++ b/enrol/yui/otherusersmanager/assets/skins/sam/otherusersmanager.css @@ -29,36 +29,175 @@ Structure of the other user role assignment panel **************************************/ -.other-user-manager-panel {width:400px;background-color:#666;position:absolute;top:10%;left:10%;border:1px solid #666;border-width:0 5px 5px 0;} -.other-user-manager-panel.hidden {display:none;} -.other-user-manager-panel .oump-wrap {margin-top:-5px;margin-left:-5px;background-color:#FFF;border:1px solid #999;height:inherit;} +.other-user-manager-panel { + width: 400px; + background-color: #666; + position: absolute; + top: 10%; + left: 10%; + border: 1px solid #666; + border-width: 0 5px 5px 0; +} -.other-user-manager-panel .oump-header {background-color:#eee;padding:1px;} -.other-user-manager-panel .oump-header h2 {margin:3px 1em 0.5em 1em;font-size:1em;} -.other-user-manager-panel .oump-header .oump-panel-close {width:25px;height:15px;position:absolute;top:2px;right:1em;cursor:pointer;background:url("sprite.png") no-repeat scroll 0 0 transparent;} +.other-user-manager-panel.hidden { + display: none; +} -.other-user-manager-panel .oump-content {text-align:center;position:relative;width:100%;border-top:1px solid #999;border-bottom:1px solid #999;} -.other-user-manager-panel .oump-ajax-content {height:375px;overflow:auto;} -.other-user-manager-panel .oump-search-results .oump-total-users {background-color:#eee;padding:5px;border-bottom:1px solid #BBB;font-size:7pt;font-weight: bold;} +.other-user-manager-panel .oump-wrap { + margin-top: -5px; + margin-left: -5px; + background-color: #fff; + border: 1px solid #999; + height: inherit; +} -.other-user-manager-panel .oump-search-results .oump-user {width:100%;text-align:left;font-size:9pt;background-color:#ddd;border-bottom:1px solid #aaa;} -.other-user-manager-panel .oump-search-results .oump-user .oump-user-details {background-color:#fff;margin-left:25px;border-left:1px solid #bbb;} -.other-user-manager-panel .oump-search-results .oump-user.odd .oump-user-details {background-color:#f9f9f9;} -.other-user-manager-panel .oump-search-results .oump-user .count {width:20px;font-size:7pt;line-height:100%;text-align:right;float:left;padding:5px 5px 2px 2px} -.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-user-picture {display:inline-block;margin:3px;} -.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-user-specifics {width:250px;display:inline-block;margin:3px;vertical-align:top;} -.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-role-options {font-size:8pt;margin-top:2px;text-align:right;margin-right:2px;} -.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-role-options .oump-assignable-role {display:inline-block;margin:0;padding:3px 4px;cursor:pointer;} -.other-user-manager-panel .oump-search-results .oump-user.assignment-in-progress .oump-assignable-role {color:#666;cursor:default;} -.other-user-manager-panel .oump-search-results .oump-more-results {background-color:#eee;padding:5px;cursor:pointer;} -.other-user-manager-panel .oump-search-results .oump-user.oump-has-all-roles {background-color:#CCC;} -.other-user-manager-panel .oump-search-results .oump-user.oump-has-all-roles .count {width:40px;} +.other-user-manager-panel .oump-header { + background-color: #eee; + padding: 1px; +} -.other-user-manager-panel .oump-loading-lightbox {position:absolute;width:100%;height:100%;top:0;left:0;background-color:#FFF;min-width:50px;min-height:50px;} -.other-user-manager-panel .oump-loading-lightbox.hidden {display:none;} -.other-user-manager-panel .oump-loading-lightbox .loading-icon {margin:auto;vertical-align:middle;margin-top:125px;} +.other-user-manager-panel .oump-header h2 { + margin: 3px 1em 0.5em 1em; + font-size: 1em; +} -.other-user-manager-panel .oump-footer {padding:3px;background-color:#ddd;} -.other-user-manager-panel .oump-search {margin:3px;} -.other-user-manager-panel .oump-search label {padding-right:8px;} -.other-user-manager-panel .oump-search input {width:70%;} +.other-user-manager-panel .oump-header .oump-panel-close { + width: 25px; + height: 15px; + position: absolute; + top: 2px; + right: 1em; + cursor: pointer; + background: url("sprite.png") no-repeat scroll 0 0 transparent; +} + +.other-user-manager-panel .oump-content { + text-align: center; + position: relative; + width: 100%; + border-top: 1px solid #999; + border-bottom: 1px solid #999; +} + +.other-user-manager-panel .oump-ajax-content { + height: 375px; + overflow: auto; +} + +.other-user-manager-panel .oump-search-results .oump-total-users { + background-color: #eee; + padding: 5px; + border-bottom: 1px solid #bbb; + font-size: 7pt; + font-weight: bold; +} + +.other-user-manager-panel .oump-search-results .oump-user { + width: 100%; + text-align: left; + font-size: 9pt; + background-color: #ddd; + border-bottom: 1px solid #aaa; +} + +.other-user-manager-panel .oump-search-results .oump-user .oump-user-details { + background-color: #fff; + margin-left: 25px; + border-left: 1px solid #bbb; +} + +.other-user-manager-panel .oump-search-results .oump-user.odd .oump-user-details { + background-color: #f9f9f9; +} + +.other-user-manager-panel .oump-search-results .oump-user .count { + width: 20px; + font-size: 7pt; + line-height: 100%; + text-align: right; + float: left; + padding: 5px 5px 2px 2px; +} + +.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-user-picture { + display: inline-block; + margin: 3px; +} + +.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-user-specifics { + width: 250px; + display: inline-block; + margin: 3px; + vertical-align: top; +} + +.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-role-options { + font-size: 8pt; + margin-top: 2px; + text-align: right; + margin-right: 2px; +} + +.other-user-manager-panel .oump-search-results .oump-user .oump-user-details .oump-role-options .oump-assignable-role { + display: inline-block; + margin: 0; + padding: 3px 4px; + cursor: pointer; +} + +.other-user-manager-panel .oump-search-results .oump-user.assignment-in-progress .oump-assignable-role { + color: #666; + cursor: default; +} + +.other-user-manager-panel .oump-search-results .oump-more-results { + background-color: #eee; + padding: 5px; + cursor: pointer; +} + +.other-user-manager-panel .oump-search-results .oump-user.oump-has-all-roles { + background-color: #ccc; +} + +.other-user-manager-panel .oump-search-results .oump-user.oump-has-all-roles .count { + width: 40px; +} + +.other-user-manager-panel .oump-loading-lightbox { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background-color: #fff; + min-width: 50px; + min-height: 50px; +} + +.other-user-manager-panel .oump-loading-lightbox.hidden { + display: none; +} + +.other-user-manager-panel .oump-loading-lightbox .loading-icon { + margin: auto; + vertical-align: middle; + margin-top: 125px; +} + +.other-user-manager-panel .oump-footer { + padding: 3px; + background-color: #ddd; +} + +.other-user-manager-panel .oump-search { + margin: 3px; +} + +.other-user-manager-panel .oump-search label { + padding-right: 8px; +} + +.other-user-manager-panel .oump-search input { + width: 70%; +} diff --git a/enrol/yui/rolemanager/assets/skins/sam/rolemanager.css b/enrol/yui/rolemanager/assets/skins/sam/rolemanager.css index ea01272e6a7..0836aee3c28 100644 --- a/enrol/yui/rolemanager/assets/skins/sam/rolemanager.css +++ b/enrol/yui/rolemanager/assets/skins/sam/rolemanager.css @@ -1,8 +1,47 @@ -.enrolpanel {display:none;position:absolute;background-color:#666;padding:0 5px;min-width:200px;} -.enrolpanel.visible {display:block;} -.enrolpanel .container {position:relative;background-color:#fff;border:1px solid #999;top:-5px;} -.enrolpanel .container .header {border-bottom:1px solid #999;} -.enrolpanel .container .header h2 {font-size:90%;text-align:center;margin:5px;} -.enrolpanel .container .header .close {width:25px;height:15px;position:absolute;top:5px;right:1em;cursor:pointer;background:url("sprite.png") no-repeat scroll 0 0 transparent;} -.enrolpanel .container .content input {margin:5px;font-size:10px;} -.enrolpanel.roleassign.visible .container {width:auto;} +.enrolpanel { + display: none; + position: absolute; + background-color: #666; + padding: 0 5px; + min-width: 200px; +} + +.enrolpanel.visible { + display: block; +} + +.enrolpanel .container { + position: relative; + background-color: #fff; + border: 1px solid #999; + top: -5px; +} + +.enrolpanel .container .header { + border-bottom: 1px solid #999; +} + +.enrolpanel .container .header h2 { + font-size: 90%; + text-align: center; + margin: 5px; +} + +.enrolpanel .container .header .close { + width: 25px; + height: 15px; + position: absolute; + top: 5px; + right: 1em; + cursor: pointer; + background: url("sprite.png") no-repeat scroll 0 0 transparent; +} + +.enrolpanel .container .content input { + margin: 5px; + font-size: 10px; +} + +.enrolpanel.roleassign.visible .container { + width: auto; +} diff --git a/filter/glossary/styles.css b/filter/glossary/styles.css index 8a78bdb2b6d..b1ebaa6fc77 100644 --- a/filter/glossary/styles.css +++ b/filter/glossary/styles.css @@ -1 +1,6 @@ -#glossaryfilteroverlayprogress {position:fixed;top:50%;width:100%;text-align:center;} +#glossaryfilteroverlayprogress { + position: fixed; + top: 50%; + width: 100%; + text-align: center; +} diff --git a/filter/mediaplugin/styles.css b/filter/mediaplugin/styles.css index f46f5f36472..84c50ccbaff 100644 --- a/filter/mediaplugin/styles.css +++ b/filter/mediaplugin/styles.css @@ -10,10 +10,10 @@ .mediaplugin_vimeo, .mediaplugin_wmp, .mediaplugin_qt { - display: block; - margin-top: 5px; - margin-bottom: 5px; - text-align: center; + display: block; + margin-top: 5px; + margin-bottom: 5px; + text-align: center; } /* @@ -22,5 +22,5 @@ * any property that ends with '...Color' is supported here. */ .mp3flowplayer_backgroundColor { - color: #000000; + color: #000000; } diff --git a/grade/grading/form/guide/styles.css b/grade/grading/form/guide/styles.css index 52170b8dcde..a0b71490415 100644 --- a/grade/grading/form/guide/styles.css +++ b/grade/grading/form/guide/styles.css @@ -1,84 +1,237 @@ -.gradingform_guide-regrade {padding:10px;background:#FFDDDD;border:1px solid #F00;margin-bottom:10px;} -.gradingform_guide-restored {padding:10px;background:#FFFFDD;border:1px solid #FF0;margin-bottom:10px;} -.gradingform_guide-error {color:red;font-weight:bold;} +.gradingform_guide-regrade { + padding: 10px; + background: #ffdddd; + border: 1px solid #f00; + margin-bottom: 10px; +} -.gradingform_guide_editform .status {font-weight:normal;text-transform:uppercase;font-size:60%;padding:0.25em;border:1px solid #EEE;} -.gradingform_guide_editform .status.ready {background-color:#e7f1c3;border-color:#AAEEAA;} -.gradingform_guide_editform .status.draft {background-color:#f3f2aa;border-color:#EEEE22;} +.gradingform_guide-restored { + padding: 10px; + background: #ffffdd; + border: 1px solid #ff0; + margin-bottom: 10px; +} + +.gradingform_guide-error { + color: red; + font-weight: bold; +} + +.gradingform_guide_editform .status { + font-weight: normal; + text-transform: uppercase; + font-size: 60%; + padding: 0.25em; + border: 1px solid #eee; +} + +.gradingform_guide_editform .status.ready { + background-color: #e7f1c3; + border-color: #aaeeaa; +} + +.gradingform_guide_editform .status.draft { + background-color: #f3f2aa; + border-color: #eeee22; +} .gradingform_guide.editor .criterion .controls, .gradingform_guide .criterion .description, -.gradingform_guide .criterion .remark {vertical-align: top;} +.gradingform_guide .criterion .remark { + vertical-align: top; +} .gradingform_guide.editor .criterion .controls, .gradingform_guide.editor .criterion .description, -.gradingform_guide.editor .criterion .remark {padding:3px;} +.gradingform_guide.editor .criterion .remark { + padding: 3px; +} -.gradingform_guide .criteria {height:100%;} -.gradingform_guide .criterion {border:1px solid #DDD;overflow: hidden;} -.gradingform_guide .criterion.even {background:#F0F0F0;} +.gradingform_guide .criteria { + height: 100%; +} -.gradingform_guide .criterion .description {width:100%;} -.gradingform_guide .criterion .description .criterionmaxscore input {width:20px;} -.gradingform_guide .criterion .description .criterionname {font-weight:bold;} -.gradingform_guide .criterion label {font-weight:bold; padding-right: 5px} +.gradingform_guide .criterion { + border: 1px solid #ddd; + overflow: hidden; +} -.gradingform_guide .plainvalue.empty {font-style: italic; color: #AAA;} -.gradingform_guide .plainvalue.editname {font-weight:bold;} +.gradingform_guide .criterion.even { + background: #f0f0f0; +} + +.gradingform_guide .criterion .description { + width: 100%; +} + +.gradingform_guide .criterion .description .criterionmaxscore input { + width: 20px; +} + +.gradingform_guide .criterion .description .criterionname { + font-weight: bold; +} + +.gradingform_guide .criterion label { + font-weight: bold; + padding-right: 5px; +} + +.gradingform_guide .plainvalue.empty { + font-style: italic; + color: #aaa; +} + +.gradingform_guide .plainvalue.editname { + font-weight: bold; +} /* Make invisible the buttons 'Move up' for the first criterion and 'Move down' for the last, because those buttons will make no change */ .gradingform_guide.editor .criterion.first.last .controls .delete input, .gradingform_guide.editor .criterion.first .controls .moveup input, -.gradingform_guide.editor .criterion.last .controls .movedown input {display:none;} +.gradingform_guide.editor .criterion.last .controls .movedown input { + display: none; +} /* replace buttons with images */ .gradingform_guide.editor .delete input, .gradingform_guide.editor .moveup input, -.gradingform_guide.editor .movedown input{text-indent: -1000em;cursor:pointer;border:none;} -.gradingform_guide.editor .criterion .controls .delete input {width:20px;height:16px;background: transparent url([[pix:t/delete]]) no-repeat center top;margin-top:4px;} -.gradingform_guide.editor .moveup input {width:20px;height:15px;background: transparent url([[pix:t/up]]) no-repeat center top;margin-top:4px;} -.gradingform_guide.editor .movedown input {width:20px;height:15px;background: transparent url([[pix:t/down]]) no-repeat center top;margin-top:4px;} +.gradingform_guide.editor .movedown input { + text-indent: -1000em; + cursor: pointer; + border: none; +} + +.gradingform_guide.editor .criterion .controls .delete input { + width: 20px; + height: 16px; + background: transparent url([[pix:t/delete]]) no-repeat center top; + margin-top: 4px; +} + +.gradingform_guide.editor .moveup input { + width: 20px; + height: 15px; + background: transparent url([[pix:t/up]]) no-repeat center top; + margin-top: 4px; +} + +.gradingform_guide.editor .movedown input { + width: 20px; + height: 15px; + background: transparent url([[pix:t/down]]) no-repeat center top; + margin-top: 4px; +} .gradingform_guide.editor .addcriterion input, -.gradingform_guide.editor .addcomment input {background: transparent url([[pix:t/add]]) no-repeat;display:block;color:#555555;font-weight:bold;text-decoration:none;} +.gradingform_guide.editor .addcomment input { + background: transparent url([[pix:t/add]]) no-repeat; + display: block; + color: #555555; + font-weight: bold; + text-decoration: none; +} + .gradingform_guide.editor .addcriterion input, -.gradingform_guide.editor .addcomment input {background-position: 5px 8px;height:30px;line-height:29px;margin-bottom:14px;padding-left:20px;padding-right:10px;} +.gradingform_guide.editor .addcomment input { + background-position: 5px 8px; + height: 30px; + line-height: 29px; + margin-bottom: 14px; + padding-left: 20px; + padding-right: 10px; +} -.gradingform_guide .options .optionsheading {font-weight:bold;font-size:1.1em;padding-bottom:5px;} -.gradingform_guide .options .option {padding-bottom:2px;} -.gradingform_guide .options .option label {margin-left: 5px;} -.gradingform_guide .options .option .value {margin-left: 5px;font-weight:bold;} +.gradingform_guide .options .optionsheading { + font-weight: bold; + font-size: 1.1em; + padding-bottom: 5px; +} -.gradingform_guide .criterion .description.error {background:#FFDDDD;} +.gradingform_guide .options .option { + padding-bottom: 2px; +} + +.gradingform_guide .options .option label { + margin-left: 5px; +} + +.gradingform_guide .options .option .value { + margin-left: 5px; + font-weight: bold; +} + +.gradingform_guide .criterion .description.error { + background: #ffdddd; +} /* special classes for elements created by guideeditor.js */ -.gradingform_guide.editor .hiddenelement {display:none;} -.gradingform_guide.editor .pseudotablink {background-color:transparent;border:0 solid;height:1px;width:1px;color:transparent;padding:0;margin:0;position:relative;float:right;} +.gradingform_guide.editor .hiddenelement { + display: none; +} + +.gradingform_guide.editor .pseudotablink { + background-color: transparent; + border: 0 solid; + height: 1px; + width: 1px; + color: transparent; + padding: 0; + margin: 0; + position: relative; + float: right; +} + +.jsenabled .gradingform_guide .markingguidecomment { + cursor: pointer; +} -.jsenabled .gradingform_guide .markingguidecomment {cursor: pointer;} .jsenabled .gradingform_guide .markingguidecomment:before { content: url([[pix:t/add]]); - padding-right:2px; + padding-right: 2px; +} + +.gradingform_guide .commentheader { + font-weight: bold; + font-size: 1.1em; + padding-bottom: 5px; +} + +.jsenabled .gradingform_guide .criterionnamelabel { + display: none; +} + +.jsenabled .gradingform_guide .criterionshortname { + font-weight: bold; +} + +.gradingform_guide table { + width: 100%; } -.gradingform_guide .commentheader {font-weight:bold;font-size:1.1em;padding-bottom:5px;} -.jsenabled .gradingform_guide .criterionnamelabel {display: none;} -.jsenabled .gradingform_guide .criterionshortname {font-weight:bold;} -.gradingform_guide table {width: 100%} .gradingform_guide .descriptionreadonly { vertical-align: top; } -.gradingform_guide .criteriondescriptionmarkers {width: 300px;} + +.gradingform_guide .criteriondescriptionmarkers { + width: 300px; +} + .gradingform_guide .markingguideremark { margin: 0; width: 100%; -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; } -.gradingform_guide .criteriondescriptionscore {display: inline;} + +.gradingform_guide .criteriondescriptionscore { + display: inline; +} + .gradingform_guide .score label { display: block; } + .gradingform_guide .score input { margin: 0; width: auto; diff --git a/grade/grading/form/rubric/styles.css b/grade/grading/form/rubric/styles.css index fa5c6f2dec5..e6cf4ba4df2 100644 --- a/grade/grading/form/rubric/styles.css +++ b/grade/grading/form/rubric/styles.css @@ -45,84 +45,265 @@ */ -.gradingform_rubric_editform .status {font-weight:normal;text-transform:uppercase;font-size:60%;padding:0.25em;border:1px solid #EEE;} -.gradingform_rubric_editform .status.ready {background-color:#e7f1c3;border-color:#AAEEAA;} -.gradingform_rubric_editform .status.draft {background-color:#f3f2aa;border-color:#EEEE22;} +.gradingform_rubric_editform .status { + font-weight: normal; + text-transform: uppercase; + font-size: 60%; + padding: 0.25em; + border: 1px solid #eee; +} -.gradingform_rubric {overflow:auto;padding-bottom:1.5em;max-width:720px;position:relative;} +.gradingform_rubric_editform .status.ready { + background-color: #e7f1c3; + border-color: #aaeeaa; +} + +.gradingform_rubric_editform .status.draft { + background-color: #f3f2aa; + border-color: #eeee22; +} + +.gradingform_rubric { + overflow: auto; + padding-bottom: 1.5em; + max-width: 720px; + position: relative; +} .gradingform_rubric.editor .criterion .controls, .gradingform_rubric .criterion .description, .gradingform_rubric .criterion .levels, .gradingform_rubric.editor .criterion .addlevel, .gradingform_rubric .criterion .remark, -.gradingform_rubric .criterion .levels .level {vertical-align: top;} +.gradingform_rubric .criterion .levels .level { + vertical-align: top; +} .gradingform_rubric.editor .criterion .controls, .gradingform_rubric .criterion .description, .gradingform_rubric.editor .criterion .addlevel, .gradingform_rubric .criterion .remark, -.gradingform_rubric .criterion .levels .level {padding:3px;} +.gradingform_rubric .criterion .levels .level { + padding: 3px; +} -.gradingform_rubric .criteria {height:100%;} -.gradingform_rubric .criterion {border:1px solid #DDD;overflow: hidden;} -.gradingform_rubric .criterion.even {background:#F0F0F0;} +.gradingform_rubric .criteria { + height: 100%; +} -.gradingform_rubric .criterion .description {width:150px;font-weight:bold;} +.gradingform_rubric .criterion { + border: 1px solid #ddd; + overflow: hidden; +} + +.gradingform_rubric .criterion.even { + background: #f0f0f0; +} + +.gradingform_rubric .criterion .description { + width: 150px; + font-weight: bold; +} + +.gradingform_rubric .criterion .levels table { + width: 100%; + height: 100%; +} -.gradingform_rubric .criterion .levels table {width:100%;height:100%;} .gradingform_rubric .criterion .levels, .gradingform_rubric .criterion .levels table, -.gradingform_rubric .criterion .levels table tbody {padding:0;margin:0;} -.gradingform_rubric .criterion .levels .level {border-left:1px solid #DDD;max-width:150px;} -.gradingform_rubric .criterion .levels .level .level-wrapper {position:relative;} -.gradingform_rubric .criterion .levels .level.last {border-right:1px solid #DDD;} +.gradingform_rubric .criterion .levels table tbody { + padding: 0; + margin: 0; +} -.gradingform_rubric .plainvalue.empty {font-style: italic; color: #AAA;} +.gradingform_rubric .criterion .levels .level { + border-left: 1px solid #ddd; + max-width: 150px; +} -.gradingform_rubric.editor .criterion .levels .level .delete {position:absolute;right:0;} -.gradingform_rubric .criterion .levels .level .score {font-style:italic;color:#575;font-weight: bold;margin-top:5px;white-space:nowrap;} -.gradingform_rubric .criterion .levels .level .score .scorevalue {padding-right:5px;} +.gradingform_rubric .criterion .levels .level .level-wrapper { + position: relative; +} + +.gradingform_rubric .criterion .levels .level.last { + border-right: 1px solid #ddd; +} + +.gradingform_rubric .plainvalue.empty { + font-style: italic; + color: #aaa; +} + +.gradingform_rubric.editor .criterion .levels .level .delete { + position: absolute; + right: 0; +} + +.gradingform_rubric .criterion .levels .level .score { + font-style: italic; + color: #575; + font-weight: bold; + margin-top: 5px; + white-space: nowrap; +} + +.gradingform_rubric .criterion .levels .level .score .scorevalue { + padding-right: 5px; +} /* Make invisible the buttons 'Move up' for the first criterion and 'Move down' for the last, because those buttons will make no change */ .gradingform_rubric.editor .criterion.first .controls .moveup input, -.gradingform_rubric.editor .criterion.last .controls .movedown input {display:none;} +.gradingform_rubric.editor .criterion.last .controls .movedown input { + display: none; +} /* evaluation */ -.gradingform_rubric .criterion .levels .level.currentchecked {background:#fff0f0;} -.gradingform_rubric .criterion .levels .level.checked {background:#d0ffd0;border:1px solid #555;} -.gradingform_rubric.evaluate .criterion .levels .level:hover {background:#30ff30;} +.gradingform_rubric .criterion .levels .level.currentchecked { + background: #fff0f0; +} + +.gradingform_rubric .criterion .levels .level.checked { + background: #d0ffd0; + border: 1px solid #555; +} + +.gradingform_rubric.evaluate .criterion .levels .level:hover { + background: #30ff30; +} /* replace buttons with images */ .gradingform_rubric.editor .delete input, .gradingform_rubric.editor .duplicate input, .gradingform_rubric.editor .moveup input, -.gradingform_rubric.editor .movedown input{text-indent: -1000em;cursor:pointer;border:none;} -.gradingform_rubric.editor .criterion .controls .delete input {width:12px;height:12px;background: transparent url([[pix:t/delete]]) no-repeat center top; margin: .3em .3em 0 .3em;} -.gradingform_rubric.editor .criterion .controls .duplicate input {width:12px;height:12px;background: transparent url([[pix:t/copy]]) no-repeat center top; margin: .3em .3em 0 .3em;} -.gradingform_rubric.editor .levels .level .delete input {width:12px;height:16px;background: transparent url([[pix:t/delete]]) no-repeat center center; } -.gradingform_rubric.editor .moveup input {width:12px;height:12px;background: transparent url([[pix:t/up]]) no-repeat center top; margin: .3em .3em 0 .3em; } -.gradingform_rubric.editor .movedown input {width:12px;height:12px;background: transparent url([[pix:t/down]]) no-repeat center top; margin: .3em .3em 0 .3em; } +.gradingform_rubric.editor .movedown input { + text-indent: -1000em; + cursor: pointer; + border: none; +} + +.gradingform_rubric.editor .criterion .controls .delete input { + width: 12px; + height: 12px; + background: transparent url([[pix:t/delete]]) no-repeat center top; + margin: .3em .3em 0 .3em; +} + +.gradingform_rubric.editor .criterion .controls .duplicate input { + width: 12px; + height: 12px; + background: transparent url([[pix:t/copy]]) no-repeat center top; + margin: .3em .3em 0 .3em; +} + +.gradingform_rubric.editor .levels .level .delete input { + width: 12px; + height: 16px; + background: transparent url([[pix:t/delete]]) no-repeat center center; +} + +.gradingform_rubric.editor .moveup input { + width: 12px; + height: 12px; + background: transparent url([[pix:t/up]]) no-repeat center top; + margin: .3em .3em 0 .3em; +} + +.gradingform_rubric.editor .movedown input { + width: 12px; + height: 12px; + background: transparent url([[pix:t/down]]) no-repeat center top; + margin: .3em .3em 0 .3em; +} .gradingform_rubric.editor .addcriterion input, -.gradingform_rubric.editor .addlevel input {background: transparent url([[pix:t/add]]) no-repeat top left ;display:block;color:#555555;font-weight:bold;text-decoration:none;} -.gradingform_rubric.editor .addcriterion input {background-position: 5px 8px;height:30px;line-height:29px;margin-bottom:14px;padding-left:20px;padding-right:10px;} -.gradingform_rubric.editor .addlevel input {background-position: 5px 5px;height:25px;line-height:24px;margin-bottom:45px;padding-left:18px;padding-right:8px;} +.gradingform_rubric.editor .addlevel input { + background: transparent url([[pix:t/add]]) no-repeat top left; + display: block; + color: #555555; + font-weight: bold; + text-decoration: none; +} -.gradingform_rubric .options .optionsheading {font-weight:bold;font-size:1.1em;padding-bottom:5px;} -.gradingform_rubric .options .option {padding-bottom:2px;} -.gradingform_rubric .options .option label {margin-left: 5px;} -.gradingform_rubric .options .option .value {margin-left: 5px;font-weight:bold;} +.gradingform_rubric.editor .addcriterion input { + background-position: 5px 8px; + height: 30px; + line-height: 29px; + margin-bottom: 14px; + padding-left: 20px; + padding-right: 10px; +} + +.gradingform_rubric.editor .addlevel input { + background-position: 5px 5px; + height: 25px; + line-height: 24px; + margin-bottom: 45px; + padding-left: 18px; + padding-right: 8px; +} + +.gradingform_rubric .options .optionsheading { + font-weight: bold; + font-size: 1.1em; + padding-bottom: 5px; +} + +.gradingform_rubric .options .option { + padding-bottom: 2px; +} + +.gradingform_rubric .options .option label { + margin-left: 5px; +} + +.gradingform_rubric .options .option .value { + margin-left: 5px; + font-weight: bold; +} + +.gradingform_rubric .criterion .levels.error { + border: 1px solid red; +} -.gradingform_rubric .criterion .levels.error { border:1px solid red;} .gradingform_rubric .criterion .description.error, .gradingform_rubric .criterion .levels .level .definition.error, -.gradingform_rubric .criterion .levels .level .score.error {background:#FFDDDD;} +.gradingform_rubric .criterion .levels .level .score.error { + background: #ffdddd; +} -.gradingform_rubric-regrade {padding:10px;background:#FFDDDD;border:1px solid #F00;margin-bottom:10px;} -.gradingform_rubric-restored {padding:10px;background:#FFFFDD;border:1px solid #FF0;margin-bottom:10px;} -.gradingform_rubric-error {color:red;font-weight:bold;} +.gradingform_rubric-regrade { + padding: 10px; + background: #ffdddd; + border: 1px solid #f00; + margin-bottom: 10px; +} + +.gradingform_rubric-restored { + padding: 10px; + background: #ffffdd; + border: 1px solid #ff0; + margin-bottom: 10px; +} + +.gradingform_rubric-error { + color: red; + font-weight: bold; +} /* special classes for elements created by rubriceditor.js */ -.gradingform_rubric.editor .hiddenelement {display:none;} -.gradingform_rubric.editor .pseudotablink {background-color:transparent;border:0 solid;height:1px;width:1px;color:transparent;padding:0;margin:0;position:relative;float:right;} \ No newline at end of file +.gradingform_rubric.editor .hiddenelement { + display: none; +} + +.gradingform_rubric.editor .pseudotablink { + background-color: transparent; + border: 0 solid; + height: 1px; + width: 1px; + color: transparent; + padding: 0; + margin: 0; + position: relative; + float: right; +} \ No newline at end of file diff --git a/grade/report/grader/styles.css b/grade/report/grader/styles.css index 6a1afe89a39..8f79305a91d 100644 --- a/grade/report/grader/styles.css +++ b/grade/report/grader/styles.css @@ -11,6 +11,7 @@ .path-grade-report-grader .gradeparent .grader-information-tooltip { min-width: 200px; } + .path-grade-report-grader .gradeparent .graderreportoverlay { background-color: white; width: auto; @@ -58,6 +59,7 @@ .path-grade-report-grader .gradeparent .floater { display: none; } + .path-grade-report-grader .gradeparent .floating { display: block; } @@ -89,6 +91,7 @@ white-space: normal; vertical-align: top; } + .path-grade-report-grader .gradeparent .user.cell .userpicture { margin: 0 4px; border: none; @@ -132,26 +135,33 @@ padding-top: 0; padding-bottom: 0; } + .path-grade-report-grader .gradeparent .sorticon { margin-left: 3px; } + .path-grade-report-grader .gradeparent .gradevalue { display: inline-block; } + .path-grade-report-grader span.gradepass { color: #298721; } + .path-grade-report-grader span.gradefail { color: #890d0d; } + .path-grade-report-grader .gradeparent tr:nth-child(n) td.overridden:nth-child(n) { /* Made very specific to override the default stripped style of the table. */ background-color: #efd9a4; } + .path-grade-report-grader .gradeparent tr:nth-child(n) td.ajaxoverridden:nth-child(n) { /* Made very specific to override the default stripped style of the table. */ background-color: #ffe3a0; } + .path-grade-report-grader .gradeparent .excludedfloater { font-weight: bold; color: red; @@ -163,6 +173,7 @@ .path-grade-report-grader .gradeparent .controls { background-color: #f3ead8; } + .path-grade-report-grader .gradeparent .category { text-align: left; } @@ -174,6 +185,7 @@ margin: 0; padding: 0; } + .path-grade-report-grader .gradeparent .text { border: 1px solid #666; width: auto; @@ -181,6 +193,7 @@ padding: 0; text-align: center; } + .path-grade-report-grader .gradeparent .quickfeedback { border: 1px dashed #000; width: auto; @@ -190,10 +203,10 @@ } .path-grade-report-grader .yui3-overlay { - border: 0; - background: none; - background-color: inherit; - min-width: 200px; + border: 0; + background: none; + background-color: inherit; + min-width: 200px; } .path-grade-report-grader .yui3-overlay { diff --git a/grade/report/history/styles.css b/grade/report/history/styles.css index 16971ab67ab..8cf3d41ed96 100644 --- a/grade/report/history/styles.css +++ b/grade/report/history/styles.css @@ -11,21 +11,24 @@ /* User Selector */ .yui3-gradereport_history_usp-hidden { - display:none; + display: none; } .gradereport_history_usp .usp-content { position: relative; } + .gradereport_history_usp .usp-ajax-content { overflow: auto; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } + .gradereport_history_usp .usp-ajax-content, .gradereport_history_usp .usp-loading-lightbox { height: 375px; } + .gradereport_history_usp .usp-loading-lightbox { background-color: #fff; opacity: .5; @@ -35,6 +38,7 @@ top: 0; left: 0; } + .gradereport_history_usp .usp-loading-lightbox img { margin-top: 100px; opacity: 1; @@ -43,48 +47,60 @@ .gradereport_history_usp .usp-search { text-align: center; } + .gradereport_history_usp .usp-user { width: 100%; text-align: left; border-top: 1px solid #eee; } + .gradereport_history_usp .usp-user:nth-child(odd) { background-color: #f9f9f9; } + .gradereport_history_usp .usp-first-added { border-top: 1px solid #bbb; } + .gradereport_history_usp .usp-checkbox { text-align: center; float: left; padding: 11px 6px 0 6px; } + .gradereport_history_usp .usp-checkbox input[type=checkbox] { margin: 0; } + .gradereport_history_usp .usp-picture { margin: 6px 3px 0 3px; float: left; } -.gradereport_history_usp .usp-userpicture{ + +.gradereport_history_usp .usp-userpicture { cursor: pointer; } + .gradereport_history_usp .usp-user .details { margin-left: 67px; padding: 3px 6px 0 6px; word-wrap: break-word; } + .gradereport_history_usp .usp-user .details label { margin: 0; } + .gradereport_history_usp .usp-more-results { padding: 5px; border-top: 1px solid #bbb; } + .gradereport_history_usp .usp-finish { padding-top: 1em; text-align: center; } + .gradereport_history_usp .usp-finish input { margin: 0; } diff --git a/grade/report/singleview/styles.css b/grade/report/singleview/styles.css index e2ce3173077..7fecfb6f35f 100644 --- a/grade/report/singleview/styles.css +++ b/grade/report/singleview/styles.css @@ -1,5 +1,5 @@ .path-grade-report-singleview div.reporttable { - text-align: center; + text-align: center; } .path-grade-report-singleview div.groupselector, @@ -10,21 +10,21 @@ clear: both; } -.path-grade-report-singleview div.singleselect+div.singleselect select, +.path-grade-report-singleview div.singleselect + div.singleselect select, .path-grade-report-singleview div.groupselector select { margin-right: 0px; } .path-grade-report-singleview div.reporttable div.singleselect form div { - text-align: center; + text-align: center; } .path-grade-report-singleview div.reporttable table.reporttable { - margin: 0 auto 15px auto; + margin: 0 auto 15px auto; } .path-grade-report-singleview div.reporttable form div { - text-align: center; + text-align: center; } .path-grade-report-singleview .singleview_buttons { @@ -32,20 +32,22 @@ } .path-grade-report-singleview div.reporttable h2 { - text-align: center; + text-align: center; } .path-grade-report-singleview input[name^="finalgrade"] { width: 50px; } + .path-grade-report-singleview .reporttable tbody th, .path-grade-report-singleview .reporttable tbody td.range { - white-space: nowrap; + white-space: nowrap; } + .path-grade-report-singleview .reporttable tbody th > * { - display: inline-block; - vertical-align: middle; - margin: 0 2px; + display: inline-block; + vertical-align: middle; + margin: 0 2px; } .path-grade-report-singleview .itemnav { @@ -53,44 +55,48 @@ display: inline; padding-bottom: 0.5em; } + .path-grade-report-singleview itemnav.previtem { - float:left; + float: left; } + .path-grade-report-singleview div.nextitem { - float:right; + float: right; } + .path-grade-report-singleview .reporttable { width: 100%; } + .path-grade-report-singleview .reporttable th { text-align: left; } .path-grade-report-singleview div.reporttable form div.singleview_bulk { - display: inline-block; - text-align: left; - margin-bottom: 1em; + display: inline-block; + text-align: left; + margin-bottom: 1em; } .path-grade-report-singleview .singleview_bulk div > *, .path-grade-report-singleview .singleview_bulk fieldset > * { - display: inline-block; - vertical-align: middle; - margin: 0; + display: inline-block; + vertical-align: middle; + margin: 0; } .path-grade-report-singleview .singleselect select, .path-grade-report-singleview div.reporttable form .singleview_bulk select, .path-grade-report-singleview div.reporttable form .singleview_bulk input { - margin-left: 10px; - margin-right: 10px; + margin-left: 10px; + margin-right: 10px; } .path-grade-report-singleview .singleview_bulk > fieldset { - display: block; + display: block; } .path-grade-report-singleview div.reporttable form .singleview_bulk > div.enable { - margin-bottom: 0.5em; - text-align: left; + margin-bottom: 0.5em; + text-align: left; } diff --git a/grade/report/user/styles.css b/grade/report/user/styles.css index 8fdc9a261f5..fc336a0a9e7 100644 --- a/grade/report/user/styles.css +++ b/grade/report/user/styles.css @@ -2,6 +2,7 @@ float: right; margin-bottom: 5px; } + .path-grade-report-user #graded_users_selector .singleselect label { display: inline-block; } @@ -10,34 +11,42 @@ width: 100%; border: 1px solid; } + .path-grade-report-user .user-grade thead th { vertical-align: bottom; } + .path-grade-report-user .user-grade th { - text-align:left; + text-align: left; } + .path-grade-report-user .user-grade td { min-width: 4.5em; vertical-align: top; } + .path-grade-report-user .user-grade .b1l { padding: 0; - width:24px; + width: 24px; min-width: 24px; } + .path-grade-report-user .user-grade tbody .column-itemname { padding-left: 0; - padding-right: 8px + padding-right: 8px; } + .path-grade-report-user .user-grade .column-itemname.item, .path-grade-report-user .user-grade .gradeitemdescription { font-weight: normal; padding-left: 24px; } + .path-grade-report-user .user-grade .column-itemname.baggt, .path-grade-report-user .user-grade .column-itemname.baggb { padding-left: 24px; } + .path-grade-report-user .user-grade .baggt, .path-grade-report-user .user-grade .baggb { font-weight: bold; diff --git a/lib/editor/atto/plugins/emoticon/styles.css b/lib/editor/atto/plugins/emoticon/styles.css index 1bb687ea1af..3a6bdc04443 100644 --- a/lib/editor/atto/plugins/emoticon/styles.css +++ b/lib/editor/atto/plugins/emoticon/styles.css @@ -4,10 +4,12 @@ display: table; width: 100%; } + .atto_emoticon_map li { display: table-row; white-space: nowrap; } + .atto_emoticon_map li div { display: table-cell; padding: 0 1em; diff --git a/lib/editor/atto/plugins/equation/styles.css b/lib/editor/atto/plugins/equation/styles.css index fa15e0d7202..932f203f77f 100644 --- a/lib/editor/atto/plugins/equation/styles.css +++ b/lib/editor/atto/plugins/equation/styles.css @@ -2,7 +2,9 @@ border: none; } -.atto_equation_library .yui3-tab-selected .yui3-tab-label, .yui3-skin-sam #atto_equation_library .yui3-tab-selected .yui3-tab-label:focus, .yui3-skin-sam #atto_equation_library .yui3-tab-selected .yui3-tab-label:hover { +.atto_equation_library .yui3-tab-selected .yui3-tab-label, +.yui3-skin-sam #atto_equation_library .yui3-tab-selected .yui3-tab-label:focus, +.yui3-skin-sam #atto_equation_library .yui3-tab-selected .yui3-tab-label:hover { background: none; color: black; border-top-left-radius: 4px; diff --git a/lib/editor/atto/plugins/image/styles.css b/lib/editor/atto/plugins/image/styles.css index 95a6b9769fd..40eda838201 100644 --- a/lib/editor/atto/plugins/image/styles.css +++ b/lib/editor/atto/plugins/image/styles.css @@ -4,6 +4,7 @@ margin-left: auto; margin-right: auto; } + .atto_image_preview_box { max-height: 200px; margin-bottom: 1em; @@ -17,13 +18,16 @@ .atto_image_size { display: inline-block; } + .atto_image_size input[type=checkbox] { margin-left: 1em; margin-right: 1em; } + .atto_image_size input[type=text] { width: 3em; } + .atto_image_size label { display: inline-block; } diff --git a/lib/editor/atto/plugins/managefiles/styles.css b/lib/editor/atto/plugins/managefiles/styles.css index 34dc4125430..8224d11d6dd 100644 --- a/lib/editor/atto/plugins/managefiles/styles.css +++ b/lib/editor/atto/plugins/managefiles/styles.css @@ -1,12 +1,15 @@ #atto_managefiles_manageform #id_deletefileshdr { display: none; } + #atto_managefiles_manageform.has-unused-files #id_deletefileshdr { display: block; } + #atto_managefiles_manageform #id_missingfileshdr { display: none; } + #atto_managefiles_manageform.has-missing-files #id_missingfileshdr { display: block; } diff --git a/lib/editor/atto/plugins/table/styles.css b/lib/editor/atto/plugins/table/styles.css index 5d2c7f6a88a..ac4e854c260 100644 --- a/lib/editor/atto/plugins/table/styles.css +++ b/lib/editor/atto/plugins/table/styles.css @@ -1,11 +1,12 @@ div.editor_atto_content td, div.editor_atto_content th, div.editor_atto_content caption { - border: 1px dashed #BBB; + border: 1px dashed #bbb; position: relative; min-width: 30px; height: 13px; } + div.editor_atto_content caption { height: auto; } @@ -34,6 +35,7 @@ div.availablecolors label input[type="radio"] { margin-left: -15px; } -input[name="bordersize"], input[name="width"] { +input[name="bordersize"], +input[name="width"] { margin-right: 0.3em; } diff --git a/lib/editor/atto/styles.css b/lib/editor/atto/styles.css index 25db23098af..ece7d7c86b0 100644 --- a/lib/editor/atto/styles.css +++ b/lib/editor/atto/styles.css @@ -2,6 +2,7 @@ background-color: white; color: #333; } + .editor_atto_content { padding: 4px; resize: vertical; @@ -12,7 +13,7 @@ .editor_atto + textarea { width: 100%; padding: 0; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: none; } @@ -24,9 +25,9 @@ div.editor_atto_toolbar { display: block; - background: #F2F2F2; + background: #f2f2f2; min-height: 35px; - border: 1px solid #BBB; + border: 1px solid #bbb; width: 100%; padding: 0 0 9px 0; } @@ -38,10 +39,10 @@ div.editor_atto_toolbar button { margin: 0; border-radius: 0; cursor: pointer; - } +} div.editor_atto_toolbar button + button { - border-left: 1px solid #CCC; + border-left: 1px solid #ccc; } div.editor_atto_toolbar button[disabled] { @@ -51,19 +52,20 @@ div.editor_atto_toolbar button[disabled] { } .editor_atto_toolbar button:hover { - background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%); + background-image: radial-gradient(ellipse at center, #ffffff 60%, #dfdfdf 100%); background-color: #ebebeb; } -.editor_atto_toolbar button:active, .editor_atto_toolbar button.highlight { - background-image: radial-gradient(ellipse at center, #ffffff 40%,#dfdfdf 100%); +.editor_atto_toolbar button:active, +.editor_atto_toolbar button.highlight { + background-image: radial-gradient(ellipse at center, #ffffff 40%, #dfdfdf 100%); background-color: #dfdfdf; } /* Make firefox button sizes match other browsers */ div.editor_atto_toolbar button::-moz-focus-inner { - border:0; - padding:0; + border: 0; + padding: 0; } div.editor_atto_toolbar button img.icon { @@ -77,15 +79,16 @@ div.editor_atto_toolbar button img.icon { div.editor_atto_toolbar div.atto_group { display: inline-block; - border: 1px solid #CCC; - border-bottom: 1px solid #B3B3B3; + border: 1px solid #ccc; + border-bottom: 1px solid #b3b3b3; border-radius: 4px; margin: 9px 0 0 9px; - background: #FFF; + background: #fff; } .editor_atto_content img { - resize: both; overflow: auto; + resize: both; + overflow: auto; } .atto_hasmenu { @@ -108,19 +111,21 @@ div.editor_atto_toolbar div.atto_group { margin: 4px; } - .atto_form label.sameline { display: inline-block; min-width: 10em; } + .atto_form textarea.fullwidth, .atto_form input.fullwidth { width: 100%; } + .atto_form { padding-left: 30px; padding-right: 30px; } + .atto_form label { display: block; margin: 0 0 5px 0; @@ -133,9 +138,11 @@ div.editor_atto_toolbar div.atto_group { display: none; cursor: pointer; } + .atto_control img { background-color: white; } + div.editor_atto_content:focus .atto_control, div.editor_atto_content:hover .atto_control { display: block; @@ -147,9 +154,9 @@ div.editor_atto_content:hover .atto_control { /* Get broken images back in firefox */ .editor_atto_content img:-moz-broken { - -moz-force-broken-image-icon:1; - min-width:24px; - min-height:24px; + -moz-force-broken-image-icon: 1; + min-width: 24px; + min-height: 24px; } /* Atto menu styling */ @@ -159,13 +166,14 @@ div.editor_atto_content:hover .atto_control { } .editor_atto_menu .dropdown-menu > li > a { - padding: 3px 14px; + padding: 3px 14px; } .editor_atto_menu .open ul.dropdown-menu { padding-top: 5px; padding-bottom: 5px; } + .editor_atto_wrap { position: relative; } @@ -173,29 +181,34 @@ div.editor_atto_content:hover .atto_control { .editor_atto_wrap textarea { direction: ltr; } -.editor_atto_notification{ + +.editor_atto_notification { position: absolute; bottom: -1.5em; height: 1.5em; margin-top: 1px; cursor: pointer; } + .editor_atto_notification .atto_info, .editor_atto_notification .atto_warning { display: inline-block; - background-color: #F2F2F2; + background-color: #f2f2f2; padding: 0.5em; padding-left: 1em; padding-right: 1em; border-bottom-left-radius: 1em; border-bottom-right-radius: 1em; } + .editor_atto_notification .atto_info { - background-color: #F2F2F2; + background-color: #f2f2f2; } + .editor_atto_notification .atto_warning { - background-color: #FFD700; + background-color: #ffd700; } + .editor_atto_toolbar, .editor_atto_content_wrap, .editor_atto + textarea { diff --git a/lib/editor/tinymce/plugins/managefiles/styles.css b/lib/editor/tinymce/plugins/managefiles/styles.css index 35e80d33632..a19afb3f17b 100644 --- a/lib/editor/tinymce/plugins/managefiles/styles.css +++ b/lib/editor/tinymce/plugins/managefiles/styles.css @@ -1,7 +1,23 @@ -#tinymce_managefiles_manageform.hasunusedfiles .managefilesstatus {display:none;} -#tinymce_managefiles_manageform.hasmissingfiles .managefilesstatus {display:inline;} +#tinymce_managefiles_manageform.hasunusedfiles .managefilesstatus { + display: none; +} -#tinymce_managefiles_manageform #id_deletefiles {display:none;} -#tinymce_managefiles_manageform.hasunusedfiles #id_deletefiles {display:block;} -#tinymce_managefiles_manageform #id_deletefiles .felement.fcheckbox {display:none;} -#tinymce_managefiles_manageform #id_deletefiles .felement.fcheckbox.isunused {display:block;} +#tinymce_managefiles_manageform.hasmissingfiles .managefilesstatus { + display: inline; +} + +#tinymce_managefiles_manageform #id_deletefiles { + display: none; +} + +#tinymce_managefiles_manageform.hasunusedfiles #id_deletefiles { + display: block; +} + +#tinymce_managefiles_manageform #id_deletefiles .felement.fcheckbox { + display: none; +} + +#tinymce_managefiles_manageform #id_deletefiles .felement.fcheckbox.isunused { + display: block; +} diff --git a/lib/editor/tinymce/plugins/moodleimage/tinymce/css/image.css b/lib/editor/tinymce/plugins/moodleimage/tinymce/css/image.css index 2701045028d..50871710055 100644 --- a/lib/editor/tinymce/plugins/moodleimage/tinymce/css/image.css +++ b/lib/editor/tinymce/plugins/moodleimage/tinymce/css/image.css @@ -1,22 +1,88 @@ -#src_list, #over_list, #out_list {width:280px;} -.mceActionPanel {margin-top:7px;} -.moodlebutton { - font-size: 1.5em; - font-weight:bold; - padding: 3px 3px 3px 1.5em; - border:1px solid #ccc; - text-decoration:none; - background: url(search.png) .2em .3em no-repeat; +#src_list, +#over_list, +#out_list { + width: 280px; +} + +.mceActionPanel { + margin-top: 7px; +} + +.moodlebutton { + font-size: 1.5em; + font-weight: bold; + padding: 3px 3px 3px 1.5em; + border: 1px solid #ccc; + text-decoration: none; + background: url(search.png) .2em .3em no-repeat; +} + +.moodlebutton:hover { + background: #ccc; +} + +.alignPreview { + border: 1px solid #000; + width: 140px; + height: 140px; + overflow: hidden; + padding: 5px; +} + +.checkbox { + border: 0; +} + +.panel_wrapper div.current { + height: 305px; +} + +#prev { + margin: 0; + border: 1px solid #000; + width: 428px; + height: 180px; + overflow: auto; +} + +#align, +#classlist { + width: 150px; +} + +#width, +#height { + vertical-align: middle; + width: 50px; + text-align: center; +} + +#vspace, +#hspace, +#border { + vertical-align: middle; + width: 30px; + text-align: center; +} + +#class_list { + width: 180px; +} + +input { + width: 280px; +} + +#constrain, +#onmousemovecheck { + width: auto; +} + +#id, +#title, +#dir, +#lang, +#usemap, +#longdesc { + width: 200px; } -.moodlebutton:hover {background: #ccc} -.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;} -.checkbox {border:0;} -.panel_wrapper div.current {height:305px;} -#prev {margin:0; border:1px solid #000; width:428px; height:180px; overflow:auto;} -#align, #classlist {width:150px;} -#width, #height {vertical-align:middle; width:50px; text-align:center;} -#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;} -#class_list {width:180px;} -input {width: 280px;} -#constrain, #onmousemovecheck {width:auto;} -#id, #title, #dir, #lang, #usemap, #longdesc {width:200px;} diff --git a/lib/editor/tinymce/plugins/moodlemedia/tinymce/css/media.css b/lib/editor/tinymce/plugins/moodlemedia/tinymce/css/media.css index d0a7daf839b..894dca96465 100644 --- a/lib/editor/tinymce/plugins/moodlemedia/tinymce/css/media.css +++ b/lib/editor/tinymce/plugins/moodlemedia/tinymce/css/media.css @@ -1,28 +1,139 @@ -#id, #name, #hspace, #vspace, #class_name, #align { width: 100px } +#id, +#name, +#hspace, +#vspace, +#class_name, +#align { + width: 100px; +} + .moodlebutton { font-size: 1.5em; - font-weight:bold; + font-weight: bold; padding: 3px 3px 3px 1.5em; - border:1px solid #ccc; - text-decoration:none; + border: 1px solid #ccc; + text-decoration: none; background: url(search.png) .2em .3em no-repeat; } -.moodlebutton:hover {background: #ccc} -#hspace, #vspace { width: 50px } -#flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode { width: 100px } -#flash_base, #flash_flashvars { width: 240px } -#width, #height { width: 40px } -#src, #media_type { width: 250px } -#class { width: 120px } -#prev {margin: 0; border: 1px solid black; width: 430px; height: 330px; overflow: hidden } -.panel_wrapper div.current { height: 410px} -.panel_wrapper {border-top-style: solid} -.panel_wrapper {border-top-width: 1px} -.panel_wrapper {border-top-color: rgb(145, 155, 156)} -#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none } -.mceAddSelectValue { background-color: #DDDDDD } -#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px } -#wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume { width: 70px } -#rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks { width: 70px } -#shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle { width: 90px } -#qt_qtsrc { width: 200px } + +.moodlebutton:hover { + background: #ccc; +} + +#hspace, +#vspace { + width: 50px; +} + +#flash_quality, +#flash_align, +#flash_scale, +#flash_salign, +#flash_wmode { + width: 100px; +} + +#flash_base, +#flash_flashvars { + width: 240px; +} + +#width, +#height { + width: 40px; +} + +#src, +#media_type { + width: 250px; +} + +#class { + width: 120px; +} + +#prev { + margin: 0; + border: 1px solid black; + width: 430px; + height: 330px; + overflow: hidden; +} + +.panel_wrapper div.current { + height: 410px; +} + +.panel_wrapper { + border-top-style: solid; +} + +.panel_wrapper { + border-top-width: 1px; +} + +.panel_wrapper { + border-top-color: rgb(145, 155, 156); +} + +#flash_options, +#shockwave_options, +#qt_options, +#wmp_options, +#rmp_options { + display: none; +} + +.mceAddSelectValue { + background-color: #dddddd; +} + +#qt_starttime, +#qt_endtime, +#qt_fov, +#qt_href, +#qt_moveid, +#qt_moviename, +#qt_node, +#qt_pan, +#qt_qtsrc, +#qt_qtsrcchokespeed, +#qt_target, +#qt_tilt, +#qt_urlsubstituten, +#qt_volume { + width: 70px; +} + +#wmp_balance, +#wmp_baseurl, +#wmp_captioningid, +#wmp_currentmarker, +#wmp_currentposition, +#wmp_defaultframe, +#wmp_playcount, +#wmp_rate, +#wmp_uimode, +#wmp_volume { + width: 70px; +} + +#rmp_console, +#rmp_numloop, +#rmp_controls, +#rmp_scriptcallbacks { + width: 70px; +} + +#shockwave_swvolume, +#shockwave_swframe, +#shockwave_swurl, +#shockwave_swstretchvalign, +#shockwave_swstretchhalign, +#shockwave_swstretchstyle { + width: 90px; +} + +#qt_qtsrc { + width: 200px; +} diff --git a/lib/editor/tinymce/plugins/spellchecker/tinymce/css/content.css b/lib/editor/tinymce/plugins/spellchecker/tinymce/css/content.css index 24efa02170c..e2239292d0c 100644 --- a/lib/editor/tinymce/plugins/spellchecker/tinymce/css/content.css +++ b/lib/editor/tinymce/plugins/spellchecker/tinymce/css/content.css @@ -1 +1,4 @@ -.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} +.mceItemHiddenSpellWord { + background: url(../img/wline.gif) repeat-x bottom left; + cursor: default; +} diff --git a/mod/assign/feedback/editpdf/styles.css b/mod/assign/feedback/editpdf/styles.css index 5f4659ebc67..47f858332b3 100644 --- a/mod/assign/feedback/editpdf/styles.css +++ b/mod/assign/feedback/editpdf/styles.css @@ -5,6 +5,7 @@ .assignfeedback_editpdf_widget .toolbar li { list-style-type: none; } + .assignfeedback_editpdf_widget .drawingcanvas { position: relative; min-width: 817px; @@ -14,17 +15,21 @@ background-color: #ccc; margin-left: auto; margin-right: auto; - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 20px rgba(0,0,0,.2); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 20px rgba(0, 0, 0, .2); } + .assignfeedback_editpdf_widget .moodle-dialogue-bd .drawingregion { position: inherit; } + .assignfeedback_editpdf_widget .drawingregion[data-currenttool=drag] .drawingcanvas { cursor: move; } + .assignfeedback_editpdf_widget .drawingregion[data-currenttool=select] .drawingcanvas { cursor: pointer; } + .assignfeedback_editpdf_widget .drawingregion { border: 1px solid #ccc; left: 1em; @@ -58,27 +63,32 @@ padding: 0px; } -.assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges.haschanges{ +.assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges.haschanges { display: inline-block; } + .assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges { display: none; position: absolute; left: 20px; top: 60px; } + .yui3-colourpicker-hidden, .yui3-commentsearch-hidden, .yui3-commentmenu-hidden { display: none; } + .assignfeedback_editpdf_widget .pageheader button img { padding-top: 3px; vertical-align: top; } + .assignfeedback_editpdf_widget .pageheader button:active { background-color: #ccc; } + .assignfeedback_editpdf_widget .pageheader select, .assignfeedback_editpdf_widget .pageheader button { background: none; @@ -91,6 +101,7 @@ vertical-align: top; cursor: pointer; } + .assignfeedback_editpdf_widget .pageheader select { vertical-align: top; -webkit-appearance: none; @@ -98,6 +109,7 @@ background-color: #fff; padding: 0px 10px; } + .assignfeedback_editpdf_widget .pageheader select::-ms-expand { display: none; } @@ -113,6 +125,7 @@ .assignfeedback_editpdf_widget .pageheader .navigation button { border-right: 1px solid #cccccc; } + .assignfeedback_editpdf_widget .pageheader .toolbar, .assignfeedback_editpdf_widget .pageheader .navigation-search, .assignfeedback_editpdf_widget .pageheader .navigation { @@ -131,16 +144,20 @@ overflow-y: auto; padding: 1em; } + .assignfeedback_editpdf_commentsearch ul li pre { background-color: #efefef; } + .assignfeedback_editpdf_commentsearch ul li pre:hover { background-color: #ddd; } + .assignfeedback_editpdf_commentsearch ul li { line-height: 0px; margin: 2px; } + .assignfeedback_editpdf_commentsearch a pre { font-family: helvetica; margin: 0px; @@ -157,9 +174,11 @@ -moz-box-shadow: none; -webkit-box-shadow: none; } + .assignfeedback_editpdf_widget .toolbar { float: right; } + .assignfeedback_editpdf_widget .navigation, .assignfeedback_editpdf_widget .navigation-search, .assignfeedback_editpdf_widget .toolbar { @@ -173,6 +192,7 @@ .assignfeedback_editpdf_commentmenu li.quicklist_comment { width: 150px; } + .assignfeedback_editpdf_commentmenu li.quicklist_comment a { white-space: nowrap; display: inline-block; @@ -180,9 +200,11 @@ overflow: hidden; text-overflow: ellipsis; } + .assignfeedback_editpdf_commentmenu a.delete_quicklist_comment { float: right; } + .assignfeedback_editpdf_dropdown button { border: 0px; background: none; @@ -190,9 +212,11 @@ border-radius: 0px; border-top: 1px solid #cccccc; } + .assignfeedback_editpdf_dropdown li:first-child button { border-top: 0px; } + .moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_dropdown .moodle-dialogue-wrap { box-shadow: none; -moz-box-shadow: none; @@ -202,38 +226,47 @@ margin-top: 0px; border-radius: 4px; } + .moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_dropdown .moodle-dialogue-bd { padding: 0px; } + .assignfeedback_editpdf_dropdown .moodle-dialogue-hd, .assignfeedback_editpdf_dropdown .moodle-dialogue-ft { display: none; } + .assignfeedback_editpdf_menu li hr { margin: 0px; } + .assignfeedback_editpdf_menu li a { text-decoration: none; color: #555; margin: 10px; } + .assignfeedback_editpdf_menu li:hover, .assignfeedback_editpdf_menu li:hover a, .assignfeedback_editpdf_menu li a:hover { background-color: #ebebeb; - background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%); + background-image: radial-gradient(ellipse at center, #ffffff 60%, #dfdfdf 100%); } + ul.assignfeedback_editpdf_menu { margin: 0px; } + .assignfeedback_editpdf_menu li { list-style-type: none; margin: 0px; border-radius: 4px; } + .assignfeedback_editpdf_menu li img { height: auto; } + .assignfeedback_editpdf_menu li button { margin: 0px; background: none; @@ -241,13 +274,13 @@ ul.assignfeedback_editpdf_menu { .assignfeedback_editpdf_widget .pageheader button:hover { background-color: #ebebeb; - background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%); + background-image: radial-gradient(ellipse at center, #ffffff 60%, #dfdfdf 100%); } .assignfeedback_editpdf_widget .pageheader button.assignfeedback_editpdf_selectedbutton:hover, .assignfeedback_editpdf_widget .pageheader button.assignfeedback_editpdf_selectedbutton { background-color: #dfdfdf; - background-image: radial-gradient(ellipse at center, #ffffff 40%,#dfdfdf 100%); + background-image: radial-gradient(ellipse at center, #ffffff 40%, #dfdfdf 100%); } .assignfeedback_editpdf_widget .commentdrawable img { @@ -286,28 +319,34 @@ ul.assignfeedback_editpdf_menu { .assignfeedback_editpdf_widget .drawingcanvas .loading .progressbarlabel { text-align: center; } + .hideoverflow { overflow: hidden; position: relative; } + @media (max-width: 960px) { .assignfeedback_editpdf_widget .pageheader { height: 104px; } + .assignfeedback_editpdf_widget .drawingregion { top: 104px; } } + @media (max-width: 767px) { .assignfeedback_editpdf_widget .drawingregion { position: relative; margin-bottom: 1em; top: 0; } + .assignfeedback_editpdf_widget .pageheader { height: auto; } } + @media (max-width: 480px) { .assignfeedback_editpdf_widget .pageheader { padding-left: 5px; diff --git a/mod/assign/styles.css b/mod/assign/styles.css index 66031d41ffe..7a7db06e79d 100644 --- a/mod/assign/styles.css +++ b/mod/assign/styles.css @@ -80,7 +80,6 @@ background-color: #cfefcf; } - .path-mod-assign td.submissionlocked, .path-mod-assign div.submissionlocked { color: black; @@ -173,7 +172,7 @@ } .path-mod-assign div.gradingtable tr .quickgrademodified { - background-color: #FFCC99; + background-color: #ffcc99; } .path-mod-assign td.submissioneditable { @@ -242,11 +241,13 @@ } .path-mod-assign.jsenabled .mod-assign-history-link-open { - padding: 0 5px 0 20px; background: url([[pix:t/expanded]]) 2px center no-repeat; + padding: 0 5px 0 20px; + background: url([[pix:t/expanded]]) 2px center no-repeat; } .path-mod-assign.jsenabled .mod-assign-history-link-closed { - padding: 0 5px 0 20px; background: url([[pix:t/collapsed]]) 2px center no-repeat; + padding: 0 5px 0 20px; + background: url([[pix:t/collapsed]]) 2px center no-repeat; } /*rtl:raw: @@ -290,6 +291,7 @@ .path-mod-assign .editsubmissionform input[name="submissionstatement"] { vertical-align: top; } + .path-mod-assign .editsubmissionform label[for="id_submissionstatement"] { display: inline-block; } @@ -313,6 +315,7 @@ .path-mod-assign [data-region="user-selector"] [data-action="next-user"] { font-size: 26px; } + .path-mod-assign [data-region="user-selector"] [data-action="next-user"] { margin-left: -10px; } @@ -332,6 +335,7 @@ .path-mod-assign [data-region="user-selector"] .form-autocomplete-suggestions { text-align: left; } + .path-mod-assign [data-region="user-selector"] .form-autocomplete-suggestions { margin-left: 48px; } @@ -439,8 +443,8 @@ width: auto; box-sizing: border-box; -webkit-transition: right 0.5s, left 0.5s; - -moz-transition: right 0.5s, left 0.5s; - transition: right 0.5s, left 0.5s; + -moz-transition: right 0.5s, left 0.5s; + transition: right 0.5s, left 0.5s; } .path-mod-assign [data-region="review-panel"].grade-panel-collapsed { @@ -499,13 +503,14 @@ .path-mod-assign [data-region="review-panel"] .pageheader { border-right: 1px solid #ddd; } + .path-mod-assign [data-region="review-panel"] + [data-region="grade-panel"] [data-region="grade"] { margin-left: auto; margin-right: auto; max-width: 100%; -webkit-transition: max-width 0.5s; - -moz-transition: max-width 0.5s; - transition: max-width 0.5s; + -moz-transition: max-width 0.5s; + transition: max-width 0.5s; } .path-mod-assign [data-region="review-panel"] .drawingregion { @@ -518,15 +523,15 @@ left: calc(30px - 70%); right: calc(100% - 30px); -webkit-transition: right 0.5s, left 0.5s; - -moz-transition: right 0.5s, left 0.5s; - transition: right 0.5s, left 0.5s; + -moz-transition: right 0.5s, left 0.5s; + transition: right 0.5s, left 0.5s; } .path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-content"] { visibility: hidden; -webkit-transition: visibility 0s 0.5s; - -moz-transition: visibility 0s 0.5s; - transition: visibility 0s 0.5s; + -moz-transition: visibility 0s 0.5s; + transition: visibility 0s 0.5s; } .path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-toggle"] .expand-icon { @@ -544,8 +549,8 @@ width: calc(100% - 30px); overflow: auto; -webkit-transition: width 0.5s, right 0.5s, left 0.5s; - -moz-transition: width 0.5s, right 0.5s, left 0.5s; - transition: width 0.5s, right 0.5s, left 0.5s; + -moz-transition: width 0.5s, right 0.5s, left 0.5s; + transition: width 0.5s, right 0.5s, left 0.5s; } .path-mod-assign [data-region="review-panel"].collapsed + [data-region="grade-panel"] [data-region="grade"], @@ -568,8 +573,8 @@ padding: 15px; padding-top: 0px; -webkit-transition: width 0.5s, right 0.5s, left 0.5s; - -moz-transition: width 0.5s, right 0.5s, left 0.5s; - transition: width 0.5s, right 0.5s, left 0.5s; + -moz-transition: width 0.5s, right 0.5s, left 0.5s; + transition: width 0.5s, right 0.5s, left 0.5s; } .path-mod-assign [data-region="grade-panel"].collapsed { @@ -577,8 +582,8 @@ right: calc(30px - 100%); visibility: hidden; -webkit-transition: right 0.5s, left 0.5s, visibility 0s 0.5s; - -moz-transition: right 0.5s, left 0.5s, visibility 0s 0.5s; - transition: right 0.5s, left 0.5s, visibility 0s 0.5s; + -moz-transition: right 0.5s, left 0.5s, visibility 0s 0.5s; + transition: right 0.5s, left 0.5s, visibility 0s 0.5s; } .path-mod-assign [data-region="grade-panel"].fullwidth { @@ -649,11 +654,12 @@ .path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_ftext, .path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_f, .path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_feditor, -.path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_ffilemanager { +.path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_ffilemanager { background-color: #fff; border: 1px solid #ddd; margin-bottom: 20px; } + .path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_ftext .fitemtitle, .path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_f .fitemtitle, .path-mod-assign [data-region="grade-panel"] .mform .fitem.fitem_feditor .fitemtitle, @@ -675,7 +681,7 @@ .path-mod-assign #page-content [data-region="grade-panel"] .mform:not(.unresponsive) .fitem.fitem_feditor .fitemtitle, .path-mod-assign #page-content [data-region="grade-panel"] .mform:not(.unresponsive) .fitem.fitem_ffilemanager .fitemtitle { border-bottom: 1px solid #ddd; - box-shadow: 0 1px 1px rgba(0,0,0,0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); padding: 6px 10px 3px; box-sizing: border-box; } @@ -685,6 +691,7 @@ margin-right: 2px; margin-top: -2px; } + .path-mod-assign #page-content [data-region="grade-panel"] .popout [data-region="popout-button"] img { margin-left: -6px; margin-right: -6px; @@ -952,13 +959,16 @@ padding: 1em; text-align: center; } + .path-mod-assign [data-region="submissions-list"] { text-align: inherit; } + .path-mod-assign [data-region="submissions-list"] label.radio input { margin-top: 4px; min-width: inherit; } + .path-mod-assign [data-region="overlay"] { display: none; z-index: 100; @@ -978,16 +988,20 @@ .path-mod-assign.pagelayout-embedded { overflow: auto; } + .path-mod-assign [data-region="assignment-info"] { border-bottom: 1px solid #ddd; padding-bottom: 5px; } + .path-mod-assign .page-context-header .page-header-headings { margin-top: 13px; } + .path-mod-assign [data-region="grade-actions-panel"] [data-region="grade-actions"] .collapse-buttons { display: none; } + .path-mod-assign [data-region="grading-navigation-panel"], .path-mod-assign [data-region="review-panel"], .path-mod-assign [data-region="grade-panel"], @@ -1002,31 +1016,38 @@ height: auto; margin-bottom: 1em; } + .path-mod-assign [data-region="grade-panel"].collapsed { visibility: visible; } + .path-mod-assign [data-region="grading-navigation"] { padding: 0; text-align: center; } + .path-mod-assign [data-region="grade-panel"] { margin-bottom: 2em; } + .path-mod-assign [data-region="grade-panel"] [data-region="popout-button"] { display: none; } + .path-mod-assign [data-region="review-panel"] { position: relative; max-height: 2000px; -webkit-transition: max-height 0.25s linear; - -moz-transition: max-height 0.25s linear; - transition: max-height 0.25s linear; + -moz-transition: max-height 0.25s linear; + transition: max-height 0.25s linear; } + .path-mod-assign [data-region="review-panel"] .pageheader { border-right: none; padding-right: 20px; padding-left: 40px; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] { display: block; height: 20px; @@ -1041,6 +1062,7 @@ background-color: #fff; z-index: 99999; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .expand-icon, .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .collapse-icon { width: 100%; @@ -1048,16 +1070,20 @@ text-align: center; line-height: 30px; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .ltr-icon, .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .rtl-icon { height: 100%; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .ltr-icon { float: left; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .rtl-icon { float: right; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .expand-icon .toggle-text, .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .collapse-icon .toggle-text { line-height: 20px; @@ -1065,46 +1091,55 @@ opacity: 1; height: auto; -webkit-transition: visibility 0s 0.25s, opacity 0s 0.25s; - -moz-transition: visibility 0s 0.25s, opacity 0s 0.25s; - transition: visibility 0s 0.25s, opacity 0s 0.25s; + -moz-transition: visibility 0s 0.25s, opacity 0s 0.25s; + transition: visibility 0s 0.25s, opacity 0s 0.25s; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .expand-icon .rtl-icon { display: none; } + .path-mod-assign [data-region="review-panel"].collapsed { max-height: 20px; top: 0; left: 0; overflow: hidden; -webkit-transition: max-height 0.25s linear; - -moz-transition: max-height 0.25s linear; - transition: max-height 0.25s linear; + -moz-transition: max-height 0.25s linear; + transition: max-height 0.25s linear; } + .path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-toggle"] { width: 100%; border-radius: 0 0 0 0; -webkit-transition: all 0s 0.25s; - -moz-transition: all 0s 0.25s; - transition: all 0s 0.25s; + -moz-transition: all 0s 0.25s; + transition: all 0s 0.25s; } + .path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-toggle"] img { height: 100%; } + .path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .collapse-icon { display: block; } + .path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-toggle"] .collapse-icon { display: none; } + .path-mod-assign.pagelayout-popup { overflow: inherit; } + .path-mod-assign [data-region="grading-navigation"] [data-region="user-info"] { text-align: left; width: auto; display: inline-block; margin: 0 auto; } + .path-mod-assign [data-region="user-selector"] .alignment { float: none; margin: 0 auto 10px; @@ -1120,6 +1155,7 @@ text-align: left; width: 100%; } + .path-mod-assign [data-region="grade-panel"] .mform .fitem .felement { margin-left: 0; width: 100%; @@ -1127,30 +1163,36 @@ padding-left: 0; padding-right: 0; } + .path-mod-assign [data-region="grade-panel"] .mform .fitem .fstatic:empty { display: none; } + .path-mod-assign [data-region="grade-panel"] .mform .fitem .fcheckbox > span, .path-mod-assign [data-region="grade-panel"] .mform .fitem .fradio > span, .path-mod-assign [data-region="grade-panel"] .mform .fitem .fgroup > span { margin-top: 4px; } + .path-mod-assign [data-region="grade-panel"] .mform .femptylabel .fitemtitle { display: inline-block; width: auto; margin-right: 8px; } + .path-mod-assign [data-region="grade-panel"] .mform .femptylabel .felement { display: inline-block; margin-top: 4px; padding-top: 5px; width: auto; } + .path-mod-assign [data-region="grade-panel"] .mform .fitem_fcheckbox .fitemtitle, .path-mod-assign [data-region="grade-panel"] .mform .fitem_fcheckbox .felement { display: inline-block; width: auto; } + .path-mod-assign [data-region="grade-panel"] .mform .fitem_fcheckbox .felement { padding: 6px; } diff --git a/mod/book/tool/exportimscp/imscp.css b/mod/book/tool/exportimscp/imscp.css index e4f2add8fd2..fd23398b88a 100644 --- a/mod/book/tool/exportimscp/imscp.css +++ b/mod/book/tool/exportimscp/imscp.css @@ -1,21 +1,26 @@ -body, table, td, th, li, p { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 1em; - line-height: 150%; - letter-spacing: 0.02em; +body, +table, +td, +th, +li, +p { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 1em; + line-height: 150%; + letter-spacing: 0.02em; } th { - font-weight: bold; + font-weight: bold; } a:link, a:visited { - text-decoration: none; + text-decoration: none; } a:hover { - text-decoration: underline; + text-decoration: underline; } h1.main, @@ -24,12 +29,12 @@ h3.main, h4.main, h5.main, h6.main { - font-weight: bold; + font-weight: bold; } h1#header { - color: #666666; - text-align: right; - padding-bottom: 0.2em; - border-bottom: solid 1px #666666; + color: #666666; + text-align: right; + padding-bottom: 0.2em; + border-bottom: solid 1px #666666; } diff --git a/mod/book/tool/print/print.css b/mod/book/tool/print/print.css index 9e73d5646f0..ab0c0ba90e0 100644 --- a/mod/book/tool/print/print.css +++ b/mod/book/tool/print/print.css @@ -7,10 +7,10 @@ font-weight: normal; text-decoration: none; } + #page-mod-book-print { margin-left: 50px; margin-right: 10px; - } #page-mod-book-print h1, @@ -50,15 +50,18 @@ #page-mod-book-print .book_toc_none { page-break-before: always; } + #page-mod-book-print .book_toc_none ul, #page-mod-book-print .book_toc_none ul ul { margin-left: 0px; padding-left: 0px; } + #page-mod-book-print .book_toc_none li { margin-top: 10px; list-style: none; } + #page-mod-book-print .book_toc_none li li { margin-top: 0px; list-style: none; @@ -67,14 +70,17 @@ #page-mod-book-print .book_toc_numbered { page-break-before: always; } + #page-mod-book-print .book_toc_numbered li { margin-top: 10px; list-style: none; } + #page-mod-book-print .book_toc_numbered li li { margin-top: 0px; list-style: none; } + #page-mod-book-print .book_toc_numbered ul, #page-mod-book-print .book_toc_numbered ul ul { margin-left: 0px; @@ -85,18 +91,22 @@ #page-mod-book-print .book_toc_bullets { page-break-before: always; } + #page-mod-book-print .book_toc_bullets li { margin-top: 10px; list-style: none; } + #page-mod-book-print .book_toc_bullets li li { margin-top: 0px; list-style: circle; } + #page-mod-book-print .book_toc_bullets ul { margin-left: 0px; padding-left: 0px; } + #page-mod-book-print .book_toc_bullets ul ul { margin-left: 20px; padding-left: 0px; @@ -106,18 +116,22 @@ #page-mod-book-print .book_toc_indented { page-break-before: always; } + #page-mod-book-print .book_toc_indented li { margin-top: 10px; list-style: none; } + #page-mod-book-print .book_toc_indented li li { margin-top: 0px; list-style: none; } + #page-mod-book-print .book_toc_indented ul { margin-left: 0px; padding-left: 0px; } + #page-mod-book-print .book_toc_indented ul ul { margin-left: 20px; padding-left: 0px; @@ -125,8 +139,8 @@ /* Exclude elements from printing. */ -@media print -{ + +@media print { .hidden-print { display: none !important; } diff --git a/mod/chat/gui_ajax/theme/bubble/chat.css b/mod/chat/gui_ajax/theme/bubble/chat.css index 32c6858c7c2..a848056a487 100644 --- a/mod/chat/gui_ajax/theme/bubble/chat.css +++ b/mod/chat/gui_ajax/theme/bubble/chat.css @@ -1,26 +1,80 @@ -.yui-skin-sam .yui-layout .yui-layout-hd {border:0;} -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-nohd {border:0;} -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {border:0;} -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-unit-right {background: white;} -.yui-skin-sam .yui-layout-unit-bottom {background: #F2F2F2;} -.yui-skin-sam .yui-layout-unit-right {background: #eef2f8;} -.yui-skin-sam .yui-layout-unit-center {background: white;} -.yui-skin-sam .yui-layout-unit-top {background: #FFE39D;} -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {background: transparent;} +.yui-skin-sam .yui-layout .yui-layout-hd { + border: 0; +} -#chat-messages {padding-top:15px;} +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-nohd { + border: 0; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd { + border: 0; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-unit-right { + background: white; +} + +.yui-skin-sam .yui-layout-unit-bottom { + background: #f2f2f2; +} + +.yui-skin-sam .yui-layout-unit-right { + background: #eef2f8; +} + +.yui-skin-sam .yui-layout-unit-center { + background: white; +} + +.yui-skin-sam .yui-layout-unit-top { + background: #ffe39d; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd { + background: transparent; +} + +#chat-messages { + padding-top: 15px; +} + +#input-message { + background: #ffffff url(input.png) repeat-x scroll 0 0; + padding: 0 9px; + border: 1px solid #999; + border-radius: 9px; + -moz-border-radius: 9px; +} -#input-message {background:#FFFFFF url(input.png) repeat-x scroll 0 0;padding:0 9px;border: 1px solid #999;border-radius: 9px;-moz-border-radius: 9px;} .mdl-chat-entry, -.mdl-chat-my-entry {clear:both;} +.mdl-chat-my-entry { + clear: both; +} -.mdl-chat-entry .chat-event {padding-bottom:15px;} +.mdl-chat-entry .chat-event { + padding-bottom: 15px; +} -.chat-message .chat-message-meta {padding-top:15px;padding-bottom:15px;} -.chat-message .chat-message-meta .user {white-space:nowrap;} -.chat-message .picture {vertical-align:middle;} -.chat-message .right {text-align:right;} -.chat-message .left {text-align:left;} +.chat-message .chat-message-meta { + padding-top: 15px; + padding-bottom: 15px; +} + +.chat-message .chat-message-meta .user { + white-space: nowrap; +} + +.chat-message .picture { + vertical-align: middle; +} + +.chat-message .right { + text-align: right; +} + +.chat-message .left { + text-align: left; +} /*rtl:ignore*/ .chat-message .right, .chat-message .left { @@ -29,8 +83,16 @@ #chat-input-area, #chat-input-area table.generaltable, -#chat-input-area table.generaltable td.cell {background: #92B3E8;border: 0; height:100%;} -#chat-userlist {background: #E3E8F0;height: 100%;} +#chat-input-area table.generaltable td.cell { + background: #92b3e8; + border: 0; + height: 100%; +} + +#chat-userlist { + background: #e3e8f0; + height: 100%; +} /** * The following CSS is a cut down version of PURE CSS SPEECH BUBBLES. @@ -53,36 +115,39 @@ Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher ------------------------------------------ */ .triangle-border { - position:relative; - padding:10px; - margin:1em 0 3em; - border:2px solid #5a8f00; - color:#333; - background:#fff; + position: relative; + padding: 10px; + margin: 1em 0 3em; + border: 2px solid #5a8f00; + color: #333; + background: #fff; /* css3 */ - -webkit-border-radius:10px; - -moz-border-radius:10px; - border-radius:10px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; /* moodle specific */ - margin-top:0px; + margin-top: 0px; /* end moodle specific */ } /* moodle specific */ + @media all and (max-device-width: 320px) { .triangle-border { - width:50%; + width: 50%; } } + @media all and (min-device-width: 321px) and (max-device-width: 640px) { .triangle-border { - width:60%; + width: 60%; } } + @media all and (min-device-width: 641px) { .triangle-border { - width:65%; + width: 65%; } } /* end moodle specific */ @@ -91,9 +156,9 @@ Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher ------------------------------------------ */ .triangle-border.left { - margin-left:30px; + margin-left: 30px; /* moodle specific */ - float:right; + float: right; /* end moodle specific */ } @@ -101,37 +166,37 @@ Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher ------------------------------------------ */ .triangle-border.right { - margin-right:30px; + margin-right: 30px; /* moodle specific */ - float:left; + float: left; /* end moodle specific */ } .triangle-border:before { - content:""; - position:absolute; - bottom:-20px; /* value = - border-top-width - border-bottom-width */ - left:40px; /* controls horizontal position */ - border-width:20px 20px 0; - border-style:solid; - border-color:#5a8f00 transparent; + content: ""; + position: absolute; + bottom: -20px; /* value = - border-top-width - border-bottom-width */ + left: 40px; /* controls horizontal position */ + border-width: 20px 20px 0; + border-style: solid; + border-color: #5a8f00 transparent; /* reduce the damage in FF3.0 */ - display:block; - width:0; + display: block; + width: 0; } /* creates the smaller triangle */ .triangle-border:after { - content:""; - position:absolute; - bottom:-13px; /* value = - border-top-width - border-bottom-width */ - left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */ - border-width:13px 13px 0; - border-style:solid; - border-color:#fff transparent; + content: ""; + position: absolute; + bottom: -13px; /* value = - border-top-width - border-bottom-width */ + left: 47px; /* value = (:before left) + (:before border-left) - (:after border-left) */ + border-width: 13px 13px 0; + border-style: solid; + border-color: #fff transparent; /* reduce the damage in FF3.0 */ - display:block; - width:0; + display: block; + width: 0; } /* Variant : left @@ -139,20 +204,20 @@ Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher /* creates the larger triangle */ .triangle-border.left:before { - top:7px; /* controls vertical position */ - bottom:auto; - left:-24px; /* value = - border-left-width - border-right-width */ - border-width:10px 24px 10px 0; - border-color:transparent #5a8f00; + top: 7px; /* controls vertical position */ + bottom: auto; + left: -24px; /* value = - border-left-width - border-right-width */ + border-width: 10px 24px 10px 0; + border-color: transparent #5a8f00; } /* creates the smaller triangle */ .triangle-border.left:after { - top:8px; /* value = (:before top) + (:before border-top) - (:after border-top) */ - bottom:auto; - left:-21px; /* value = - border-left-width - border-right-width */ - border-width:9px 21px 9px 0; - border-color:transparent #fff; + top: 8px; /* value = (:before top) + (:before border-top) - (:after border-top) */ + bottom: auto; + left: -21px; /* value = - border-left-width - border-right-width */ + border-width: 9px 21px 9px 0; + border-color: transparent #fff; } /* Variant : right @@ -160,20 +225,20 @@ Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher /* creates the larger triangle */ .triangle-border.right:before { - top:7px; /* controls vertical position */ - bottom:auto; - left:auto; - right:-24px; /* value = - border-left-width - border-right-width */ - border-width:10px 0 10px 24px; - border-color:transparent #5a8f00; + top: 7px; /* controls vertical position */ + bottom: auto; + left: auto; + right: -24px; /* value = - border-left-width - border-right-width */ + border-width: 10px 0 10px 24px; + border-color: transparent #5a8f00; } /* creates the smaller triangle */ .triangle-border.right:after { - top:8px; /* value = (:before top) + (:before border-top) - (:after border-top) */ - bottom:auto; - left:auto; - right:-21px; /* value = - border-left-width - border-right-width */ - border-width:9px 0 9px 21px; - border-color:transparent #fff; + top: 8px; /* value = (:before top) + (:before border-top) - (:after border-top) */ + bottom: auto; + left: auto; + right: -21px; /* value = - border-left-width - border-right-width */ + border-width: 9px 0 9px 21px; + border-color: transparent #fff; } diff --git a/mod/chat/gui_ajax/theme/compact/chat.css b/mod/chat/gui_ajax/theme/compact/chat.css index 79327e28605..adf458f9f32 100644 --- a/mod/chat/gui_ajax/theme/compact/chat.css +++ b/mod/chat/gui_ajax/theme/compact/chat.css @@ -1,15 +1,41 @@ -.yui-skin-sam .yui-layout .yui-layout-hd { border:0; } -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-nohd { border:0; } -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd { border:0; } -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-unit-right { background: white; } -.yui-skin-sam .yui-layout-unit-bottom { background: #F2F2F2; } -.yui-skin-sam .yui-layout-unit-right { background: #eef2f8; } -.yui-skin-sam .yui-layout-unit-center { background: white; } -.yui-skin-sam .yui-layout-unit-top { background: #FFE39D; } -.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd { background: transparent; } +.yui-skin-sam .yui-layout .yui-layout-hd { + border: 0; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-nohd { + border: 0; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd { + border: 0; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-unit-right { + background: white; +} + +.yui-skin-sam .yui-layout-unit-bottom { + background: #f2f2f2; +} + +.yui-skin-sam .yui-layout-unit-right { + background: #eef2f8; +} + +.yui-skin-sam .yui-layout-unit-center { + background: white; +} + +.yui-skin-sam .yui-layout-unit-top { + background: #ffe39d; +} + +.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd { + background: transparent; +} #input-message { - background:#FFFFFF url(input.png) repeat-x scroll 0 0; + background: #ffffff url(input.png) repeat-x scroll 0 0; border: 1px solid #999; } @@ -22,41 +48,50 @@ border-top-right-radius: 6px; } -.mdl-chat-entry , .mdl-chat-my-entry { +.mdl-chat-entry, +.mdl-chat-my-entry { margin: 1em auto; - border: 1px solid #938F5A; + border: 1px solid #938f5a; -moz-border-radius-bottomleft: 6px; -moz-border-radius-bottomright: 6px; - border-bottom-left-radius:6px; - border-bottom-right-radius:6px; + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; } -.mdl-chat-entry .chat-message .text{ - color:white; - background:#82b5ee; + +.mdl-chat-entry .chat-message .text { + color: white; + background: #82b5ee; } + .chat-message { padding: 3px; - border:1px solid #CCC; + border: 1px solid #ccc; -moz-border-radius-bottomleft: 6px; -moz-border-radius-bottomright: 6px; - border-bottom-left-radius:6px; - border-bottom-right-radius:6px; + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; } + .mdl-chat-my-entry .chat-message .meta { - background: #FFFEEB; + background: #fffeeb; border-bottom: 1px solid white; } -.mdl-chat-my-entry .chat-message .text{ - background: #F1F3CB; + +.mdl-chat-my-entry .chat-message .text { + background: #f1f3cb; } -#chat-input-area ,#chat-input-area table.generaltable, #chat-input-area table.generaltable td.cell { - background: #92B3E8; + +#chat-input-area, +#chat-input-area table.generaltable, +#chat-input-area table.generaltable td.cell { + background: #92b3e8; border: 0; margin: 0; padding: 2px; - height:100%; + height: 100%; } + #chat-userlist { - background: #E3E8F0; + background: #e3e8f0; height: 100%; } diff --git a/mod/chat/styles.css b/mod/chat/styles.css index 739b47d2056..154a7f5bca9 100644 --- a/mod/chat/styles.css +++ b/mod/chat/styles.css @@ -1,40 +1,114 @@ /** General Styles **/ .path-mod-chat .chat-event .picture, -.path-mod-chat .chat-message .picture {width:40px;} -.path-mod-chat .chat-event .text {text-align: left;} +.path-mod-chat .chat-message .picture { + width: 40px; +} + +.path-mod-chat .chat-event .text { + text-align: left; +} + .path-mod-chat #messages-list, -.path-mod-chat #users-list {list-style-type:none;padding:0;margin:0} -.path-mod-chat #chat-header {overflow: hidden;} -.path-mod-chat #chat-input-area table.generaltable td.cell {padding:1px;} +.path-mod-chat #users-list { + list-style-type: none; + padding: 0; + margin: 0; +} + +.path-mod-chat #chat-header { + overflow: hidden; +} + +.path-mod-chat #chat-input-area table.generaltable td.cell { + padding: 1px; +} /** shrink the text box so the theme link is always accessible */ + @media all and (max-device-width: 320px) { - .path-mod-chat #input-message {width: 150px;} + .path-mod-chat #input-message { + width: 150px; + } } + @media all and (min-device-width: 321px) and (max-device-width: 640px) { - .path-mod-chat #input-message {width: 175px;} + .path-mod-chat #input-message { + width: 175px; + } } /** styles for view.php **/ -#page-mod-chat-view .chatcurrentusers .chatuserdetails {vertical-align: middle;} +#page-mod-chat-view .chatcurrentusers .chatuserdetails { + vertical-align: middle; +} /** Styles for basic chat **/ -#page-mod-chat-gui_basic #participants ul {margin:0;padding:0;list-style-type:none;} -#page-mod-chat-gui_basic #participants ul li {list-style-type:none;display:inline;margin-right:10px;} -#page-mod-chat-gui_basic #participants ul li .userinfo {display:inline;} -#page-mod-chat-gui_basic #messages {padding:0;margin:0} -#page-mod-chat-gui_basic #messages dl {padding:0;margin:6px 0} -#page-mod-chat-gui_basic #messages dt {margin-left:0;margin-right:5px;padding:0;display:inline;} -#page-mod-chat-gui_basic #messages dd {padding:0;margin:0} +#page-mod-chat-gui_basic #participants ul { + margin: 0; + padding: 0; + list-style-type: none; +} + +#page-mod-chat-gui_basic #participants ul li { + list-style-type: none; + display: inline; + margin-right: 10px; +} + +#page-mod-chat-gui_basic #participants ul li .userinfo { + display: inline; +} + +#page-mod-chat-gui_basic #messages { + padding: 0; + margin: 0; +} + +#page-mod-chat-gui_basic #messages dl { + padding: 0; + margin: 6px 0; +} + +#page-mod-chat-gui_basic #messages dt { + margin-left: 0; + margin-right: 5px; + padding: 0; + display: inline; +} + +#page-mod-chat-gui_basic #messages dd { + padding: 0; + margin: 0; +} /** Styles for header **/ #page-mod-chat-gui_header_js-jsupdate .chat-event, -#page-mod-chat-gui_header_js-jsupdate .chat-message {width:100%;} +#page-mod-chat-gui_header_js-jsupdate .chat-message { + width: 100%; +} /** YUI Overrides **/ -.path-mod-chat .yui-layout-unit-top {background: #FFE39D;} -.path-mod-chat .yui-layout-unit-right {background: #FFD46B;} -.path-mod-chat .yui-layout-unit-bottom {background: #FFCB44;} -.path-mod-chat .yui-layout .yui-layout-hd {border:0;} -.path-mod-chat .yui-layout .yui-layout-unit div.yui-layout-bd {border:0;background: transparent;} -.path-mod-chat .yui-layout .yui-layout-unit div.yui-layout-unit-right {background: white;} +.path-mod-chat .yui-layout-unit-top { + background: #ffe39d; +} + +.path-mod-chat .yui-layout-unit-right { + background: #ffd46b; +} + +.path-mod-chat .yui-layout-unit-bottom { + background: #ffcb44; +} + +.path-mod-chat .yui-layout .yui-layout-hd { + border: 0; +} + +.path-mod-chat .yui-layout .yui-layout-unit div.yui-layout-bd { + border: 0; + background: transparent; +} + +.path-mod-chat .yui-layout .yui-layout-unit div.yui-layout-unit-right { + background: white; +} diff --git a/mod/choice/styles.css b/mod/choice/styles.css index 435d42544e6..bdc53dfbc94 100644 --- a/mod/choice/styles.css +++ b/mod/choice/styles.css @@ -1,153 +1,152 @@ .path-mod-choice .results { - border-collapse: separate; + border-collapse: separate; } .path-mod-choice .results .data { - vertical-align: top; - white-space: nowrap; + vertical-align: top; + white-space: nowrap; } .path-mod-choice .button { - text-align: center; + text-align: center; } .path-mod-choice .attemptcell { - width: 5px; - white-space: nowrap; + width: 5px; + white-space: nowrap; } .path-mod-choice .anonymous, - .path-mod-choice .names { - margin-left: auto; - margin-right: auto; - width: 100%; + margin-left: auto; + margin-right: auto; + width: 100%; } .path-mod-choice .downloadreport { - border-width: 0; - margin-left: 10%; + border-width: 0; + margin-left: 10%; } .path-mod-choice .choiceresponse { - width: 100%; + width: 100%; } .path-mod-choice .choiceresponse .picture { - width: 10px; - white-space: nowrap; + width: 10px; + white-space: nowrap; } .path-mod-choice .choiceresponse .fullname { - width: 100%; - white-space: nowrap; + width: 100%; + white-space: nowrap; } .path-mod-choice .responseheader { - width: 100%; - text-align: center; - margin-top: 10px; + width: 100%; + text-align: center; + margin-top: 10px; } .path-mod-choice .choices .option label { - vertical-align: top; + vertical-align: top; } .path-mod-choice .choices .option input { - vertical-align: middle; + vertical-align: middle; } .path-mod-choice .horizontal, .path-mod-choice .vertical { - margin-left: 10%; - margin-right: 10%; + margin-left: 10%; + margin-right: 10%; } .path-mod-choice .horizontal .choices .option { - padding-right: 20px; - display: inline-block; - white-space: normal; + padding-right: 20px; + display: inline-block; + white-space: normal; } .path-mod-choice .horizontal .choices .button { - margin-top: 10px; + margin-top: 10px; } .path-mod-choice ul.choices li { - list-style: none; + list-style: none; } .path-mod-choice .results { - text-align: center; + text-align: center; } .path-mod-choice .results.anonymous .graph.horizontal { - vertical-align: middle; - text-align: left; - width: 70%; + vertical-align: middle; + text-align: left; + width: 70%; } .path-mod-choice .results.anonymous .graph.vertical, .path-mod-choice .cell { - vertical-align: bottom; - text-align: center; + vertical-align: bottom; + text-align: center; } .path-mod-choice .results.names .header { - width: 10%; - white-space: normal; + width: 10%; + white-space: normal; } .path-mod-choice .results.names .cell { - vertical-align: top; - text-align: left; + vertical-align: top; + text-align: left; } .path-mod-choice .results.names .user, .path-mod-choice #yourselection { - padding: 5px; + padding: 5px; } .path-mod-choice .results.names .user .attemptaction, .path-mod-choice .results.names .user .image, .path-mod-choice .results.names .user .fullname { - float: left; + float: left; } .path-mod-choice .results.names .user .fullname { - padding-left: 5px; + padding-left: 5px; } .path-mod-choice .results .data.header { - width: 10%; + width: 10%; } .path-mod-choice .responseaction { - text-align: center; + text-align: center; } .path-mod-choice .results .option { - white-space: normal; + white-space: normal; } .path-mod-choice .response { - overflow: auto; + overflow: auto; } .path-mod-choice .results .option, .path-mod-choice .results .numberofuser, .path-mod-choice .results .percentage { - font-weight: bold; - font-size: 108%; + font-weight: bold; + font-size: 108%; } #page-mod-choice-report .downloadreport ul li { - list-style: none; - padding: 0 20px; - float: left; + list-style: none; + padding: 0 20px; + float: left; } .path-mod-choice .clearfloat { - float: none; - clear: both; + float: none; + clear: both; } diff --git a/mod/data/preset/imagegallery/csstemplate.css b/mod/data/preset/imagegallery/csstemplate.css index 284193283ca..3bc4d7d885a 100644 --- a/mod/data/preset/imagegallery/csstemplate.css +++ b/mod/data/preset/imagegallery/csstemplate.css @@ -1,42 +1,44 @@ /****** List View CSS ******/ #pictures { - width: 750px; + width: 750px; } .picture { - padding: 5px; - border-style: solid; - border-width: thin; - border-color: #779; - background-color: white; - - display:table-cell;display:inline-table;display:inline-block; + padding: 5px; + border-style: solid; + border-width: thin; + border-color: #779; + background-color: white; + display: table-cell; + display: inline-table; + display: inline-block; } .pictureframe { - padding: 5px; - - display:table-cell;display:inline-table;display:inline-block; + padding: 5px; + display: table-cell; + display: inline-table; + display: inline-block; } .picturediv { - display: inline; - max-width: 150px; - max-height: 200px; + display: inline; + max-width: 150px; + max-height: 200px; } .inline { - display: inline; + display: inline; } /***** Single View CSS *****/ .caption { - font-style: italic; + font-style: italic; } #singleimage img { - width: 700px; - height: auto; + width: 700px; + height: auto; } diff --git a/mod/data/styles.css b/mod/data/styles.css index e0b55ad5096..8916bbfd081 100644 --- a/mod/data/styles.css +++ b/mod/data/styles.css @@ -2,34 +2,57 @@ .path-mod-data .sortdefault, .path-mod-data .defaulttemplate, #page-mod-data-view .datapreferences, -#page-mod-data-preset .presetmapping{text-align:center;} +#page-mod-data-preset .presetmapping { + text-align: center; +} .path-mod-data-field .c0, -#page-mod-data-view #sortsearch .c0 {text-align: right;} -#page-mod-data-view .approve img.icon {width:34px;height:34px;} -#page-mod-data-view img.list_picture { - border:0px; +#page-mod-data-view #sortsearch .c0 { + text-align: right; } + +#page-mod-data-view .approve img.icon { + width: 34px; + height: 34px; +} + +#page-mod-data-view img.list_picture { + border: 0px; +} + #page-mod-data-view div.search_none { display: none; } + #page-mod-data-view div.search_inline, #page-mod-data-view form#latlongfieldbrowse { display: inline; } + #page-mod-data-view div#data_adv_form { - margin-left:auto; - margin-right:auto; + margin-left: auto; + margin-right: auto; } #page-mod-data-edit .basefieldinput { - width:300px; + width: 300px; } /** Styles for preset.php **/ -#page-mod-data-preset .presetmapping table {text-align: left;margin-left: auto;margin-right: auto;} -#page-mod-data-preset .overwritesettings {margin-bottom: 1em;} -#page-mod-data-preset table.presets {margin-left: auto;margin-right: auto;} +#page-mod-data-preset .presetmapping table { + text-align: left; + margin-left: auto; + margin-right: auto; +} + +#page-mod-data-preset .overwritesettings { + margin-bottom: 1em; +} + +#page-mod-data-preset table.presets { + margin-left: auto; + margin-right: auto; +} /** Styles for the search form **/ #page-mod-data-view .datapreferences label { @@ -38,49 +61,92 @@ /** Styles for field.php **/ .path-mod-data-field .fieldadd, -.path-mod-data-field .sortdefault {margin:1em 0;} +.path-mod-data-field .sortdefault { + margin: 1em 0; +} + .path-mod-data-field .fieldadd select, -.path-mod-data-field .sortdefault select {margin-left: 1em;} +.path-mod-data-field .sortdefault select { + margin-left: 1em; +} + .path-mod-data-field .fieldname, -.path-mod-data-field .fielddescription {width:300px;} +.path-mod-data-field .fielddescription { + width: 300px; +} + .path-mod-data-field textarea.optionstextarea { - width:300px; - height:150px; + width: 300px; + height: 150px; } + .path-mod-data-field input.textareafieldsize { - width:50px; + width: 50px; } + .path-mod-data-field input.picturefieldsize { - width:70px; + width: 70px; +} + +.path-mod-data .action-icon img.portfolio-add-icon { + margin-left: 0; } -.path-mod-data .action-icon img.portfolio-add-icon { margin-left: 0; } /** UI Usability Hacks **/ -#page-mod-data-export #notice span {padding:0 10px;} +#page-mod-data-export #notice span { + padding: 0 10px; +} /*rtl:ignore*/ -#page-mod-data-edit input[id*="url"] {text-align:left;direction:ltr;} +#page-mod-data-edit input[id*="url"] { + text-align: left; + direction: ltr; +} + +.mod-data-default-template td { + vertical-align: top; +} + +.mod-data-default-template .template-field { + text-align: right; +} + +.mod-data-default-template .template-token { + text-align: left; +} + +.mod-data-default-template .controls { + text-align: center; +} + +.mod-data-default-template searchcontrols { + text-align: right; +} + +.mod-data-default-template.notapproved { + background-color: #ffcccc; +} -.mod-data-default-template td {vertical-align:top;} -.mod-data-default-template .template-field {text-align:right;} -.mod-data-default-template .template-token {text-align:left;} -.mod-data-default-template .controls {text-align:center;} -.mod-data-default-template searchcontrols {text-align:right;} -.mod-data-default-template.notapproved {background-color:#FFCCCC;} #page-mod-data-templates td.save_template, #page-mod-data-templates .template_heading { - text-align:center; + text-align: center; +} + +#page-mod-data-templates #availabletags_wrapper { + max-width: 250px; } -#page-mod-data-templates #availabletags_wrapper {max-width:250px;} #page-mod-data-edit .req { cursor: help; } + #page-mod-data-edit .inline-req .req { position: absolute; } + #page-mod-data-edit .inline-req { text-align: left; } + #page-mod-data-edit .mod-data-input { margin-left: 10px; } diff --git a/mod/feedback/styles.css b/mod/feedback/styles.css index 4cb2aef6f57..245365e68b2 100644 --- a/mod/feedback/styles.css +++ b/mod/feedback/styles.css @@ -1,20 +1,20 @@ /* styles using by feedback */ .path-mod-feedback span.feedback_info { - font-weight:bold; + font-weight: bold; } .path-mod-feedback div.feedback_is_dependent { - background:#DDDDDD; + background: #dddddd; } .path-mod-feedback span.feedback_depend { - color:#ff0000; + color: #ff0000; } .path-mod-feedback hr.feedback_pagebreak { - height:4px; - color:#aaaaaa; - background-color:#aaaaaa; + height: 4px; + color: #aaaaaa; + background-color: #aaaaaa; border: 0; margin: 0; } @@ -31,8 +31,9 @@ height: 10px; } -.path-mod-feedback #analysis-form label { display: inline; } - +.path-mod-feedback #analysis-form label { + display: inline; +} .path-mod-feedback .templateslist td.cell.action, .path-mod-feedback .templateslist th.header.action { @@ -47,7 +48,7 @@ } .path-mod-feedback table.analysis tr:first-child th { - padding-top:10px; + padding-top: 10px; } .path-mod-feedback table.analysis tr:hover { @@ -56,7 +57,7 @@ .path-mod-feedback table.analysis td.singlevalue:before, .path-mod-feedback table.analysis td.optionname:before { - content:'- '; + content: '- '; } .path-mod-feedback table.analysis.itemtype_textarea td { @@ -64,7 +65,7 @@ } .path-mod-feedback table.analysis tr.isempty { - display:none; + display: none; } /* Responses list */ @@ -83,15 +84,18 @@ .path-mod-feedback .response_navigation { margin: .5em 0; } + .path-mod-feedback .response_navigation a { display: inline-block; } + .path-mod-feedback .response_navigation a.back_to_list { margin: auto; float: right; left: -50%; position: relative; } + .path-mod-feedback .response_navigation .prev_response:before { /*rtl:raw: content: ' ► '; @@ -99,6 +103,7 @@ /*rtl:remove*/ content: ' ◄ '; } + .path-mod-feedback .response_navigation .next_response:after { /*rtl:raw: content: ' ◄ '; @@ -106,9 +111,11 @@ /*rtl:remove*/ content: ' ► '; } + .path-mod-feedback .response_navigation .next_response { float: right; } + .path-mod-feedback .response_navigation .prev_response { float: left; } diff --git a/mod/forum/styles.css b/mod/forum/styles.css index 4383c9f2af8..6ab6f897ae7 100644 --- a/mod/forum/styles.css +++ b/mod/forum/styles.css @@ -25,77 +25,226 @@ * div.footer */ -.forumpost {display: block;position:relative;margin:0 0 1em 0;padding:0;border:1px solid #000;max-width:100%;} -.forumpost .row {width:100%;position:relative;} -.forumpost .row .left {float:left;width: 43px;overflow:hidden;} -.forumpost .row .left .grouppictures a {text-align:center;display:block;margin:6px 2px 0 2px;} -.forumpost .row .left .grouppicture {width:20px;height:20px;} +.forumpost { + display: block; + position: relative; + margin: 0 0 1em 0; + padding: 0; + border: 1px solid #000; + max-width: 100%; +} + +.forumpost .row { + width: 100%; + position: relative; +} + +.forumpost .row .left { + float: left; + width: 43px; + overflow: hidden; +} + +.forumpost .row .left .grouppictures a { + text-align: center; + display: block; + margin: 6px 2px 0 2px; +} + +.forumpost .row .left .grouppicture { + width: 20px; + height: 20px; +} + .forumpost .row .topic, .forumpost .row .content-mask, -.forumpost .row .options {margin-left:43px;} -.forumpost .picture img {margin:4px;} +.forumpost .row .options { + margin-left: 43px; +} + +.forumpost .picture img { + margin: 4px; +} + .forumpost .options .commands, .forumpost .content .attachments, .forumpost .options .footer, -.forumpost .options .link {text-align:right;} -.forumpost .options .forum-post-rating {float:left;} -.forumpost .content .posting {overflow:auto;max-width:100%;} -.forumpost .content .attachedimages img {max-width:100%;} -.forumpost .post-word-count { font-size: .85em; font-style: italic; } -.forumpost .shortenedpost .post-word-count { display: inline; padding: 0 .3em; } +.forumpost .options .link { + text-align: right; +} + +.forumpost .options .forum-post-rating { + float: left; +} + +.forumpost .content .posting { + overflow: auto; + max-width: 100%; +} + +.forumpost .content .attachedimages img { + max-width: 100%; +} + +.forumpost .post-word-count { + font-size: .85em; + font-style: italic; +} + +.forumpost .shortenedpost .post-word-count { + display: inline; + padding: 0 .3em; +} .path-mod-forum .forumolddiscuss, -#page-mod-forum-search .c0 {text-align:right;} +#page-mod-forum-search .c0 { + text-align: right; +} + .path-mod-forum .indent { margin-left: 3%; } -.path-mod-forum .forumheaderlist {width: 100%;border-width:1px;border-style:solid;border-collapse:separate;margin-top: 10px;} -.path-mod-forum .forumheaderlist td {border-width:1px 0px 0px 1px;border-style:solid;} -.path-mod-forum .forumheaderlist th.header.replies .iconsmall { margin: 0 .3em;} -.path-mod-forum .forumheaderlist .picture {width: 35px;} -.path-mod-forum .forumheaderlist .discussion .starter {vertical-align: middle;} -.path-mod-forum .forumheaderlist .discussion .pinned img {padding: 5px;} -.path-mod-forum .forumheaderlist .discussion .lastpost {white-space: nowrap;text-align: right;} + +.path-mod-forum .forumheaderlist { + width: 100%; + border-width: 1px; + border-style: solid; + border-collapse: separate; + margin-top: 10px; +} + +.path-mod-forum .forumheaderlist td { + border-width: 1px 0px 0px 1px; + border-style: solid; +} + +.path-mod-forum .forumheaderlist th.header.replies .iconsmall { + margin: 0 .3em; +} + +.path-mod-forum .forumheaderlist .picture { + width: 35px; +} + +.path-mod-forum .forumheaderlist .discussion .starter { + vertical-align: middle; +} + +.path-mod-forum .forumheaderlist .discussion .pinned img { + padding: 5px; +} + +.path-mod-forum .forumheaderlist .discussion .lastpost { + white-space: nowrap; + text-align: right; +} + .path-mod-forum .forumheaderlist .replies, -.path-mod-forum .forumheaderlist .discussion .author {white-space: nowrap;} +.path-mod-forum .forumheaderlist .discussion .author { + white-space: nowrap; +} + .path-mod-forum .forumheaderlist thead .discussionsubscription { text-align: center; } /** Styles for subscribers.php */ #page-mod-forum-subscribers .subscriberdiv, -#page-mod-forum-subscribers .subscribertable {width:100%;vertical-align:top;} -#page-mod-forum-subscribers .subscribertable tr td {vertical-align:top;} -#page-mod-forum-subscribers .subscribertable tr td.actions {width:16%;padding-top:3em;} -#page-mod-forum-subscribers .subscribertable tr td.actions .actionbutton {margin:0.3em 0;padding:0.5em 0;width:100%;} +#page-mod-forum-subscribers .subscribertable { + width: 100%; + vertical-align: top; +} + +#page-mod-forum-subscribers .subscribertable tr td { + vertical-align: top; +} + +#page-mod-forum-subscribers .subscribertable tr td.actions { + width: 16%; + padding-top: 3em; +} + +#page-mod-forum-subscribers .subscribertable tr td.actions .actionbutton { + margin: 0.3em 0; + padding: 0.5em 0; + width: 100%; +} + #page-mod-forum-subscribers .subscribertable tr td.existing, -#page-mod-forum-subscribers .subscribertable tr td.potential {width:42%;} +#page-mod-forum-subscribers .subscribertable tr td.potential { + width: 42%; +} /** Styles for discuss.php **/ -#page-mod-forum-discuss .discussioncontrols {width:100%;margin:5px;} -#page-mod-forum-discuss .discussioncontrols .controlscontainer {width:100%;float:right;} -#page-mod-forum-discuss .discussioncontrols .discussioncontrol {float:left;} -#page-mod-forum-discuss .discussioncontrol.exporttoportfolio {text-align:left;} -#page-mod-forum-discuss .discussioncontrol.displaymode {padding-right:10px;} -#page-mod-forum-discuss .discussioncontrol.movediscussion {padding-right:10px;} +#page-mod-forum-discuss .discussioncontrols { + width: 100%; + margin: 5px; +} + +#page-mod-forum-discuss .discussioncontrols .controlscontainer { + width: 100%; + float: right; +} + +#page-mod-forum-discuss .discussioncontrols .discussioncontrol { + float: left; +} + +#page-mod-forum-discuss .discussioncontrol.exporttoportfolio { + text-align: left; +} + +#page-mod-forum-discuss .discussioncontrol.displaymode { + padding-right: 10px; +} + +#page-mod-forum-discuss .discussioncontrol.movediscussion { + padding-right: 10px; +} /** Styles for view.php **/ -#page-mod-forum-view .forumaddnew {margin-bottom: 20px;} -#page-mod-forum-view .groupmenu {float: left;text-align:left;white-space: nowrap;} +#page-mod-forum-view .forumaddnew { + margin-bottom: 20px; +} + +#page-mod-forum-view .groupmenu { + float: left; + text-align: left; + white-space: nowrap; +} + #page-mod-forum-index .subscription, -#page-mod-forum-view .subscription {float: right;text-align:right;white-space: nowrap;margin: 5px 0;} +#page-mod-forum-view .subscription { + float: right; + text-align: right; + white-space: nowrap; + margin: 5px 0; +} /** Styles for search.php */ -#page-mod-forum-search .introcontent {padding: 15px;font-weight:bold;} +#page-mod-forum-search .introcontent { + padding: 15px; + font-weight: bold; +} #page-mod-forum-index .unread a:first-child, -#page-mod-forum-view .unread a:first-child {padding-right: 10px;} +#page-mod-forum-view .unread a:first-child { + padding-right: 10px; +} + #page-mod-forum-index .unread img, -#page-mod-forum-view .unread img {margin-left: 5px;} -#page-mod-forum-view .unread img {margin-left: 5px;} +#page-mod-forum-view .unread img { + margin-left: 5px; +} + +#page-mod-forum-view .unread img { + margin-left: 5px; +} /** Unknown Styles ??? */ -#email .unsubscribelink {margin-top:20px;} +#email .unsubscribelink { + margin-top: 20px; +} /* Forumpost unread -------------------------*/ @@ -103,10 +252,11 @@ .forumpost.unread .row.header, .path-course-view .unread, span.unread { - background-color: #FFD; + background-color: #ffd; } + .forumpost.unread .row.header { - border-bottom: 1px solid #DDD; + border-bottom: 1px solid #ddd; } /* Forumpost hash anchor target */ @@ -125,10 +275,12 @@ span.unread { .path-mod-forum .discussion-nav { margin: .5em 0; } + .path-mod-forum .discussion-nav ul { margin: 0; list-style: none; } + .path-mod-forum .discussion-nav .prev-discussion:before { /*rtl:raw: content: ' ► '; @@ -136,6 +288,7 @@ span.unread { /*rtl:remove*/ content: ' ◄ '; } + .path-mod-forum .discussion-nav .next-discussion:after { /*rtl:raw: content: ' ◄ '; @@ -143,9 +296,11 @@ span.unread { /*rtl:remove*/ content: ' ► '; } + .path-mod-forum .discussion-nav .next-discussion { float: right; } + .path-mod-forum .discussion-nav .prev-discussion { float: left; } diff --git a/mod/glossary/styles.css b/mod/glossary/styles.css index a8f77b1c437..4a2e711f8f2 100644 --- a/mod/glossary/styles.css +++ b/mod/glossary/styles.css @@ -1,42 +1,131 @@ /** General Styles **/ -.path-mod-glossary .glossarypost {width: 95%;border-collapse:separate;margin:0px auto;text-align: left;} -.path-mod-glossary .glossarypost.entrylist {border-width:0px;} -.path-mod-glossary .glossarypost.continuous .concept {display: inline;} -.path-mod-glossary .glossarypost .commands {width: 200px;white-space: nowrap;} -.path-mod-glossary .glossarypost td.picture {width: 35px;} -.path-mod-glossary .glossarypost .entrylowersection .aliases {text-align:center;} -.path-mod-glossary .glossarypost .entrylowersection .icons {text-align:right;padding-right: 5px;} -.path-mod-glossary .glossarypost .entrylowersection .ratings {text-align:right;padding-right: 5px;padding-bottom: 2px;} -.path-mod-glossary .glossarypost .glossary-hidden-note { margin: 0 .45em; } +.path-mod-glossary .glossarypost { + width: 95%; + border-collapse: separate; + margin: 0px auto; + text-align: left; +} -.path-mod-glossary .glossarydisplay {margin-left:auto;margin-right:auto;} -.path-mod-glossary .glossarydisplay .tabs {width: 100%;margin-bottom: 0px;} -.path-mod-glossary .glossarydisplay .tabs .side {border-style: none;border-width: 0px;width: auto;} -.path-mod-glossary .glossarydisplay .separator {width: 4px;} +.path-mod-glossary .glossarypost.entrylist { + border-width: 0px; +} -.path-mod-glossary table.glossarypopup {width: 95%;} -.path-mod-glossary .entrybox, /** Used in tabs.php **/ +.path-mod-glossary .glossarypost.continuous .concept { + display: inline; +} + +.path-mod-glossary .glossarypost .commands { + width: 200px; + white-space: nowrap; +} + +.path-mod-glossary .glossarypost td.picture { + width: 35px; +} + +.path-mod-glossary .glossarypost .entrylowersection .aliases { + text-align: center; +} + +.path-mod-glossary .glossarypost .entrylowersection .icons { + text-align: right; + padding-right: 5px; +} + +.path-mod-glossary .glossarypost .entrylowersection .ratings { + text-align: right; + padding-right: 5px; + padding-bottom: 2px; +} + +.path-mod-glossary .glossarypost .glossary-hidden-note { + margin: 0 .45em; +} + +.path-mod-glossary .glossarydisplay { + margin-left: auto; + margin-right: auto; +} + +.path-mod-glossary .glossarydisplay .tabs { + width: 100%; + margin-bottom: 0px; +} + +.path-mod-glossary .glossarydisplay .tabs .side { + border-style: none; + border-width: 0px; + width: auto; +} + +.path-mod-glossary .glossarydisplay .separator { + width: 4px; +} + +.path-mod-glossary table.glossarypopup { + width: 95%; +} + +.path-mod-glossary .entrybox, .path-mod-glossary table.glossaryapproval, -.path-mod-glossary .glossarypost .entrylowersection table{width: 100%;margin-bottom:0em;} +.path-mod-glossary .glossarypost .entrylowersection table { + width: 100%; + margin-bottom: 0em; +} -.glossary-activity-picture { float: left; } -.glossary-activity-content { margin-left: 40px; } +.glossary-activity-picture { + float: left; +} + +.glossary-activity-content { + margin-left: 40px; +} /** Page specific styles **/ -#page-mod-glossary-view .glossarycontrol {float: right;text-align:right;white-space: nowrap;margin: 5px 0;} +#page-mod-glossary-view .glossarycontrol { + float: right; + text-align: right; + white-space: nowrap; + margin: 5px 0; +} + #page-mod-glossary-view table.glossarycategoryheader, -#page-mod-glossary-import table.glossaryimportexport {margin-left:auto;margin-right:auto;} +#page-mod-glossary-import table.glossaryimportexport { + margin-left: auto; + margin-right: auto; +} -#page-mod-glossary-view table.glossarycategoryheader {margin-bottom:0em;} -#page-mod-glossary-view table.glossarycategoryheader th {padding:0px;} -#page-mod-glossary-view td.glossarysearchbox label {display: inline-block;} +#page-mod-glossary-view table.glossarycategoryheader { + margin-bottom: 0em; +} -#page-mod-glossary-showentry #page-content {min-width:600px;} +#page-mod-glossary-view table.glossarycategoryheader th { + padding: 0px; +} + +#page-mod-glossary-view td.glossarysearchbox label { + display: inline-block; +} + +#page-mod-glossary-showentry #page-content { + min-width: 600px; +} + +#page-mod-glossary-print .mod-glossary-entrylist .mod-glossary-entry { + vertical-align: top; +} -#page-mod-glossary-print .mod-glossary-entrylist .mod-glossary-entry { vertical-align: top; } #page-mod-glossary-print .displayprinticon, +#page-mod-glossary-print .displaydate { + text-align: right; + font-size: 0.75em; +} -#page-mod-glossary-print .displaydate {text-align: right; font-size: 0.75em;} -#page-mod-glossary-print .strong {font-weight: bold;} +#page-mod-glossary-print .strong { + font-weight: bold; +} -.path-mod-glossary .printicon {background: url([[pix:t/print]]) no-repeat scroll 2px center transparent; padding-left: 20px; } +.path-mod-glossary .printicon { + background: url([[pix:t/print]]) no-repeat scroll 2px center transparent; + padding-left: 20px; +} diff --git a/mod/imscp/styles.css b/mod/imscp/styles.css index 7f8b24a1e63..6ca5cee967d 100644 --- a/mod/imscp/styles.css +++ b/mod/imscp/styles.css @@ -1,26 +1,26 @@ /*** Modules: IMS CP ***/ #page-mod-imscp-view #imscp_nav { - text-align: center; - margin-bottom: 5px; - margin-top: 10px; + text-align: center; + margin-bottom: 5px; + margin-top: 10px; } #page-mod-imscp-view #imscp_toc .ygtv-highlight1 { - font-weight: bold; + font-weight: bold; } #page-mod-imscp-view .yui-layout-hd { - background-image: none; - background-color: #DDDDDD; + background-image: none; + background-color: #dddddd; } #page-mod-imscp-view .yui-layout-hd h2 { - color: black; + color: black; } .path-mod-imscp #imscp_child_list { - margin-left: 1em; - width: auto; - height: auto; + margin-left: 1em; + width: auto; + height: auto; } diff --git a/mod/lti/styles.css b/mod/lti/styles.css index 51d8b7e9225..5e59c3b1cca 100644 --- a/mod/lti/styles.css +++ b/mod/lti/styles.css @@ -1,29 +1,68 @@ -.path-mod-lti .ltiframe {position: relative;width: 100%;height: 100%;} +.path-mod-lti .ltiframe { + position: relative; + width: 100%; + height: 100%; +} /** General Styles **/ .path-mod-lti .userpicture, .path-mod-lti .picture.user, -.path-mod-lti .picture.teacher {width:35px;height: 35px;vertical-align:top;} +.path-mod-lti .picture.teacher { + width: 35px; + height: 35px; + vertical-align: top; +} + .path-mod-lti .feedback .files, .path-mod-lti .feedback .grade, .path-mod-lti .feedback .outcome, -.path-mod-lti .feedback .finalgrade {float: right;} -.path-mod-lti .feedback .disabledfeedback {width: 500px;height: 250px;} -.path-mod-lti .feedback .from {float: left;} -.path-mod-lti .files img {margin-right: 4px;} -.path-mod-lti .files a {white-space:nowrap;} -.path-mod-lti .late {color: red;} -.path-mod-lti .message {text-align: center;} +.path-mod-lti .feedback .finalgrade { + float: right; +} + +.path-mod-lti .feedback .disabledfeedback { + width: 500px; + height: 250px; +} + +.path-mod-lti .feedback .from { + float: left; +} + +.path-mod-lti .files img { + margin-right: 4px; +} + +.path-mod-lti .files a { + white-space: nowrap; +} + +.path-mod-lti .late { + color: red; +} + +.path-mod-lti .message { + text-align: center; +} /* Styles for admin */ -.path-admin-mod-lti .mform .fitem .fitemtitle { min-width:18em;padding-right:1em } /* Prevent setting titles from wrapping */ +.path-admin-mod-lti .mform .fitem .fitemtitle { + min-width: 18em; + padding-right: 1em; +} /* Prevent setting titles from wrapping */ /* Styles for instructor editing an external tool */ -.path-mod-lti .mform .fitem .fitemtitle { min-width:14em;padding-right:1em } /* Prevent setting titles from wrapping */ +.path-mod-lti .mform .fitem .fitemtitle { + min-width: 14em; + padding-right: 1em; +} /* Prevent setting titles from wrapping */ /* Styles for instructor_edit_tool_type.php */ -#page-mod-lti-instructor_edit_tool_type .mform .fitem .fitemtitle { min-width:18em;padding-right:1em } /* Prevent setting titles from wrapping */ +#page-mod-lti-instructor_edit_tool_type .mform .fitem .fitemtitle { + min-width: 18em; + padding-right: 1em; +} /* Prevent setting titles from wrapping */ /* Styling for tool_configure page */ #registration-choice-container .buffer-text { @@ -148,6 +187,7 @@ #tool-list-loader-container .loader { display: none; } + #tool-list-loader-container .loader img { height: 2em; } @@ -177,9 +217,9 @@ border-color: #0088cc; box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; } .tool-card .overlay-container { @@ -333,9 +373,9 @@ background-color: #fff; border: 1px solid #e3e3e3; -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; cursor: text; } @@ -346,9 +386,9 @@ background-color: #fff; border: 1px solid rgba(82, 168, 236, 0.8); -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; cursor: text; } diff --git a/mod/quiz/report/grading/styles.css b/mod/quiz/report/grading/styles.css index 9b21bc128c8..fdd5d88c720 100644 --- a/mod/quiz/report/grading/styles.css +++ b/mod/quiz/report/grading/styles.css @@ -1,4 +1,15 @@ -#page-mod-quiz-report #manualgradingform {width: 100%;} -#page-mod-quiz-report #manualgradingform.mform br {clear: none;} -#page-mod-quiz-report #manualgradingform.mform .clearfix:after {clear: none;} -#page-mod-quiz-report #manualgradingform .que {margin-bottom: 0.7em;} +#page-mod-quiz-report #manualgradingform { + width: 100%; +} + +#page-mod-quiz-report #manualgradingform.mform br { + clear: none; +} + +#page-mod-quiz-report #manualgradingform.mform .clearfix:after { + clear: none; +} + +#page-mod-quiz-report #manualgradingform .que { + margin-bottom: 0.7em; +} diff --git a/mod/quiz/styles.css b/mod/quiz/styles.css index 3fbe0d46814..bc8960bebea 100644 --- a/mod/quiz/styles.css +++ b/mod/quiz/styles.css @@ -27,6 +27,7 @@ .path-mod-quiz .mod_quiz-redo_question_button { margin: 0; } + .path-mod-quiz input[type="submit"].mod_quiz-redo_question_button { padding: 2px 0.8em; font-size: 1em; @@ -58,6 +59,7 @@ body.jsenabled .questionflagcheckbox { #page-mod-quiz-attempt #connection-error { background-color: #fcc; } + #page-mod-quiz-attempt #connection-ok { background-color: #cfb; width: 60%; @@ -71,6 +73,7 @@ body.jsenabled .questionflagcheckbox { margin-left: auto; margin-right: auto; } + #passwordform { margin: 1em 0; } @@ -79,10 +82,12 @@ body.jsenabled .questionflagcheckbox { #quiznojswarning { color: red; } + #quiznojswarning { font-size: 0.7em; line-height: 1.1; } + .jsenabled #quiznojswarning { display: none; } @@ -90,6 +95,7 @@ body.jsenabled .questionflagcheckbox { .path-mod-quiz #user-picture { margin: 0.5em 0; } + .path-mod-quiz #user-picture img { width: auto; height: auto; @@ -101,6 +107,7 @@ body.jsenabled .questionflagcheckbox { margin: 0; clear: both; } + .path-mod-quiz #mod_quiz_navblock h3.mod_quiz-section-heading:first-child { padding-top: 0; } @@ -121,6 +128,7 @@ body.jsenabled .questionflagcheckbox { font-weight: bold; text-decoration: none; } + .path-mod-quiz .qnbutton:visited:hover, .path-mod-quiz .qnbutton:link:hover { text-decoration: underline; @@ -139,6 +147,7 @@ body.jsenabled .questionflagcheckbox { .path-mod-quiz .qnbutton.thispage { border-color: #666; } + .path-mod-quiz .qnbutton.thispage .thispageholder { border: 1px solid #666; } @@ -153,22 +162,28 @@ body.jsenabled .questionflagcheckbox { .path-mod-quiz .qnbutton.invalidanswer { background-color: white; } + .path-mod-quiz .qnbutton.correct { background-color: #cfc; } + .path-mod-quiz .qnbutton.correct .trafficlight { border-bottom: 3px solid #080; } + .path-mod-quiz .qnbutton.partiallycorrect { background-color: #ffa; } + .path-mod-quiz .qnbutton.notanswered, .path-mod-quiz .qnbutton.incorrect { background-color: #fcc; } + .path-mod-quiz .qnbutton.blocked { color: #999; } + .path-mod-quiz .qnbutton.notanswered .trafficlight, .path-mod-quiz .qnbutton.incorrect .trafficlight { border-top: 3px solid #800; @@ -178,6 +193,7 @@ body.jsenabled .questionflagcheckbox { clear: both; margin: 0.5em 0; } + .path-mod-quiz .othernav a, .path-mod-quiz .othernav input { display: block; @@ -189,54 +205,71 @@ body.jsenabled .questionflagcheckbox { display: none; margin-top: 1em; } + #quiz-time-left { font-weight: bold; } + #quiz-timer.timeleft15 { background: #ffffff; } + #quiz-timer.timeleft14 { background: #ffeeee; } + #quiz-timer.timeleft13 { background: #ffdddd; } + #quiz-timer.timeleft12 { background: #ffcccc; } + #quiz-timer.timeleft11 { background: #ffbbbb; } + #quiz-timer.timeleft10 { background: #ffaaaa; } + #quiz-timer.timeleft9 { background: #ff9999; } + #quiz-timer.timeleft8 { background: #ff8888; } + #quiz-timer.timeleft7 { background: #ff7777; } + #quiz-timer.timeleft6 { background: #ff6666; } + #quiz-timer.timeleft5 { background: #ff5555; } + #quiz-timer.timeleft4 { background: #ff4444; } + #quiz-timer.timeleft3 { background: #ff3333; } + #quiz-timer.timeleft2 { background: #ff2222; } + #quiz-timer.timeleft1 { background: #ff1111; } + #quiz-timer.timeleft0 { background: #ff0000; } @@ -246,11 +279,13 @@ body.jsenabled .questionflagcheckbox { width: 23%; margin-left: 10px; } + #page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup { width: 100%; text-align: left; margin-left: 0; } + #page-mod-quiz-mod #id_reviewoptionshdr .fitem { float: left; width: 23%; @@ -269,11 +304,13 @@ body.jsenabled .questionflagcheckbox { clear: left; margin: 0 0 1em; } + #page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup > span { float: left; clear: left; line-height: 1.7; } + #page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup span label { margin-left: 0.4em; } @@ -284,42 +321,53 @@ body.jsenabled .questionflagcheckbox { #page-mod-quiz-view #page .quizattempt { text-align: center; } + #page-mod-quiz-view #page .quizattemptsummary td p { margin-top: 0; } + #page-mod-quiz-view table.quizattemptsummary tr.bestrow td { border-color: #bce8f1; background-color: #d9edf7; } + table.quizattemptsummary .noreviewmessage { color: gray; } + #page-mod-quiz-view .generaltable.quizattemptsummary { margin-left: auto; margin-right: auto; } + #page-mod-quiz-view .generalbox#feedback { width: 70%; margin-left: auto; margin-right: auto; padding-bottom: 15px; } + #page-mod-quiz-view .generalbox#feedback h2 { margin: 0; } + #page-mod-quiz-view .generalbox#feedback h3 { text-align: left; } + #page-mod-quiz-view .generalbox#feedback .overriddennotice { text-align: center; font-size: 0.7em; } + .quizstartbuttondiv.quizsecuremoderequired input { display: none; } + .jsenabled .quizstartbuttondiv.quizsecuremoderequired input { display: inline; } + .quizattempt #mod_quiz_preflight_form { display: none; } @@ -327,6 +375,7 @@ table.quizattemptsummary .noreviewmessage { #mod_quiz_preflight_form .femptylabel .fitemtitle { display: none; } + #mod_quiz_preflight_form .femptylabel .felement { margin: 0; padding: 0; @@ -335,24 +384,30 @@ table.quizattemptsummary .noreviewmessage { .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup { width: 600px; } + .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-wrap { overflow: hidden; } + .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd { padding: 0; } + .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form legend { padding: 0 10px; margin: 0; border: 0 none; } + .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form .fitem { margin-left: 10px; } + .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form #fgroup_id_buttonar { padding: 10px 0 0; margin: 0; } + .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-content .moodle-dialogue-ft { margin: 0; } @@ -371,9 +426,10 @@ body.path-mod-quiz table tbody tr.gradedattempt > td { .quizattemptcounts { clear: left; text-align: center; - display:inline; - margin-left:20%; + display: inline; + margin-left: 20%; } + #page-mod-quiz-view .quizattemptcounts { display: block; margin-left: 0; @@ -384,16 +440,20 @@ body.path-mod-quiz table tbody tr.gradedattempt > td { #page-mod-quiz-summary #content { text-align: center; } + #page-mod-quiz-summary .questionflag { vertical-align: text-bottom; } + #page-mod-quiz-summary #quiz-timer { text-align: center; margin-top: 1em; } + #page-mod-quiz-summary .submitbtns { margin-top: 1.5em; } + @media print { .quiz-secure-window * { display: none; @@ -404,6 +464,7 @@ body.path-mod-quiz table tbody tr.gradedattempt > td { table.quizreviewsummary { width: 100%; } + table.quizreviewsummary th.cell { padding: 1px 0.5em 1px 1em; font-weight: bold; @@ -411,6 +472,7 @@ table.quizreviewsummary th.cell { width: 10em; background: #f0f0f0; } + table.quizreviewsummary td.cell { padding: 1px 1em 1px 0.5em; text-align: left; @@ -421,9 +483,11 @@ table.quizreviewsummary td.cell { #page-mod-quiz-comment .mform { width: 100%; } + #page-mod-quiz-comment .mform fieldset { margin: 0; } + #page-mod-quiz-comment .que { margin: 0; } @@ -432,43 +496,54 @@ table.quizreviewsummary td.cell { #page-mod-quiz-report h2.main { clear: both; } + #page-mod-quiz-report div#commands, #page-mod-quiz-report .controls { text-align: center; } + #page-mod-quiz-report .dubious { background-color: #fcc; } + #page-mod-quiz-report .highlight { border: 1px solid #bce8f1; background-color: #d9edf7; } + #page-mod-quiz-report .negcovar { - border : medium solid pink; + border: medium solid pink; } + #page-mod-quiz-report .toggleincludeauto { text-align: center; } + #page-mod-quiz-report .gradetheselink { font-size: 0.8em; } + #page-mod-quiz-report .mform fieldset.fgroup span label { margin-right: 14px; } + #page-mod-quiz-report table th { white-space: normal; } + #page-mod-quiz-report table#attempts td, #page-mod-quiz-report table.quizresponseanalysis td { word-wrap: break-word; max-width: 20em; } + #page-mod-quiz-report table.titlesleft td.c0 { font-weight: bold; } + #page-mod-quiz-report table .numcol { text-align: center; - vertical-align : middle; + vertical-align: middle; } #page-mod-quiz-report table#attempts { @@ -476,16 +551,20 @@ table.quizreviewsummary td.cell { width: 80%; margin: 0.2em auto; } + #page-mod-quiz-report table#attempts .header, #page-mod-quiz-report table#attempts .cell { padding: 4px; } + #page-mod-quiz-report table#attempts .header .commands { display: inline; } + #page-mod-quiz-report table#attempts .picture { width: 40px; } + #page-mod-quiz-report table#attempts td { border-left-width: 1px; border-right-width: 1px; @@ -493,19 +572,24 @@ table.quizreviewsummary td.cell { border-right-style: solid; vertical-align: middle; } + #page-mod-quiz-report table#attempts .header { text-align: left; } + #page-mod-quiz-report table#attempts .picture { text-align: center; } + #page-mod-quiz-report table#attempts.grades span.que, #page-mod-quiz-report table#attempts span.avgcell { white-space: nowrap; } + #page-mod-quiz-report table#attempts span.que .requiresgrading { white-space: normal; } + #page-mod-quiz-report table#attempts .questionflag { vertical-align: text-bottom; padding-left: 6px; @@ -520,9 +604,11 @@ table.quizreviewsummary td.cell { margin-bottom: 1em; padding: 0.2em; } + #page-mod-quiz-report #cachingnotice .singlebutton { margin: 0.5em 0 0; } + #page-mod-quiz-report .bold .reviewlink { font-weight: normal; } @@ -535,15 +621,18 @@ table.quizreviewsummary td.cell { #page-mod-quiz-edit .statusbar { margin: 0.6em 0.4em; } + #page-mod-quiz-edit .statusdisplay { background-color: #ffc; clear: both; margin: 0.3em 0; padding: 1px 10px; } + #page-mod-quiz-edit .statusdisplay p { margin: 4px 0; } + #page-mod-quiz-edit .maxgrade, #page-mod-quiz-edit .totalpoints { display: block; @@ -551,6 +640,7 @@ table.quizreviewsummary td.cell { margin: -2.85em 0 0; padding: .2em; } + #page-mod-quiz-edit .maxgrade label { display: inline; } @@ -570,13 +660,14 @@ table.quizreviewsummary td.cell { height: 1.5em; margin: 0 20px; } + #page-mod-quiz-edit .add-menu-outer { position: absolute; right: 0; } #page-mod-quiz-edit .slotnumber { - background-color: #D3D3D3; + background-color: #d3d3d3; text-align: center; margin: 0.1em 0.5em; min-width: 2em; @@ -589,20 +680,25 @@ table.quizreviewsummary td.cell { margin-bottom: 0; height: 40px; } + #page-mod-quiz-edit .section-heading .instancesectioncontainer { display: inline; } + #page-mod-quiz-edit .section-heading .instancesectioncontainer h3 { display: inline; color: #999; } + #page-mod-quiz-edit .section-heading .editing_section, #page-mod-quiz-edit .section-heading .editing_delete { margin-left: 10px; } + #page-mod-quiz-edit .section-heading .sectioninstance { position: relative; } + #page-mod-quiz-edit .section-heading .instancesection { white-space: nowrap; max-width: 72%; @@ -611,12 +707,14 @@ table.quizreviewsummary td.cell { overflow: hidden; vertical-align: bottom; } + #page-mod-quiz-edit .section-heading form { display: inline; position: relative; top: 3px; left: -7px; } + #page-mod-quiz-edit .section-heading form input { font-size: 24px; font-weight: bold; @@ -632,29 +730,36 @@ table.quizreviewsummary td.cell { margin: 0; padding: 0 20px; } + #page-mod-quiz-edit ul.slots { margin: 0; } + #page-mod-quiz-edit ul.slots li.section { border: 0; } + #page-mod-quiz-edit ul.slots li.section .content { - background-color:#FAFAFA; + background-color: #fafafa; padding: 1px 0; } + #page-mod-quiz-edit ul.slots li.section { list-style: none; margin: 0; padding: 0; } + #page-mod-quiz-edit ul.slots li.section li.activity { - background: #E6E6E6; + background: #e6e6e6; margin: 3px 0; padding: 0.2em; } + #page-mod-quiz-edit ul.slots li.section li.activity.page { background: transparent; } + #page-mod-quiz-edit ul.slots li.section li.activity.page h4 { display: inline; font-weight: normal; @@ -666,15 +771,19 @@ table.quizreviewsummary td.cell { padding: 0.2em; margin: 0.4em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer .editicon { width: 13px; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer.infoitem { background: transparent; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form { display: inline; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form input { margin: 0; padding: 0.2em; @@ -685,35 +794,45 @@ table.quizreviewsummary td.cell { display: inline-block; text-align: right; } + #page-mod-quiz-edit ul.slots li.section li.activity .page_split_join_wrapper { position: absolute; } + #page-mod-quiz-edit ul.slots li.section li.activity .page_split_join { position: relative; left: -20px; top: -7px; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_0 { min-width: 1.3em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_1 { min-width: 2em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_2 { min-width: 2.6em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_3 { min-width: 3.2em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_4 { min-width: 3.7em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_5 { min-width: 4.3em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_6 { min-width: 4.8em; } + #page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_7 { min-width: 5.45em; } @@ -724,10 +843,12 @@ table.quizreviewsummary td.cell { #page-mod-quiz-edit ul.slots li.section li.activity .editing_maxmark { margin: 0 2px; } + #page-mod-quiz-edit ul.slots li.section.only-has-one-slot li.activity .editing_move, #page-mod-quiz-edit ul.slots li.section.only-has-one-slot li.activity .editing_delete { visibility: hidden; } + #page-mod-quiz-edit ul.slots.only-one-section li.section.only-has-one-slot li.activity .editing_delete { visibility: visible; } @@ -737,6 +858,7 @@ table.quizreviewsummary td.cell { top: 0; right: 0; } + #page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper.question_dependency_cannot_depend { display: none; } @@ -764,6 +886,7 @@ table.quizreviewsummary td.cell { #page-mod-quiz-edit ul.slots .activityinstance form { display: inline; } + #page-mod-quiz-edit span.editinstructions { right: 0; } @@ -781,14 +904,17 @@ table.quizreviewsummary td.cell { #page-mod-quiz-edit ul.slots .activityinstance span.instancename img { margin: 0 0.2em; } + #page-mod-quiz-edit #categoryquestions .questionname, #page-mod-quiz-edit ul.slots li.activity div.activityinstance .questionname { - font-weight: bold; + font-weight: bold; color: #555; } + #page-mod-quiz-edit ul.slots li.activity div.activityinstance .questiontext { color: #555; } + #page-mod-quiz-edit ul.slots li.activity div.activityinstance .mod_quiz_random_qbank_link { font-size: 0.8em; } @@ -812,50 +938,61 @@ table.quizreviewsummary td.cell { #categoryquestions > tbody > tr:nth-of-type(even) { background: #e4e4e4; } + #categoryquestions > tbody > tr:nth-of-type(even).highlight { - background-color: #AAFFAA; + background-color: #aaffaa; } + #categoryquestions .header { text-align: center; padding: 0 2px; border: 0 none; } + #categoryquestions th.modifiername .sorters, #categoryquestions th.creatorname .sorters { font-weight: normal; font-size: 0.8em; } + #categoryquestions td.modifiername, #categoryquestions td.creatorname { line-height: 1em; } + #categoryquestions td.modifiername span.date, #categoryquestions td.creatorname span.date { font-weight: normal; font-size: 0.8em; } + table#categoryquestions { width: 100%; overflow: hidden; table-layout: fixed; } + #categoryquestions .iconcol { width: 15px; text-align: center; padding: 0; } + #categoryquestions .checkbox { width: 19px; text-align: center; padding: 0; } + #categoryquestions .qtype { text-align: center; } + #categoryquestions .qtype { width: 28px; padding: 0; } + #categoryquestions .questiontext { position: relative; zoom: 1; @@ -864,12 +1001,14 @@ table#categoryquestions { white-space: nowrap; text-overflow: ellipsis; } + #categoryquestions .questionname { white-space: nowrap; overflow: hidden; zoom: 1; position: relative; } + #categoryquestions .questiontext p { margin: 0; } @@ -879,14 +1018,16 @@ table#categoryquestions { overflow: hidden; white-space: nowrap; } + .mod_quiz_qbank_dialogue { width: 80%; min-height: 200px; } + .mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen { width: 100%; - } + .mod_quiz_qbank_dialogue .questionbankloading { position: absolute; top: 30px; @@ -898,6 +1039,7 @@ table#categoryquestions { opacity: 0.5; padding-top: 50px; } + .mod_quiz_qbank_dialogue #advancedsearch label { font-size: 100%; } @@ -923,6 +1065,7 @@ table#categoryquestions { margin-left: auto; margin-right: auto; } + #page-mod-quiz-edit div.container div.generalbox { position: relative; display: block; @@ -947,9 +1090,11 @@ table#categoryquestions { #page-mod-quiz-edit .categoryinfofield { font-style: italic; } + #page-mod-quiz-edit .categorynamefield { font-weight: bold; } + #page-mod-quiz-edit .questionsortoptions { background-color: #ddd; } @@ -958,11 +1103,12 @@ table#categoryquestions { padding-top: 0.5em; margin-top: 0.3em; } + #page-mod-quiz-edit div.questionbank .categoryquestionscontainer, .questionbank .categorysortopotionscontainer, .questionbank .categorypagingbarcontainer, .questionbank .categoryselectallcontainer { - background-color: #FFF; + background-color: #fff; } /* Base theme needs extra support. */ @@ -973,7 +1119,6 @@ table#categoryquestions { /** Print formatting for attempt and review pages **/ @media print { - #page-mod-quiz-attempt header.navbar, #page-mod-quiz-review header.navbar { display: none; @@ -1028,13 +1173,16 @@ table#categoryquestions { } } /* Ajustments for mobile devices */ -@media only screen and (max-width:565px) { + +@media only screen and (max-width: 565px) { #page-mod-quiz-edit .rpcontainerclass { margin-top: 3em; } + #page-mod-quiz-edit .maxgrade { margin-top: 0.1em; } + #page-mod-quiz-edit .statusbar { padding: 0; } diff --git a/mod/resource/styles.css b/mod/resource/styles.css index 095c2b82d4b..fe1a6fd35b1 100644 --- a/mod/resource/styles.css +++ b/mod/resource/styles.css @@ -1,5 +1,13 @@ -.path-mod-resource .resourcecontent {text-align: center;} +.path-mod-resource .resourcecontent { + text-align: center; +} -.path-mod-resource .resourcedetails {font-size: 0.8em; color: #555;} +.path-mod-resource .resourcedetails { + font-size: 0.8em; + color: #555; +} -.resourcelinkdetails {font-size: 0.8em; color: #555;} +.resourcelinkdetails { + font-size: 0.8em; + color: #555; +} diff --git a/mod/scorm/styles.css b/mod/scorm/styles.css index f395f59b49d..933c076263c 100644 --- a/mod/scorm/styles.css +++ b/mod/scorm/styles.css @@ -25,7 +25,6 @@ overflow: scroll; } - #page-mod-scorm-player #scormtop { position: relative; width: 100%; @@ -61,8 +60,8 @@ } #page-mod-scorm-player #scormpage #toctree { - position:relative; - width:100%; + position: relative; + width: 100%; } #page-mod-scorm-player #tocbox { @@ -119,7 +118,6 @@ text-align: center; } - #page-mod-scorm-player .toc, #page-mod-scorm-player .no-toc { width: 100%; @@ -178,7 +176,7 @@ } #page-mod-scorm-player.pagelayout-popup #page-wrapper { - width:100%; + width: 100%; } #page-mod-scorm-player .yui-layout-scroll div.yui-layout-bd { @@ -189,7 +187,6 @@ overflow: auto; } - .path-mod-scorm.forcejavascript .scorm-center { display: none; } @@ -202,7 +199,6 @@ display: none; } - .path-mod-scorm.jsenabled .forcejavascriptmessage { display: none; } @@ -227,18 +223,18 @@ #page-mod-scorm-report .scormattemptcounts { clear: left; text-align: center; - display:inline; - margin-left:20%; + display: inline; + margin-left: 20%; } #page-mod-scorm-player #scormpage span.yui3-treeview-icon { display: none; } + #page-mod-scorm-player #scormpage li.yui3-treeview-has-children > div.yui3-treeview-row > span.yui3-treeview-icon { display: block; } - #page-mod-scorm-player #scormpage div.yui3-u-1, #page-mod-scorm-player #scormpage div.yui3-u-3-4, #page-mod-scorm-player #scormpage div.yui3-u-1-5, diff --git a/mod/survey/styles.css b/mod/survey/styles.css index cdd3ea52389..b012018f67e 100644 --- a/mod/survey/styles.css +++ b/mod/survey/styles.css @@ -1,14 +1,42 @@ -.path-mod-survey .smalltext {font-size: 0.75em;} +.path-mod-survey .smalltext { + font-size: 0.75em; +} + +.path-mod-survey .surveytable .rblock label { + display: block; +} -.path-mod-survey .surveytable .rblock label {display: block;} .path-mod-survey .surveytable .foundthat, -.path-mod-survey .surveytable .preferthat {white-space: nowrap;} -.path-mod-survey .surveytable .buttoncell {width:5%;} +.path-mod-survey .surveytable .preferthat { + white-space: nowrap; +} + +.path-mod-survey .surveytable .buttoncell { + width: 5%; +} + .path-mod-survey .surveytable .optioncell, -.path-mod-survey .surveytable .questioncell {width:50%;vertical-align:top;} -.path-mod-survey .surveytable .whitecell {background-color:white;} +.path-mod-survey .surveytable .questioncell { + width: 50%; + vertical-align: top; +} -.path-mod-survey #surveyform th {font-weight: normal;text-align: left;} -.path-mod-survey #surveyform th.hresponse {text-align: center;width: 9%;} +.path-mod-survey .surveytable .whitecell { + background-color: white; +} -#page-mod-survey-report .fullnamecell {width:10%;vertical-align:top;white-space: nowrap;} \ No newline at end of file +.path-mod-survey #surveyform th { + font-weight: normal; + text-align: left; +} + +.path-mod-survey #surveyform th.hresponse { + text-align: center; + width: 9%; +} + +#page-mod-survey-report .fullnamecell { + width: 10%; + vertical-align: top; + white-space: nowrap; +} \ No newline at end of file diff --git a/mod/url/styles.css b/mod/url/styles.css index 38d1abfcceb..0f768934b3e 100644 --- a/mod/url/styles.css +++ b/mod/url/styles.css @@ -1 +1,3 @@ -.path-mod-url .resourcecontent {text-align: center;} +.path-mod-url .resourcecontent { + text-align: center; +} diff --git a/mod/wiki/styles.css b/mod/wiki/styles.css index 140092c16a2..e951eac50e5 100644 --- a/mod/wiki/styles.css +++ b/mod/wiki/styles.css @@ -62,8 +62,8 @@ } .wiki-toc { - border: 1px solid #BBB; - background: #EEE; + border: 1px solid #bbb; + background: #eee; margin: 16px; padding: 8px; } @@ -113,7 +113,7 @@ } .wiki-upload-section { - border: 1px solid #EEE; + border: 1px solid #eee; width: 400px; margin: 8px auto; } @@ -146,7 +146,8 @@ float: right; } -.wiki_restoreform, .wiki_deletecommentform { +.wiki_restoreform, +.wiki_deletecommentform { width: 10%; margin: auto; } @@ -155,7 +156,8 @@ float: left; } -.wiki_diffuserleft,.wiki_diffuserright { +.wiki_diffuserleft, +.wiki_diffuserright { font-weight: normal; padding-top: 1%; } @@ -172,12 +174,16 @@ font-weight: normal; } -.wiki_restore,.wiki_diffview,.wiki_difftime,.wiki_headingtime { +.wiki_restore, +.wiki_diffview, +.wiki_difftime, +.wiki_headingtime { font-size: 0.8em; font-weight: normal; } -.wiki_difftime,.wiki_headingtime { +.wiki_difftime, +.wiki_headingtime { font-style: oblique; text-align: center; } @@ -196,7 +202,8 @@ margin-right: 5%; } -.wiki_diff_old,.wiki_diff_new { +.wiki_diff_old, +.wiki_diff_new { float: left; min-width: 200px; width: 40%; @@ -216,17 +223,18 @@ } .ouw_deleted { - background: #FFFFAA; + background: #ffffaa; color: red; text-decoration: line-through; } .ouw_added { - background: #CCFFCC; + background: #ccffcc; color: red; } -a.wiki_newentry:link, a.wiki_newentry:visited { +a.wiki_newentry:link, +a.wiki_newentry:visited { color: red; font-style: italic; } @@ -322,30 +330,50 @@ a.wiki_edit_section { } .wiki_grayline { - color: gray + color: gray; } -.wikisearchresults{ +.wikisearchresults { padding-left: 50px; padding-top: 20px; } -.wiki-diff-container {width:95%;margin:10px auto;} -.wiki-diff-container .wiki-diff-leftside, -.wiki-diff-container .wiki-diff-rightside {width:49.5%;margin:0;padding:0;float:left;} -.wiki-diff-container .wiki-diff-rightside {margin-left:1%;} -.wiki-diff-container .wiki-diff-heading, -.wiki-diff-container .no-overflow {padding:10px;border:1px solid #DDD;} -.wiki-diff-container .wiki-diff-rightside .wiki_diffversion {text-align:right;} +.wiki-diff-container { + width: 95%; + margin: 10px auto; +} -.wikieditor-toolbar img{ +.wiki-diff-container .wiki-diff-leftside, +.wiki-diff-container .wiki-diff-rightside { + width: 49.5%; + margin: 0; + padding: 0; + float: left; +} + +.wiki-diff-container .wiki-diff-rightside { + margin-left: 1%; +} + +.wiki-diff-container .wiki-diff-heading, +.wiki-diff-container .no-overflow { + padding: 10px; + border: 1px solid #ddd; +} + +.wiki-diff-container .wiki-diff-rightside .wiki_diffversion { + text-align: right; +} + +.wikieditor-toolbar img { width: 22px; height: 22px; vertical-align: middle; } .path-mod-wiki .printicon { - background: url([[pix:t/print]]) no-repeat scroll 2px center transparent; padding-left: 20px; + background: url([[pix:t/print]]) no-repeat scroll 2px center transparent; + padding-left: 20px; } #page-mod-wiki-prettyview .displayprinticon { diff --git a/mod/workshop/styles.css b/mod/workshop/styles.css index fadeadf93b7..7b56f15425d 100644 --- a/mod/workshop/styles.css +++ b/mod/workshop/styles.css @@ -19,12 +19,12 @@ } .path-mod-workshop .groupwidget { - text-align:center; + text-align: center; margin: 0.75em auto; } .path-mod-workshop .perpagewidget { - text-align:center; + text-align: center; margin: 0.75em auto; } @@ -95,6 +95,7 @@ .path-mod-workshop .submission-full .header .userdate { margin: 0px 0px 0px 80px; } + .path-mod-workshop .submission-full.anonymous .header .title, .path-mod-workshop .submission-full.anonymous .header .author, .path-mod-workshop .submission-full.anonymous .header .userdate { @@ -293,6 +294,7 @@ .path-mod-workshop .userplan th .actions { display: inline; } + .path-mod-workshop .userplan tr.phasetasks li { background-image: url([[pix:mod_workshop|userplan/task-todo]]); background-position: top left; @@ -315,7 +317,7 @@ } .path-mod-workshop .userplan tr.phasetasks .tasks { - list-style:none; + list-style: none; margin: 3px; padding: 0px; } @@ -594,7 +596,9 @@ .path-mod-workshop .nothingfound { font-size: 150%; - color: #FF4500; + color: #ff4500; } -.path-mod-workshop .workshop-risk-dataloss { vertical-align: text-bottom; } +.path-mod-workshop .workshop-risk-dataloss { + vertical-align: text-bottom; +} diff --git a/question/behaviour/deferredcbm/styles.css b/question/behaviour/deferredcbm/styles.css index 0e063dc7daf..77dccf85ef6 100644 --- a/question/behaviour/deferredcbm/styles.css +++ b/question/behaviour/deferredcbm/styles.css @@ -3,6 +3,7 @@ font-weight: bold; color: #600; } + .qbehaviour_deferredcbm_underconfident, .qbehaviour_deferredcbm_overconfident { font-weight: bold; @@ -21,9 +22,11 @@ .qbehaviour_deferredcbm_summary_heading { margin: 0; } + .que.deferredcbm .certaintychoices input[type="radio"] { margin-left: 0.5em; } + .que.deferredcbm .certaintychoices label { white-space: nowrap; } diff --git a/question/type/calculated/styles.css b/question/type/calculated/styles.css index 4852d930426..4fb5884f0e7 100644 --- a/question/type/calculated/styles.css +++ b/question/type/calculated/styles.css @@ -2,6 +2,7 @@ padding: 0.3em; display: inline; } + .que.calculated .answer input[type="text"] { width: 30%; } @@ -21,12 +22,12 @@ /* Editing form. */ body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_], body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } @@ -50,23 +51,23 @@ body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_], body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_], body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answertolerance_], body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answerdisplay_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } body#page-question-type-calculated div[id^=fitem_id_][id*=feedback_], body#page-question-type-calculatedmulti div[id^=fitem_id_][id*=feedback_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/question/type/calculatedmulti/styles.css b/question/type/calculatedmulti/styles.css index f75152715c6..8724019c540 100644 --- a/question/type/calculatedmulti/styles.css +++ b/question/type/calculatedmulti/styles.css @@ -1,15 +1,18 @@ .que.calculatedmulti .answer .specificfeedback { display: inline; padding: 0 0.7em; - background: #FFF3BF; + background: #fff3bf; } + .que.calculatedmulti .answer .specificfeedback * { display: inline; - background: #FFF3BF; + background: #fff3bf; } + .que.calculatedmulti .answer .specificfeedback script { display: none; } + .que.calculatedmulti .answer div.r0, .que.calculatedmulti .answer div.r1 { padding: 0.3em; diff --git a/question/type/calculatedsimple/styles.css b/question/type/calculatedsimple/styles.css index 10fca9535b3..ba53c243034 100644 --- a/question/type/calculatedsimple/styles.css +++ b/question/type/calculatedsimple/styles.css @@ -2,22 +2,23 @@ padding: 0.3em; display: inline; } + .que.calculatedsimple .answer input[type="text"] { width: 30%; } /* Editing form. */ body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answeroptions_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } -body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label{ +body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label { font-weight: bold; } @@ -32,22 +33,22 @@ body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answerdisplay_] body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answertolerance_], body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answerdisplay_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } body#page-question-type-calculatedsimple div[id^=fitem_id_][id*=feedback_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/question/type/ddimageortext/styles.css b/question/type/ddimageortext/styles.css index c206ad35ed4..89adaa2215f 100644 --- a/question/type/ddimageortext/styles.css +++ b/question/type/ddimageortext/styles.css @@ -3,65 +3,91 @@ display: block; } -.que.ddimageortext div.droparea img, form.mform fieldset#id_previewareaheader div.droparea img { +.que.ddimageortext div.droparea img, +form.mform fieldset#id_previewareaheader div.droparea img { border: 1px solid #000000; max-width: none; } -.que.ddimageortext .draghome, form.mform fieldset#id_previewareaheader .draghome { +.que.ddimageortext .draghome, +form.mform fieldset#id_previewareaheader .draghome { vertical-align: top; margin: 5px; - visibility : hidden; + visibility: hidden; } -.que.ddimageortext div.draghome, form.mform fieldset#id_previewareaheader div.draghome { +.que.ddimageortext div.draghome, +form.mform fieldset#id_previewareaheader div.draghome { border: 1px solid black; cursor: move; - background-color: #B0C4DE; - display:inline-block; + background-color: #b0c4de; + display: inline-block; height: auto; width: auto; zoom: 1; } -.que.ddimageortext .group1, form.mform fieldset#id_previewareaheader .group1 { - background-color: #FFFFFF; +.que.ddimageortext .group1, +form.mform fieldset#id_previewareaheader .group1 { + background-color: #ffffff; } -.que.ddimageortext .group2, form.mform fieldset#id_previewareaheader .group2 { - background-color: #B0C4DE; + +.que.ddimageortext .group2, +form.mform fieldset#id_previewareaheader .group2 { + background-color: #b0c4de; } -.que.ddimageortext .group3, form.mform fieldset#id_previewareaheader .group3 { - background-color: #DCDCDC; + +.que.ddimageortext .group3, +form.mform fieldset#id_previewareaheader .group3 { + background-color: #dcdcdc; } -.que.ddimageortext .group4, form.mform fieldset#id_previewareaheader .group4 { - background-color: #D8BFD8; + +.que.ddimageortext .group4, +form.mform fieldset#id_previewareaheader .group4 { + background-color: #d8bfd8; } -.que.ddimageortext .group5, form.mform fieldset#id_previewareaheader .group5 { - background-color: #87CEFA; + +.que.ddimageortext .group5, +form.mform fieldset#id_previewareaheader .group5 { + background-color: #87cefa; } -.que.ddimageortext .group6, form.mform fieldset#id_previewareaheader .group6 { - background-color: #DAA520; + +.que.ddimageortext .group6, +form.mform fieldset#id_previewareaheader .group6 { + background-color: #daa520; } -.que.ddimageortext .group7, form.mform fieldset#id_previewareaheader .group7 { - background-color: #FFD700; + +.que.ddimageortext .group7, +form.mform fieldset#id_previewareaheader .group7 { + background-color: #ffd700; } -.que.ddimageortext .group8, form.mform fieldset#id_previewareaheader .group8 { - background-color: #F0E68C; + +.que.ddimageortext .group8, +form.mform fieldset#id_previewareaheader .group8 { + background-color: #f0e68c; } -.que.ddimageortext .drag, form.mform fieldset#id_previewareaheader .drag { + +.que.ddimageortext .drag, +form.mform fieldset#id_previewareaheader .drag { border: 1px solid black; cursor: move; z-index: 2; } + .que.ddimageortext .dragitems.readonly .drag { cursor: auto; } -.que.ddimageortext div.ddarea, form.mform fieldset#id_previewareaheader div.ddarea { - text-align : center; + +.que.ddimageortext div.ddarea, +form.mform fieldset#id_previewareaheader div.ddarea { + text-align: center; } -.que.ddimageortext .dropbackground, form.mform fieldset#id_previewareaheader .dropbackground { - margin:0 auto; + +.que.ddimageortext .dropbackground, +form.mform fieldset#id_previewareaheader .dropbackground { + margin: 0 auto; } + .que.ddimageortext .dropzone { border: 1px solid black; position: absolute; @@ -74,10 +100,13 @@ box-shadow: 0 0 5px 5px rgba(255, 255, 150, 1); } -.que.ddimageortext div.dragitems div.draghome, .que.ddimageortext div.dragitems div.drag, -form.mform fieldset#id_previewareaheader div.draghome, form.mform fieldset#id_previewareaheader div.drag { - font:13px/1.231 arial,helvetica,clean,sans-serif; +.que.ddimageortext div.dragitems div.draghome, +.que.ddimageortext div.dragitems div.drag, +form.mform fieldset#id_previewareaheader div.draghome, +form.mform fieldset#id_previewareaheader div.drag { + font: 13px/1.231 arial, helvetica, clean, sans-serif; } + form.mform fieldset#id_previewareaheader div.drag.yui3-dd-dragging, .que.ddimageortext div.drag.yui3-dd-dragging { z-index: 3; @@ -86,35 +115,36 @@ form.mform fieldset#id_previewareaheader div.drag.yui3-dd-dragging, /* Editing form. Style repeated elements*/ /*Top*/ body#page-question-type-ddimageortext div[id^=fgroup_id_][id*=drags_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } + body#page-question-type-ddimageortext div[id^=fgroup_id_][id*=drags_] .fgrouplabel label { font-weight: bold; } /* Middle */ body#page-question-type-ddimageortext div[id^=fitem_id_][id*=dragitem_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } /* Bottom */ body#page-question-type-ddimageortext div[id^=fitem_id_][id*=draglabel_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/question/type/ddmarker/styles.css b/question/type/ddmarker/styles.css index 7de80b891b8..a55ec3a22f1 100644 --- a/question/type/ddmarker/styles.css +++ b/question/type/ddmarker/styles.css @@ -3,12 +3,14 @@ display: block; } -.que.ddmarker div.droparea img, form.mform fieldset#id_previewareaheader div.droparea img { +.que.ddmarker div.droparea img, +form.mform fieldset#id_previewareaheader div.droparea img { border: 1px solid #000; max-width: none; } -.que.ddmarker .draghome img, .que.ddmarker .draghome span { +.que.ddmarker .draghome img, +.que.ddmarker .draghome span { visibility: hidden; } @@ -17,29 +19,40 @@ position: absolute; z-index: 2; } + .que.ddmarker .dragitems .draghome { margin: 10px; } + .que.ddmarker .dragitems { margin-top: 10px; } + .que.ddmarker .dragitems.readonly .dragitem { cursor: auto; } -.que.ddmarker div.ddarea, form.mform fieldset#id_previewareaheader div.ddarea { + +.que.ddmarker div.ddarea, +form.mform fieldset#id_previewareaheader div.ddarea { text-align: center; } + form.mform fieldset#id_previewareaheader div.ddarea .markertexts { min-height: 80px; } -.que.ddmarker .dropbackground, form.mform fieldset#id_previewareaheader .dropbackground { + +.que.ddmarker .dropbackground, +form.mform fieldset#id_previewareaheader .dropbackground { margin: 0 auto; } -.que.ddmarker div.dragitems div.draghome, .que.ddmarker div.dragitems div.dragitem, -form.mform fieldset#id_previewareaheader div.draghome, form.mform fieldset#id_previewareaheader div.drag { - font: 13px/1.231 arial,helvetica,clean,sans-serif; +.que.ddmarker div.dragitems div.draghome, +.que.ddmarker div.dragitems div.dragitem, +form.mform fieldset#id_previewareaheader div.draghome, +form.mform fieldset#id_previewareaheader div.drag { + font: 13px/1.231 arial, helvetica, clean, sans-serif; } + .que.ddmarker div.dragitems span.markertext, .que.ddmarker div.markertexts span.markertext, form.mform fieldset#id_previewareaheader div.markertexts span.markertext { @@ -52,6 +65,7 @@ form.mform fieldset#id_previewareaheader div.markertexts span.markertext { zoom: 1; border-radius: 10px; } + .que.ddmarker div.markertexts span.markertext { z-index: 2; background-color: yellow; @@ -59,6 +73,7 @@ form.mform fieldset#id_previewareaheader div.markertexts span.markertext { border-width: 2px; border-color: khaki; } + .que.ddmarker span.wrongpart { background-color: yellow; border-style: solid; @@ -71,18 +86,22 @@ form.mform fieldset#id_previewareaheader div.markertexts span.markertext { margin: 5px; display: inline-block; } + .que.ddmarker div.dragitems img.target { position: absolute; left: -7px; /* This must be half the size of the target image, minus 0.5. */ top: -7px; /* In other words, this works for a 15x15 cross-hair. */ } + .que.ddmarker div.dragitems div.draghome img.target { display: none; } + .que.ddmarker .dragitem.yui3-dd-dragging span.markertext { z-index: 3; box-shadow: 3px 3px 4px #000; } + #page-question-type-ddmarker .ddarea .grid { position: absolute; background: url([[pix:qtype_ddmarker|grid]]) repeat scroll 0 0; @@ -90,39 +109,41 @@ form.mform fieldset#id_previewareaheader div.markertexts span.markertext { /* Editing form. Style repeated elements*/ /*Top*/ body#page-question-type-ddmarker div[id^=fitem_id_][id*=hint_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } + body#page-question-type-ddmarker div[id^=fitem_id_][id*=hint_] .fitemtitle { font-weight: bold; } /* Middle */ body#page-question-type-ddmarker div[id^=fitem_id_][id*=hintoptions_], body#page-question-type-ddmarker div[id^=fitem_id_][id*=hintshownumcorrect_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } /* Bottom */ body#page-question-type-ddmarker div[id^=fitem_id_][id*=hintclearwrong_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } + body#page-question-type-ddmarker #fitem_id_penalty { margin-bottom: 2em; } diff --git a/question/type/ddwtos/styles.css b/question/type/ddwtos/styles.css index 60255b617ce..a58f901a2ef 100644 --- a/question/type/ddwtos/styles.css +++ b/question/type/ddwtos/styles.css @@ -17,21 +17,28 @@ border: 1px solid #000000; margin-bottom: 2px; } -.que.ddwtos .draghome, .que.ddwtos .drag { + +.que.ddwtos .draghome, +.que.ddwtos .drag { display: inline-block; text-align: center; background: transparent; border: 0; } -.que.ddwtos .draghome, .que.ddwtos .drag.unplaced{ + +.que.ddwtos .draghome, +.que.ddwtos .drag.unplaced { border: 1px solid #000000; } + .que.ddwtos .draghome { visibility: hidden; } + .que.ddwtos .drag { z-index: 2; } + .que.ddwtos .drag.yui3-dd-dragging { z-index: 3; box-shadow: 3px 3px 4px #000; @@ -46,6 +53,7 @@ .que.ddwtos .notreadonly .drag { cursor: move; } + .que.ddwtos .readonly .drag { cursor: default; } @@ -53,33 +61,41 @@ .que.ddwtos span.incorrect { background-color: #faa; } + .que.ddwtos span.correct { background-color: #afa; } .que.ddwtos .group1 { - background-color: #FFFFFF; + background-color: #ffffff; } + .que.ddwtos .group2 { - background-color: #DCDCDC; + background-color: #dcdcdc; } + .que.ddwtos .group3 { - background-color: #B0C4DE; + background-color: #b0c4de; } + .que.ddwtos .group4 { - background-color: #D8BFD8; + background-color: #d8bfd8; } + .que.ddwtos .group5 { - background-color: #87CEFA; + background-color: #87cefa; } + .que.ddwtos .group6 { - background-color: #DAA520; + background-color: #daa520; } + .que.ddwtos .group7 { - background-color: #FFD700; + background-color: #ffd700; } + .que.ddwtos .group8 { - background-color: #F0E68C; + background-color: #f0e68c; } .que.ddwtos sub, @@ -88,9 +104,11 @@ position: relative; vertical-align: baseline; } + .que.ddwtos sup { top: -0.4em; } + .que.ddwtos sub { bottom: -0.2em; } diff --git a/question/type/essay/styles.css b/question/type/essay/styles.css index 44e3518c7e3..a531afc4e37 100644 --- a/question/type/essay/styles.css +++ b/question/type/essay/styles.css @@ -1,20 +1,25 @@ .que.essay textarea.qtype_essay_response { width: 100%; } + .que.essay textarea.qtype_essay_response.qtype_essay_plain { white-space: pre-wrap; font: inherit; } + .que.essay textarea.qtype_essay_response.qtype_essay_monospaced { white-space: pre; font-family: Andale Mono, Monaco, Courier New, DejaVu Sans Mono, monospace; } + .que.essay .qtype_essay_response { min-height: 3em; } + .que.essay .qtype_essay_response.readonly { background-color: white; } + .que.essay div.qtype_essay_response textarea { width: 100%; } diff --git a/question/type/gapselect/styles.css b/question/type/gapselect/styles.css index 1aeabaf888c..649a89d093d 100644 --- a/question/type/gapselect/styles.css +++ b/question/type/gapselect/styles.css @@ -1,5 +1,5 @@ .que.gapselect .qtext { - line-height:2em; + line-height: 2em; margin-top: 1px; margin-bottom: 0.5em; display: block; @@ -7,7 +7,7 @@ .que.gapselect .answercontainer { line-height: 2em; - margin-bottom:1em; + margin-bottom: 1em; display: block; } diff --git a/question/type/match/styles.css b/question/type/match/styles.css index 3fa9bdcc11e..00255b90a6f 100644 --- a/question/type/match/styles.css +++ b/question/type/match/styles.css @@ -1,11 +1,11 @@ /* Editing form. */ body#page-question-type-match div[id^=fitem_id_][id*=subquestions_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } @@ -14,11 +14,11 @@ body#page-question-type-match div[id^=fitem_id_][id*=subquestions_] .fitemtitle } body#page-question-type-match div[id^=fitem_id_][id*=subanswers_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/question/type/multianswer/styles.css b/question/type/multianswer/styles.css index 3916310b301..54a7fb9ede8 100644 --- a/question/type/multianswer/styles.css +++ b/question/type/multianswer/styles.css @@ -6,28 +6,34 @@ margin-top: 1em; box-shadow: 0.5em 0.5em 1em #000000; } + body.ie6 .que.multianswer .feedbackspan, body.ie7 .que.multianswer .feedbackspan, body.ie8 .que.multianswer .feedbackspan, body.ie9 .que.multianswer .feedbackspan { width: 70%; } + .que.multianswer .answer .specificfeedback { display: inline; padding: 0 0.7em; - background: #FFF3BF; + background: #fff3bf; } + .que.multianswer .answer .specificfeedback * { display: inline; - background: #FFF3BF; + background: #fff3bf; } + .que.multianswer .answer .specificfeedback script { display: none; } + .que.multianswer .answer div.r0, .que.multianswer .answer div.r1 { padding: 0.3em; } + .que.multianswer table.answer { margin-bottom: 0; width: 100%; diff --git a/question/type/multichoice/styles.css b/question/type/multichoice/styles.css index c2d1654f816..c3de6bceb2f 100644 --- a/question/type/multichoice/styles.css +++ b/question/type/multichoice/styles.css @@ -1,13 +1,15 @@ .que.multichoice .answer .specificfeedback { display: inline; padding: 0 0.7em; - background: #FFF3BF; + background: #fff3bf; } + .que.multichoice .answer div.r0, .que.multichoice .answer div.r1 { padding: 0.3em 0 0.3em 25px; text-indent: -25px; } + .que.multichoice .answer div.r0 label, .que.multichoice .answer div.r1 label, .que.multichoice .answer div.r0 div.specificfeedback, @@ -16,6 +18,7 @@ cells or
  • s, which screws up the intended layout. This fixes it again. */ text-indent: 0; } + .que.multichoice .answer div.r0 input, .que.multichoice .answer div.r1 input { margin: 0 5px; @@ -25,12 +28,12 @@ /* Editing form. */ body#page-question-type-multichoice div[id^=fitem_id_][id*=answer_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } @@ -38,7 +41,7 @@ body#page-question-type-multichoice div[id^=fitem_id_][id*=answer_] .fitemtitle font-weight: bold; } -body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle{ +body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle { margin-left: 0px; margin-right: 0px; padding-left: 6px; @@ -46,22 +49,22 @@ body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle{ } body#page-question-type-multichoice div[id^=fitem_id_][id*=fraction_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } body#page-question-type-multichoice div[id^=fitem_id_][id*=feedback_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/question/type/numerical/styles.css b/question/type/numerical/styles.css index 9db9f352004..4e14844f0e9 100644 --- a/question/type/numerical/styles.css +++ b/question/type/numerical/styles.css @@ -2,6 +2,7 @@ padding: 0.3em; display: inline; } + .que.numerical .answer input[type="text"] { width: 30%; } @@ -18,22 +19,22 @@ /* Editing form. */ body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } -body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label{ +body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label { font-weight: bold; } body.path-question-type div#fgroup_id_penaltygrp label[for^=id_unitpenalty], body.path-question-type div[id^=fgroup_id_units_] label[for^='id_unit_'], -body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_']{ +body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'] { position: absolute; left: -10000px; font-weight: normal; @@ -41,22 +42,22 @@ body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] label[ } body#page-question-type-numerical div[id^=fitem_id_][id*=fraction_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } body#page-question-type-numerical div[id^=fitem_id_][id*=feedback_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/question/type/shortanswer/styles.css b/question/type/shortanswer/styles.css index 312b6045145..9178c5c2b57 100644 --- a/question/type/shortanswer/styles.css +++ b/question/type/shortanswer/styles.css @@ -2,26 +2,27 @@ padding: 0.3em; display: inline; } + .que.shortanswer .answer input { width: 80%; } /* Editing form. */ body#page-question-type-shortanswer div[id^=fgroup_id_][id*=answeroptions_] { - background: #EEE; + background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-bottom: 0; } -body#page-question-type-shortanswer div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label{ +body#page-question-type-shortanswer div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label { font-weight: bold; } -body#page-question-type-shortanswer div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_']{ +body#page-question-type-shortanswer div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'] { position: absolute; left: -10000px; font-weight: normal; @@ -29,22 +30,22 @@ body#page-question-type-shortanswer div[id^=fgroup_id_][id*=answeroptions_] labe } body#page-question-type-shortanswer div[id^=fitem_id_][id*=fraction_] { - background: #EEE; + background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; border-bottom: 0; } body#page-question-type-shortanswer div[id^=fitem_id_][id*=feedback_] { - background: #EEE; + background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; - border: 1px solid #BBB; + border: 1px solid #bbb; border-top: 0; } diff --git a/report/eventlist/styles.css b/report/eventlist/styles.css index db8004510c4..743d4d7f17c 100644 --- a/report/eventlist/styles.css +++ b/report/eventlist/styles.css @@ -11,7 +11,6 @@ float: left; text-align: right; width: 20em; - } #page-admin-report-eventlist-index dd { @@ -24,7 +23,7 @@ clear: left; } -@media (max-width : 767px) { +@media (max-width: 767px) { #page-admin-report-eventlist-index dt { width: 100%; text-align: left; diff --git a/report/log/styles.css b/report/log/styles.css index 6bb1953a07d..ec566880a52 100644 --- a/report/log/styles.css +++ b/report/log/styles.css @@ -1,4 +1,12 @@ -#page-report-log-index .info {margin:10px;} -#page-report-log-index .logselectform {margin:10px auto;} +#page-report-log-index .info { + margin: 10px; +} -#page-report-log-user .info {margin:10px; text-align:center;} +#page-report-log-index .logselectform { + margin: 10px auto; +} + +#page-report-log-user .info { + margin: 10px; + text-align: center; +} diff --git a/report/loglive/styles.css b/report/loglive/styles.css index 4c3a54fcd8f..186027c6bb5 100644 --- a/report/loglive/styles.css +++ b/report/loglive/styles.css @@ -1,2 +1,7 @@ -#page-report-loglive-index .info {margin:10px;} -table.flexible > tbody > tr:nth-child(n).newrow > td {background: #D4D4D4;} \ No newline at end of file +#page-report-loglive-index .info { + margin: 10px; +} + +table.flexible > tbody > tr:nth-child(n).newrow > td { + background: #d4d4d4; +} \ No newline at end of file diff --git a/report/outline/styles.css b/report/outline/styles.css index aff09a74a30..9bdcf9d8499 100644 --- a/report/outline/styles.css +++ b/report/outline/styles.css @@ -1,8 +1,32 @@ -#page-report-outline-index td.numviews {text-align:right;} -#page-report-outline-index tr.section {text-align: center;} -#page-report-outline-index td.lastaccess {font-size: 0.8em;} +#page-report-outline-index td.numviews { + text-align: right; +} -#page-report-outline-user .section .content {margin-left: 30px;margin-right: 30px;} -#page-report-outline-user .section h2 {margin-top: 0;} -#page-report-outline-user .section {margin-left: 30px;margin-right: 30px;margin-bottom: 20px;} -#page-report-outline-user .section {border-width:1px;border-style:solid;padding:10px;} +#page-report-outline-index tr.section { + text-align: center; +} + +#page-report-outline-index td.lastaccess { + font-size: 0.8em; +} + +#page-report-outline-user .section .content { + margin-left: 30px; + margin-right: 30px; +} + +#page-report-outline-user .section h2 { + margin-top: 0; +} + +#page-report-outline-user .section { + margin-left: 30px; + margin-right: 30px; + margin-bottom: 20px; +} + +#page-report-outline-user .section { + border-width: 1px; + border-style: solid; + padding: 10px; +} diff --git a/report/participation/styles.css b/report/participation/styles.css index ebdb5feff21..c36366bb8c8 100644 --- a/report/participation/styles.css +++ b/report/participation/styles.css @@ -1,2 +1,8 @@ -#page-report-participation-index .participationselectform {margin:10px auto;} -#page-report-participation-index .participationselectform label {margin-left:15px;margin-right:5px;} +#page-report-participation-index .participationselectform { + margin: 10px auto; +} + +#page-report-participation-index .participationselectform label { + margin-left: 15px; + margin-right: 5px; +} diff --git a/report/progress/styles.css b/report/progress/styles.css index a6aa571ff09..a5c87c7f517 100644 --- a/report/progress/styles.css +++ b/report/progress/styles.css @@ -1,23 +1,29 @@ -#page-report-progress-index #completion-progress th, #page-report-progress-index #completion-progress td { +#page-report-progress-index #completion-progress th, +#page-report-progress-index #completion-progress td { padding: 2px 4px; font-weight: normal; - border-right: 1px solid #EEE; + border-right: 1px solid #eee; } + #page-report-progress-index .progress-actions { text-align: center; list-style: none; } + #page-report-progress-index .completion_pagingbar { margin: 1em 0; text-align: center; } + #page-report-progress-index .completion_prev { display: inline; margin-right: 2em; } + #page-report-progress-index .completion_pagingbar p { display: inline; } + #page-report-progress-index .completion_next { display: inline; margin-left: 2em; diff --git a/report/stats/styles.css b/report/stats/styles.css index 0efe455a065..8a34346081d 100644 --- a/report/stats/styles.css +++ b/report/stats/styles.css @@ -1 +1,3 @@ -#page-report-stats-index .graph {margin-bottom: 1em;} +#page-report-stats-index .graph { + margin-bottom: 1em; +}