mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 18:10:06 +00:00
a6c279042c
White text shadow looked bad on Chrome/Linux where selected text color is white. Change-Id: I6723bc8ee0f6e2f77bb299216d56a844ac17a9f1 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/443
64 lines
990 B
Plaintext
64 lines
990 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;
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|