mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-14 18:15:19 +00:00
0a7a845a42
Change-Id: I0b299c840ede1a1b8552cecfc70c5760ab036181
39 lines
1.1 KiB
CSS
39 lines
1.1 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki DesktopArticleTarget noscript styles
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* stylelint-disable selector-max-id */
|
|
|
|
/* 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.
|
|
*/
|
|
.client-nojs #ca-ve-edit,
|
|
.client-nojs .mw-editsection-divider,
|
|
.client-nojs .mw-editsection-visualeditor,
|
|
.ve-not-available #ca-ve-edit,
|
|
.ve-not-available .mw-editsection-divider,
|
|
.ve-not-available .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 */
|
|
|
|
/* @noflip */
|
|
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
|
|
.client-js .mw-content-rtl .mw-editsection-bracket:not( :first-of-type ) {
|
|
margin-right: 0.25em;
|
|
color: #54595d;
|
|
}
|
|
|
|
/* @noflip */
|
|
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
|
|
.client-js .mw-content-ltr .mw-editsection-bracket:not( :first-of-type ) {
|
|
margin-left: 0.25em;
|
|
color: #54595d;
|
|
}
|