MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями

Материал из Тестовая Абсурдопедии
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 231: Строка 231:
html.dm #p-namespaces ul, html.dm #p-views ul, html.dm #p-cactions ul, html.dm #p-actions ul,
html.dm #p-namespaces ul, html.dm #p-views ul, html.dm #p-cactions ul, html.dm #p-actions ul,
html.dm .vectorTabs ul, html.dm .mw-vector-tabs ul { background: #1a1a1a !important; }
html.dm .vectorTabs ul, html.dm .mw-vector-tabs ul { background: #1a1a1a !important; }
html.dm .vectorTabs li, html.dm .vectorMenu li, html.dm .mw-portlet li,
html.dm .vectorTabs li, html
html.dm .vector-menu-tabs li, html.dm .vector-menu-content-list li {
    background: #2a2a2a !important; border-color: #444 !important;
}
html.dm .vectorTabs li a, html.dm .vectorMenu h3 span, html.dm .vectorMenu h3 a,
html.dm .mw-vector-tabs li a, html.dm .mw-portlet li a, html.dm .vector-menu-tabs li a,
html.dm .vector-menu-content-list li a, html.dm .mw-portlet a {
    color: #8cc8ff !important; background: transparent !important;
}
html.dm .vectorTabs li a:hover, html.dm .vectorMenu h3:hover span,
html.dm .mw-portlet li a:hover, html.dm .vector-menu-tabs li a:hover {
    color: #fff !important; background: #333 !important;
}
html.dm .vectorTabs li.selected, html.dm .vectorTabs li.selected a,
html.dm .vector-menu-tabs .selected a, html.dm .mw-portlet li.selected,
html.dm .mw-portlet li.selected a, html.dm .vector-menu-tabs li.selected,
html.dm .vector-menu-tabs li.selected a {
    background: #1a1a1a !important; color: #fff !important; border-color: #1a1a1a !important;
}
html.dm .vectorMenu .menu,
html.dm .vectorMenu .vector-menu-content-list { background: #222 !important; border-color: #444 !important; }
html.dm .vectorMenu .menu a { color: #8cc8ff !important; }
html.dm .vectorMenu .menu a:hover { background: #333 !important; }
html.dm #footer { background: #1a1a1a !important; border-top-color: #444 !important; color: #a0a0a0 !important; }
html.dm #footer-info-lastmod, html.dm #footer-info-copyright, html.dm #footer-info,
html.dm .footer-info, html.dm #footer li, html.dm #footer p { color: #c0c0c0 !important; }
 
/* Заголовки меню */
html.dm .mw-portlet h3, html.dm .mw-portlet .mw-portlet-heading,
html.dm .vector-menu-heading, html.dm #p-navigation h3,
html.dm #p-tb h3, html.dm #p-personal h3 {
    color: #40e0d0 !important; background: transparent !important;
    font-weight: normal !important; border: none !important;
    text-decoration: none !important; padding-bottom: 0 !important; margin-bottom: 0 !important;
}
 
/* Контент */
html.dm .sortable, html.dm .infobox, html.dm .navbox, html.dm .wikitable.plainrowheaders,
html.dm .mw-datatable, html.dm .wikitable {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .sortable th, html.dm .sortable td, html.dm .mw-datatable th, html.dm .mw-datatable td {
html.dm .sortable th, html.dm .sortable td, html.dm .mw-datatable th, html.dm .mw-datatable td {
     background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
     background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
Строка 852: Строка 812:
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
    border-color: #8cc8ff !important;
    box-shadow: 0 0 0 1px #8cc8ff !important;
}
/* Страница блокировки: поля «Страницы» и «Пространства имён» */
html.dm #mw-bi-target,
html.dm #mw-bi-target + .oo-ui-inputWidget-input,
html.dm .oo-ui-textInputWidget input,
html.dm .oo-ui-textInputWidget textarea,
html.dm .oo-ui-tagMultiselectWidget-handle,
html.dm .oo-ui-tagMultiselectWidget,
html.dm .oo-ui-tagItemWidget,
html.dm .oo-ui-menuTagMultiselectWidget {
    background: #2a2a2a !important;
    background-color: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
html.dm #mw-bi-target:focus,
html.dm .oo-ui-textInputWidget input:focus,
html.dm .oo-ui-tagMultiselectWidget-handle:focus {
     border-color: #8cc8ff !important;
     border-color: #8cc8ff !important;
     box-shadow: 0 0 0 1px #8cc8ff !important;
     box-shadow: 0 0 0 1px #8cc8ff !important;
}
}

Версия от 23:17, 1 ноября 2026

/* ============================================================
   Ночная тема для Vector 2010
   ============================================================ */

/* Hider: переменные */
:root {
    --hider-title-bg: floralwhite;
    --hider-title-border: gainsboro;
    --hider-frame-border: #cedff2;
    --hider-content-bg: transparent;
    --hider-content-color: inherit;
}
html.dm,
html.dm body {
    --hider-title-bg: #2a2a2a;
    --hider-title-border: #444;
    --hider-frame-border: #444;
    --hider-content-bg: #222;
    --hider-content-color: #d0d0d0;
}
html.dm .NavFrame { border-color: #444 !important; }
html.dm .NavHead { background: #2a2a2a !important; border-color: #444 !important; color: #d0d0d0 !important; }
html.dm .NavContent { background: #222 !important; color: #d0d0d0 !important; }
html.dm .mw-collapsible-content { background: #1a1a1a !important; }

/* Инверсия изображений */
html.dm img.mw-invertable,
html.dm .mw-invertable img,
html.dm img.mwe-math-fallback-image-inline,
html.dm img.mwe-math-fallback-image-display,
html.dm #footer-poweredbyico img,
html.dm .magnify a,
html.dm .magnify img,
html.dm .sortable .headerSort:after,
html.dm .sortable .headerSort:before,
html.dm #wikiEditor-ui-toolbar .tool-icon,
html.dm #wikiEditor-ui-toolbar .oo-ui-iconElement-icon,
html.dm .editButtons img,
html.dm #toolbar img,
html.dm .oo-ui-messageWidget .oo-ui-iconElement-icon,
html.dm .oo-ui-window .oo-ui-iconElement-icon,
html.dm .oo-ui-processDialog .oo-ui-iconElement-icon,
html.dm .oo-ui-messageDialog .oo-ui-iconElement-icon,
html.dm .vectorTabs li.icon a,
html.dm .mw-portlet li a.new,
html.dm .vector-menu-tabs li a.new,
html.dm .vectorMenu h3 span:after {
    filter: invert(1) hue-rotate(180deg);
}

/* Смягчение неинвертированных SVG */
html.dm img[src$=".svg"]:not(.mw-invertable),
html.dm img[src*=".svg?"]:not(.mw-invertable),
html.dm figure img[src$=".svg"]:not(.mw-invertable),
html.dm figure img[src*=".svg?"]:not(.mw-invertable) {
    filter: brightness(1.12) contrast(0.85) !important;
    opacity: 0.93 !important;
}

/* Смягчение JPG/JPEG */
html.dm img[src$=".jpg"]:not(.mw-invertable),
html.dm img[src*=".jpg?"]:not(.mw-invertable),
html.dm img[src$=".jpeg"]:not(.mw-invertable),
html.dm img[src*=".jpeg?"]:not(.mw-invertable) {
    filter: brightness(1.07) contrast(0.93) !important;
    opacity: 0.96 !important;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
html.dm img[src$=".jpg"]:not(.mw-invertable):hover,
html.dm img[src*=".jpg?"]:not(.mw-invertable):hover,
html.dm img[src$=".jpeg"]:not(.mw-invertable):hover,
html.dm img[src*=".jpeg?"]:not(.mw-invertable):hover {
    filter: none !important;
    opacity: 1 !important;
}

/* Логотип */
html.dm #p-logo a,
html.dm #p-logo img,
html.dm .mw-logo img,
html.dm .mw-logo-icon {
    filter: invert(1) hue-rotate(180deg) brightness(1.1) saturate(1.1);
}

/* База */
html.dm,
html.dm body { background: #1a1a1a !important; color: #d0d0d0 !important; }
html.dm #content,
html.dm #mw-page-base,
html.dm #mw-head-base { background: #1a1a1a !important; color: #d0d0d0 !important; }
html.dm a { color: #8cc8ff !important; }
html.dm a:visited { color: #c9a8ff !important; }
html.dm a.new { color: #ff9a9a !important; }
html.dm h1, html.dm h2, html.dm h3, html.dm h4, html.dm h5, html.dm h6 {
    color: #fff !important; border-bottom-color: #444 !important;
}
html.dm #siteNotice {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
html.dm hr { border-color: #444 !important; }
html.dm table, html.dm th, html.dm td {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .wikitable > * > tr > th { background: #2d2d2d !important; }
html.dm code, html.dm pre, html.dm .mw-code {
    background: #111 !important; color: #e0e0e0 !important; border-color: #444 !important;
}
html.dm blockquote { background: #222 !important; border-left-color: #555 !important; }
html.dm #toc, html.dm .toc { background: #222 !important; border-color: #444 !important; }
html.dm #toc a, html.dm .toc a { color: #8cc8ff !important; }
html.dm #p-personal a,
html.dm #p-navigation a,
html.dm #p-tb a,
html.dm #p-search a { color: #8cc8ff !important; }
html.dm #left-navigation,
html.dm #right-navigation { background: #1a1a1a !important; }
html.dm #simpleSearch input {
    background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .thumbinner,
html.dm .thumb { background: #222 !important; border-color: #444 !important; }
html.dm .thumbcaption { color: #b0b0b0 !important; }
html.dm .catlinks { background: #222 !important; border-color: #444 !important; }

/* Системные сообщения: тёмно-фиолетовые */
html.dm .mw-message-box,
html.dm .mw-message-box-success,
html.dm .mw-message-box-notice,
html.dm .successbox,
html.dm .messagebox {
    background: #2a1f3d !important;
    color: #d0d0d0 !important;
    border-color: #4a3a6a !important;
}
html.dm .mw-message-box-error,
html.dm .errorbox {
    background: #3a1a1a !important;
    color: #ffe8e8 !important;
    border-color: #6b3d3d !important;
}
html.dm .mw-message-box a,
html.dm .mw-message-box-content a,
html.dm .successbox a,
html.dm .messagebox a { color: #8cc8ff !important; }
html.dm .mw-message-box a:visited,
html.dm .mw-message-box-content a:visited,
html.dm .successbox a:visited,
html.dm .messagebox a:visited { color: #c9a8ff !important; }
html.dm .mw-message-box-error a,
html.dm .errorbox a { color: #8cc8ff !important; }
html.dm .mw-message-box-error a:visited,
html.dm .errorbox a:visited { color: #c9a8ff !important; }

/* Предупреждения: тёмно-бордовые */
html.dm .mw-warning,
html.dm .mw-warning *,
html.dm .warningbox,
html.dm .warningbox *,
html.dm .mw-message-box-warning,
html.dm .mw-message-box-warning *,
html.dm .mw-warning-with-logexcerpt,
html.dm .mw-warning-with-logexcerpt *,
html.dm .mw-warning.plainlinks,
html.dm .mw-warning.plainlinks * {
    background: #3a1a1a !important;
    color: #ffe8e8 !important;
    border-color: #6b3d3d !important;
}
html.dm .mw-warning a,
html.dm .warningbox a,
html.dm .mw-message-box-warning a,
html.dm .mw-warning-with-logexcerpt a,
html.dm .mw-warning.plainlinks a { color: #8cc8ff !important; }
html.dm .mw-warning a:visited,
html.dm .warningbox a:visited,
html.dm .mw-message-box-warning a:visited,
html.dm .mw-warning-with-logexcerpt a:visited,
html.dm .mw-warning.plainlinks a:visited { color: #c9a8ff !important; }

/* Форма удаления: принудительная перекраска всех предупреждений */
html.dm #deleteconfirm .mw-warning,
html.dm #deleteconfirm .mw-warning *,
html.dm #deleteconfirm .warningbox,
html.dm #deleteconfirm .warningbox *,
html.dm #deleteconfirm [style*="background: #f9f9f9"],
html.dm #deleteconfirm [style*="background:#f9f9f9"],
html.dm #deleteconfirm [style*="background-color: #f9f9f9"],
html.dm #deleteconfirm [style*="background-color:#f9f9f9"],
html.dm #deleteconfirm [style*="background: rgb(249, 249, 249)"],
html.dm #deleteconfirm [style*="background: #fef6e7"],
html.dm #deleteconfirm [style*="background:#fef6e7"],
html.dm #deleteconfirm [style*="background-color: #fef6e7"],
html.dm #deleteconfirm [style*="background-color:#fef6e7"],
html.dm #deleteconfirm [style*="background: rgb(254, 246, 231)"],
html.dm #deleteconfirm [style*="background: #fff"],
html.dm #deleteconfirm [style*="background:#fff"],
html.dm #deleteconfirm [style*="background: #ffffff"],
html.dm #deleteconfirm [style*="background:#ffffff"],
html.dm #deleteconfirm [style*="background-color: #fff"],
html.dm #deleteconfirm [style*="background-color:#fff"],
html.dm #deleteconfirm [style*="background-color: #ffffff"],
html.dm #deleteconfirm [style*="background-color:#ffffff"],
html.dm #deleteconfirm [style*="background: rgb(255, 255, 255)"],
html.dm #deleteconfirm [style*="background-color: rgb(255, 255, 255)"],
html.dm #deleteconfirm [style*="background: #ffce7b"],
html.dm #deleteconfirm [style*="background:#ffce7b"],
html.dm #deleteconfirm [style*="background-color: #ffce7b"],
html.dm #deleteconfirm [style*="background-color:#ffce7b"],
html.dm #deleteconfirm [style*="background: rgb(255, 206, 123)"],
html.dm #deleteconfirm [style*="background-color: rgb(255, 206, 123)"] {
    background: #3a1a1a !important;
    background-color: #3a1a1a !important;
    color: #ffe8e8 !important;
    border-color: #6b3d3d !important;
}
html.dm #deleteconfirm .mw-warning a,
html.dm #deleteconfirm .warningbox a {
    color: #8cc8ff !important;
}

/* Вкладки и портлеты */
html.dm #p-views, html.dm #p-namespaces, html.dm #p-actions, html.dm #p-cactions,
html.dm .vectorTabs, html.dm .vectorMenu, html.dm .vector-menu, html.dm .mw-vector-tabs,
html.dm .mw-portlet, html.dm .mw-portlet-body, html.dm .mw-portlet-views,
html.dm .mw-portlet-namespaces, html.dm .mw-portlet-actions, html.dm .mw-portlet-cactions,
html.dm .vector-menu-tabs, html.dm .vector-menu-content, html.dm .vector-menu-content-list {
    background: #1a1a1a !important; border-color: #444 !important;
}
html.dm #p-namespaces ul, html.dm #p-views ul, html.dm #p-cactions ul, html.dm #p-actions ul,
html.dm .vectorTabs ul, html.dm .mw-vector-tabs ul { background: #1a1a1a !important; }
html.dm .vectorTabs li, html
html.dm .sortable th, html.dm .sortable td, html.dm .mw-datatable th, html.dm .mw-datatable td {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .sortable tr:nth-child(even) td,
html.dm .mw-datatable tr:nth-child(even) td { background: #1e1e1e !important; }
html.dm .sortable tr:hover td,
html.dm .mw-datatable tr:hover td { background: #2a2a2a !important; }
html.dm .sortable .headerSort,
html.dm .sortable th[role="columnheader"] { color: #fff !important; }
html.dm figure[typeof~="mw:File/Thumb"], html.dm figure[typeof~="mw:File/Frame"],
html.dm .mw-halign-none, html.dm .mw-halign-left, html.dm .mw-halign-right,
html.dm .mw-halign-center, html.dm figure[typeof~="mw:File"] {
    background: #222 !important; border-color: #444 !important; color: #d0d0d0 !important;
}
html.dm .thumbcaption, html.dm figcaption, html.dm .thumbcaption .magnify,
html.dm figure > figcaption { background: #222 !important; color: #b8b8b8 !important; border-color: #444 !important; }
html.dm .thumbcaption a, html.dm figcaption a { color: #8cc8ff !important; }
html.dm .thumbimage, html.dm figure img { border-color: #444 !important; background: #111 !important; }

/* Информационные блоки (ambox, imbox, tmbox, ombox, fmbox) */
html.dm .ambox,
html.dm .imbox,
html.dm .tmbox,
html.dm .ombox,
html.dm .fmbox-system {
    background: #291e29 !important;
    border-color: #797979 !important;
}

/* Подсветка кода */
html.dm .mw-highlight, html.dm .mw-highlight pre, html.dm .mw-highlight code,
html.dm div.mw-highlight, html.dm .mw-highlighter, html.dm pre.mw-highlight {
    background: #111 !important; color: #e0e0e0 !important; border-color: #444 !important;
}
html.dm .mw-highlight .lineno, html.dm .mw-highlight .linenos,
html.dm .mw-highlight .lineno a, html.dm .mw-highlight .linenos a,
html.dm .mw-highlight .line-number, html.dm .mw-highlight .re2-cursor,
html.dm .mw-highlight-lines, html.dm .mw-highlight-lines a {
    background: #1a1a1a !important; color: #808080 !important; border-right-color: #333 !important;
}
html.dm .mw-highlight .lineno:hover,
html.dm .mw-highlight .linenos a:hover { color: #8cc8ff !important; }
/* Подсветка строки: сохранён «жёлтый» смысл, но в тёмной палитре */
html.dm .mw-highlight .highlighted,
html.dm .mw-highlight .hll {
    background: #3a3a1a !important;
    color: #ffe58a !important;
}
html.dm .mw-highlight .c, html.dm .mw-highlight .c1, html.dm .mw-highlight .cm { color: #6a9955 !important; }
html.dm .mw-highlight .k, html.dm .mw-highlight .kd, html.dm .mw-highlight .kn { color: #c586c0 !important; }
html.dm .mw-highlight .s, html.dm .mw-highlight .s1, html.dm .mw-highlight .s2 { color: #ce9178 !important; }
html.dm .mw-highlight .mi, html.dm .mw-highlight .mf { color: #b5cea8 !important; }
html.dm .mw-highlight .nf, html.dm .mw-highlight .nb { color: #dcdcaa !important; }
html.dm .mw-highlight .nc, html.dm .mw-highlight .nn { color: #4ec9b0 !important; }

/* CodeMirror */
html.dm .CodeMirror, html.dm .cm-editor, html.dm .cm-s-default, html.dm .cm-s-dark {
    background: #2a2a2a !important; color: #e0e0e0 !important; border-color: #444 !important;
}
html.dm .CodeMirror-gutters, html.dm .cm-gutters, html.dm .cm-gutter {
    background: #252525 !important; border-right-color: #333 !important;
}
html.dm .CodeMirror-linenumber, html.dm .cm-gutterElement,
html.dm .cm-lineNumbers .cm-gutterElement { background: #252525 !important; color: #808080 !important; }
html.dm .CodeMirror-linenumber:hover,
html.dm .cm-gutterElement:hover { color: #8cc8ff !important; }
html.dm .CodeMirror-cursor, html.dm .cm-cursor { border-left-color: #e0e0e0 !important; }
html.dm .CodeMirror-selected, html.dm .cm-selectionBackground,
html.dm .CodeMirror-focused .CodeMirror-selected { background: #2a3a4a !important; }
html.dm .CodeMirror-activeline-background, html.dm .cm-activeLine,
html.dm .cm-activeLineGutter { background: #222 !important; }
html.dm .CodeMirror-matchingbracket,
html.dm .CodeMirror-nonmatchingbracket {
    color: #8cc8ff !important; background: #2a3a4a !important;
}
html.dm .CodeMirror-foldmarker {
    color: #8cc8ff !important; background: #2a2a2a !important;
    border-color: #444 !important; text-shadow: none !important;
}

/* Подложки для прозрачных файлов */
html.dm img[src$=".gif"], html.dm img[src*=".gif?"] {
    background-color: #D9ECFF !important; filter: none !important;
}
html.dm img[src$=".png"], html.dm img[src*=".png?"] { background-color: #293133 !important; }

/* Редактор */
html.dm #toolbar, html.dm #editButtons, html.dm #wpTextbox1 + .editButtons,
html.dm .editButtons, html.dm #wikiEditor-ui-toolbar,
html.dm #wikiEditor-ui-toolbar .toolbar, html.dm #wikiEditor-ui-toolbar .section,
html.dm #wikiEditor-ui-toolbar .group, html.dm .wikiEditor-ui-toolbar,
html.dm .wikiEditor-toolbar {
    background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm #editpage-specialchars {
    background: #555869 !important;
    border: 1px solid #555 !important;
}
html.dm #editpage-specialchars a {
    background: #33364a !important;
    border: 1px solid #000 !important;
    color: #d0d0d0 !important;
}
html.dm #wikiEditor-ui-toolbar .tabs, html.dm #wikiEditor-ui-toolbar .tab,
html.dm #wikiEditor-ui-toolbar .tabspan, html.dm #wikiEditor-ui-toolbar .current,
html.dm #wikiEditor-ui-toolbar .tab.current {
    background: #333 !important; color: #8cc8ff !important; border-color: #444 !important;
}
html.dm #wikiEditor-ui-toolbar .tab.current,
html.dm #wikiEditor-ui-toolbar .current { background: #2a2a2a !important; color: #fff !important; }
html.dm #wikiEditor-ui-toolbar a, html.dm #wikiEditor-ui-toolbar .tool,
html.dm .editButtons a { color: #d0d0d0 !important; }
html.dm #wikiEditor-ui-toolbar a:hover,
html.dm #wikiEditor-ui-toolbar .tool:hover { background: #3a3a3a !important; color: #fff !important; }
html.dm #wpTextbox1, html.dm textarea#wpTextbox1, html.dm .wikiEditor-ui-text textarea,
html.dm .ve-ce-surface, html.dm .ve-ce-documentNode {
    background: #2a2a2a !important; color: #e0e0e0 !important; border-color: #444 !important;
}
html.dm .editOptions, html.dm #editpage-copywarn, html.dm .mw-editfooter-toggler,
html.dm .editHelp, html.dm #editform, html.dm .mw-editform {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}

/* Формы */
html.dm select, html.dm input[type="text"], html.dm input[type="search"],
html.dm input[type="number"], html.dm input[type="date"], html.dm textarea,
html.dm .mw-ui-input, html.dm .oo-ui-inputWidget-input {
    background: #2a2a2a !important; color: #d0d0d0 !important;
    border: 1px solid #555 !important; border-radius: 3px !important;
}
/* appearance:none — только для select и dropdown-виджетов, чтобы не ломать чекбоксы/радио */
html.dm select, html.dm .oo-ui-dropdownWidget-handle {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}
html.dm select {
    background-color: #2a2a2a !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
    border-radius: 3px !important;
    background-image: linear-gradient(45deg, transparent 50%, #8cc8ff 50%),
                      linear-gradient(135deg, #8cc8ff 50%, transparent 50%) !important;
    background-position: calc(100% - 14px) center, calc(100% - 9px) center !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    padding-right: 24px !important;
}
html.dm select option, html.dm select optgroup { background: #2a2a2a !important; color: #d0d0d0 !important; }
html.dm select option:checked, html.dm select option:hover { background: #3a3a3a !important; color: #fff !important; }
html.dm input[type="checkbox"], html.dm input[type="radio"] { accent-color: #8cc8ff !important; }
html.dm button, html.dm input[type="submit"], html.dm input[type="button"],
html.dm .oo-ui-buttonElement-button, html.dm .mw-ui-button {
    background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important;
}
html.dm button:hover, html.dm input[type="submit"]:hover,
html.dm .oo-ui-buttonElement-button:hover, html.dm .mw-ui-button:hover {
    background: #444 !important; color: #fff !important;
}
html.dm .oo-ui-fieldLayout, html.dm .oo-ui-labelElement-label,
html.dm label, html.dm legend { color: #d0d0d0 !important; }
html.dm .oo-ui-dropdownWidget, html.dm .oo-ui-menuSelectWidget,
html.dm .oo-ui-optionWidget { background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important; }
html.dm .oo-ui-optionWidget-selected,
html.dm .oo-ui-optionWidget-highlighted { background: #3a3a3a !important; color: #fff !important; }
html.dm .oo-ui-textInputWidget, html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input,
html.dm .oo-ui-textInputWidget input, html.dm .oo-ui-textInputWidget textarea {
    background: #2a2a2a !important; color: #d0d0d0 !important;
    border: 1px solid #555 !important; box-shadow: none !important;
}
html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input:focus,
html.dm .oo-ui-textInputWidget input:focus, html.dm #wpReason:focus {
    border-color: #8cc8ff !important; box-shadow: 0 0 0 1px #8cc8ff !important;
}

/* Служебные страницы (файлы) */
html.dm #filetoc, html.dm #filetoc ul, html.dm .filehistory, html.dm .filehistory ul,
html.dm #mw-imagepage-section-filehistory, html.dm #mw-imagepage-section-globalusage,
html.dm #mw-imagepage-section-linkstoimage, html.dm .mw-imagepage-section {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm #filetoc a, html.dm .filehistory a,
html.dm #mw-imagepage-section-filehistory a,
html.dm .mw-imagepage-section a { color: #8cc8ff !important; }
html.dm .mw-imagepage-content, html.dm .mw-imagepage-content ul,
html.dm .mw-imagepage-content li, html.dm .mw-imagepage-content table {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .mw-imagepage-content th, html.dm .mw-imagepage-content td {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}

/* Свежие правки и история */
html.dm .mw-changeslist-legend, html.dm .mw-specialpage-legend,
html.dm .mw-changeslist-legend-inner, html.dm .rclistfrom, html.dm #mw-indicator,
html.dm .mw-indicators, html.dm .mw-specialpage-summary,
html.dm .mw-recentchanges-filters, html.dm .rcoptions, html.dm fieldset {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .mw-changeslist-legend a,
html.dm .mw-specialpage-legend a { color: #8cc8ff !important; }
html.dm legend { color: #e0e0e0 !important; }
html.dm .mw-changeslist-line, html.dm .mw-changeslist-line-inner,
html.dm .mw-changeslist-line-watched, html.dm .mw-changeslist-line-not-watched,
html.dm .special li, html.dm .mw-recentchanges-list li {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #333 !important;
}
html.dm .mw-enhancedchanges-arrow {
    background-color: #8cc8ff !important; filter: none !important; opacity: 1 !important;
}
html.dm .mw-collapsible-toggle { background: transparent !important; color: #8cc8ff !important; }
html.dm .mw-history-table, html.dm .mw-history-table tr, html.dm .mw-history-table td,
html.dm .mw-history-table th, html.dm #pagehistory, html.dm #pagehistory li,
html.dm #pagehistory .mw-history-compareselectedversions {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm #pagehistory li.selected, html.dm #pagehistory li:target,
html.dm .mw-history-table tr.selected, html.dm .mw-history-table tr:target {
    background: #2a2a2a !important; color: #fff !important; border-color: #555 !important;
}
html.dm #pagehistory a, html.dm .mw-history-table a { color: #8cc8ff !important; }
html.dm #pagehistory a:visited,
html.dm .mw-history-table a:visited { color: #c9a8ff !important; }
html.dm .mw-plusminus-pos { color: #7bd88f !important; }
html.dm .mw-plusminus-neg { color: #ff9a9a !important; }
html.dm .mw-plusminus-null { color: #b0b0b0 !important; }

/* Удаление */
html.dm #deleteconfirm, html.dm .mw-deleteconfirm, html.dm #delete-reason,
html.dm .delete-reason { background: #1a1a1a !important; color: #d0d0d0 !important; }
html.dm #wpDeleteReasonList, html.dm #wpReason, html.dm #delete-reason input,
html.dm #delete-reason textarea, html.dm .delete-reason input,
html.dm .delete-reason textarea, html.dm #deleteconfirm input[type="text"],
html.dm #deleteconfirm textarea, html.dm .mw-deleteconfirm input[type="text"],
html.dm .mw-deleteconfirm textarea {
    background: #2a2a2a !important; color: #d0d0d0 !important;
    border: 1px solid #555 !important; box-shadow: none !important;
}
html.dm #deleteconfirm td, html.dm #deleteconfirm tr,
html.dm .mw-deleteconfirm td, html.dm .mw-deleteconfirm tr {
    background: #1a1a1a !important; color: #d0d0d0 !important;
}
html.dm #deleteconfirm label, html.dm .mw-deleteconfirm label,
html.dm #deleteconfirm legend, html.dm .mw-deleteconfirm legend { color: #e0e0e0 !important; }
html.dm #deleteconfirm input[type="submit"] {
    background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important;
}
html.dm #deleteconfirm input[type="submit"]:hover { background: #444 !important; color: #fff !important; }

/* Поиск */
html.dm .mw-search-tabs, html.dm .search-types, html.dm .mw-search-profile-tabs,
html.dm .mw-searchresults-tabs, html.dm #mw-searchoptions, html.dm #mw-search-top-table,
html.dm .mw-search-form, html.dm .search-form, html.dm #search, html.dm #searchform {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .mw-search-tabs a, html.dm .search-types a, html.dm .mw-search-profile-tabs a,
html.dm .mw-search-profile-tabs li, html.dm .search-types li, html.dm .mw-search-tabs li {
    background: #2a2a2a !important; color: #8cc8ff !important; border-color: #444 !important;
}
html.dm .mw-search-tabs li.selected, html.dm .search-types li.selected,
html.dm .mw-search-profile-tabs li.selected, html.dm .mw-search-tabs li.selected a,
html.dm .search-types li.selected a, html.dm .mw-search-profile-tabs li.selected a {
    background: #1a1a1a !important; color: #fff !important; border-color: #444 !important;
}
html.dm .mw-search-tabs a:hover, html.dm .search-types a:hover,
html.dm .mw-search-profile-tabs a:hover { background: #333 !important; color: #fff !important; }
html.dm .mw-searchoptions, html.dm #mw-searchoptions, html.dm .mw-searchoptions legend,
html.dm .mw-searchoptions label { background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important; }
html.dm .mw-searchoptions table, html.dm .mw-searchoptions th, html.dm .mw-searchoptions td {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .mw-search-results, html.dm .mw-search-results li, html.dm .searchresult,
html.dm .mw-search-result { background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #333 !important; }
html.dm .mw-search-result-heading a,
html.dm .searchresult a { color: #8cc8ff !important; }
html.dm .mw-search-result-data,
html.dm .searchresult .searchresult-data { color: #a0a0a0 !important; }
html.dm .mw-search-result .searchmatch,
html.dm .searchmatch { background: #3a3a2a !important; color: #ffe58a !important; }

/* InputBox */
html.dm .inputbox, html.dm .mw-inputbox, html.dm #createbox, html.dm .createbox,
html.dm .mw-inputbox-createbox { background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; }
html.dm .inputbox label, html.dm .mw-inputbox label, html.dm #createbox label,
html.dm .createbox label, html.dm .mw-inputbox legend { color: #d0d0d0 !important; }
html.dm .inputbox input[type="text"], html.dm .mw-inputbox input[type="text"],
html.dm #createbox input[type="text"], html.dm .createbox input[type="text"],
html.dm .inputbox input, html.dm .mw-inputbox input {
    background: #2a2a2a !important; color: #d0d0d0 !important; border: 1px solid #555 !important;
}
html.dm .inputbox input[type="submit"], html.dm .inputbox button,
html.dm .mw-inputbox input[type="submit"], html.dm #createbox input[type="submit"],
html.dm #createbox button, html.dm .createbox input[type="submit"] {
    background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important;
}
html.dm .inputbox input[type="submit"]:hover, html.dm .inputbox button:hover,
html.dm #createbox input[type="submit"]:hover { background: #444 !important; color: #fff !important; }

/* Шаблоны и порталы */
html.dm .absurd-note { background: #222 !important; border: 1px solid #555 !important; color: #d0d0d0 !important; }
html.dm .absurd-note a { color: #8cc8ff !important; }
html.dm .absurd-note a:visited { color: #c9a8ff !important; }
html.dm .absurd-note b, html.dm .absurd-note strong, html.dm .absurd-note i { color: #fff !important; }
html.dm .absurd-note hr { border-color: #444 !important; }
html.dm .doc-box { background: #222 !important; border: 1px dotted #555 !important; color: #d0d0d0 !important; }
html.dm .doc-box a { color: #8cc8ff !important; }
html.dm .doc-box hr, html.dm .doc-box .mw-hr { border-color: #444 !important; }
html.dm .right-box { background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; }
html.dm .right-box-element { background: transparent !important; color: #d0d0d0 !important; }
html.dm .right-box a, html.dm .right-box a:visited,
html.dm .right-box-element a { color: #8cc8ff !important; }
html.dm .forumheader { background-color: #222 !important; border-color: #444 !important; color: #d0d0d0 !important; }
html.dm .forumheader a { color: #8cc8ff !important; }
html.dm .forumheader a:visited { color: #c9a8ff !important; }
html.dm .forumheader b, html.dm .forumheader strong { color: #fff !important; }
html.dm .forumlist, html.dm .forumlist td, html.dm .forumlist th, html.dm .forumlist tr {
    background-color: #1a1a1a !important; border-color: #444 !important; color: #d0d0d0 !important;
}
html.dm .forumlist th { background-color: #2a2a2a !important; }
html.dm .forumlist a { color: #8cc8ff !important; }
html.dm .forumlist td.forum_edited a { color: #a0a0a0 !important; }
html.dm .main-box, html.dm .main-box-subtitle, html.dm .main-box-header,
html.dm .main-header, html.dm .section-box, html.dm .main-footer,
html.dm .main-footer-actions, html.dm .main-footer-menu,
html.dm .main-footer-menuToggle, html.dm .main-footer-menuDropdown,
html.dm .main-plainlist {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .main-box a, html.dm .main-header a, html.dm .section-box a,
html.dm .main-footer a { color: #8cc8ff !important; }
html.dm .section-box, html.dm .main-box-header,
html.dm .main-header { color: #fff !important; border-bottom-color: #444 !important; }
html.dm .absurd-note [style*="background-color:#6161ff"],
html.dm .absurd-note [style*="background:#6161ff"] { background: #1a1a1a !important; }
html.dm .absurd-note [style*="background-color:#ababff"],
html.dm .absurd-note [style*="background:#ababff"] { background: #222 !important; }
html.dm .absurd-note [style*="background-color:#ebebff"],
html.dm .absurd-note [style*="background:#ebebff"] { background: #2a2a2a !important; }
html.dm .absurd-note h2, html.dm .absurd-note p, html.dm .absurd-note div {
    color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .absurd-note h2 { color: #fff !important; }
html.dm .file-info > tbody > tr > th, html.dm .file-info > tbody > tr > td {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .file-info > tbody > tr > th { color: #fff !important; background: #2a2a2a !important; }
html.dm .file-info a { color: #8cc8ff !important; }
html.dm .file-info a:visited { color: #c9a8ff !important; }
html.dm .file-no-data { background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; }

/* Расширения */
html.dm .ajaxpoll, html.dm .ajaxpoll-question, html.dm .ajaxpoll-answer,
html.dm .ajaxpoll-misc, html.dm #ajaxpoll-container- {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .ajaxpoll-question { color: #fff !important; border-bottom-color: #444 !important; }
html.dm .ajaxpoll-answer-name { color: #d0d0d0 !important; }
html.dm .ajaxpoll-answer-vote { color: #a0a0a0 !important; }
html.dm .ajaxpoll a { color: #8cc8ff !important; }
html.dm .ajaxpoll input[type="submit"], html.dm .ajaxpoll button {
    background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important;
}
html.dm .ajaxpoll-ajax, html.dm .ajaxpoll-vote-state,
html.dm #ajaxpoll-vote-state-added, html.dm #ajaxpoll-vote-state-revoked {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}

/* Диффы */
html.dm .diff, html.dm table.diff, html.dm .diff td {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .diff-addedline, html.dm .diff-deletedline, html.dm .diff-context {
    background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .diffchange {
    background: #3a2a1a !important; color: #ffb366 !important; text-decoration: none !important;
}
html.dm .diff-addedline ins, html.dm .diff-deletedline del {
    background: transparent !important; color: #ffb366 !important; text-decoration: none !important;
}

/* Точечные фиксы */
html.dm .ship { color: #a8ffb0 !important; }
html.dm [style*="color:rgb(37,37,37)"],
html.dm [style*="color: rgb(37, 37, 37)"] { color: #d0d0d0 !important; }
html.dm [style*="color:rgb(37,37,37)"] a,
html.dm [style*="color: rgb(37, 37, 37)"] a { color: #8cc8ff !important; }
html.dm #footer-poweredbyico, html.dm #footer-poweredbyico img,
html.dm #footer-poweredbyico a, html.dm #footer-poweredbyico ~ * {
    background: #1a1a1a !important; border: none !important; box-shadow: none !important;
}

/* .usermessage — светлый фон, тёмный текст */
html.dm .usermessage { color: #000 !important; background: #ffce7b !important; }
html.dm .usermessage a { color: #0645ad !important; }
html.dm .usermessage a:visited { color: #0b0080 !important; }

/* .postedit — светлый фон, тёмный текст */
html.dm .postedit, html.dm .postedit *,
html.dm .postedit-container, html.dm .postedit-container *,
html.dm .mw-postedit-container, html.dm .mw-postedit-container * {
    color: #000 !important;
}
html.dm .postedit a, html.dm .postedit-container a,
html.dm .mw-postedit-container a { color: #0645ad !important; }
html.dm .postedit a:visited, html.dm .postedit-container a:visited,
html.dm .mw-postedit-container a:visited { color: #0b0080 !important; }

/* Загрузка файла */
html.dm #mw-upload-form, html.dm .mw-upload-form,
html.dm #mw-upload-form .mw-htmlform, html.dm #mw-upload-form .mw-htmlform-field,
html.dm .mw-upload-form .mw-htmlform, html.dm .mw-upload-form .mw-htmlform-field {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .oo-ui-selectFileWidget, html.dm .oo-ui-selectFileWidget-dropTarget,
html.dm .oo-ui-selectFileInputWidget, html.dm .oo-ui-selectFileInputWidget-info,
html.dm .oo-ui-selectFileWidget-info, html.dm .oo-ui-selectFileWidget-button,
html.dm .oo-ui-selectFileWidget-clearButton, html.dm .oo-ui-selectFileWidget-selectButton,
html.dm .oo-ui-selectFileWidget-dropLabel {
    background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .oo-ui-selectFileWidget-dropTarget { border: 1px dashed #555 !important; }
html.dm .oo-ui-selectFileWidget-dropTarget:hover,
html.dm .oo-ui-selectFileWidget-dropTarget.oo-ui-selectFileWidget-drag {
    background: #333 !important; border-color: #8cc8ff !important;
}
html.dm .oo-ui-selectFileWidget-info > .oo-ui-labelElement-label,
html.dm .oo-ui-selectFileWidget-info .oo-ui-labelElement-label,
html.dm .oo-ui-selectFileInputWidget-info .oo-ui-labelElement-label { color: #d0d0d0 !important; }
html.dm .oo-ui-selectFileWidget-dropLabel,
html.dm .oo-ui-selectFileWidget-info > .oo-ui-labelElement-label { color: #a0a0a0 !important; }
html.dm #mw-upload-form .oo-ui-textInputWidget,
html.dm #mw-upload-form .oo-ui-textInputWidget input,
html.dm #mw-upload-form .oo-ui-textInputWidget textarea,
html.dm #mw-upload-form .oo-ui-inputWidget-input,
html.dm #mw-upload-form input[type="text"], html.dm #mw-upload-form textarea,
html.dm #mw-upload-form select, html.dm #wpDestFile,
html.dm #wpUploadDescription, html.dm #wpLicense {
    background: #2a2a2a !important; color: #d0d0d0 !important;
    border: 1px solid #555 !important; box-shadow: none !important;
}
html.dm #mw-upload-form .oo-ui-textInputWidget input:focus,
html.dm #mw-upload-form .oo-ui-textInputWidget textarea:focus,
html.dm #wpDestFile:focus, html.dm #wpUploadDescription:focus {
    border-color: #8cc8ff !important; box-shadow: 0 0 0 1px #8cc8ff !important;
}
html.dm #mw-upload-form input::placeholder,
html.dm #mw-upload-form textarea::placeholder,
html.dm .oo-ui-textInputWidget input::placeholder,
html.dm .oo-ui-textInputWidget textarea::placeholder {
    color: #888 !important; opacity: 1 !important;
}
html.dm #mw-upload-form fieldset, html.dm #mw-upload-form legend,
html.dm #mw-upload-form label, html.dm .mw-upload-form fieldset,
html.dm .mw-upload-form legend, html.dm .mw-upload-form label {
    background: transparent !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm #mw-upload-form .oo-ui-buttonElement-button,
html.dm .mw-upload-form .oo-ui-buttonElement-button, html.dm #wpUploadFile {
    background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important;
}
html.dm #mw-upload-form .oo-ui-buttonElement-button:hover,
html.dm .mw-upload-form .oo-ui-buttonElement-button:hover {
    background: #444 !important; color: #fff !important;
}

/* Уведомления и тосты */
html.dm .mw-notification, html.dm .mw-notification-area,
html.dm .mw-notification-content, html.dm #mw-notification-area {
    background: #2a2a2a !important; color: #d0d0d0 !important;
    border-color: #555 !important; box-shadow: 0 2px 6px rgba(0, 0, 0, .5) !important;
    font-family: monospace !important;
}
html.dm .mw-notification a { color: #8cc8ff !important; }
html.dm .mw-notification a:visited { color: #c9a8ff !important; }
html.dm .mw-notification h3 { color: #fff !important; }
html.dm .mw-notification .oo-ui-buttonElement-button,
html.dm .mw-notification button {
    background: #333 !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .mw-notification .oo-ui-buttonElement-button:hover {
    background: #444 !important; color: #fff !important;
}

/* OOUI MessageWidget */
html.dm .oo-ui-messageWidget,
html.dm .oo-ui-messageWidget-label,
html.dm .oo-ui-messageWidget > .oo-ui-labelElement-label,
html.dm .oo-ui-messageWidget .oo-ui-labelElement-label,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-notice,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-warning,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-error,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-success {
    background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .oo-ui-messageWidget a { color: #8cc8ff !important; }

/* OOUI попапы и тулбары */
html.dm .oo-ui-popupWidget, html.dm .oo-ui-popupWidget-popup,
html.dm .oo-ui-popupWidget-body, html.dm .oo-ui-popupToolGroup-tools,
html.dm .oo-ui-toolbar-tools, html.dm .oo-ui-menuToolGroup-tools {
    background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .oo-ui-popupWidget a, html.dm .oo-ui-popupToolGroup-tools a,
html.dm .oo-ui-toolbar-tools a { color: #8cc8ff !important; }

/* Модальные окна OOUI */
html.dm .oo-ui-window-frame, html.dm .oo-ui-window-body,
html.dm .oo-ui-window-content, html.dm .oo-ui-window-head,
html.dm .oo-ui-window-foot, html.dm .oo-ui-processDialog,
html.dm .oo-ui-processDialog-content, html.dm .oo-ui-processDialog-navigation,
html.dm .oo-ui-window, html.dm .oo-ui-dialog, html.dm .oo-ui-dialog-content,
html.dm .oo-ui-panelLayout, html.dm .oo-ui-panelLayout-padded,
html.dm .oo-ui-panelLayout-framed, html.dm .oo-ui-formLayout,
html.dm .oo-ui-fieldsetLayout {
    background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important;
}
html.dm .oo-ui-processDialog-title, html.dm .oo-ui-window-head,
html.dm .oo-ui-dialog-title {
    background: #222 !important; color: #fff !important; border-bottom-color: #444 !important;
}
html.dm .oo-ui-processDialog .oo-ui-labelElement-label,
html.dm .oo-ui-window .oo-ui-labelElement-label,
html.dm .oo-ui-window legend, html.dm .oo-ui-window label,
html.dm .oo-ui-window h1, html.dm .oo-ui-window h2,
html.dm .oo-ui-window h3 { color: #d0d0d0 !important; }
html.dm .oo-ui-window a { color: #8cc8ff !important; }
html.dm .oo-ui-processDialog-errors, html.dm .oo-ui-processDialog-error,
html.dm .oo-ui-messageDialog, html.dm .oo-ui-messageDialog-message,
html.dm .oo-ui-messageDialog-actions {
    background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .oo-ui-processDialog-actions, html.dm .oo-ui-processDialog-actions button,
html.dm .oo-ui-processDialog-actions .oo-ui-buttonElement-button,
html.dm .oo-ui-window-foot .oo-ui-buttonElement-button {
    background: #333 !important; color: #d0d0d0 !important; border-color: #555 !important;
}
html.dm .oo-ui-processDialog-actions .oo-ui-buttonElement-button:hover,
html.dm .oo-ui-window-foot .oo-ui-buttonElement-button:hover {
    background: #444 !important; color: #fff !important;
}
html.dm .oo-ui-processDialog-actions-approve .oo-ui-buttonElement-button {
    background: #2d5a2d !important; color: #d0d0d0 !important;
}
html.dm .oo-ui-processDialog-actions-approve .oo-ui-buttonElement-button:hover {
    background: #3a6e3a !important; color: #fff !important;
}
html.dm .oo-ui-windowManager-modal > .oo-ui-dialog,
html.dm .oo-ui-dialog { background-color: rgba(0, 0, 0, 0.7) !important; }

/* Поля ввода на служебных страницах (удаление, защита, переименование) */
html.dm .oo-ui-inputWidget-input,
html.dm .oo-ui-textInputWidget input,
html.dm .oo-ui-textInputWidget textarea,
html.dm #wpReason,
html.dm #wpDeleteReasonList,
html.dm #wpSummary,
html.dm #mw-htmlform-rename input,
html.dm #mw-htmlform-protect input,
html.dm .mw-htmlform-field input[type="text"],
html.dm .mw-htmlform-field textarea {
    background: #2a2a2a !important;
    background-color: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
html.dm .oo-ui-dropdownWidget-handle,
html.dm #wpDeleteReasonList,
html.dm #mw-htmlform-protect select,
html.dm #mw-htmlform-rename select {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
html.dm .oo-ui-inputWidget-input:focus,
html.dm .oo-ui-textInputWidget input:focus,
html.dm #wpReason:focus,
html.dm #wpSummary:focus {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #8cc8ff !important;
    box-shadow: 0 0 0 1px #8cc8ff !important;
}
/* Страница блокировки: поля «Страницы» и «Пространства имён» */
html.dm #mw-bi-target,
html.dm #mw-bi-target + .oo-ui-inputWidget-input,
html.dm .oo-ui-textInputWidget input,
html.dm .oo-ui-textInputWidget textarea,
html.dm .oo-ui-tagMultiselectWidget-handle,
html.dm .oo-ui-tagMultiselectWidget,
html.dm .oo-ui-tagItemWidget,
html.dm .oo-ui-menuTagMultiselectWidget {
    background: #2a2a2a !important;
    background-color: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
html.dm #mw-bi-target:focus,
html.dm .oo-ui-textInputWidget input:focus,
html.dm .oo-ui-tagMultiselectWidget-handle:focus {
    border-color: #8cc8ff !important;
    box-shadow: 0 0 0 1px #8cc8ff !important;
}