mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-01 03:06:17 +00:00
5c9faa580e
Bug: T193826 Change-Id: I925b1c7be2dbbb50994ed9f1ef12b5978ba175ff
78 lines
1.2 KiB
Plaintext
78 lines
1.2 KiB
Plaintext
@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
|
|
}
|
|
}
|