mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.reuse.embed.less
Gergő Tisza 95111d2b73 Use mw-mmv CSS prefix consistently for all things
With apologies to anyone who gets a hundred merge conflicts
because of this :)

We had several different prefix styles (mlb-, mw-mlb-, mw-mmv-,
mw-mmv-mmv-, a few unprefixed), which was getting annoying,
and will be confusing to wiki editors who are trying to figure out
where a given style comes from. Such changes are better done before
going live because it breaks all local CSS tweaks on the wiki,
so I am renaming things now (also removing some stuff which wasnt
used anywhere).

Change-Id: I00447a25f0028e234169c6db941bedc99622eb8d
2014-03-31 21:33:12 +00:00

58 lines
914 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 {
padding-bottom: 10px;
top: 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;
}