Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / lib / ooui / oojs-ui-windows-wikimediaui.css
blobaf591d0925628d6e22343838016da0365663326f
1 /*!
2 * OOUI v0.51.4
3 * https://www.mediawiki.org/wiki/OOUI
5 * Copyright 2011–2024 OOUI Team and other contributors.
6 * Released under the MIT license
7 * http://oojs.mit-license.org
9 * Date: 2024-12-05T17:34:44Z
12 .oo-ui-window {
13 background: transparent;
15 .oo-ui-window-frame {
16 box-sizing: border-box;
18 .oo-ui-window-content {
19 position: absolute;
20 top: 0;
21 left: 0;
22 right: 0;
23 bottom: 0;
24 overflow: hidden;
26 .oo-ui-window-content:focus {
27 outline: 0;
29 .oo-ui-window-head,
30 .oo-ui-window-foot {
31 -webkit-touch-callout: none;
32 -webkit-user-select: none;
33 -moz-user-select: none;
34 -ms-user-select: none;
35 user-select: none;
37 .oo-ui-window-body {
38 margin: 0;
39 padding: 0;
40 background: none;
42 .oo-ui-window-overlay {
43 position: absolute;
44 top: 0;
45 /* @noflip */
46 left: 0;
48 .oo-ui-window-focusTrap {
49 display: none;
51 .oo-ui-windowManager-modal .oo-ui-window-focusTrap,
52 .oo-ui-windowManager-size-full .oo-ui-window-focusTrap,
53 .oo-ui-windowManager-forceTrapFocus .oo-ui-window-focusTrap {
54 display: block;
57 .oo-ui-dialog-content > .oo-ui-window-head,
58 .oo-ui-dialog-content > .oo-ui-window-body,
59 .oo-ui-dialog-content > .oo-ui-window-foot {
60 position: absolute;
61 left: 0;
62 right: 0;
63 box-sizing: border-box;
65 .oo-ui-dialog-content > .oo-ui-window-head {
66 overflow: hidden;
67 z-index: 3;
68 top: 0;
70 .oo-ui-dialog-content > .oo-ui-window-body {
71 overflow: auto;
72 -webkit-overflow-scrolling: touch;
73 z-index: 2;
74 top: 0;
75 bottom: 0;
77 .oo-ui-dialog-content > .oo-ui-window-foot {
78 z-index: 3;
79 bottom: 0;
82 .oo-ui-messageDialog-actions .oo-ui-actionWidget {
83 position: relative;
84 text-align: center;
86 .oo-ui-messageDialog-actions .oo-ui-actionWidget .oo-ui-buttonElement-button {
87 display: block;
89 .oo-ui-messageDialog-actions .oo-ui-actionWidget .oo-ui-labelElement-label {
90 position: relative;
91 top: auto;
92 bottom: auto;
94 .oo-ui-messageDialog-actions-horizontal {
95 display: flex;
96 width: 100%;
98 .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
99 flex-grow: 1;
101 .oo-ui-messageDialog-actions-vertical {
102 display: block;
104 .oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
105 display: block;
106 overflow: hidden;
107 text-overflow: ellipsis;
109 .oo-ui-messageDialog-content > .oo-ui-window-foot {
110 outline: 1px solid var(--border-color-base, #a2a9b1);
112 .oo-ui-messageDialog-title,
113 .oo-ui-messageDialog-message {
114 display: block;
115 line-height: 1.42857143em;
116 text-align: center;
118 .oo-ui-messageDialog-title {
119 font-size: 1.5em;
120 color: var(--color-emphasized, #000);
122 .oo-ui-messageDialog-message {
123 font-size: 1.1em;
124 color: var(--color-base, #202122);
125 text-align: left;
127 .oo-ui-messageDialog-actions .oo-ui-actionWidget {
128 min-height: 2.85714286em;
129 margin-right: 0;
131 .oo-ui-messageDialog-actions .oo-ui-actionWidget:last-child {
132 margin-right: 0;
134 .oo-ui-messageDialog-actions .oo-ui-actionWidget:first-child {
135 margin-left: 0;
137 .oo-ui-messageDialog-actions .oo-ui-actionWidget .oo-ui-buttonElement-button {
138 border: 0;
139 border-radius: 0;
140 padding-top: 0;
141 padding-bottom: 0;
143 .oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-labelElement .oo-ui-labelElement-label {
144 line-height: 2.85714286em;
145 text-align: center;
147 .oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive .oo-ui-buttonElement-button:active {
148 background-color: rgba(8, 126, 204, 0.1);
150 .oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:active {
151 background-color: rgba(212, 83, 83, 0.1);
153 .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
154 border-right: 1px solid var(--border-color-base, #a2a9b1);
155 margin: 0;
157 .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
158 border-radius: 0 0 0 2px;
160 .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child {
161 border-right-width: 0;
163 .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
164 border-radius: 0 0 2px 0;
166 .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:only-child > .oo-ui-buttonElement-button {
167 border-radius: 0 0 2px 2px;
169 .oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
170 border-bottom: 1px solid var(--border-color-base, #a2a9b1);
171 margin: 0;
173 .oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget:last-child {
174 border-bottom-width: 0;
176 .oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
177 border-radius: 0 0 2px 2px;
180 .oo-ui-processDialog-location {
181 overflow: hidden;
182 text-overflow: ellipsis;
183 white-space: nowrap;
185 .oo-ui-processDialog-title {
186 display: inline;
187 padding: 0;
189 .oo-ui-processDialog-actions-safe .oo-ui-actionWidget,
190 .oo-ui-processDialog-actions-primary .oo-ui-actionWidget,
191 .oo-ui-processDialog-actions-other .oo-ui-actionWidget {
192 white-space: nowrap;
194 .oo-ui-processDialog-actions-safe,
195 .oo-ui-processDialog-actions-primary {
196 position: absolute;
197 top: 0;
198 bottom: 0;
200 .oo-ui-processDialog-actions-safe {
201 left: 0;
203 .oo-ui-processDialog-actions-primary {
204 right: 0;
206 .oo-ui-processDialog-errors {
207 position: absolute;
208 top: 0;
209 left: 0;
210 right: 0;
211 bottom: 0;
212 z-index: 4;
213 overflow: hidden auto;
214 -webkit-overflow-scrolling: touch;
216 .oo-ui-processDialog-content > .oo-ui-window-head,
217 .oo-ui-processDialog-content > .oo-ui-window-foot {
218 outline: 1px solid var(--border-color-subtle, #c8ccd1);
220 .oo-ui-processDialog-content > .oo-ui-window-head {
221 min-height: 3em;
223 .oo-ui-processDialog-content > .oo-ui-window-body {
224 top: 3em;
226 .oo-ui-processDialog-navigation {
227 position: relative;
228 min-height: 3em;
230 .oo-ui-processDialog-location {
231 min-height: 3em;
232 text-align: center;
233 cursor: default;
235 .oo-ui-processDialog-title {
236 font-size: 1.1em;
237 font-weight: 700;
238 line-height: 2.72727273em;
240 .oo-ui-processDialog .oo-ui-actionWidget > .oo-ui-buttonElement-button {
241 border-radius: 0;
242 border-top-color: transparent;
243 border-bottom-color: transparent;
245 .oo-ui-processDialog .oo-ui-actionWidget > .oo-ui-buttonElement-button:hover,
246 .oo-ui-processDialog .oo-ui-actionWidget > .oo-ui-buttonElement-button:active {
247 border-top-color: transparent;
248 border-bottom-color: transparent;
250 .oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:hover,
251 .oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:active {
252 border-right-color: var(--border-color-subtle, #c8ccd1);
253 border-left-color: transparent;
255 .oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:focus {
256 border-color: var(--border-color-progressive--focus, #36c);
258 .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button {
259 min-height: 3em;
260 padding-top: 0;
261 padding-left: 3.14285714em;
262 padding-right: 0;
264 .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-labelElement:first-child {
265 margin-left: 0;
267 .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-labelElement > .oo-ui-buttonElement-button {
268 padding: 10px 12px;
270 .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
271 padding-left: 2.42857143em;
273 .oo-ui-processDialog-actions-primary .oo-ui-actionWidget > .oo-ui-buttonElement-button {
274 border-left-color: var(--border-color-subtle, #c8ccd1);
275 border-right-color: transparent;
277 .oo-ui-processDialog-actions-primary .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:hover,
278 .oo-ui-processDialog-actions-primary .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:active {
279 border-left-color: var(--border-color-subtle, #c8ccd1);
280 border-right-color: transparent;
282 .oo-ui-processDialog-actions-primary .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:focus {
283 border-color: var(--border-color-progressive--focus, #36c);
285 .oo-ui-processDialog-actions-safe .oo-ui-actionWidget > .oo-ui-buttonElement-button,
286 .oo-ui-processDialog-actions-other .oo-ui-actionWidget > .oo-ui-buttonElement-button {
287 border-right-color: var(--border-color-subtle, #c8ccd1);
288 border-left-color: transparent;
290 .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button {
291 background-color: transparent;
292 border-right-color: transparent;
294 .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:hover {
295 background-color: var(--background-color-interactive-subtle, #f8f9fa);
296 border-right-color: var(--border-color-subtle, #c8ccd1);
298 .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:active {
299 background-color: var(--background-color-interactive, #eaecf0);
300 border-right-color: var(--border-color-subtle, #c8ccd1);
302 .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:focus {
303 border-color: var(--border-color-progressive--focus, #36c);
305 .oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-buttonElement {
306 margin-right: 0;
308 .oo-ui-processDialog > .oo-ui-window-frame {
309 min-height: 5em;
311 .oo-ui-processDialog-errors {
312 background-color: rgba(255, 255, 255, 0.9);
313 padding: 3em 3em 0 3em;
315 .oo-ui-processDialog-errors-title {
316 font-size: 1.5em;
317 color: var(--color-emphasized, #000);
318 margin-bottom: 1.5em;
319 text-align: center;
321 .oo-ui-processDialog-errors > .oo-ui-messageWidget {
322 margin: 1em 0 0;
324 .oo-ui-processDialog-errors-actions {
325 text-align: center;
327 .oo-ui-processDialog-errors-actions > .oo-ui-buttonWidget {
328 margin: 2em 1em;
330 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-content > .oo-ui-window-head,
331 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-navigation,
332 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-location {
333 min-height: 3.14285714em;
335 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-location {
336 margin-left: 1em;
337 text-align: left;
339 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-title {
340 line-height: 2.85714286em;
342 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-content > .oo-ui-window-body {
343 top: 3.14285714em;
345 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button {
346 min-height: 3.14285714em;
347 padding-left: 3.14285714em;
349 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-actionWidget.oo-ui-labelElement > .oo-ui-buttonElement-button {
350 min-height: 3.14285714em;
351 line-height: 3.14285714em;
352 padding: 0 12px;
354 .oo-ui-processDialog.oo-ui-isMobile .oo-ui-actionWidget.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
355 padding-left: 2.42857143em;
358 .oo-ui-windowManager-modal > .oo-ui-dialog {
359 position: fixed;
360 width: 0;
361 height: 0;
362 overflow: hidden;
363 z-index: 4;
365 .oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-active {
366 width: auto;
367 height: auto;
368 top: 0;
369 right: 0;
370 bottom: 0;
371 left: 0;
372 padding: 1em;
374 .oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-active > .oo-ui-window-frame {
375 position: absolute;
376 right: 0;
377 left: 0;
378 margin: auto;
379 max-width: 100%;
380 max-height: 100%;
382 .oo-ui-windowManager-size-full > .oo-ui-dialog > .oo-ui-window-frame {
383 width: 100%;
384 height: 100%;
385 top: 0;
386 bottom: 0;
388 body.oo-ui-windowManager-modal-active {
389 overflow: hidden;
391 html.oo-ui-windowManager-modal-active:not( .oo-ui-windowManager-modal-active-fullscreen) {
392 scrollbar-gutter: stable;
394 .oo-ui-windowManager-ios-modal-ready {
395 height: 100%;
396 overflow: hidden;
398 .oo-ui-windowManager-modal > .oo-ui-dialog {
399 background-color: var(--background-color-backdrop-light, rgba(255, 255, 255, 0.65));
400 opacity: 0;
401 transition-property: opacity;
402 transition-duration: 250ms;
404 .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
405 background-color: var(--background-color-base, #fff);
406 opacity: 0;
407 transform: scale(0.5);
408 transition-property: all;
409 transition-duration: 250ms;
411 .oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup {
412 opacity: 1;
414 .oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame {
415 opacity: 1;
416 transform: scale(1);
418 .oo-ui-windowManager-modal:not( .oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame {
419 top: 1em;
420 bottom: 1em;
421 max-height: 100%;
422 max-height: calc( 100% - 2em );
423 border: 1px solid var(--border-color-base, #a2a9b1);
424 border-radius: 2px;
425 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);