MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями
Ланселот (обсуждение | вклад) Пока так Метка: отмена |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| Строка 649: | Строка 649: | ||
body.darkmode-vector2010 .cm-activeLineGutter { | body.darkmode-vector2010 .cm-activeLineGutter { | ||
background: #222 !important; | background: #222 !important; | ||
} | |||
/* ==== История правок: подсветка выделенных строк ==== */ | |||
body.darkmode-vector2010 .mw-changeslist-line, | |||
body.darkmode-vector2010 .mw-changeslist-line-inner, | |||
body.darkmode-vector2010 .mw-changeslist-line-watched, | |||
body.darkmode-vector2010 .mw-changeslist-line-not-watched, | |||
body.darkmode-vector2010 .mw-changeslist-line-watched .mw-changeslist-line-inner, | |||
body.darkmode-vector2010 .mw-changeslist-line-not-watched .mw-changeslist-line-inner { | |||
background: #1a1a1a !important; | |||
color: #d0d0d0 !important; | |||
border-color: #333 !important; | |||
} | |||
/* Явно убираем белый фон у чётных/нечётных строк */ | |||
body.darkmode-vector2010 .mw-changeslist-line:nth-child(odd), | |||
body.darkmode-vector2010 .mw-changeslist-line:nth-child(even), | |||
body.darkmode-vector2010 .mw-changeslist-line-watched:nth-child(odd), | |||
body.darkmode-vector2010 .mw-changeslist-line-watched:nth-child(even), | |||
body.darkmode-vector2010 .mw-changeslist-line-not-watched:nth-child(odd), | |||
body.darkmode-vector2010 .mw-changeslist-line-not-watched:nth-child(even) { | |||
background: #1a1a1a !important; | |||
} | |||
/* Строки, помеченные как «свежие» */ | |||
body.darkmode-vector2010 .mw-changeslist-line-watched, | |||
body.darkmode-vector2010 .mw-changeslist-line-not-watched { | |||
background: #1a1a1a !important; | |||
} | |||
/* Стрелки «!» и «?» слева */ | |||
body.darkmode-vector2010 .mw-enhancedchanges-arrow, | |||
body.darkmode-vector2010 .mw-enhancedchanges-arrow a, | |||
body.darkmode-vector2010 .mw-enhancedchanges-arrow img { | |||
background: transparent !important; | |||
filter: invert(1) hue-rotate(180deg); | |||
} | |||
/* Цифры ± */ | |||
body.darkmode-vector2010 .mw-plusminus-pos { color: #7bd88f !important; } | |||
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !important; } | |||
body.darkmode-vector2010 .mw-plusminus-null { color: #b0b0b0 !important; } | |||
/* Таблица истории правок */ | |||
body.darkmode-vector2010 .mw-history-table, | |||
body.darkmode-vector2010 .mw-history-table tr, | |||
body.darkmode-vector2010 .mw-history-table td, | |||
body.darkmode-vector2010 .mw-history-table th, | |||
body.darkmode-vector2010 #pagehistory, | |||
body.darkmode-vector2010 #pagehistory li, | |||
body.darkmode-vector2010 #pagehistory .mw-history-compareselectedversions { | |||
background: #1a1a1a !important; | |||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | |||
body.darkmode-vector2010 #pagehistory li.selected, | |||
body.darkmode-vector2010 #pagehistory li:target, | |||
body.darkmode-vector2010 .mw-history-table tr.selected, | |||
body.darkmode-vector2010 .mw-history-table tr:target { | |||
background: #2a2a2a !important; | |||
color: #ffffff !important; | |||
border-color: #555 !important; | |||
} | |||
/* Ссылки внутри истории */ | |||
body.darkmode-vector2010 #pagehistory a, | |||
body.darkmode-vector2010 .mw-history-table a { | |||
color: #6cb6ff !important; | |||
} | |||
body.darkmode-vector2010 #pagehistory a:visited, | |||
body.darkmode-vector2010 .mw-history-table a:visited { | |||
color: #b48cff !important; | |||
} | } | ||