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