mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
f650813eb5
Implements the wikitext part of the mingle card Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/148 Change-Id: I5bcd8e2171f45c70736b7a7cfc695134269ed12d
40 lines
509 B
Plaintext
40 lines
509 B
Plaintext
@switch-color: #f2f2f2;
|
|
@active-switch-color: #666666;
|
|
|
|
.mw-mlb-embed-text-html,
|
|
.mw-mlb-embed-text-wt {
|
|
display: none;
|
|
width: auto;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.mw-mlb-reuse-dialog .mw-mlb-embed-pane {
|
|
padding: 5px 27px;
|
|
}
|
|
|
|
.mw-mlb-embed-switch {
|
|
div {
|
|
padding: 1px 3px;
|
|
background-color: @switch-color;
|
|
|
|
&.active {
|
|
background-color: @active-switch-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-mlb-embed-size {
|
|
display: none;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
|
|
.oo-ui-widget-disabled {
|
|
display: none;
|
|
}
|
|
}
|