mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-05 03:08:37 +00:00
3f0f302577
Previously, the ve-mw/init/ directory contained two kinds of files: those that were used when initializing VE, and those that may be loaded even if VE is not going to be initialized at all. The latter kind must not use the `ve` global variable. After moving those files to ve-mw/preinit/ we can enforce this with .eslintrc.json in that directory. This would have prevented T228684. (Technically they merely must not use `ve.init`, and may use `ve`, but that's harder to enforce. We should instead move the few non-init methods out of `ve`: now, track, trackSubscribe, trackSubscribeAll). Also, group some files under ve-mw/init/: targets/ now (only) contains ve.init.mw.Target and its subclasses, apiresponsecache/ now contains ve.init.mw.ApiResponseCache and its subclasses. Bug: T228684 Change-Id: I945249a27f6a0fa10a432d5c5dc57bc7e0461fd8
23 lines
786 B
CSS
23 lines
786 B
CSS
/*!
|
|
* VisualEditor progress bar widget Apex theme styles.
|
|
*
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-progressBarWidget {
|
|
border: 1px solid #ccc;
|
|
background: #fff;
|
|
border-radius: 0.25em;
|
|
box-shadow: 0 0.1em 0.5em rgba( 0, 0, 0, 0.15 );
|
|
}
|
|
|
|
.ve-init-mw-progressBarWidget-bar {
|
|
border-right: 1px solid #ccc;
|
|
background: #cde7f4;
|
|
background-image: -webkit-gradient( linear, right top, right bottom, color-stop( 0%, #eaf4fa ), color-stop( 100%, #b0d9ee ) );
|
|
background-image: -webkit-linear-gradient( top, #eaf4fa 0%, #b0d9ee 100% );
|
|
background-image: -moz-linear-gradient( top, #eaf4fa 0%, #b0d9ee 100% );
|
|
background-image: linear-gradient( to bottom, #eaf4fa 0%, #b0d9ee 100% );
|
|
}
|