mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 17:21:25 +00:00
22d25a48d2
Bug: T365089 Change-Id: I21ab4016dd38811501684867a41c3de3b9a342df
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
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-content-ltr .mw-editsection-bracket:first-of-type,
|
|
.mw-content-rtl .mw-editsection-bracket:not( :first-of-type ) {
|
|
/* @noflip */
|
|
margin-right: 0.25em;
|
|
/* @noflip */
|
|
color: @color-subtle;
|
|
}
|
|
|
|
.mw-content-rtl .mw-editsection-bracket:first-of-type,
|
|
.mw-content-ltr .mw-editsection-bracket:not( :first-of-type ) {
|
|
/* @noflip */
|
|
margin-left: 0.25em;
|
|
/* @noflip */
|
|
color: @color-subtle;
|
|
}
|
|
}
|