Merge "Add deprecated annotation to Article::doEditContent()"
[mediawiki.git] / resources / lib / oojs-ui / oojs-ui-toolbars-mediawiki.css
blob88b2c7cb601b2cd622107ac481f506a4ffd37905
1 /*!
2 * OOjs UI v0.18.4
3 * https://www.mediawiki.org/wiki/OOjs_UI
5 * Copyright 2011–2017 OOjs UI Team and other contributors.
6 * Released under the MIT license
7 * http://oojs.mit-license.org
9 * Date: 2017-01-18T00:07:12Z
11 .oo-ui-tool.oo-ui-widget-enabled {
12 -webkit-transition: background-color 100ms;
13 -moz-transition: background-color 100ms;
14 transition: background-color 100ms;
16 .oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
17 -webkit-transition: color 100ms;
18 -moz-transition: color 100ms;
19 transition: color 100ms;
21 .oo-ui-popupTool .oo-ui-popupWidget-popup,
22 .oo-ui-popupTool .oo-ui-popupWidget-anchor {
23 z-index: 4;
25 .oo-ui-popupTool .oo-ui-popupWidget {
26 /* @noflip */
27 margin-left: 1.25em;
29 .oo-ui-toolGroupTool > .oo-ui-toolGroup {
30 border-right: 0;
32 .oo-ui-toolGroupTool > .oo-ui-popupToolGroup > .oo-ui-popupToolGroup-handle {
33 height: 2.5em;
34 padding: 0.3125em;
36 .oo-ui-toolGroupTool > .oo-ui-popupToolGroup > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
37 height: 2.5em;
38 width: 1.875em;
40 .oo-ui-toolGroupTool > .oo-ui-popupToolGroup.oo-ui-labelElement > .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
41 line-height: 2.1;
43 .oo-ui-toolGroup {
44 display: inline-block;
45 vertical-align: middle;
46 border-right: 1px solid #c8ccd1;
48 .oo-ui-toolGroup-empty {
49 display: none;
51 .oo-ui-toolGroup .oo-ui-tool-link {
52 text-decoration: none;
53 cursor: pointer;
55 .oo-ui-toolGroup.oo-ui-widget-disabled .oo-ui-tool-link,
56 .oo-ui-toolGroup .oo-ui-widget-disabled > .oo-ui-tool-link {
57 outline: 0;
58 cursor: default;
60 .oo-ui-toolbar-actions .oo-ui-toolGroup {
61 border-right: 0;
62 border-left: 1px solid #c8ccd1;
64 .oo-ui-toolbar-narrow .oo-ui-toolGroup + .oo-ui-toolGroup {
65 margin-left: 0;
67 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool {
68 display: inline-block;
69 position: relative;
70 vertical-align: top;
72 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link {
73 display: block;
75 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link .oo-ui-tool-accel {
76 display: none;
78 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon {
79 display: inline-block;
80 vertical-align: top;
82 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-tool-title {
83 display: none;
85 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement.oo-ui-tool-with-label > .oo-ui-tool-link .oo-ui-tool-title {
86 display: inline;
88 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link {
89 height: 1.875em;
90 padding: 0.625em;
92 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link .oo-ui-iconElement-icon {
93 height: 1.875em;
94 width: 1.875em;
96 .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link .oo-ui-tool-title {
97 line-height: 2.1;
98 padding: 0 0.4em;
100 .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover {
101 background-color: #eaecf0;
103 .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link .oo-ui-tool-title {
104 color: #222;
105 -webkit-transition: color 100ms;
106 -moz-transition: color 100ms;
107 transition: color 100ms;
109 .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active {
110 background-color: #eaf3ff;
111 box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07);
113 .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active:hover {
114 background-color: rgba(41, 98, 204, 0.1);
116 .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link .oo-ui-tool-title {
117 color: #36c;
119 .oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-tool.oo-ui-widget-disabled > .oo-ui-tool-link .oo-ui-tool-title,
120 .oo-ui-barToolGroup.oo-ui-widget-disabled .oo-ui-tool > .oo-ui-tool-link .oo-ui-tool-title {
121 color: #72777d;
123 .oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-tool.oo-ui-widget-disabled > .oo-ui-tool-link .oo-ui-iconElement-icon,
124 .oo-ui-barToolGroup.oo-ui-widget-disabled .oo-ui-tool > .oo-ui-tool-link .oo-ui-iconElement-icon {
125 opacity: 0.3;
127 .oo-ui-popupToolGroup {
128 position: relative;
129 height: 3.125em;
130 min-width: 2em;
132 .oo-ui-popupToolGroup-handle {
133 display: block;
134 cursor: pointer;
136 .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator,
137 .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
138 position: absolute;
140 .oo-ui-popupToolGroup.oo-ui-widget-disabled .oo-ui-popupToolGroup-handle {
141 outline: 0;
142 cursor: default;
144 .oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
145 display: none;
146 position: absolute;
147 z-index: 4;
149 .oo-ui-popupToolGroup-active.oo-ui-widget-enabled > .oo-ui-toolGroup-tools {
150 display: block;
152 .oo-ui-popupToolGroup-left > .oo-ui-toolGroup-tools {
153 left: 0;
155 .oo-ui-popupToolGroup-right > .oo-ui-toolGroup-tools {
156 right: 0;
158 .oo-ui-popupToolGroup .oo-ui-tool-link {
159 display: table;
160 width: 100%;
161 vertical-align: middle;
162 white-space: nowrap;
164 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-iconElement-icon,
165 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel,
166 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
167 display: table-cell;
168 vertical-align: middle;
170 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel {
171 text-align: right;
173 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel:not( :empty ) {
174 padding-left: 3em;
176 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup {
177 min-width: 1.875em;
179 .oo-ui-popupToolGroup.oo-ui-iconElement {
180 min-width: 3.125em;
182 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup.oo-ui-iconElement {
183 min-width: 2.5em;
185 .oo-ui-popupToolGroup.oo-ui-indicatorElement.oo-ui-iconElement {
186 min-width: 4.375em;
188 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup.oo-ui-indicatorElement.oo-ui-iconElement {
189 min-width: 3.75em;
191 .oo-ui-popupToolGroup.oo-ui-labelElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
192 line-height: 2.6;
193 margin: 0 1em;
195 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup.oo-ui-labelElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
196 margin: 0 0.5em;
198 .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-iconElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
199 margin-left: 3em;
201 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-iconElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
202 margin-left: 2.5em;
204 .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
205 margin-right: 2em;
207 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
208 margin-right: 1.75em;
210 .oo-ui-popupToolGroup-header {
211 line-height: 2.6;
212 margin: 0 0.6em;
213 font-weight: bold;
215 .oo-ui-popupToolGroup-handle {
216 padding: 0.3125em;
217 height: 2.5em;
219 .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator {
220 width: 0.9375em;
221 height: 1.625em;
222 margin: 0.78125em 0.5em;
223 top: 0;
224 right: 0;
225 opacity: 0.3;
227 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator {
228 right: -0.3125em;
230 .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
231 width: 1.875em;
232 height: 2.6em;
233 margin: 0.25em;
234 top: 0;
235 left: 0.3125em;
236 opacity: 0.7;
238 .oo-ui-toolbar-narrow .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
239 left: 0;
241 .oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
242 top: 3.125em;
243 margin: 0 -1px;
244 border: 1px solid #c8ccd1;
245 background-color: #fff;
246 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
247 min-width: 16em;
249 .oo-ui-popupToolGroup .oo-ui-tool-link {
250 padding: 0.4em 0.625em;
251 -webkit-box-sizing: border-box;
252 -moz-box-sizing: border-box;
253 box-sizing: border-box;
255 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-iconElement-icon {
256 height: 2.5em;
257 width: 1.875em;
258 min-width: 1.875em;
260 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title,
261 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel {
262 line-height: 2;
264 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
265 padding-left: 0.5em;
266 color: #222;
268 .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel {
269 color: #72777d;
271 .oo-ui-popupToolGroup.oo-ui-widget-enabled {
272 -webkit-transition: background-color 100ms, box-shadow 100ms;
273 -moz-transition: background-color 100ms, box-shadow 100ms;
274 transition: background-color 100ms, box-shadow 100ms;
276 .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
277 box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07);
278 background-color: #eaecf0;
280 .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
281 color: #36c;
283 .oo-ui-popupToolGroup.oo-ui-widget-enabled-handle:hover {
284 background-color: #eaecf0;
286 .oo-ui-popupToolGroup.oo-ui-widget-enabled-handle:active {
287 background-color: #eaf3ff;
289 .oo-ui-listToolGroup .oo-ui-tool {
290 display: block;
291 -webkit-box-sizing: border-box;
292 -moz-box-sizing: border-box;
293 box-sizing: border-box;
295 .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover {
296 background-color: #eaecf0;
298 .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover .oo-ui-tool-link .oo-ui-iconElement-icon {
299 opacity: 0.9;
301 .oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled {
302 background-color: #eaf3ff;
304 .oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled:first-child {
305 box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07);
307 .oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled:hover {
308 background-color: rgba(41, 98, 204, 0.1);
310 .oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
311 color: #36c;
313 .oo-ui-listToolGroup.oo-ui-widget-disabled,
314 .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title {
315 color: #72777d;
317 .oo-ui-listToolGroup.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator,
318 .oo-ui-listToolGroup.oo-ui-widget-disabled .oo-ui-iconElement-icon,
319 .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-disabled .oo-ui-iconElement-icon {
320 opacity: 0.3;
322 .oo-ui-menuToolGroup .oo-ui-tool {
323 display: block;
325 .oo-ui-menuToolGroup .oo-ui-popupToolGroup-handle {
326 min-width: 10em;
328 .oo-ui-toolbar-narrow .oo-ui-menuToolGroup .oo-ui-popupToolGroup-handle {
329 min-width: 8.125em;
331 .oo-ui-menuToolGroup .oo-ui-tool-link .oo-ui-iconElement-icon {
332 background-image: none;
334 .oo-ui-menuToolGroup .oo-ui-tool-active .oo-ui-tool-link .oo-ui-iconElement-icon {
335 background-image: url('themes/mediawiki/images/icons/check-progressive.png');
336 background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url('themes/mediawiki/images/icons/check-progressive.svg');
337 background-image: linear-gradient(transparent, transparent), /* @embed */ url('themes/mediawiki/images/icons/check-progressive.svg');
338 background-image: -o-linear-gradient(transparent, transparent), url('themes/mediawiki/images/icons/check-progressive.png');
339 background-size: contain;
340 background-position: center center;
341 background-repeat: no-repeat;
343 .oo-ui-menuToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover {
344 background-color: rgba(41, 98, 204, 0.1);
346 .oo-ui-menuToolGroup .oo-ui-tool-name-menuTool.oo-ui-tool-active {
347 background-color: #eaf3ff;
349 .oo-ui-menuToolGroup.oo-ui-widget-disabled,
350 .oo-ui-menuToolGroup .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title {
351 color: #72777d;
353 .oo-ui-menuToolGroup.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator,
354 .oo-ui-menuToolGroup.oo-ui-widget-disabled .oo-ui-iconElement-icon,
355 .oo-ui-menuToolGroup .oo-ui-tool.oo-ui-widget-disabled .oo-ui-iconElement-icon {
356 opacity: 0.3;
358 .oo-ui-toolbar {
359 clear: both;
361 .oo-ui-toolbar-bar {
362 line-height: 1;
363 position: relative;
365 .oo-ui-toolbar-tools,
366 .oo-ui-toolbar-actions,
367 .oo-ui-toolbar-shadow {
368 -webkit-touch-callout: none;
369 -webkit-user-select: none;
370 -moz-user-select: none;
371 -ms-user-select: none;
372 user-select: none;
374 .oo-ui-toolbar-tools {
375 display: inline;
376 white-space: nowrap;
378 .oo-ui-toolbar-narrow .oo-ui-toolbar-tools {
379 white-space: normal;
381 .oo-ui-toolbar-tools .oo-ui-tool {
382 white-space: normal;
384 .oo-ui-toolbar-actions {
385 float: right;
387 .oo-ui-toolbar-actions .oo-ui-toolbar {
388 display: inline-block;
390 .oo-ui-toolbar-actions .oo-ui-popupWidget {
391 -webkit-touch-callout: default;
392 -webkit-user-select: all;
393 -moz-user-select: all;
394 -ms-user-select: all;
395 user-select: all;
397 .oo-ui-toolbar-shadow {
398 background-position: left top;
399 background-repeat: repeat-x;
400 position: absolute;
401 width: 100%;
402 pointer-events: none;
404 .oo-ui-toolbar-bar {
405 background-color: #fff;
406 color: #222;
407 border-bottom: 1px solid #c8ccd1;
408 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
409 font-weight: 500;
411 .oo-ui-toolbar-bar .oo-ui-toolbar-bar {
412 border-bottom: 0;
413 background-color: transparent;
414 box-shadow: none;
416 .oo-ui-toolbar-actions > .oo-ui-buttonElement.oo-ui-labelElement {
417 margin: 0;
419 .oo-ui-toolbar-actions > .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button {
420 border: 0;
421 border-radius: 0;
422 padding: 0 0.3125em;
424 .oo-ui-toolbar-actions > .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
425 margin: 0 1em;
426 line-height: 3.125em;
428 .oo-ui-toolbar-actions > .oo-ui-toolbar:not( :last-child ) {
429 border-right: 1px solid #c8ccd1;