mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
8cd21e3c82
For download button and size drop-downs, the size labels have been set to small and normal weight (in the download button, other rules made it to be bold if no weight was specified). Change-Id: I7511b307a8459d6e4a01f0b9540528046ad2be8e
63 lines
968 B
Plaintext
63 lines
968 B
Plaintext
@switch-color: #f2f2f2;
|
|
@active-switch-color: #666666;
|
|
@embed-dimensions-color: #aaaaaa;
|
|
@textarea-text-color: #333333;
|
|
|
|
.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 OOJS UI's definition
|
|
textarea[readonly], textarea[readonly] {
|
|
color: @textarea-text-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-mmv-reuse-dialog .mw-mmv-embed-pane {
|
|
padding: 5px 27px;
|
|
|
|
.mw-mmv-embed-explanation {
|
|
margin: 0 0 10px 0;
|
|
padding: 0;
|
|
}
|
|
|
|
p, textarea {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-embed-switch {
|
|
div {
|
|
padding: 1px 3px;
|
|
background-color: @switch-color;
|
|
|
|
&.active {
|
|
background-color: @active-switch-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-mmv-embed-size {
|
|
display: none;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
|
|
.oo-ui-widget-disabled {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-embed-dimensions {
|
|
color: @embed-dimensions-color;
|
|
font-size: small;
|
|
}
|