MediaWiki:Gadget-DarkModeVector2010.js: различия между версиями
Ланселот (обсуждение | вклад) Нет описания правки |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| Строка 51: | Строка 51: | ||
function injectStyles() { | function injectStyles() { | ||
var css = [ | var css = [ | ||
'/* ==== Свежие правки: легенда ==== */', | |||
'body.darkmode-vector2010 .mw-changeslist-legend,', | |||
'body.darkmode-vector2010 .mw-specialpage-legend,', | |||
'body.darkmode-vector2010 .mw-changeslist-legend-inner,', | |||
'body.darkmode-vector2010 .rclistfrom,', | |||
'body.darkmode-vector2010 #mw-indicator,', | |||
'body.darkmode-vector2010 .mw-indicators {', | |||
' background: #222 !important;', | |||
' color: #d0d0d0 !important;', | |||
' border-color: #444 !important;', | |||
'}', | |||
'body.darkmode-vector2010 .mw-changeslist-legend a,', | |||
'body.darkmode-vector2010 .mw-specialpage-legend a {', | |||
' color: #6cb6ff !important;', | |||
'}', | |||
'/* Плашка «Свежие правки за последние X дней» и фильтры */', | |||
'body.darkmode-vector2010 .mw-specialpage-summary,', | |||
'body.darkmode-vector2010 .mw-recentchanges-filters,', | |||
'body.darkmode-vector2010 .rcoptions,', | |||
'body.darkmode-vector2010 fieldset {', | |||
' background: #222 !important;', | |||
' color: #d0d0d0 !important;', | |||
' border-color: #444 !important;', | |||
'}', | |||
'body.darkmode-vector2010 legend {', | |||
' color: #e0e0e0 !important;', | |||
'}', | |||
'/* Строки списка правок */', | |||
'body.darkmode-vector2010 .mw-changeslist-line,', | |||
'body.darkmode-vector2010 .mw-changeslist-line-inner,', | |||
'body.darkmode-vector2010 .special li,', | |||
'body.darkmode-vector2010 .mw-recentchanges-list li {', | |||
' background: #1a1a1a !important;', | |||
' border-color: #333 !important;', | |||
'}', | |||
'/* Подсветка «свежих» и «моих» правок */', | |||
'body.darkmode-vector2010 .mw-changeslist-line-watched,', | |||
'body.darkmode-vector2010 .mw-changeslist-line-not-watched {', | |||
' background: #1a1a1a !important;', | |||
'}', | |||
'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; }', | |||
'/* ==== Ночная тема Vector 2010 ==== */', | '/* ==== Ночная тема Vector 2010 ==== */', | ||
'body.darkmode-vector2010 {', | 'body.darkmode-vector2010 {', | ||