2017-03-02 23:45:42 +00:00
|
|
|
@switch-color: #f8f9fa;
|
|
|
|
@active-switch-color: #54595d;
|
|
|
|
@embed-dimensions-color: #72777d;
|
|
|
|
@textarea-text-color: #222;
|
2014-03-19 02:00:26 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-reuse-pane {
|
|
|
|
.mw-mmv-embed-text-html,
|
|
|
|
.mw-mmv-embed-text-wikitext {
|
2014-03-26 14:50:24 +00:00
|
|
|
display: none;
|
|
|
|
width: auto;
|
2014-03-19 02:00:26 +00:00
|
|
|
|
2014-03-26 14:50:24 +00:00
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-01-17 08:16:54 +00:00
|
|
|
// The selector has to be that deep and include [readonly] to override OOUI's definition
|
2017-10-31 17:49:29 +00:00
|
|
|
textarea[ readonly ] {
|
2014-03-26 14:50:24 +00:00
|
|
|
color: @textarea-text-color;
|
2014-04-11 22:55:50 +00:00
|
|
|
text-shadow: none;
|
2015-08-27 10:51:12 +00:00
|
|
|
word-wrap: break-word;
|
2014-03-26 14:50:24 +00:00
|
|
|
}
|
2014-03-19 02:00:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-reuse-dialog .mw-mmv-embed-pane {
|
2014-09-12 18:05:13 +00:00
|
|
|
padding: 20px 27px;
|
2014-03-26 13:34:44 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-embed-explanation {
|
2016-12-22 17:59:07 +00:00
|
|
|
margin: 10px 0 20px 0;
|
2014-04-02 08:45:28 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-07-18 14:24:02 +00:00
|
|
|
p,
|
|
|
|
textarea {
|
2014-04-02 08:45:28 +00:00
|
|
|
margin: 0;
|
2014-03-26 13:34:44 +00:00
|
|
|
}
|
2016-12-22 17:59:07 +00:00
|
|
|
|
2016-12-28 16:32:28 +00:00
|
|
|
.mw-mmv-dialog-copy {
|
2016-12-22 17:59:07 +00:00
|
|
|
float: right;
|
2018-02-06 17:41:37 +00:00
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
margin: 10px 0.75em 20px 0.75em;
|
2016-12-22 17:59:07 +00:00
|
|
|
}
|
2014-03-19 02:00:26 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-embed-switch {
|
2014-03-19 02:00:26 +00:00
|
|
|
div {
|
|
|
|
padding: 1px 3px;
|
|
|
|
background-color: @switch-color;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: @active-switch-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-embed-size {
|
2014-03-19 02:00:26 +00:00
|
|
|
display: none;
|
2016-12-22 17:59:07 +00:00
|
|
|
margin: 10px 0 0 0;
|
2014-03-19 02:00:26 +00:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-widget-disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2014-03-24 14:44:41 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-embed-dimensions {
|
2014-03-24 14:44:41 +00:00
|
|
|
color: @embed-dimensions-color;
|
2014-04-09 12:13:17 +00:00
|
|
|
font-size: small;
|
2015-02-14 01:14:40 +00:00
|
|
|
|
|
|
|
.oo-ui-optionWidget-selected & {
|
2016-07-18 14:24:02 +00:00
|
|
|
color: lighten( @embed-dimensions-color, 20% ); // selected option has dark background
|
2015-02-14 01:14:40 +00:00
|
|
|
}
|
2014-03-27 04:39:33 +00:00
|
|
|
}
|