MDL-28363 make dimmed selectors more specific to prevent overriding from other themes
[moodle.git] / theme / base / style / core.css
1 /**
2  * Required to undo YUI resets that override input size
3  */
4 input[type=text],input[type=password],textarea{width:auto;}
6 /**
7  * General
8  */
9 th,
10 td,
11 a img {border-width:0;}
12 acronym,
13 abbr {cursor: help;}
14 .dir-ltr,
15 .mdl-left,
16 .dir-rtl .mdl-right {text-align: left;}
17 .dir-rtl,
18 .mdl-right,
19 .dir-rtl .mdl-left {text-align: right;}
20 #add,
21 #remove,
22 .centerpara,
23 .mdl-align {text-align: center;}
24 a.dimmed,
25 a.dimmed:link,
26 a.dimmed:visited,
27 a.dimmed_text,
28 a.dimmed_text:link,
29 a.dimmed_text:visited,
30 .dimmed_text,
31 .dimmed_text a,
32 .dimmed_text a:link,
33 .dimmed_text a:visited,
34 .dimmed_category,
35 .dimmed_category a {color:#AAAAAA;}
37 .unlist,
38 .unlist li,
39 .inline-list,
40 .inline-list li,
41 .block .list,
42 .block .list li,
43 .sitetopic .section li,
44 .course-content .section li.activity,
45 .tabtree li {list-style: none;margin:0;padding:0;}
47 .course-content .current {background:#E3E3E3;}
49 .inline-list li {display: inline;}
50 .notifytiny {font-size:0.7em;}
51 .notifytiny li,
52 .notifytiny td {font-size:100%;}
53 .red,
54 .notifyproblem {color:#660000;}
55 .green,
56 .notifysuccess {color:#006600;}
57 .reportlink {text-align:right;}
58 a.autolink.glossary:hover {cursor: help;}
59 /* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
60 .collapsibleregioncaption {white-space: nowrap;}
61 .collapsibleregioncaption img {vertical-align: middle;}
62 .jsenabled .hiddenifjs {display: none;}
63 .jsenabled .collapsibleregion {overflow:hidden;}
64 .jsenabled .collapsed .collapsibleregioninner {visibility: hidden;}
65 .yui-overlay .yui-widget-bd {background-color:#FFEE69;border:1px solid #A6982B;border-top-color: #D4C237;color:#000000;left:0;padding:2px 5px;position:relative;top:0;z-index:1;}
66 .clearer {background:transparent;border-width:0;clear:both;display:block;height:1px;margin:0;padding:0;}
67 .clearfix:after {clear: both;content: ".";display: block;height: 0;min-width: 0;visibility: hidden;}
68 .bold,
69 .warning,
70 .errorbox .title,
71 .pagingbar .title,
72 .pagingbar .thispage,
73 .headingblock {font-weight: bold;}
74 img.resize {height: 1em;width: 1em;}
75 .block img.resize,
76 .breadcrumb img.resize {height: 0.9em;width: 0.8em;}
77 img.icon {height:16px;vertical-align:middle;width:16px;}
78 img.iconsmall {height:11px;margin-right:1px;vertical-align:middle;width:11px;}
79 img.iconhelp {height:17px;margin-right:4px;vertical-align:middle;width:17px;}
80 img.icontoggle {height:17px;vertical-align:middle;width:50px;}
81 img.iconkbhelp {height:17px;width:49px;}
82 .categorybox .category {font-size:1.2em;font-weight:bold;}
83 .generalbox {border:1px solid;}
84 .boxaligncenter {margin-left:auto;margin-right:auto;}
85 .boxalignright {margin-left:auto;margin-right:0;}
86 .boxalignleft {margin-left:0;margin-right:auto;}
87 .boxwidthnarrow {width: 30%;}
88 .boxwidthnormal {width: 50%;}
89 .boxwidthwide {width: 80%;}
90 .buttons .singlebutton,
91 .buttons .singlebutton form,
92 .buttons .singlebutton div {display: inline;}
93 .buttons .singlebutton input {margin:20px 5px;}
94 .blink {text-decoration: blink;}
95 .headermain {font-weight:bold;}
96 #maincontent {display: block;height: 1px;overflow: hidden;}
97 img.uihint {cursor: help;}
98 #addmembersform table {margin-left: auto;margin-right: auto;}
99 .formtable tbody th,
100 .generaltable th.header {vertical-align: top;}
101 .flexible th {white-space: nowrap;}
102 .cell {vertical-align: top;}
103 .helplink img {height: 17px;vertical-align: middle;width: 17px;}
104 img.emoticon {vertical-align: middle;width: 15px;height: 15px;}
105 form.popupform,
106 form.popupform div {display: inline;}
107 .arrow_button input {overflow:hidden;}
109 /** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
110 .no-overflow {overflow:auto;padding-bottom:1px;}
111 .pagelayout-report .no-overflow {overflow:visible;}
112 .no-overflow > .generaltable {margin-bottom:0;}
113 .ie6 .no-overflow {width:100%;}
115 /** IE6 float + background bug solution **/
116 .ie6 li.section {line-height:1.2em;width:100%;}
118 /**
119  * Accessibility features
120  */
121 /*Accessibility: text 'seen' by screen readers but not visual users. */
122 .accesshide {position:absolute;left:-10000px;font-weight:normal;font-size:1em;}
123 .dir-rtl .accesshide {top:-30000px;left:auto;}
124 span.hide,
125 div.hide {display:none;}
126 .invisiblefieldset {display:inline;border-width:0;padding:0;margin:0;}
127 /*Accessibility: Skip block link, for keyboard-only users. */
128 a.skip-block,
129 a.skip {position: absolute;top: -1000em;font-size: 0.85em;text-decoration:none;}
130 a.skip-block:focus,
131 a.skip-block:active,
132 a.skip:focus,
133 a.skip:active {position: static;display: block;}
134 .skip-block-to {display: block;height: 1px;overflow: hidden;}
135 /* Accessibility: only certain fonts support Unicode chars like ► in IE6 */
136 .arrow,
137 .arrow_button input {font-family: Arial,Helvetica,Courier,sans-serif;}
139 #yui-module-debug {display:none;}
141 /**
142  * Header
143  */
144 .headermain {float:left;margin:15px;font-size:2.3em;}
145 .headermenu {float:right;margin:10px;font-size:0.8em;text-align:right;}
147 /**
148  * Navbar
149  */
150 .navbar {clear:both;overflow:hidden;}
151 .ie6 .navbar {overflow:hidden;height:100%;}
152 .breadcrumb {float:left;}
153 .navbutton {text-align:right;}
154 .breadcrumb ul {padding:0;margin:0;text-indent:0;list-style:none;}
155 .navbutton {float: right;}
156 .breadcrumb li,
157 .navbutton div,
158 .navbutton form {display:inline;}
160 /**
161  * Footer
162  */
163 #page-footer {text-align:center;font-size:0.9em;}
164 #page-footer .homelink {margin: 1em 0;}
165 #page-footer .homelink a {padding-left:1em;padding-right:1em;}
166 #page-footer .logininfo,
167 #page-footer .sitelink,
168 #page-footer .helplink {margin:0px 10px;}
169 #page-footer .performanceinfo {text-align:center;margin:10px 20%;}
170 #page-footer .performanceinfo span {display:block;}
171 #page-footer .validators {margin-top:40px;padding-top:5px;border-top: 1px dotted gray;}
172 #page-footer .validators ul {margin:0px;padding:0px;list-style-type:none;}
173 #page-footer .validators ul li {display:inline;margin-right:10px;margin-left:10px;}
175 /**
176  * Tabs
177  */
178 .tabtree {position:relative;margin-bottom:3.5em;}
179 .tabtree li {display:inline;}
180 .tabtree ul {margin:5px;}
181 .tabtree ul li.here ul {position:absolute;top:100%;width:100%;}
182 .tabtree ul li.here .empty {display:none;}
184 /**
185  * Mforms
186  */
187 .mform fieldset {border:1px solid;}
188 .mform fieldset fieldset {border-width:0px;}
189 .mform fieldset legend {font-weight:bold;margin-left:0.5em;}
190 .mform fieldset div {margin:10px;margin-top:0;}
191 .mform fieldset div div {margin:0;}
192 .mform fieldset .advancedbutton {text-align:right;}
193 .mform fieldset.hidden {border-width:0;}
194 .mform fieldset.group {margin-bottom: 0}
195 .mform fieldset.error {border: 1px solid #A00;}
196 .mform .fitem {width:100%;overflow:hidden;margin-top:5px;margin-bottom:1px;clear:right;}
197 .mform .fitem .fitemtitle {width:15%;text-align:right;float:left;}
198 .mform .fitem .fitemtitle div {display: inline;}
199 .mform .fitem .felement {border-width: 0;width:80%;margin-left:16%;}
200 .mform .fitem fieldset.felement {margin-left:0;padding-left:1%;margin-bottom:0}
201 .mform .error,
202 .mform .required {color:#A00;}
203 .mform .required .fgroup span label {color:#000;}
204 .mform .fdescription.required {color:#A00;text-align:right;}
205 .mform .fpassword .unmask {display:inline;margin-left:0.5em;}
206 .mform .ftextarea #id_alltext {width: 100%;}
207 .mform ul.file-list {padding:0;margin:0;list-style:none;}
208 .mform label .req,
209 .mform label .adv {cursor: help;}
210 .mform .fcheckbox input {margin-left: 0;}
211 .mform .fitem fieldset.fgroup label,
212 .mform .fradio label,
213 .mform .fcheckbox label,
214 .mform fieldset.fdate_selector label {display:inline;float: none;width: auto;}
215 .mform .ftags label.accesshide {display: block;position: static;}
216 .mform .ftags select {margin-bottom: 0.7em;min-width: 22em;}
218 /** Browser corrections for mforms **/
219 .ie .mform .fitem .felement {margin-left:0;text-align:left;float:left;}
220 /** Fix IE double margin + float bugs **/
221 .ie .mform .fitem .fitemtitle {padding-right:1em;}
222 #portfolio-add-button {display:inline;}
224 /**
225  * phpinfo styles
226  */
227 .phpinfo .center {text-align: center;}
228 .phpinfo .center table {margin-left: auto;margin-right: auto;text-align: left;border-collapse: collapse;}
229 .phpinfo .center th {text-align: center;}
230 .phpinfo .e,
231 .phpinfo .v,
232 .phpinfo .h {border: 1px solid #000000;font-size: 0.8em;vertical-align: baseline;color: #000000;background-color: #cccccc;}
233 .phpinfo .e {background-color: #ccccff;font-weight: bold;}
234 .phpinfo .h {background-color: #9999cc;font-weight: bold;}
236 /**
237  * Blogs
238  */
239 .addbloglink {text-align: center;}
240 .blog_entry .audience {text-align: right;}
241 .blog_entry .tags {margin-top: 15px;}
243 /**
244  * Group
245  */
246 #page-group-index #groupeditform {text-align: center;}
247 #doc-contents h1 {margin: 1em 0 0 0;}
248 #doc-contents ul {margin: 0;padding: 0;width: 90%;}
249 #doc-contents ul li {list-style-type: none;}
250 .groupmanagementtable td {vertical-align: top;}
251 .groupmanagementtable #existingcell,
252 .groupmanagementtable #potentialcell {width: 42%;}
253 .groupmanagementtable #buttonscell {width: 16%;}
254 .groupmanagementtable #buttonscell input {width: 80%;}
255 .groupmanagementtable #removeselect_wrapper,
256 .groupmanagementtable #addselect_wrapper {width: 100%;}
257 .groupmanagementtable #removeselect_wrapper label,
258 .groupmanagementtable #addselect_wrapper label {font-weight: normal;}
259 .dir-rtl .groupmanagementtable p {text-align: right;}
260 #group-usersummary {width: 14em;}
261 .groupselector {margin-top: 3px;margin-bottom: 3px;}
263 /**
264  * Login
265  */
266 .loginbox {margin:15px;overflow:hidden;}
267 .loginbox.twocolumns {margin:15px;}
268 .loginbox h2,
269 .loginbox .subcontent {margin:5px;padding:10px;text-align:center;}
270 .loginbox .loginpanel .desc {margin:0;padding:0;margin-bottom:5px;}
271 .loginbox .signuppanel .subcontent {text-align:left;}
272 .loginbox .loginsub {margin-left:0;margin-right:0;}
273 .loginbox .guestsub,
274 .loginbox .forgotsub,
275 .loginbox .potentialidps {margin:5px 12%;}
276 .loginbox .potentialidps .potentialidplist {margin-left:40%;}
277 .loginbox .potentialidps .potentialidplist div {text-align:left;}
278 .loginbox .loginform {margin-top:1em;text-align:left;}
279 .loginbox .loginform .form-label {float:left;text-align:right;width:40%;}
280 .loginbox .loginform .form-input {float:right;width:59%;}
281 .loginbox .loginform .form-input input {width: 6em;}
282 .loginbox .signupform {margin-top:1em;text-align:center;}
283 .loginbox.twocolumns .loginpanel {float:left;width:49.5%;border-right: 1px solid;margin-bottom:-2000px;padding-bottom:2000px;}
284 .loginbox.twocolumns .signuppanel {float:right;width:50%;margin-bottom:-2000px;padding-bottom:2000px;}
286 /**
287  * Notes
288  */
289 .notepost {margin-bottom: 1em;}
290 .notepost .userpicture {float: left;margin-right: 5px;}
291 .notepost .content,
292 .notepost .footer {clear: both;}
293 .notesgroup {margin-left:20px;}
295 /**
296  * My Moodle
297  */
298 .path-my .coursebox .overview .name {margin-left:20px;}
299 .path-my .coursebox .overview .info {margin-left:25px;}
300 .path-my .coursebox .overview .details {margin-left:25px;}
301 .path-my .coursebox .overview {margin-bottom:10px;}
302 .path-my .coursebox .info {float: none;}
304 /**
305  * Logs
306  */
307 .logtable th {text-align:left;}
309 /**
310  * Modules
311  */
312 .mod_introbox {border:1px solid;padding:10px;}
313 table.mod_index {width:100%;}
315 /**
316  * Help
317  */
318 #help_icon_tooltip div.bd {width: 35em;}
319 #help hr {border: none;height: 1px;background: #ccc;}
320 #help .center {text-align: center;}
321 #help .moreinfo {text-align: right;}
322 #help .indent {margin-left: 40px;}
323 #help .indent-big {margin-left: 160px;margin-right: 160px;}
324 #help #emoticons{text-align: center;clear:both;width: 300px;margin-right: auto;margin-left:auto;}
325 #help #emoticons ul{list-style-type: none;}
326 #help #emoticons li{margin-bottom: 3px;width: 120px;border-left: 3px solid gray;padding-left: 7px;float: left;}
328 /**
329  * Comments
330  */
331 .comment-ctrl {font-size: 12px;display: none;margin:0;padding:0;}
332 .comment-ctrl h5 {margin:0;padding: 5px;}
333 .comment-area {max-width: 400px;padding: 5px;}
334 .comment-area textarea {width:100%;overflow:auto;}
335 .comment-area .fd {text-align:right;}
336 .comment-meta span {color:gray;}
337 .comment-list {font-size: 11px;overflow:auto;list-style:none;padding:0;margin:0;}
338 .comment-list li {margin: 2px;list-style:none;margin-bottom:5px;clear:both;}
339 .comment-list li.first {display:none}
340 .comment-paging{text-align:center;}
341 .comment-paging .pageno{padding:2px;}
342 .comment-paging .curpage{border:1px solid #CCC;}
343 .comment-userpicture {width: 20px;float:left;}
344 .comment-content {margin-left: 22px;}
345 .comment-content div {margin:0;padding:0;}
346 .comment-content p {padding:0;margin:0 18px 0 0;}
347 .comment-delete {float:right;text-align:right;}
348 .comment-delete-confirm {background: #eee; padding: 2px; width: 5em;text-align:center;}
349 .comment-container {float:left;margin: 4px;}
350 .comment-report-selectall{display:none}
351 .comment-link {display:none}
352 .jsenabled .comment-link {display:block}
353 .jsenabled .showcommentsnonjs{display:none}
354 .jsenabled .comment-report-selectall{display:inline}
356 /**
357  * Completion progress report
358  */
359 .completion-expired {background:#FFDDDD;}
360 .completion-expected {font-size:0.75em;}
361 .completion-sortchoice {font-size:0.75em;vertical-align:bottom;}
362 .completion-progresscell {text-align:right;}
363 .completion-expired .completion-expected {font-weight:bold;}
364 #page-course-report-progress-index th,
365 #page-course-report-progress-index td {padding:2px 4px;font-weight:normal;border-right: 1px solid #EEE;}
366 #page-course-report-progress-index .progress-actions {text-align:center;}
367 #page-course-report-progress-index .completion_pagingbar {margin:1em 0;text-align:center;}
368 #page-course-report-progress-index .completion_prev {display:inline;margin-right:2em;}
369 #page-course-report-progress-index .completion_pagingbar p {display:inline;margin:0;}
370 #page-course-report-progress-index .completion_next {display:inline;margin-left:2em;}
372 /**
373  * Tags
374  */
375 #page-tag-coursetags_edit .coursetag_edit_centered {position: relative;width: 600px;margin: 20px auto;}
376 #page-tag-coursetags_edit .coursetag_edit_row {clear:both;}
377 #page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_left {float:left;width:50%;text-align:right;}
378 #page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_right {margin-left:50%;}
379 #page-tag-coursetags_edit .coursetag_edit_input3 {display: none;}
380 #page-tag-coursetags_more .coursetag_more_large {font-size: 120%;}
381 #page-tag-coursetags_more .coursetag_more_small {font-size: 80%;}
382 #page-tag-coursetags_more .coursetag_more_link {font-size: 80%;}
383 #tag-description,
384 #tag-blogs {width:100%;}
385 #tag-management-box {margin-bottom:10px;line-height:20px;}
386 #tag-user-table {padding:3px;clear: both;width:100%;}
387 #tag-user-table:after {content:".";display:block;clear:both;visibility:hidden;height:0;overflow:hidden;}
388 img.user-image {height:100px;width:100px;}
389 #small-tag-cloud-box {width:300px;margin:0 auto;}
390 #big-tag-cloud-box {width:600px;margin:0 auto;float:none;}
391 ul#tag-cloud-list {list-style:none;padding:5px;margin:0;}
392 ul#tag-cloud-list li {margin:0;display:inline;list-style-type:none;}
393 #tag-search-box {text-align:center;margin:10px auto;}
394 #tag-search-results-container {padding:0;width:100%;}
395 #tag-search-results {padding:0;margin: 15px 20% 0 20%;float:left;width:60%;display:block;}
396 #tag-search-results li {width:30%;float:left;padding-left:1%;text-align:left;line-height:20px;padding-right:1%;list-style:none;}
397 span.flagged-tag,
398 span.flagged-tag a {color:#FF0000;}
399 table#tag-management-list {text-align:left;width:100%;}
400 table#tag-management-list td,
401 table#tag-management-list th {vertical-align: middle;text-align: left;padding: 4px;}
402 .tag-management-form {text-align:center;}
403 #relatedtags-autocomplete-container {margin-left:auto;margin-right:auto;min-height:4.6em;width:100%;}
404 #relatedtags-autocomplete {position:relative;display:block;width:60%;margin-left:auto;margin-right:auto;}
405 #relatedtags-autocomplete .yui-ac-content {position:absolute;width:420px;left:20%;border:1px solid #404040;background:#fff;overflow:hidden;z-index:9050;}
406 #relatedtags-autocomplete .ysearchquery {position:absolute;right:10px;color:#808080;z-index:10;}
407 #relatedtags-autocomplete .yui-ac-shadow {position:absolute;margin:.3em;width:100%;background:#a0a0a0;z-index:9049;}
408 #relatedtags-autocomplete ul {padding:0;width:100%;margin:0;list-style-type:none;}
409 #relatedtags-autocomplete li {padding:0 5px;cursor:default;white-space:nowrap;}
410 #relatedtags-autocomplete li.yui-ac-highlight{background:#FFFFCC;}
411 h2.tag-heading,
412 div#tag-description,
413 div#tag-blogs,
414 body.tag .managelink {padding: 5px;}
415 .tag_cloud .s20 {font-size: 1.5em;font-weight: bold;}
416 .tag_cloud .s19 {font-size: 1.5em;}
417 .tag_cloud .s18 {font-size: 1.4em;font-weight: bold;}
418 .tag_cloud .s17 {font-size: 1.4em;}
419 .tag_cloud .s16 {font-size: 1.3em;font-weight: bold;}
420 .tag_cloud .s15 {font-size: 1.3em;}
421 .tag_cloud .s14 {font-size: 1.2em;font-weight: bold;}
422 .tag_cloud .s13 {font-size: 1.2em;}
423 .tag_cloud .s12,
424 .tag_cloud .s11 {font-size: 1.1em;font-weight: bold;}
425 .tag_cloud .s10,
426 .tag_cloud .s9 {font-size: 1.1em;}
427 .tag_cloud .s8,
428 .tag_cloud .s7 {font-size: 1em;font-weight: bold;}
429 .tag_cloud .s6,
430 .tag_cloud .s5 {font-size: 1em;}
431 .tag_cloud .s4,
432 .tag_cloud .s3 {font-size: 0.9em;font-weight: bold;}
433 .tag_cloud .s2,
434 .tag_cloud .s1 {font-size: 0.9em;}
435 .tag_cloud .s0 {font-size: 0.8em;}
437 /**
438  * File picker
439  * Copyright (c) 2006 Yahoo! Inc. All rights reserved.
440  * copy from yui/examples/treeview/assets/css/folders/tree.css
441  * first or middle sibling, no children
442  */
443 /* first or middle sibling, no children */
444 .file-picker .ygtvtn {background: url([[pix:moodle|y/tn]]) 0 0 no-repeat;width:17px;height:22px;}
445 /* first or middle sibling, collapsable */
446 .file-picker .ygtvtm {background: url([[pix:moodle|y/tm]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
447 /* first or middle sibling, collapsable, hover */
448 .file-picker .ygtvtmh {background: url([[pix:moodle|y/tmh]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
449 /* first or middle sibling, expandable */
450 .file-picker .ygtvtp {background: url([[pix:moodle|y/tp]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
451 /* first or middle sibling, expandable, hover */
452 .file-picker .ygtvtph {background: url([[pix:moodle|y/tph]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
453 /* last sibling, no children */
454 .file-picker .ygtvln {background: url([[pix:moodle|y/ln]]) 0 0 no-repeat;width:17px;height:22px;}
455 /* Last sibling, collapsable */
456 .file-picker .ygtvlm {background: url([[pix:moodle|y/lm]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
457 /* Last sibling, collapsable, hover */
458 .file-picker .ygtvlmh {background: url([[pix:moodle|y/lmh]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
459 /* Last sibling, expandable */
460 .file-picker .ygtvlp {background: url([[pix:moodle|y/lp]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
461 /* Last sibling, expandable, hover */
462 .file-picker .ygtvlph {background: url([[pix:moodle|y/lph]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
463 /* Loading icon */
464 .file-picker .ygtvloading {background: url([[pix:moodle|y/loading]]) 0 0 no-repeat;width:16px;height:22px;}
465 /* the style for the empty cells that are used for rendering the depth* of the node */
466 .file-picker .ygtvdepthcell {background: url([[pix:moodle|y/vline]]) 0 0 no-repeat;width:17px;height:22px;}
467 .file-picker .ygtvblankdepthcell {width:17px;height:22px;}
468 /* the style of the div around each node */
469 .file-picker .ygtvitem  table{margin-bottom:0;}
470 .file-picker .ygtvitem  td {border:none;padding:0;}
471 /* the style of the div around each node's collection of children */
472 * html .file-picker .ygtvchildren {height:1%;}
473 /* the style of the text label in ygTextNode */
474 .file-picker .ygtvlabel,
475 .file-picker .ygtvlabel:link,
476 .file-picker .ygtvlabel:visited,
477 .file-picker .ygtvlabel:hover {margin-left:2px;text-decoration: none;}
478 .file-picker {font-size:12px;}
479 .file-picker strong {background:#FFFFCC;}
480 .file-picker .fp-panel {padding:0;margin:0;text-align:left;}
481 .file-picker .fp-login-form {text-align:center;}
482 .file-picker .fp-searchbar {float:right;}
483 .file-picker .fp-viewbar {width:300px;float:left;}
484 .file-picker .fp-toolbar {padding: .8em;background: #FFFFCC;text-align:center;margin: 3px;}
485 .file-picker .fp-toolbar a {padding: 0 .5em;}
486 .file-picker .fp-list {list-style-type:none;padding:0;float:left;width:100%;margin:0;}
487 .dir-rtl .file-picker .fp-list {text-align:right;}
488 .file-picker .fp-list li {border-bottom:1px dotted gray;margin-bottom: 1em;}
489 .file-picker .fp-repo-name {display:block;padding: .5em;margin-bottom: .5em;}
490 .file-picker .fp-pathbar {margin: .4em;border-bottom: 1px dotted gray;}
491 .file-picker .fp-pathbar a {padding: .4em;}
492 .file-picker .fp-rename-form {text-align:center;}
493 .file-picker .fp-rename-form p {margin: 1em;}
494 .file-picker .fp-upload-form {margin: 2em 0;text-align:center;}
495 .file-picker .fp-upload-btn {clear:both;margin-top: 2em;}
496 .file-picker .fp-paging {margin:1em .5em;clear:both;text-align:center;line-height: 2.5em;}
497 .file-picker .fp-paging a {padding: .5em;border: 1px solid #CCC;}
498 .file-picker .fp-paging a.cur_page {border: 1px solid blue;}
499 .file-picker .fp-popup {text-align:center;}
500 .file-picker .fp-grid-panel{}
501 .file-picker .fp-grid {float:left;text-align:center;}
502 .file-picker .fp-grid div {overflow: hidden;}
503 .file-picker .fp-grid p {margin:0;padding:0;background: #FFFFCC;}
504 .file-picker .fp-grid .label {height:48px;text-align:center;}
505 .file-picker .fp-grid span {color:gray;}
506 .file-picker .fp-error {padding: 2em 0;margin: 3em 5px;text-align:center;background: #FFBBBB;}
507 .file-picker .fp-emptylist, .file-picker .fp-msg {text-align:center;}
508 .filepicker-filelist {padding: 5px;margin: 6px 0;background: #E9F4FF;border: #AACCEE 1px solid}
509 /* file picker search dialog */
510 .file-picker div.bd {text-align:left;}
512 /**
513  * File Manager
514  */
515 .filemanager-toolbar {margin: 5px 0;}
516 .filemanager-toolbar a {border: 1px solid #AACCEE;background: #F4FAFF;color: black;padding: 3px;}
517 .filemanager-toolbar a:hover {background: #FFFFFF;}
518 .fm-breadcrumb {margin:0;}
519 .filemanager-container {padding: 5px;margin: 6px 0;background: #E9F4FF;border: #AACCEE 1px solid}
520 .filemanager-container ul{margin:0;padding:0;}
521 .filemanager-container ul li{white-space:nowrap;list-style-type:none;}
522 .filemanager-container ul li a{padding:0}
523 .filemanager-loading{display:none}
524 .jsenabled .filemanager-loading{display:block}
525 .fm-menuicon{cursor: pointer;}
526 #fm-move-div {margin: 6px;}
527 #fm-move-div strong{color:red;}
528 .fm-file-entry{border: 1px solid red;}
529 .fm-operation {font-weight: bold;}
531 /*
532  * Backup and Restore CSS
533  */
534 .path-backup .mform .grouped_settings.section_level {clear:both;}
535 .path-backup .mform .grouped_settings {clear:both;overflow:hidden;}
536 .path-backup .mform .grouped_settings .fitem .fitemtitle {width:40%;padding-right:10px;}
537 .path-backup .mform .grouped_settings .fitem .felement {width:50%;}
538 .path-backup .mform .grouped_settings.section_level .include_setting {width:50%;margin:0;float:left;clear:left;font-weight:bold;}
539 .path-backup .mform .grouped_settings.section_level .normal_setting {width:50%;margin:0;margin-left:50%;}
540 .path-backup .mform .grouped_settings.activity_level .include_setting label {font-weight:normal;}
541 .path-backup .mform .fitem fieldset.felement {margin-left:0;width:auto;padding-left:0;}
542 .path-backup .notification.dependencies_enforced {text-align:center;color:#A00;font-weight:bold;}
543 .path-backup .backup_progress {text-align:center;}
544 .path-backup .backup_progress span.backup_stage {color:#999;}
545 .path-backup .backup_progress .backup_stage.backup_stage_current {font-weight:bold;color:inherit;}
546 .path-backup .backup_progress .backup_stage.backup_stage_next {}
547 .path-backup .backup_progress span.backup_stage.backup_stage_complete {color:inherit;}
549 /**
550  * Web Service
551  */
552 #webservice-doc-generator td {text-align: left;border: 0px solid black;}
554 /**
555  * Help Content (pop-up)
556  */
557 #helppopupbox {background-color: #eee; border: 1px solid #848484;z-index: 10000 !important;}
558 #helppopupbox .yui3-widget-hd {float:right;margin:3px 3px 0 0;}
559 #helppopupbox .yui3-widget-bd {margin:0 1em 1em 1em;border-top:1px solid #eee;}
560 #helppopupbox .helpheading {font-size: 1em;}
561 #helppopupbox .spinner {margin:1em;}
563 /**
564  * Custom menu
565  */
566 #custommenu {clear:both;}
567 #custommenu .yui3-menu .yui3-menu {z-index:500;}
568 #custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content,
569 #custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .ul {border:1px solid #000;}
570 #custommenu .yui3-menu-horizontal.javascript-disabled ul {margin:0;padding:0;}
571 #custommenu .yui3-menu-horizontal.javascript-disabled li {margin:0;padding:0;list-style:none;width:auto;position:relative;}
572 #custommenu .yui3-menu-horizontal.javascript-disabled>.yui3-menu-content>ul>li {float:left;}
573 #custommenu .yui3-menu-horizontal.javascript-disabled li a {padding:0 10px;}
574 #custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu {position:absolute;top:-10000px;left:-10000px;visibility:hidden;white-space: nowrap;max-width: 250px;background-color:#FFF;}
575 #custommenu .yui3-menu-horizontal.javascript-disabled li:hover>.yui3-menu {top:100%;left:0;visibility: visible;z-index:10;}
576 #custommenu .yui3-menu-horizontal.javascript-disabled li:hover .yui3-menu .yui3-menu {top:0;left:100%;min-width:200px;}
577 #custommenu .yui3-menu-horizontal.javascript-disabled>.yui3-menu-content>ul:after {content:"";display:block;clear:both;line-height:0;font-size:0;visibility:hidden;}
578 #custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content {font-size:93%;line-height:2;padding:0;}
579 #custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .yui3-menu-content {font-size:100%;}
581 /**
582  * Smart Select Element
583  */
584 .smartselect {position:absolute;}
585 .smartselect .smartselect_mask {background-color:#fff;}
586 .smartselect ul  {padding: 0;margin: 0;}
587 .smartselect ul li {list-style: none;}
588 .smartselect .smartselect_menu {margin-right:5px;}
589 .safari .smartselect .smartselect_menu {margin-left:2px;}
590 .smartselect .smartselect_menu,
591 .smartselect .smartselect_submenu {border:1px solid #000;background-color:#FFF;display: none;}
592 .smartselect .smartselect_menu.visible,
593 .smartselect .smartselect_submenu.visible {display:block;}
594 .smartselect .smartselect_menu_content ul li {position:relative;padding:2px 5px;}
595 .smartselect .smartselect_menu_content ul li a {color:#333;text-decoration:none;}
596 .smartselect .smartselect_menu_content ul li a.selectable {color:inherit;}
597 .smartselect .smartselect_submenuitem {background-image:url([[pix:moodle|t/collapsed]]);background-repeat: no-repeat;background-position:100%;}
598 /** Spanning mode */
599 .smartselect.spanningmenu .smartselect_submenu {position:absolute;top:-1px;left:100%;}
600 .smartselect.spanningmenu .smartselect_submenu a {white-space: nowrap;padding-right:16px;}
601 .smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {text-decoration:underline;}
602 /** Compact mode */
603 .smartselect.compactmenu .smartselect_submenu {position:relative;margin:2px -3px; margin-left: 10px;display:none;border-width:0;z-index: 1010;}
604 .smartselect.compactmenu .smartselect_submenu.visible {display:block;}
605 .smartselect.compactmenu .smartselect_menu {z-index: 1000;overflow:hidden;}
606 .smartselect.compactmenu .smartselect_submenu .smartselect_submenu {z-index: 1020;}
607 .smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {font-weight:bold;}
609 /**
610  * Registration
611  */
612 #page-admin-registration-register .registration_textfield {width: 300px;}
614 /**
615  * Enrol
616  */
617 .userenrolment {width:100%;border-collapse: collapse;}
618 .userenrolment td {padding:0;height:41px;}
619 .userenrolment .subfield {margin-right:5px;}
620 .userenrolment .col_userdetails .subfield_picture {float:left;}
621 .userenrolment .col_lastseen {width:150px;}
622 .userenrolment .col_role {width:262px;}
623 .userenrolment .col_role .roles {margin-right:30px;}
624 .userenrolment .col_role .role {float:left;padding:3px;margin:3px;}
625 .userenrolment .col_role .role a {margin-left:3px;cursor:pointer;}
626 .userenrolment .col_role .addrole {float:right;width:18px;margin:3px;height:18px;text-align:center;}
627 .userenrolment .col_role .addrole a img {vertical-align:bottom;}
628 .userenrolment .hasAllRoles .col_role .addrole {display:none;}
629 .userenrolment .col_group .groups {margin-right:30px;}
630 .userenrolment .col_group .group {float:left;padding:3px;margin:3px;white-space:nowrap;}
631 .userenrolment .col_group .group a {margin-left:3px;cursor:pointer;}
632 .userenrolment .col_group .addgroup {float:right;width:18px;margin:3px;height:18px;text-align:center;}
633 .userenrolment .col_group .addgroup a img {vertical-align:bottom;}
634 .userenrolment .col_enrol .enrolment {float:left;padding:3px;margin:3px;}
635 .userenrolment .col_enrol .enrolment a {float:right;margin-left:3px;}
636 #page-enrol-users .enrol_user_buttons {float:right;}
637 #page-enrol-users .enrol_user_buttons .enrolusersbutton {margin-left:1em;display:inline;}
638 #page-enrol-users .enrol_user_buttons .enrolusersbutton div,
639 #page-enrol-users .enrol_user_buttons .enrolusersbutton form {display:inline;}
640 #page-enrol-users .enrol_user_buttons .enrolusersbutton input {padding-left:6px;padding-right:6px;}
642 /**
643 * Overide for RTL layout
644 **/
645 .dir-rtl .headermain {float:right;}
646 .dir-rtl .headermenu {float:left;}
647 .dir-rtl .breadcrumb {float:right;}
648 .dir-rtl .navbutton {float: left;}
649 .dir-rtl .breadcrumb ul li { float: right; margin-left: 5px;}
650 .dir-rtl .mform .fitem .fitemtitle {float:right;}
651 .dir-rtl .loginbox .loginform .form-label {float:right;text-align:left;}
652 .dir-rtl .loginbox .loginform .form-input {text-align: right;}
654 /**
655  * Backup
656  */
657 .backup-restore .backup-section {clear:both;border:1px solid #ddd;background-color:#f6f6f6;margin-bottom:1em;}
658 .backup-restore .backup-section > h2.header {padding:5px 6px;margin:0;border-bottom:1px solid #ddd;}
659 .backup-restore .backup-section .noticebox {margin:1em auto;width:60%;text-align:center;}
660 .backup-restore .backup-section .backup-sub-section {margin:0 25px;background-color:#f9f9f9;border:1px solid #f3f3f3;margin-bottom:1em;}
661 .backup-restore .backup-section .backup-sub-section h3 {text-align:right;border-bottom:1px solid #DDD;padding:5px 86% 5px 6px;margin:0;background-color:#e9e9e9;}
662 .backup-restore .backup-section.settings-section .detail-pair {margin:0;padding:0;width:50%;display:inline-block;}
663 .backup-restore .backup-section.settings-section .detail-pair .detail-pair-label {width:65%;}
664 .backup-restore .backup-section.settings-section .detail-pair .detail-pair-value {width:25%;}
665 .backup-restore .activitytable {width:60%;min-width:500px;}
666 .backup-restore .activitytable .modulename {width:100px;}
667 .backup-restore .activitytable .moduleincluded {width:50px;}
668 .backup-restore .activitytable .userinfoincluded {width:50px;}
669 .backup-restore .detail-pair {}
670 .backup-restore .detail-pair-label {display:inline-block;width:25%;padding:8px;margin:0;text-align:right;font-weight:bold;color:#444;vertical-align:top;}
671 .backup-restore .detail-pair-value {display:inline-block;width:65%;padding:8px;margin:0;}
672 .backup-restore .detail-pair-value > .sub-detail {display:block;color:#1580B6;margin-left:2em;font-size:90%;font-style: italic;}
673 .backup-restore > .singlebutton {text-align:right;}
674 .path-backup .mform .fgroup .proceedbutton {float:right;margin-right:1%;}
676 .restore-course-search .rcs-results {width:70%;min-width:400px;border:1px solid #ddd;margin:5px 0;}
677 .restore-course-search .rcs-results table {width:100%;margin:0;border-width:0;}
678 .restore-course-search .rcs-results table .no-overflow {max-width:600px;}
679 .restore-course-search .rcs-results .paging {text-align:left;margin:0;background-color:#eee;padding:3px;}
681 .restore-course-category .rcs-results {width:70%;min-width:400px;border:1px solid #ddd;margin:5px 0;}
682 .restore-course-category .rcs-results table {width:100%;margin:0;border-width:0;}
683 .restore-course-category .rcs-results table .no-overflow {max-width:600px;}
684 .restore-course-category .rcs-results .paging {text-align:left;margin:0;background-color:#eee;padding:3px;}
686 .corelightbox {background-color:#CCC;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;}
687 .corelightbox img {position:fixed;top:50%;}
689 /**
690  * IE - Overide for RTL layout
691  */
692 .ie.dir-rtl .mform .fitem .felement {margin-right:0;text-align:right;float:right;}
694 /**
695  * Fix for broken YUI images in the menunav component
696  */
697 .yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label,
698 .yui3-skin-sam .yui3-menu-horizontal .yui3-menu-content {background-image:none;}
700 .mod-indent-1 {margin-left:20px;}
701 .mod-indent-2 {margin-left:40px;}
702 .mod-indent-3 {margin-left:60px;}
703 .mod-indent-4 {margin-left:80px;}
704 .mod-indent-5 {margin-left:100px;}
705 .mod-indent-6 {margin-left:120px;}
706 .mod-indent-7 {margin-left:140px;}
707 .mod-indent-8 {margin-left:160px;}
708 .mod-indent-9 {margin-left:180px;}
709 .mod-indent-10 {margin-left:200px;}
710 .mod-indent-11 {margin-left:220px;}
711 .mod-indent-12 {margin-left:240px;}
712 .mod-indent-13 {margin-left:260px;}
713 .mod-indent-14 {margin-left:280px;}
714 .mod-indent-15,
715 .mod-indent-huge {margin-left:300px;}
717 .dir-rtl .felement.feditor select {margin-right:18.75%;}
719 /* Resourcelib mp3 player size: only width could be changed here, height hardcoded in JS */
720 .resourcecontent .resourcemediaplugin_mp3 object {height:25px; width: 600px}
722 /*
723 Fix for SubScript & SuperScript
724 ------------------------------*/
725 sub {vertical-align: sub;}
726 sup {vertical-align: super;}
728 /** Fix YUI 2 Treeview for Right to left languages **/
729 .dir-rtl .ygtvtn,
730 .dir-rtl .ygtvtm,
731 .dir-rtl .ygtvtmh,
732 .dir-rtl .ygtvtmhh,
733 .dir-rtl .ygtvtp,
734 .dir-rtl .ygtvtph,
735 .dir-rtl .ygtvtphh,
736 .dir-rtl .ygtvln,
737 .dir-rtl .ygtvlm,
738 .dir-rtl .ygtvlmh,
739 .dir-rtl .ygtvlmhh,
740 .dir-rtl .ygtvlp,
741 .dir-rtl .ygtvlph,
742 .dir-rtl .ygtvlphh,
743 .dir-rtl .ygtvdepthcell,
744 .dir-rtl .ygtvok,
745 .dir-rtl .ygtvok:hover,
746 .dir-rtl .ygtvcancel,
747 .dir-rtl .ygtvcancel:hover {width:18px; height:22px; background-image:url([[pix:theme|yui2-treeview-sprite-rtl]]); background-repeat: no-repeat; cursor:pointer;}
749 .dir-rtl .ygtvtn {background-position: 0 -5600px;}
750 .dir-rtl .ygtvtm {background-position: 0 -4000px;}
751 .dir-rtl .ygtvtmh,
752 .dir-rtl .ygtvtmhh {background-position: 0 -4800px;}
753 .dir-rtl .ygtvtp {background-position: 0 -6400px;}
754 .dir-rtl .ygtvtph,
755 .dir-rtl .ygtvtphh {background-position: 0 -7200px;}
756 .dir-rtl .ygtvln {background-position: 0 -1600px;}
757 .dir-rtl .ygtvlm {background-position: 0 0;}
758 .dir-rtl .ygtvlmh,
759 .dir-rtl .ygtvlmhh {background-position: 0 -800px;}
760 .dir-rtl .ygtvlp {background-position: 0 -2400px;}
761 .dir-rtl .ygtvlph,
762 .dir-rtl .ygtvlphh {background-position: 0 -3200px}
763 .dir-rtl .ygtvdepthcell {background-position: 0 -8000px;}
764 .dir-rtl .ygtvok {background-position: 0 -8800px;}
765 .dir-rtl .ygtvok:hover {background-position: 0 -8844px;}
766 .dir-rtl .ygtvcancel {background-position: 0 -8822px;}
767 .dir-rtl .ygtvcancel:hover {background-position: 0 -8866px;}
769 .dir-rtl #yui-gen4.yui-layout-unit-left  {left:500px !important;}
770 .dir-rtl #yui-gen6.yui-layout-unit-center {left:0px !important;}
771 .dir-rtl.yui-skin-sam .yui-panel .hd {text-align:left;}
772 .dir-rtl .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {text-align:right;}
774 /** Fix TinyMCE editor right to left **/
775 .dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {top: 44px;}
776 .dir-rtl .o2k7Skin table,
777 .dir-rtl .o2k7Skin tbody,
778 .dir-rtl .o2k7Skin a,
779 .dir-rtl .o2k7Skin img,
780 .dir-rtl .o2k7Skin tr,
781 .dir-rtl .o2k7Skin div,
782 .dir-rtl .o2k7Skin td,
783 .dir-rtl .o2k7Skin iframe,
784 .dir-rtl .o2k7Skin span,
785 .dir-rtl .o2k7Skin *,
786 .dir-rtl .o2k7Skin .mceText,
787 .dir-rtl .o2k7Skin .mceListBox .mceText {text-align:right;}
789 .path-rating .ratingtable {width:100%;margin-bottom:1em;}
790 .path-rating .ratingtable th.rating {width:100%;}
791 .path-rating .ratingtable td.rating,
792 .path-rating .ratingtable td.time {white-space:nowrap; text-align:center;}
794 /* Fix for ordered and unordered list in course topic summary & course weekly summary */
795 ul li,
796 .course-content ul.weeks .content .summary ul li,
797 .course-content ul.topics .content .summary ul li {list-style: disc outside none;}
798 ol li,
799 .course-content ul.weeks .content .summary ol li,
800 .course-content ul.topics .content .summary ol li {list-style: decimal outside none;}