blob: 52333e87f3687a465f99ccf6c899e07ad3600f07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
@switch-color: #f8f9fa;
@active-switch-color: #54595d;
@embed-dimensions-color: #72777d;
@textarea-text-color: #222;
.mw-mmv-reuse-pane {
.mw-mmv-embed-text-html,
.mw-mmv-embed-text-wikitext {
display: none;
width: auto;
&.active {
display: block;
}
// The selector has to be that deep and include [readonly] to override OOUI's definition
textarea[ readonly ] {
color: @textarea-text-color;
text-shadow: none;
word-wrap: break-word;
}
}
}
.mw-mmv-reuse-dialog .mw-mmv-embed-pane {
padding: 20px 27px;
.mw-mmv-embed-explanation {
margin: 10px 0 20px 0;
padding: 0;
}
p,
textarea {
margin: 0;
}
.mw-mmv-dialog-copy {
float: right;
width: 1.5em;
height: 1.5em;
margin: 10px 0.75em 20px 0.75em;
}
}
.mw-mmv-embed-switch {
div {
padding: 1px 3px;
background-color: @switch-color;
&.active {
background-color: @active-switch-color;
}
}
}
.mw-mmv-embed-size {
display: none;
margin: 10px 0 0 0;
&.active {
display: block;
}
.oo-ui-widget-disabled {
display: none;
}
}
.mw-mmv-embed-dimensions {
color: @embed-dimensions-color;
font-size: small;
.oo-ui-optionWidget-selected & {
color: lighten( @embed-dimensions-color, 20% ); // selected option has dark background
}
}
|