MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями
Ланселот (обсуждение | вклад) Нет описания правки |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| Строка 885: | Строка 885: | ||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | |||
/* ==== Удаление: поле «Другая причина» (OOUI) ==== */ | |||
body.darkmode-vector2010 #wpReason, | |||
body.darkmode-vector2010 input#wpReason, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget .oo-ui-inputWidget-input, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget input, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget textarea { | |||
background: #2a2a2a !important; | |||
background-color: #2a2a2a !important; | |||
color: #d0d0d0 !important; | |||
border: 1px solid #555 !important; | |||
box-shadow: none !important; | |||
} | |||
/* Фокус — чтобы при клике не вспыхивало белым */ | |||
body.darkmode-vector2010 #wpReason:focus, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget .oo-ui-inputWidget-input:focus, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget input:focus { | |||
background: #2a2a2a !important; | |||
color: #d0d0d0 !important; | |||
border-color: #6cb6ff !important; | |||
box-shadow: 0 0 0 1px #6cb6ff !important; | |||
} | |||
/* Обёртка вокруг поля, если она белая */ | |||
body.darkmode-vector2010 .oo-ui-textInputWidget .oo-ui-inputWidget-input, | |||
body.darkmode-vector2010 .oo-ui-textInputWidget > .oo-ui-inputWidget-input, | |||
body.darkmode-vector2010 #delete-reason .oo-ui-textInputWidget { | |||
background: #2a2a2a !important; | |||
} | |||
/* На случай, если поле не OOUI, а обычное, но с белой рамкой */ | |||
body.darkmode-vector2010 #delete-reason input[type="text"], | |||
body.darkmode-vector2010 #delete-reason textarea, | |||
body.darkmode-vector2010 .delete-reason input[type="text"], | |||
body.darkmode-vector2010 .delete-reason textarea { | |||
background: #2a2a2a !important; | |||
color: #d0d0d0 !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||