mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
8c7ed92288
New changes: c54a48a build: Fix watch list (csslint -> stylelint) 58ba3d9 Add stylelint rules for @-rules 3f8c75a Stylelint: Add rule for unsupported browser features 3b96ff3 Fix minimum Opera version (15 -> 12) 9a1110b Stylelint: No ID selectors 9800bb8 build: Remove remaining references to csslint b6ab14a stylelint: Re-enable features by names 6cc1f3c Move stylelint to npm 1d15fa0 build: Bump stylelint version to v0.2.0 ccc1724 stylelint: Use the preset rather than extending Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
39 lines
1.1 KiB
CSS
39 lines
1.1 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki DesktopArticleTarget noscript styles
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* stylelint-disable selector-no-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-no-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: #555;
|
|
}
|
|
|
|
/* @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: #555;
|
|
}
|