MDL-18903 All outgoing emails can be diverted into a single address
[moodle.git] / theme / base / style / core.css
CommitLineData
6f0a938b
PS
1
2/* custom moodle style resets, differencies from the YUI reset */
3
4.dir-ltr {
5 text-align: left;
6}
7
8.dir-rtl {
9 text-align: right;
10}
11
12
78946b9b
PS
13/***
14 * Accessibility features
15 **/
16
17/*Accessibility: text 'seen' by screen readers but not visual users. */
18.accesshide {
19 position:absolute;
20 top:-100000px;
21 left:10px;
22 font-weight:normal;
23 font-size:1em;
24}
25span.hide,
d896fd51
SH
26div.hide,
27.jsenabled .advancedbutton .showadvancedbtn {
78946b9b
PS
28 display:none;
29}
30
31/*Accessibility: Skip block link, for keyboard-only users. */
32a.skip-block, a.skip {
33 position: absolute;
34 top: -1000em;
35 font-size: 0.85em;
36}
37a.skip-block:focus, a.skip-block:active,
38a.skip:focus, a.skip:active {
39 position: static;
40 display: block;
41}
42.skip-block-to {
43 display: block;
44 height: 1px;
45 overflow: hidden;
46}
47
48a.skip-block {
49 text-decoration:none;
50}
51
52/***
53 * General
54 **/
55
2d65597b
PS
56/* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
57.jsenabled .hiddenifjs {
58 display: none;
59}
60
c2489597
SH
61.yui-overlay .yui-widget-bd {
62 background-color:#FFEE69;
63 border-color:#D4C237 #A6982B #A6982B;
64 border-style:solid;
65 border-width:1px;
66 color:#000000;
67 left:0;
68 padding:2px 5px;
69 position:relative;
70 top:0;
71 z-index:1;
72}
73
78946b9b
PS
74.clearer {
75 clear:both;
76 margin:0;
77 padding:0;
78 height:1px;
79 border:none;
80 background:transparent;
81 display:block;
82}
83
84.clearfix:after {
85 min-width: 0;
86 content: ".";
87 display: block;
88 height: 0;
89 clear: both;
90 visibility: hidden;
91}
92
93.generalbox {
94 border-width: 1px;
95 border-style: solid;
96}
97
98.boxaligncenter {
99 margin-left:auto;
100 margin-right:auto;
101}
102
103.boxalignright {
104 margin-left:auto;
105 margin-right:0;
106}
107
108.boxalignleft {
109 margin-left:0;
110 margin-right:auto;
111}
112
113.boxwidthnarrow {
114 width: 30%
115}
116
117.boxwidthnormal {
118 width: 50%
119}
120
121.boxwidthwide {
122 width: 80%
123}
124
125.mdl-align {
126 text-align: center;
127}
128.mdl-left {
129 text-align: left;
130}
131.mdl-right {
132 text-align: right;
133}
134
135/***
136 * Header
137 **/
138
139.breadcrumb ul {
140 padding:0;
141 margin:0;
142 text-indent:0;
143 list-style:none;
144}
145.breadcrumb li {
146 display:inline;
147}
148
149.navbar .navbutton div,
150.navbar .navbutton form {
151 display:inline;
152}
153
154/***
155 ** Course stuff
156 **/
157
158.section_add_menus .horizontal div,
159.section_add_menus .horizontal form {
160 display:inline;
161}
162
163.course-content .section .activity img.activityicon {
164 vertical-align:middle;
165 height:16px;
166 width:16px;
c2489597 167}