mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 21:04:11 +00:00
82cec45472
Change-Id: I9862f2b8080a4401e000dbd9a7af8d4db4981c06 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/379
58 lines
908 B
Plaintext
58 lines
908 B
Plaintext
@switch-color: #f2f2f2;
|
|
@active-switch-color: #666666;
|
|
@embed-dimensions-color: #aaaaaa;
|
|
@textarea-text-color: #333333;
|
|
|
|
.mw-mlb-reuse-pane {
|
|
.mw-mlb-embed-text-html,
|
|
.mw-mlb-embed-text-wt {
|
|
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-mlb-reuse-dialog .mw-mlb-embed-pane {
|
|
padding: 5px 27px;
|
|
|
|
.mw-mlb-embed-explanation {
|
|
padding-bottom: 10px;
|
|
top: 0
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.mw-mlb-embed-dimensions {
|
|
color: @embed-dimensions-color;
|
|
}
|