Merge branch 'MDL-30274-master-1' of git://git.luns.net.uk/moodle
[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 37.dimmed_category,
1d559a1e 38.dimmed_category a { height: 1%; opacity: 0.5; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); }
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;}
24e14bc7 364.completion-sortchoice,
365.completion-identifyfield {font-size:0.75em;vertical-align:bottom;}
90723839
SH
366.completion-progresscell {text-align:right;}
367.completion-expired .completion-expected {font-weight:bold;}
90723839
SH
368
369/**
370 * Tags
371 */
372#page-tag-coursetags_edit .coursetag_edit_centered {position: relative;width: 600px;margin: 20px auto;}
373#page-tag-coursetags_edit .coursetag_edit_row {clear:both;}
374#page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_left {float:left;width:50%;text-align:right;}
375#page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_right {margin-left:50%;}
376#page-tag-coursetags_edit .coursetag_edit_input3 {display: none;}
377#page-tag-coursetags_more .coursetag_more_large {font-size: 120%;}
378#page-tag-coursetags_more .coursetag_more_small {font-size: 80%;}
379#page-tag-coursetags_more .coursetag_more_link {font-size: 80%;}
380#tag-description,
381#tag-blogs {width:100%;}
382#tag-management-box {margin-bottom:10px;line-height:20px;}
383#tag-user-table {padding:3px;clear: both;width:100%;}
384#tag-user-table:after {content:".";display:block;clear:both;visibility:hidden;height:0;overflow:hidden;}
385img.user-image {height:100px;width:100px;}
386#small-tag-cloud-box {width:300px;margin:0 auto;}
387#big-tag-cloud-box {width:600px;margin:0 auto;float:none;}
388ul#tag-cloud-list {list-style:none;padding:5px;margin:0;}
389ul#tag-cloud-list li {margin:0;display:inline;list-style-type:none;}
390#tag-search-box {text-align:center;margin:10px auto;}
391#tag-search-results-container {padding:0;width:100%;}
392#tag-search-results {padding:0;margin: 15px 20% 0 20%;float:left;width:60%;display:block;}
393#tag-search-results li {width:30%;float:left;padding-left:1%;text-align:left;line-height:20px;padding-right:1%;list-style:none;}
394span.flagged-tag,
395span.flagged-tag a {color:#FF0000;}
396table#tag-management-list {text-align:left;width:100%;}
397table#tag-management-list td,
398table#tag-management-list th {vertical-align: middle;text-align: left;padding: 4px;}
399.tag-management-form {text-align:center;}
400#relatedtags-autocomplete-container {margin-left:auto;margin-right:auto;min-height:4.6em;width:100%;}
401#relatedtags-autocomplete {position:relative;display:block;width:60%;margin-left:auto;margin-right:auto;}
402#relatedtags-autocomplete .yui-ac-content {position:absolute;width:420px;left:20%;border:1px solid #404040;background:#fff;overflow:hidden;z-index:9050;}
403#relatedtags-autocomplete .ysearchquery {position:absolute;right:10px;color:#808080;z-index:10;}
404#relatedtags-autocomplete .yui-ac-shadow {position:absolute;margin:.3em;width:100%;background:#a0a0a0;z-index:9049;}
405#relatedtags-autocomplete ul {padding:0;width:100%;margin:0;list-style-type:none;}
406#relatedtags-autocomplete li {padding:0 5px;cursor:default;white-space:nowrap;}
407#relatedtags-autocomplete li.yui-ac-highlight{background:#FFFFCC;}
408h2.tag-heading,
409div#tag-description,
410div#tag-blogs,
411body.tag .managelink {padding: 5px;}
412.tag_cloud .s20 {font-size: 1.5em;font-weight: bold;}
413.tag_cloud .s19 {font-size: 1.5em;}
414.tag_cloud .s18 {font-size: 1.4em;font-weight: bold;}
415.tag_cloud .s17 {font-size: 1.4em;}
416.tag_cloud .s16 {font-size: 1.3em;font-weight: bold;}
417.tag_cloud .s15 {font-size: 1.3em;}
418.tag_cloud .s14 {font-size: 1.2em;font-weight: bold;}
419.tag_cloud .s13 {font-size: 1.2em;}
420.tag_cloud .s12,
421.tag_cloud .s11 {font-size: 1.1em;font-weight: bold;}
422.tag_cloud .s10,
423.tag_cloud .s9 {font-size: 1.1em;}
424.tag_cloud .s8,
425.tag_cloud .s7 {font-size: 1em;font-weight: bold;}
426.tag_cloud .s6,
427.tag_cloud .s5 {font-size: 1em;}
428.tag_cloud .s4,
429.tag_cloud .s3 {font-size: 0.9em;font-weight: bold;}
430.tag_cloud .s2,
431.tag_cloud .s1 {font-size: 0.9em;}
432.tag_cloud .s0 {font-size: 0.8em;}
433
434/**
435 * File picker
436 * Copyright (c) 2006 Yahoo! Inc. All rights reserved.
437 * copy from yui/examples/treeview/assets/css/folders/tree.css
438 * first or middle sibling, no children
439 */
440/* first or middle sibling, no children */
3002e7fd 441.file-picker .ygtvtn {background: url([[pix:moodle|y/tn]]) 0 0 no-repeat;width:17px;height:22px;}
90723839 442/* first or middle sibling, collapsable */
3002e7fd 443.file-picker .ygtvtm {background: url([[pix:moodle|y/tm]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 444/* first or middle sibling, collapsable, hover */
3002e7fd 445.file-picker .ygtvtmh {background: url([[pix:moodle|y/tmh]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 446/* first or middle sibling, expandable */
3002e7fd 447.file-picker .ygtvtp {background: url([[pix:moodle|y/tp]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 448/* first or middle sibling, expandable, hover */
3002e7fd 449.file-picker .ygtvtph {background: url([[pix:moodle|y/tph]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 450/* last sibling, no children */
3002e7fd 451.file-picker .ygtvln {background: url([[pix:moodle|y/ln]]) 0 0 no-repeat;width:17px;height:22px;}
90723839 452/* Last sibling, collapsable */
3002e7fd 453.file-picker .ygtvlm {background: url([[pix:moodle|y/lm]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 454/* Last sibling, collapsable, hover */
3002e7fd 455.file-picker .ygtvlmh {background: url([[pix:moodle|y/lmh]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 456/* Last sibling, expandable */
3002e7fd 457.file-picker .ygtvlp {background: url([[pix:moodle|y/lp]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 458/* Last sibling, expandable, hover */
3002e7fd 459.file-picker .ygtvlph {background: url([[pix:moodle|y/lph]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
90723839 460/* Loading icon */
3002e7fd 461.file-picker .ygtvloading {background: url([[pix:moodle|y/loading]]) 0 0 no-repeat;width:16px;height:22px;}
90723839 462/* the style for the empty cells that are used for rendering the depth* of the node */
3002e7fd 463.file-picker .ygtvdepthcell {background: url([[pix:moodle|y/vline]]) 0 0 no-repeat;width:17px;height:22px;}
90723839
SH
464.file-picker .ygtvblankdepthcell {width:17px;height:22px;}
465/* the style of the div around each node */
466.file-picker .ygtvitem table{margin-bottom:0;}
467.file-picker .ygtvitem td {border:none;padding:0;}
468/* the style of the div around each node's collection of children */
469* html .file-picker .ygtvchildren {height:1%;}
470/* the style of the text label in ygTextNode */
471.file-picker .ygtvlabel,
472.file-picker .ygtvlabel:link,
473.file-picker .ygtvlabel:visited,
474.file-picker .ygtvlabel:hover {margin-left:2px;text-decoration: none;}
475.file-picker {font-size:12px;}
476.file-picker strong {background:#FFFFCC;}
90723839
SH
477.file-picker .fp-panel {padding:0;margin:0;text-align:left;}
478.file-picker .fp-login-form {text-align:center;}
479.file-picker .fp-searchbar {float:right;}
480.file-picker .fp-viewbar {width:300px;float:left;}
481.file-picker .fp-toolbar {padding: .8em;background: #FFFFCC;text-align:center;margin: 3px;}
482.file-picker .fp-toolbar a {padding: 0 .5em;}
483.file-picker .fp-list {list-style-type:none;padding:0;float:left;width:100%;margin:0;}
b41fc49c 484.dir-rtl .file-picker .fp-list {text-align:right;}
90723839
SH
485.file-picker .fp-list li {border-bottom:1px dotted gray;margin-bottom: 1em;}
486.file-picker .fp-repo-name {display:block;padding: .5em;margin-bottom: .5em;}
487.file-picker .fp-pathbar {margin: .4em;border-bottom: 1px dotted gray;}
488.file-picker .fp-pathbar a {padding: .4em;}
489.file-picker .fp-rename-form {text-align:center;}
490.file-picker .fp-rename-form p {margin: 1em;}
491.file-picker .fp-upload-form {margin: 2em 0;text-align:center;}
492.file-picker .fp-upload-btn {clear:both;margin-top: 2em;}
90723839
SH
493.file-picker .fp-paging {margin:1em .5em;clear:both;text-align:center;line-height: 2.5em;}
494.file-picker .fp-paging a {padding: .5em;border: 1px solid #CCC;}
495.file-picker .fp-paging a.cur_page {border: 1px solid blue;}
496.file-picker .fp-popup {text-align:center;}
879b4f9a 497.file-picker .fp-grid-panel{}
90723839
SH
498.file-picker .fp-grid {float:left;text-align:center;}
499.file-picker .fp-grid div {overflow: hidden;}
500.file-picker .fp-grid p {margin:0;padding:0;background: #FFFFCC;}
501.file-picker .fp-grid .label {height:48px;text-align:center;}
502.file-picker .fp-grid span {color:gray;}
503.file-picker .fp-error {padding: 2em 0;margin: 3em 5px;text-align:center;background: #FFBBBB;}
f312e878 504.file-picker .fp-emptylist, .file-picker .fp-msg {text-align:center;}
bb496de7 505.filepicker-filelist {padding: 5px;margin: 6px 0;background: #E9F4FF;border: #AACCEE 1px solid}
90723839
SH
506/* file picker search dialog */
507.file-picker div.bd {text-align:left;}
508
509/**
510 * File Manager
511 */
512.filemanager-toolbar {margin: 5px 0;}
563d0417
DC
513.filemanager-toolbar a {border: 1px solid #AACCEE;background: #F4FAFF;color: black;padding: 3px;}
514.filemanager-toolbar a:hover {background: #FFFFFF;}
90723839 515.fm-breadcrumb {margin:0;}
d8f31703 516.filemanager-container {padding: 5px;margin: 6px 0;background: #E9F4FF;border: #AACCEE 1px solid}
1345cc53 517.filemanager-container ul{margin:0;padding:0;}
d8f31703 518.filemanager-container ul li{white-space:nowrap;list-style-type:none;}
713e08cf 519.filemanager-container ul li a{padding:0}
d8f31703
DC
520.filemanager-loading{display:none}
521.jsenabled .filemanager-loading{display:block}
da794241 522.fm-menuicon{cursor: pointer;}
90723839
SH
523#fm-move-div {margin: 6px;}
524#fm-move-div strong{color:red;}
90723839
SH
525.fm-file-entry{border: 1px solid red;}
526.fm-operation {font-weight: bold;}
527
1904e9b3
SH
528/*
529 * Backup and Restore CSS
90723839 530 */
1904e9b3
SH
531.path-backup .mform .grouped_settings.section_level {clear:both;}
532.path-backup .mform .grouped_settings {clear:both;overflow:hidden;}
533.path-backup .mform .grouped_settings .fitem .fitemtitle {width:40%;padding-right:10px;}
534.path-backup .mform .grouped_settings .fitem .felement {width:50%;}
bf6d283e 535.path-backup .mform .grouped_settings.section_level .include_setting {width:50%;margin:0;float:left;clear:left;font-weight:bold;}
1904e9b3 536.path-backup .mform .grouped_settings.section_level .normal_setting {width:50%;margin:0;margin-left:50%;}
bf6d283e
SH
537.path-backup .mform .grouped_settings.activity_level .include_setting label {font-weight:normal;}
538.path-backup .mform .fitem fieldset.felement {margin-left:0;width:auto;padding-left:0;}
1904e9b3
SH
539.path-backup .notification.dependencies_enforced {text-align:center;color:#A00;font-weight:bold;}
540.path-backup .backup_progress {text-align:center;}
d2dbd0c0 541.path-backup .backup_progress span.backup_stage {color:#999;}
1904e9b3
SH
542.path-backup .backup_progress .backup_stage.backup_stage_current {font-weight:bold;color:inherit;}
543.path-backup .backup_progress .backup_stage.backup_stage_next {}
d2dbd0c0 544.path-backup .backup_progress span.backup_stage.backup_stage_complete {color:inherit;}
90723839
SH
545
546/**
547 * Web Service
548 */
b1d124d1 549#webservice-doc-generator td {text-align: left;border: 0px solid black;}
36282d85 550
36282d85
RW
551/**
552 * Help Content (pop-up)
553 */
341be301 554#helppopupbox {background-color: #eee; border: 1px solid #848484;z-index: 10000 !important;}
61ddb953 555#helppopupbox .yui3-widget-hd {float:right;margin:3px 3px 0 0;}
39e19487 556#helppopupbox .yui3-widget-bd {margin:0 1em 1em 1em;border-top:1px solid #eee;}
61ddb953 557#helppopupbox .helpheading {font-size: 1em;}
3a42ad12 558#helppopupbox .spinner {margin:1em;}
d2dbd0c0
SH
559
560/**
561 * Custom menu
562 */
563#custommenu {clear:both;}
1ded6e1f 564#custommenu .yui3-menu .yui3-menu {z-index:500;}
d2dbd0c0
SH
565#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content,
566#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .ul {border:1px solid #000;}
567#custommenu .yui3-menu-horizontal.javascript-disabled ul {margin:0;padding:0;}
568#custommenu .yui3-menu-horizontal.javascript-disabled li {margin:0;padding:0;list-style:none;width:auto;position:relative;}
6c95e46a 569#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu .yui3-menu-label {padding-right:20px;}
d2dbd0c0
SH
570#custommenu .yui3-menu-horizontal.javascript-disabled>.yui3-menu-content>ul>li {float:left;}
571#custommenu .yui3-menu-horizontal.javascript-disabled li a {padding:0 10px;}
572#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;}
573#custommenu .yui3-menu-horizontal.javascript-disabled li:hover>.yui3-menu {top:100%;left:0;visibility: visible;z-index:10;}
574#custommenu .yui3-menu-horizontal.javascript-disabled li:hover .yui3-menu .yui3-menu {top:0;left:100%;min-width:200px;}
575#custommenu .yui3-menu-horizontal.javascript-disabled>.yui3-menu-content>ul:after {content:"";display:block;clear:both;line-height:0;font-size:0;visibility:hidden;}
576#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content {font-size:93%;line-height:2;padding:0;}
577#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .yui3-menu-content {font-size:100%;}
572dd8ec 578
6c95e46a
SH
579/**
580 * Fix for broken YUI images in the menunav component
581 */
582#custommenu .yui3-menu-label,
583#custommenu .yui3-menuitem-content {cursor:pointer;}
584#custommenu .yui3-menuitem-active {background-color:#B3D4FF;}
585#custommenu .yui3-menuitem-active,
586#custommenu .yui3-menuitem-active .yui3-menuitem-content,
587#custommenu .yui3-menu-horizontal .yui3-menu-label,
588#custommenu .yui3-menu-horizontal .yui3-menu-content {background-image:none;background-position:right center;background-repeat:no-repeat;}
8f85249a 589#custommenu .yui3-menu-label,
6c95e46a
SH
590#custommenu .yui3-menu .yui3-menu .yui3-menu-label {background-image:url([[pix:theme|vertical-menu-submenu-indicator]]);}
591#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible {background-image:url([[pix:theme|horizontal-menu-submenu-indicator]]);}
592
572dd8ec
SH
593/**
594 * Smart Select Element
595 */
596.smartselect {position:absolute;}
597.smartselect .smartselect_mask {background-color:#fff;}
598.smartselect ul {padding: 0;margin: 0;}
599.smartselect ul li {list-style: none;}
600.smartselect .smartselect_menu {margin-right:5px;}
601.safari .smartselect .smartselect_menu {margin-left:2px;}
602.smartselect .smartselect_menu,
603.smartselect .smartselect_submenu {border:1px solid #000;background-color:#FFF;display: none;}
604.smartselect .smartselect_menu.visible,
605.smartselect .smartselect_submenu.visible {display:block;}
606.smartselect .smartselect_menu_content ul li {position:relative;padding:2px 5px;}
607.smartselect .smartselect_menu_content ul li a {color:#333;text-decoration:none;}
608.smartselect .smartselect_menu_content ul li a.selectable {color:inherit;}
43be52d3 609.smartselect .smartselect_submenuitem {background-image:url([[pix:moodle|t/collapsed]]);background-repeat: no-repeat;background-position:100%;}
572dd8ec
SH
610/** Spanning mode */
611.smartselect.spanningmenu .smartselect_submenu {position:absolute;top:-1px;left:100%;}
612.smartselect.spanningmenu .smartselect_submenu a {white-space: nowrap;padding-right:16px;}
572dd8ec
SH
613.smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {text-decoration:underline;}
614/** Compact mode */
43be52d3 615.smartselect.compactmenu .smartselect_submenu {position:relative;margin:2px -3px; margin-left: 10px;display:none;border-width:0;z-index: 1010;}
572dd8ec
SH
616.smartselect.compactmenu .smartselect_submenu.visible {display:block;}
617.smartselect.compactmenu .smartselect_menu {z-index: 1000;overflow:hidden;}
618.smartselect.compactmenu .smartselect_submenu .smartselect_submenu {z-index: 1020;}
619.smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {font-weight:bold;}
af7c1e29 620
139978e5 621/**
622 * Registration
623 */
26ffb4b1 624#page-admin-registration-register .registration_textfield {width: 300px;}
a70eb30f
SH
625
626/**
627 * Enrol
628 */
629.userenrolment {width:100%;border-collapse: collapse;}
630.userenrolment td {padding:0;height:41px;}
631.userenrolment .subfield {margin-right:5px;}
632.userenrolment .col_userdetails .subfield_picture {float:left;}
633.userenrolment .col_lastseen {width:150px;}
634.userenrolment .col_role {width:262px;}
635.userenrolment .col_role .roles {margin-right:30px;}
636.userenrolment .col_role .role {float:left;padding:3px;margin:3px;}
637.userenrolment .col_role .role a {margin-left:3px;cursor:pointer;}
638.userenrolment .col_role .addrole {float:right;width:18px;margin:3px;height:18px;text-align:center;}
639.userenrolment .col_role .addrole a img {vertical-align:bottom;}
640.userenrolment .hasAllRoles .col_role .addrole {display:none;}
641.userenrolment .col_group .groups {margin-right:30px;}
642.userenrolment .col_group .group {float:left;padding:3px;margin:3px;white-space:nowrap;}
643.userenrolment .col_group .group a {margin-left:3px;cursor:pointer;}
644.userenrolment .col_group .addgroup {float:right;width:18px;margin:3px;height:18px;text-align:center;}
645.userenrolment .col_group .addgroup a img {vertical-align:bottom;}
646.userenrolment .col_enrol .enrolment {float:left;padding:3px;margin:3px;}
43c90b9b 647.userenrolment .col_enrol .enrolment a {float:right;margin-left:3px;}
410135aa
SH
648#page-enrol-users .enrol_user_buttons {float:right;}
649#page-enrol-users .enrol_user_buttons .enrolusersbutton {margin-left:1em;display:inline;}
650#page-enrol-users .enrol_user_buttons .enrolusersbutton div,
651#page-enrol-users .enrol_user_buttons .enrolusersbutton form {display:inline;}
652#page-enrol-users .enrol_user_buttons .enrolusersbutton input {padding-left:6px;padding-right:6px;}
43c90b9b 653
3a42ad12 654/**
315d4971
RW
655* Overide for RTL layout
656**/
43c90b9b
RW
657.dir-rtl .headermain {float:right;}
658.dir-rtl .headermenu {float:left;}
659.dir-rtl .breadcrumb {float:right;}
660.dir-rtl .navbutton {float: left;}
661.dir-rtl .breadcrumb ul li { float: right; margin-left: 5px;}
662.dir-rtl .mform .fitem .fitemtitle {float:right;}
663.dir-rtl .loginbox .loginform .form-label {float:right;text-align:left;}
664.dir-rtl .loginbox .loginform .form-input {text-align: right;}
57e8a936 665
315d4971
RW
666/**
667 * Backup
668 */
785d6603
SH
669.backup-restore .backup-section {clear:both;border:1px solid #ddd;background-color:#f6f6f6;margin-bottom:1em;}
670.backup-restore .backup-section > h2.header {padding:5px 6px;margin:0;border-bottom:1px solid #ddd;}
71d1751c 671.backup-restore .backup-section .noticebox {margin:1em auto;width:60%;text-align:center;}
785d6603
SH
672.backup-restore .backup-section .backup-sub-section {margin:0 25px;background-color:#f9f9f9;border:1px solid #f3f3f3;margin-bottom:1em;}
673.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;}
674.backup-restore .backup-section.settings-section .detail-pair {margin:0;padding:0;width:50%;display:inline-block;}
675.backup-restore .backup-section.settings-section .detail-pair .detail-pair-label {width:65%;}
676.backup-restore .backup-section.settings-section .detail-pair .detail-pair-value {width:25%;}
677.backup-restore .activitytable {width:60%;min-width:500px;}
678.backup-restore .activitytable .modulename {width:100px;}
679.backup-restore .activitytable .moduleincluded {width:50px;}
680.backup-restore .activitytable .userinfoincluded {width:50px;}
681.backup-restore .detail-pair {}
682.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;}
683.backup-restore .detail-pair-value {display:inline-block;width:65%;padding:8px;margin:0;}
684.backup-restore .detail-pair-value > .sub-detail {display:block;color:#1580B6;margin-left:2em;font-size:90%;font-style: italic;}
c3853702 685.backup-restore > .singlebutton {text-align:right;}
bf6d283e 686.path-backup .mform .fgroup .proceedbutton {float:right;margin-right:1%;}
785d6603 687
3acc9b81
SH
688.restore-course-search .rcs-results {width:70%;min-width:400px;border:1px solid #ddd;margin:5px 0;}
689.restore-course-search .rcs-results table {width:100%;margin:0;border-width:0;}
367a75fa 690.restore-course-search .rcs-results table .no-overflow {max-width:600px;}
3acc9b81
SH
691.restore-course-search .rcs-results .paging {text-align:left;margin:0;background-color:#eee;padding:3px;}
692
693.restore-course-category .rcs-results {width:70%;min-width:400px;border:1px solid #ddd;margin:5px 0;}
694.restore-course-category .rcs-results table {width:100%;margin:0;border-width:0;}
367a75fa 695.restore-course-category .rcs-results table .no-overflow {max-width:600px;}
3acc9b81
SH
696.restore-course-category .rcs-results .paging {text-align:left;margin:0;background-color:#eee;padding:3px;}
697
57e8a936 698.corelightbox {background-color:#CCC;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;}
785d6603 699.corelightbox img {position:fixed;top:50%;}
315d4971 700
3a42ad12 701/**
315d4971
RW
702 * IE - Overide for RTL layout
703 */
704.ie.dir-rtl .mform .fitem .felement {margin-right:0;text-align:right;float:right;}
3a42ad12 705
060cd0c8
SH
706.mod-indent-1 {margin-left:20px;}
707.mod-indent-2 {margin-left:40px;}
708.mod-indent-3 {margin-left:60px;}
709.mod-indent-4 {margin-left:80px;}
710.mod-indent-5 {margin-left:100px;}
711.mod-indent-6 {margin-left:120px;}
712.mod-indent-7 {margin-left:140px;}
713.mod-indent-8 {margin-left:160px;}
714.mod-indent-9 {margin-left:180px;}
715.mod-indent-10 {margin-left:200px;}
716.mod-indent-11 {margin-left:220px;}
717.mod-indent-12 {margin-left:240px;}
718.mod-indent-13 {margin-left:260px;}
719.mod-indent-14 {margin-left:280px;}
720.mod-indent-15,
70cb0769 721.mod-indent-huge {margin-left:300px;}
fcd2cbaf 722
b41fc49c
NK
723.dir-rtl .felement.feditor select {margin-right:18.75%;}
724
fcd2cbaf 725/* Resourcelib mp3 player size: only width could be changed here, height hardcoded in JS */
0235bd87
SH
726.resourcecontent .resourcemediaplugin_mp3 object {height:25px; width: 600px}
727
728/*
1bb48462
ME
729Fix for SubScript & SuperScript
730------------------------------*/
b41fc49c
NK
731sub {vertical-align: sub;}
732sup {vertical-align: super;}
733
734/** Fix YUI 2 Treeview for Right to left languages **/
735.dir-rtl .ygtvtn,
736.dir-rtl .ygtvtm,
737.dir-rtl .ygtvtmh,
738.dir-rtl .ygtvtmhh,
739.dir-rtl .ygtvtp,
740.dir-rtl .ygtvtph,
741.dir-rtl .ygtvtphh,
742.dir-rtl .ygtvln,
743.dir-rtl .ygtvlm,
744.dir-rtl .ygtvlmh,
745.dir-rtl .ygtvlmhh,
746.dir-rtl .ygtvlp,
747.dir-rtl .ygtvlph,
748.dir-rtl .ygtvlphh,
749.dir-rtl .ygtvdepthcell,
750.dir-rtl .ygtvok,
751.dir-rtl .ygtvok:hover,
752.dir-rtl .ygtvcancel,
753.dir-rtl .ygtvcancel:hover {width:18px; height:22px; background-image:url([[pix:theme|yui2-treeview-sprite-rtl]]); background-repeat: no-repeat; cursor:pointer;}
754
755.dir-rtl .ygtvtn {background-position: 0 -5600px;}
756.dir-rtl .ygtvtm {background-position: 0 -4000px;}
757.dir-rtl .ygtvtmh,
758.dir-rtl .ygtvtmhh {background-position: 0 -4800px;}
759.dir-rtl .ygtvtp {background-position: 0 -6400px;}
760.dir-rtl .ygtvtph,
761.dir-rtl .ygtvtphh {background-position: 0 -7200px;}
762.dir-rtl .ygtvln {background-position: 0 -1600px;}
763.dir-rtl .ygtvlm {background-position: 0 0;}
764.dir-rtl .ygtvlmh,
765.dir-rtl .ygtvlmhh {background-position: 0 -800px;}
766.dir-rtl .ygtvlp {background-position: 0 -2400px;}
767.dir-rtl .ygtvlph,
768.dir-rtl .ygtvlphh {background-position: 0 -3200px}
769.dir-rtl .ygtvdepthcell {background-position: 0 -8000px;}
770.dir-rtl .ygtvok {background-position: 0 -8800px;}
771.dir-rtl .ygtvok:hover {background-position: 0 -8844px;}
772.dir-rtl .ygtvcancel {background-position: 0 -8822px;}
773.dir-rtl .ygtvcancel:hover {background-position: 0 -8866px;}
774
775.dir-rtl #yui-gen4.yui-layout-unit-left {left:500px !important;}
776.dir-rtl #yui-gen6.yui-layout-unit-center {left:0px !important;}
777.dir-rtl.yui-skin-sam .yui-panel .hd {text-align:left;}
778.dir-rtl .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {text-align:right;}
779
780/** Fix TinyMCE editor right to left **/
781.dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {top: 44px;}
3ae75b44
ME
782.dir-rtl .o2k7Skin table,
783.dir-rtl .o2k7Skin tbody,
784.dir-rtl .o2k7Skin a,
785.dir-rtl .o2k7Skin img,
786.dir-rtl .o2k7Skin tr,
787.dir-rtl .o2k7Skin div,
788.dir-rtl .o2k7Skin td,
789.dir-rtl .o2k7Skin iframe,
790.dir-rtl .o2k7Skin span,
791.dir-rtl .o2k7Skin *,
b41fc49c 792.dir-rtl .o2k7Skin .mceText,
1559583c 793.dir-rtl .o2k7Skin .mceListBox .mceText {text-align:right;}
2b04c41c
SH
794
795.path-rating .ratingtable {width:100%;margin-bottom:1em;}
796.path-rating .ratingtable th.rating {width:100%;}
797.path-rating .ratingtable td.rating,
f6f7a726 798.path-rating .ratingtable td.time {white-space:nowrap; text-align:center;}
3ae75b44 799
d1c96f66 800/* Fix for ordered and unordered list in course topic summary & course weekly summary */
3ae75b44
ME
801ul li,
802.course-content ul.weeks .content .summary ul li,
d1c96f66 803.course-content ul.topics .content .summary ul li {list-style: disc outside none;}
3ae75b44
ME
804ol li,
805.course-content ul.weeks .content .summary ol li,
8f85249a 806.course-content ul.topics .content .summary ol li {list-style: decimal outside none;}