Debian Codegraph @

extensions/MultimediaViewer/resources/mmv/ui/mmv.ui.dialog.less

raw
1 @import 'mediawiki.skin.variables.less';
2 @import '../mmv.variables.less';
3 @import '../mmv.mixins.less';
4
5 @background-color: @background-color-base;
6 @dialog-width: 450px;
7
8 /* Flexbox gap not supported in all browsers */
9 /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
10 .mw-mmv-dialog {
11 position: fixed;
12 right: @buttons-offset-edge + @buttons-offset-each + ( @arrow-size / 2 );
13 display: none;
14 width: @dialog-width;
15 height: @dialog-height;
16 background-color: @background-color;
17 box-shadow: @box-shadow-drop-xx-large;
18 z-index: 1004;
19
20 .mw-mmv-dialog-down-arrow {
21 right: @buttons-offset-edge + @buttons-offset-each;
22 background-color: @background-color;
23 width: @arrow-size;
24 height: @arrow-size;
25 transform: rotate( -45deg );
26 position: fixed;
27 }
28
29 .mw-mmv-dialog-warning {
30 background-color: @background-color-warning-subtle;
31 }
32
33 .mw-mmv-pt-0 {
34 padding-top: 0;
35 }
36
37 .mw-mmv-pb-0 {
38 padding-bottom: 0;
39 }
40
41 .mw-mmv-mt-75 {
42 margin-top: @spacing-75;
43 }
44
45 .mw-mmv-mb-75 {
46 margin-bottom: @spacing-75;
47 }
48
49 .mw-mmv-pb-150 {
50 padding-bottom: @spacing-150;
51 }
52
53 .mw-mmv-gap-50 {
54 gap: @spacing-50;
55 }
56
57 .mw-mmv-flex {
58 display: flex;
59 }
60
61 .mw-mmv-flex-grow-1 {
62 flex-grow: 1;
63 }
64
65 .cdx-button__icon--copy {
66 .cdx-mixin-css-icon( @cdx-icon-copy, @param-is-button-icon: true );
67 }
68 }