mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-12-25 06:13:41 +00:00
58e69d97b9
Replacing 'mediawiki.ui/variables.less' @import with new skin-aware 'mediawiki.skin.variables.less' standard. Also - replacing several static values with new Codex design token featuring skin variables. - reinstate static values only on resizeable drag bar. This is not a standardized component yet and will be revisited with further Codex component definitions in future. Bump required MediaWiki core version to v1.41.0. Bug: T319381 Bug: T332541 Change-Id: I323561894ddf23aa89f51439fc9df2b7642eaca5
40 lines
893 B
Plaintext
40 lines
893 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
.ext-WikiEditor-ManualWidget {
|
|
// TODO: The only background-color token carrying `#eaecf0` right now is
|
|
// `@background-color-interactive`, which shouldn't be used here.
|
|
background-color: #eaecf0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-color: @border-color-subtle;
|
|
border-width: @border-width-base 0;
|
|
border-style: @border-style-base;
|
|
padding: 14px 24px;
|
|
position: relative;
|
|
color: inherit;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.oo-ui-iconElement-icon {
|
|
position: relative;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.ext-WikiEditor-realtimepreview-manual-reload {
|
|
margin-left: auto;
|
|
font-weight: @font-weight-bold;
|
|
color: @color-progressive;
|
|
}
|
|
|
|
&.oo-ui-widget-disabled .ext-WikiEditor-realtimepreview-manual-reload {
|
|
color: @color-disabled;
|
|
}
|
|
|
|
&.oo-ui-widget-disabled:active {
|
|
color: inherit;
|
|
}
|
|
}
|