mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.noscript.css
Ed Sanders 1eb0ef2011 Consistently use spaces inside brackets in CSS
Change-Id: Ie63a50cb16cb89dac7060857220485d7d23f2fe3
2015-10-04 18:33:43 +01:00

36 lines
1.1 KiB
CSS

/*!
* VisualEditor MediaWiki DesktopArticleTarget noscript styles
*
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/*csslint ids:false */
/* 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;
}
/* 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;
}