mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-29 18:34:25 +00:00
fc84b8e125
In addition: * .mw-mmv-reuse-copy => .mw-mmv-dialog-copy because it's not just a reuse dialog thing anymore * Adjust margin between attribution textbox and attribution option widget to stay consistent with reuse dialog UI Bug: T77295 Change-Id: I79abdc1a3c10f0a8c3ecb6f4d444a601595a903f
79 lines
1.2 KiB
Plaintext
79 lines
1.2 KiB
Plaintext
@switch-color: #f2f2f2;
|
|
@active-switch-color: #666;
|
|
@embed-dimensions-color: #aaa;
|
|
@textarea-text-color: #333;
|
|
|
|
.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] {
|
|
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: 1em;
|
|
height: 1em;
|
|
margin: 10px 0.5em 20px 0;
|
|
padding: 0 0 0 5px;
|
|
}
|
|
}
|
|
|
|
.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
|
|
}
|
|
}
|