mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 09:10:59 +00:00
84557b6d13
Bug: T372436 Depends-On: I691dbef2313e006de4b7d096232c531d81bdd380 Change-Id: If6c606cd6d3816b9286aee0ffd4d96be704521d4
41 lines
869 B
Plaintext
41 lines
869 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 {
|
|
&: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;
|
|
}
|
|
}
|
|
}
|