2013-07-05 06:01:31 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki ViewPageTarget init styles.
|
|
|
|
*
|
2015-01-08 23:54:03 +00:00
|
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
2013-07-05 06:01:31 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2013-12-03 22:09:56 +00:00
|
|
|
/*csslint known-properties:false */
|
|
|
|
/* Bug: https://github.com/stubbornella/csslint/issues/436 */
|
|
|
|
|
2015-03-16 16:07:14 +00:00
|
|
|
/*!
|
|
|
|
* State | <html> classes
|
|
|
|
* - mw.ViewPageTarget.init.css is loaded
|
|
|
|
* Reading | ve-available
|
|
|
|
* Loading editor | ve-available ve-activated ve-loading
|
|
|
|
* - mw.ViewPageTarget.css is loaded
|
|
|
|
* Activate editor | ve-available ve-activated ve-activating
|
|
|
|
* Active | ve-available ve-activated ve-active
|
|
|
|
* Deactivate editor | ve-available ve-deactivating
|
|
|
|
* Deactivated | ve-available
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ve-activated #toc,
|
|
|
|
.ve-activated #siteNotice,
|
|
|
|
.ve-activated .mw-indicators,
|
|
|
|
/* Most of bodyContent can be hidden as VE has an equivalent of most children
|
|
|
|
in ve-init-target (sibling of #bodyContent). However, we can't hide it
|
|
|
|
completely as subs should remain visible (for persistence with read mode),
|
|
|
|
and ve-ui-mwTocWidget is also part of #bodyContent. */
|
|
|
|
.ve-active #bodyContent > :not(#siteSub):not(#contentSub):not(.ve-ui-mwTocWidget),
|
|
|
|
.ve-activated #t-print,
|
|
|
|
.ve-activated #t-permalink,
|
|
|
|
.ve-activated #p-coll-print_export,
|
|
|
|
.ve-activated #t-cite,
|
|
|
|
.ve-activating .ve-ui-surface,
|
|
|
|
.ve-deactivating .ve-ui-surface {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-activated #bodyContent,
|
|
|
|
.ve-activated #firstHeading,
|
|
|
|
.ve-activated #siteSub,
|
|
|
|
.ve-activated #contentSub {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-activated #firstHeading {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Progress bar */
|
2014-10-21 01:10:41 +00:00
|
|
|
|
|
|
|
.mw-viewPageTarget-loading {
|
|
|
|
width: 128px;
|
|
|
|
height: 15px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2013-07-05 06:01:31 +00:00
|
|
|
/* Section edit links */
|
|
|
|
|
|
|
|
.mw-editsection {
|
|
|
|
white-space: nowrap;
|
|
|
|
/* bidi isolation: */
|
|
|
|
unicode-bidi: -moz-isolate;
|
|
|
|
unicode-bidi: -webkit-isolate;
|
|
|
|
unicode-bidi: isolate;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-editsection-divider {
|
2013-08-01 19:14:41 +00:00
|
|
|
color: #555;
|
2013-07-05 06:01:31 +00:00
|
|
|
}
|
|
|
|
|
2013-08-01 19:14:41 +00:00
|
|
|
.ve-tabmessage-appendix {
|
|
|
|
font-size: 0.7em;
|
|
|
|
vertical-align: top;
|
|
|
|
line-height: 1.43em;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
/* Use !important to override div.vectorTabs span */
|
|
|
|
background-image: none !important;
|
|
|
|
display: inline !important;
|
2013-07-05 06:01:31 +00:00
|
|
|
}
|
2014-10-21 01:10:41 +00:00
|
|
|
|
|
|
|
/* Images */
|
|
|
|
|
|
|
|
.mw-viewPageTarget-loading {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(images/loading-ltr.gif);
|
|
|
|
}
|