mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 17:21:25 +00:00
0f85b14328
This also resolves the bug but it hides the underlying issue on it that's why I like to have this but after having Ia7dd8076c8789ed04d3fb52a078c70561ee5c6f8 Bug: T371665 Change-Id: I7340829acbd2bf3fcccfb631848964e5338470b0
43 lines
894 B
Plaintext
43 lines
894 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki DesktopArticleTarget noscript styles
|
|
*
|
|
* @copyright See AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
/**
|
|
* Hide VE edit tab and section edit things for noscript users.
|
|
* For script users they're always visible unless and until ve-not-available is added.
|
|
*/
|
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
/* stylelint-disable selector-max-id */
|
|
|
|
.client-nojs,
|
|
.ve-not-available {
|
|
#ca-ve-edit,
|
|
.mw-editsection-divider,
|
|
.mw-editsection-visualeditor {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* stylelint-enable selector-max-id */
|
|
|
|
/* For script users, expand brackets by default, unless and until ve-not-available is added */
|
|
|
|
.client-js {
|
|
.mw-editsection-bracket {
|
|
color: @color-subtle;
|
|
|
|
&:first-of-type {
|
|
margin-right: 0.25em;
|
|
margin-inline: 0 0.25em;
|
|
}
|
|
|
|
&:not( :first-of-type ) {
|
|
margin-left: 0.25em;
|
|
margin-inline: 0.25em 0;
|
|
}
|
|
}
|
|
}
|