User:Anomie/watchlist-change-style-selector.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
This user script seems to have a documentation page at User:Anomie/watchlist-change-style-selector and an accompanying .js page at User:Anomie/watchlist-change-style-selector.js. |
/*** Watchlist switch ***/
/* Give us a sane baseline */
.mw-special-Watchlist .mw-changeslist-line-watched .mw-title {
font-weight: normal;
}
.mw-special-Watchlist #mw-watchlist-resetbutton {
display: block;
}
/* No styling */
.mw-special-Watchlist.wlswitch-none #mw-watchlist-resetbutton {
display: none;
}
/* Bold */
.mw-special-Watchlist.wlswitch-bold .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title {
font-weight: bold;
}
/* Stars */
.mw-special-Watchlist.wlswitch-stars .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title {
/* @embed */
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Pentagram_dis.svg/13px-Pentagram_dis.svg.png) no-repeat left;
/* @noflip */
padding-left: 16px;
}
/* Stars and bold */
.mw-special-Watchlist.wlswitch-starsbold .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title {
font-weight: bold;
/* @embed */
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Pentagram_dis.svg/13px-Pentagram_dis.svg.png) no-repeat left;
/* @noflip */
padding-left: 16px;
}
/* Italics */
.mw-special-Watchlist.wlswitch-italic .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title {
font-style: italic;
}
/* Underscore */
.mw-special-Watchlist.wlswitch-underline .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title {
border-bottom: 1px dotted #999;
}
/* Color change */
.mw-special-Watchlist.wlswitch-colorchange .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title a {
color: #088;
}
/* Small 'c' */
.mw-special-Watchlist.wlswitch-small-c .mw-changeslist-line-watched:not(.flow-recentchanges-line) .mw-title:before {
content: 'c ';
font-weight: bold;
}
/* Highlight */
.mw-special-Watchlist.wlswitch-highlight li.mw-changeslist-line-watched:not(.flow-recentchanges-line),
.mw-special-Watchlist.wlswitch-highlight table.mw-changeslist-line-watched:not(.flow-recentchanges-line) {
background-color: #eef;
}
.mw-special-Watchlist.wlswitch-highlight li.mw-changeslist-line-watched:not(.flow-recentchanges-line) .autocomment a,
.mw-special-Watchlist.wlswitch-highlight table.mw-changeslist-line-watched:not(.flow-recentchanges-line) .autocomment a {
/* Darken this a bit */
color: #555;
}
/* Faded old changes */
.mw-special-Watchlist.wlswitch-faded ul.special li.mw-changeslist-line-not-watched:not(.flow-recentchanges-line),
.mw-special-Watchlist.wlswitch-faded table.mw-enhanced-rc.mw-changeslist-line-not-watched:not(.flow-recentchanges-line) {
opacity: 0.68;
}
/* Different color bullet */
.mw-special-Watchlist.wlswitch-bullet li.mw-changeslist-line-watched:not(.flow-recentchanges-line),
.mw-special-Watchlist.wlswitch-bullet table.mw-changeslist-line-watched:not(.flow-recentchanges-line) {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png);
}
/*** History switch ***/
/* Give us a sane baseline */
span.updatedmarker {
display: none;
}
/* No styling */
/* no rules needed */
/* Default */
.action-history.histswitch-default span.updatedmarker {
display: inline;
color: black;
background-color: #b7f430;
}
/* Bright green tag */
.action-history.histswitch-bright-tag span.updatedmarker {
display: inline;
color: black;
background-color: #0f0;
}
/* Commons */
.action-history.histswitch-commons span.updatedmarker {
display: inline;
color: black;
background-color: #99D642;
}
/* Green text */
.action-history.histswitch-greentext span.updatedmarker {
display: inline;
color: #006400;
background-color: transparent;
}
/* Bold */
.action-history.histswitch-bold li.mw-history-line-updated > a {
font-weight: bold;
}
/* Stars */
.action-history.histswitch-stars li.mw-history-line-updated > a {
/* @embed */
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Pentagram_dis.svg/13px-Pentagram_dis.svg.png) no-repeat left;
/* @noflip */
padding-left: 16px;
}
/* Stars and bold */
.action-history.histswitch-starsbold li.mw-history-line-updated > a {
font-weight: bold;
/* @embed */
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Pentagram_dis.svg/13px-Pentagram_dis.svg.png) no-repeat left;
/* @noflip */
padding-left: 16px;
}
/* Italics */
.action-history.histswitch-italic li.mw-history-line-updated {
font-style: italic;
}
/* Underscore */
.action-history.histswitch-underline li.mw-history-line-updated > a {
border-bottom: 1px dotted #999;
}
/* Color change */
.action-history.histswitch-colorchange li.mw-history-line-updated > a {
color: #088;
}
/* Small 'c' */
.action-history.histswitch-small-c li.mw-history-line-updated > a:before {
content: 'c ';
font-weight: bold;
}
/* Highlight */
.action-history.histswitch-highlight #pagehistory li.selected {
/* Confusing otherwise */
background-color: transparent;
}
.action-history.histswitch-highlight li.mw-history-line-updated,
.action-history.histswitch-highlight #pagehistory li.selected.mw-history-line-updated {
background-color: #eef;
}
.action-history.histswitch-highlight li.mw-history-line-updated .autocomment a,
.action-history.histswitch-highlight #pagehistory li.selected.mw-history-line-updated .autocomment a {
/* Darken this a bit */
color: #555;
}
/* Faded old changes */
.action-history.histswitch-faded ul#pagehistory li {
opacity: 0.68;
}
.action-history.histswitch-faded ul#pagehistory li.mw-history-line-updated {
opacity: 1;
}
/* Different color bullet */
.action-history.histswitch-bullet li.mw-history-line-updated {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png);
}