MediaWiki:Gadget-WatchlistGreenIndicators.css

From Festipedia, hosted by the FR Heritage Group
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Wikipedia:Bypass your cache.
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * Imported as of 27 may 2015 from [[User:Edokter/vector.css]], [[MediaWiki:Common.css]] and [[MediaWiki:Vector.css]]
 * Display green collapsible arrows and green bullets for changed pages in Watchlist, history and recent changes
 *
 * Please prefix selectors with .mw-rcfilters-disabled unless they are tested with and intended to work with the new ChangesList UI (RCFilters / WLFilters / Structured Change Filters)
 */

/* Standard watchlist, history and recent changes */
.mw-rcfilters-disabled #mw-wlheader-showupdated,
.mw-rcfilters-disabled #mw-wlheader-green {
    display: inline;
}
.mw-rcfilters-disabled #mw-watchlist-resetbutton {
    display: block;
}
.mw-rcfilters-disabled li.mw-changeslist-line-watched {
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/1/19/ChangedBulletVector.svg);
}

/* Enhanced watchlist and recent changes */
.mw-rcfilters-disabled td.mw-enhanced-rc,
.mw-rcfilters-disabled .mw-enhanced-rc-time {
	/* [[WP:MONO]] */
    font-family: monospace, monospace;
}
.mw-rcfilters-disabled .mw-enhanced-rc-nested {
    background-position: 0 3px;
}
.mw-rcfilters-disabled .mw-enhancedchanges-arrow-space {
    background-position: center top;
}
.mw-rcfilters-disabled .mw-enhanced-rc-nested,
.mw-rcfilters-disabled .mw-enhancedchanges-arrow-space {
    background-repeat: no-repeat;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/b/bf/Vector-bullet-icon.svg);
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
}
/* T352456 */
.mw-rcfilters-disabled .mw-enhancedchanges-arrow-space {
    transform: none !important;
    background-size: auto !important;
}
.mw-rcfilters-disabled .mw-enhanced-watched .mw-enhanced-rc-nested,
.mw-rcfilters-disabled .mw-changeslist-line-watched .mw-enhancedchanges-arrow-space {
    background-image: url(//upload.wikimedia.org/wikipedia/commons/1/19/ChangedBulletVector.svg);
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
}
.mw-rcfilters-disabled .mw-enhancedchanges-checkbox:not( :checked ) + .mw-changeslist-line-not-watched .mw-enhancedchanges-arrow {
    background-position: center top;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/3/39/Vector_right_arrow_link.svg);
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
}
.mw-rcfilters-disabled .mw-enhancedchanges-checkbox:checked + .mw-changeslist-line-not-watched .mw-enhancedchanges-arrow {
    background-position: center top;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/d/db/Vector_down_arrow_link.svg);
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
}
.mw-rcfilters-disabled .mw-enhancedchanges-checkbox:not( :checked ) + .mw-changeslist-line-watched .mw-enhancedchanges-arrow {
    background-image: url(//upload.wikimedia.org/wikipedia/commons/0/03/Vector_right_arrow_changed.svg);
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
}
.mw-rcfilters-disabled .mw-enhancedchanges-checkbox:checked + .mw-changeslist-line-watched .mw-enhancedchanges-arrow {
    background-image: url(//upload.wikimedia.org/wikipedia/commons/1/12/Vector_down_arrow_changed.svg);
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
}

/* T352456 */
/* Workaround for MediaWiki bug applied even when the rest of the gadget is inactive */
/* Remove this after https://gerrit.wikimedia.org/r/c/mediawiki/core/+/981405 is deployed */
.mw-enhancedchanges-arrow-space {
    width: 15px !important;
    height: 15px !important;
}