Merge "Minor CSS cleanup for Vector and Monobook skins"
[mediawiki.git] / resources / mediawiki.ui / mediawiki.ui.default.css
blob2568f5a7899ac0c2128da5e6f6c8da16979bae72
1 /**
2 * Provide Agora appearance for mw-ui-* classes when using a skin other than
3 * Vector.
4 * Compass builds these Agora styles from source Sass files in
5 * extensions/Agora/modules/scss
6 */
7 /* _effects.scss */
8 /* Mixins for visual effects in CSS3 */
9 /* line 7, sourcefiles/scss/components/_utilities.scss */
10 .mw-ui-flush-left {
11 float: left;
12 margin-left: 0;
13 padding-left: 0;
16 /* line 11, sourcefiles/scss/components/_utilities.scss */
17 .mw-ui-flush-right {
18 float: right;
19 margin-right: 0;
20 padding-right: 0;
23 /* line 15, sourcefiles/scss/components/_utilities.scss */
24 .mw-ui-center-block {
25 display: block;
26 margin-left: auto;
27 margin-right: auto;
30 /* line 4, sourcefiles/scss/components/default/_buttons.scss */
31 .mw-ui-button {
32 display: -moz-inline-stack;
33 display: inline-block;
34 vertical-align: middle;
35 *vertical-align: auto;
36 zoom: 1;
37 *display: inline;
38 padding: 0.4em 1em 0.4em 1em;
39 margin: 0;
40 background-color: #c9c9c9;
41 *background-color: #c9c9c9;
42 *zoom: 1;
43 filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFDCDCDC', endColorstr='#FFC9C9C9');
44 background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dcdcdc), color-stop(100%, #c9c9c9));
45 background-image: -webkit-linear-gradient(top, #dcdcdc, #c9c9c9);
46 background-image: -moz-linear-gradient(top, #dcdcdc, #c9c9c9);
47 background-image: -o-linear-gradient(top, #dcdcdc, #c9c9c9);
48 background-image: linear-gradient(top, #dcdcdc, #c9c9c9);
49 color: #4a4a4a;
50 text-shadow: 0 1px 1px rgba(201, 201, 201, 0.3);
51 border: 1px solid #c4c4c4;
52 -webkit-border-radius: 3px;
53 -moz-border-radius: 3px;
54 -ms-border-radius: 3px;
55 -o-border-radius: 3px;
56 border-radius: 3px;
57 vertical-align: middle;
58 text-align: center;
59 text-decoration: none;
60 font-weight: bold;
61 cursor: pointer;
63 /* line 38, sourcefiles/scss/mixins/_effects.scss */
64 .mw-ui-button:hover, .mw-ui-button.mw-ui-hover {
65 background-color: gainsboro;
66 *background-color: gainsboro;
67 *zoom: 1;
68 filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE9E9E9', endColorstr='#FFDCDCDC');
69 background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e9e9e9), color-stop(100%, #dcdcdc));
70 background-image: -webkit-linear-gradient(top, #e9e9e9, #dcdcdc);
71 background-image: -moz-linear-gradient(top, #e9e9e9, #dcdcdc);
72 background-image: -o-linear-gradient(top, #e9e9e9, #dcdcdc);
73 background-image: linear-gradient(top, #e9e9e9, #dcdcdc);
74 text-decoration: none;
76 /* line 44, sourcefiles/scss/mixins/_effects.scss */
77 .mw-ui-button:active, .mw-ui-button.mw-ui-active {
78 background-image: none;
79 background-color: #c1c1c1;
80 text-shadow: none;
82 /* line 54, sourcefiles/scss/mixins/_effects.scss */
83 .mw-ui-button:disabled, .mw-ui-button.mw-ui-disabled {
84 background-image: none;
85 background-color: #c9c9c9;
86 opacity: 0.5;
87 text-shadow: none;
89 /* line 30, sourcefiles/scss/components/default/_buttons.scss */
90 .mw-ui-button:disabled, .mw-ui-button.mw-ui-disabled {
91 cursor: default;
93 /* line 36, sourcefiles/scss/components/default/_buttons.scss */
94 .mw-ui-button.mw-ui-big {
95 font-size: 1.3em;
97 /* line 41, sourcefiles/scss/components/default/_buttons.scss */
98 .mw-ui-button.mw-ui-block {
99 display: block;
100 width: 100%;
103 /* line 48, sourcefiles/scss/components/default/_buttons.scss */
104 .mw-ui-button-group > * {
105 -webkit-border-radius: 0;
106 -moz-border-radius: 0;
107 -ms-border-radius: 0;
108 -o-border-radius: 0;
109 border-radius: 0;
110 float: left;
112 /* line 52, sourcefiles/scss/components/default/_buttons.scss */
113 .mw-ui-button-group > *:first-child {
114 -moz-border-radius-topleft: 3px;
115 -webkit-border-top-left-radius: 3px;
116 border-top-left-radius: 3px;
117 -moz-border-radius-bottomleft: 3px;
118 -webkit-border-bottom-left-radius: 3px;
119 border-bottom-left-radius: 3px;
121 /* line 57, sourcefiles/scss/components/default/_buttons.scss */
122 .mw-ui-button-group > *:last-child {
123 -moz-border-radius-topright: 3px;
124 -webkit-border-top-right-radius: 3px;
125 border-top-right-radius: 3px;
126 -moz-border-radius-bottomright: 3px;
127 -webkit-border-bottom-right-radius: 3px;
128 border-bottom-right-radius: 3px;
131 /* line 14, sourcefiles/scss/components/default/_forms.scss */
132 .mw-ui-vform {
133 -webkit-box-sizing: border-box;
134 -moz-box-sizing: border-box;
135 box-sizing: border-box;
136 width: 290px;
138 /* line 19, sourcefiles/scss/components/default/_forms.scss */
139 .mw-ui-vform > div {
140 display: block;
141 margin: 0 0 15px 0;
142 padding: 0;
143 width: 100%;
145 /* line 28, sourcefiles/scss/components/default/_forms.scss */
146 .mw-ui-vform > div input,
147 .mw-ui-vform > div label,
148 .mw-ui-vform > div .mw-ui-button {
149 display: block;
150 -webkit-box-sizing: border-box;
151 -moz-box-sizing: border-box;
152 box-sizing: border-box;
153 margin: 0;
154 width: 100%;
156 /* line 35, sourcefiles/scss/components/default/_forms.scss */
157 .mw-ui-vform > div input {
158 outline: 0;
159 border-style: solid;
160 border-width: 1px;
161 border-color: #c9c9c9;
162 color: #252525;
163 padding: 0.35em 0 0.35em 0.5em;
165 /* line 12, sourcefiles/scss/mixins/_forms.scss */
166 .mw-ui-vform > div input:focus {
167 box-shadow: #4091ed 0px 0px 5px;
168 border-color: #4091ed;
170 /* line 39, sourcefiles/scss/components/default/_forms.scss */
171 .mw-ui-vform > div label {
172 font-size: 0.9em;
173 color: #7d7d7d;
174 width: auto;
175 margin: 0 0 0.2em 0;
176 padding: 0;
178 /* line 34, sourcefiles/scss/mixins/_forms.scss */
179 .mw-ui-vform > div label * {
180 font-weight: normal;
182 /* line 49, sourcefiles/scss/components/default/_forms.scss */
183 .mw-ui-vform > div input[type="checkbox"],
184 .mw-ui-vform > div input[type="radio"] {
185 display: inline;
186 -webkit-box-sizing: content-box;
187 -moz-box-sizing: content-box;
188 box-sizing: content-box;
189 width: auto;
192 /* line 65, sourcefiles/scss/components/default/_forms.scss */
193 .mw-ui-input {
194 outline: 0;
195 border-style: solid;
196 border-width: 1px;
197 border-color: #c9c9c9;
198 color: #252525;
199 padding: 0.35em 0 0.35em 0.5em;
201 /* line 12, sourcefiles/scss/mixins/_forms.scss */
202 .mw-ui-input:focus {
203 box-shadow: #4091ed 0px 0px 5px;
204 border-color: #4091ed;
207 /* line 72, sourcefiles/scss/components/default/_forms.scss */
208 .mw-ui-label {
209 font-size: 0.9em;
210 color: #7d7d7d;
212 /* line 34, sourcefiles/scss/mixins/_forms.scss */
213 .mw-ui-label * {
214 font-weight: normal;
217 /* line 81, sourcefiles/scss/components/default/_forms.scss */
218 .mw-ui-checkbox-label, .mw-ui-radio-label {
219 margin-bottom: 0.5em;
220 cursor: pointer;
221 vertical-align: bottom;
222 line-height: normal;
223 font-weight: normal;
225 /* line 50, sourcefiles/scss/mixins/_forms.scss */
226 .mw-ui-checkbox-label > input[type="checkbox"], .mw-ui-checkbox-label > input[type="radio"], .mw-ui-radio-label > input[type="checkbox"], .mw-ui-radio-label > input[type="radio"] {
227 width: auto;
228 height: auto;
229 margin: 0 0.1em 0em 0;
230 padding: 0;
231 border-style: solid;
232 border-width: 1px;
233 border-color: #c9c9c9;
234 cursor: pointer;