MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями
Ланселот (обсуждение | вклад) Пока вернул для сравнения Метка: ручная отмена |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| Строка 3: | Строка 3: | ||
============================================================ */ | ============================================================ */ | ||
/* | /* Hider: переменные */ | ||
:root { | |||
--hider-title-bg: floralwhite; | |||
color: | --hider-title-border: gainsboro; | ||
--hider-frame-border: #cedff2; | |||
--hider-content-bg: transparent; | |||
--hider-content-color: inherit; | |||
} | } | ||
html.dm, | |||
body | html.dm body { | ||
--hider-title-bg: #2a2a2a; | |||
--hider-title-border: #444; | |||
--hider-frame-border: #444; | |||
color: #d0d0d0 | --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); | |||
} | } | ||
body | /* База */ | ||
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 hr { border-color: #444 !important; } | |||
background: # | 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: # | 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; } | |||
background: # | |||
/* Системные сообщения: тёмно-фиолетовые */ | |||
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; | color: #d0d0d0 !important; | ||
border-color: # | border-color: #4a3a6a !important; | ||
} | } | ||
html.dm .mw-message-box-error, | |||
background: # | html.dm .errorbox { | ||
border-color: # | 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; | |||
background: # | |||
border-color: # | |||
} | } | ||
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, | |||
background: # | html.dm #deleteconfirm .mw-warning *, | ||
border-color: # | 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; | 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; | |||
background: # | |||
} | } | ||
html.dm #p-namespaces ul, html.dm #p-views ul, html.dm #p-cactions ul, html.dm #p-actions ul, | |||
color: # | 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 .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, | |||
background: | 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; | |||
color: # | |||
} | } | ||
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 | html.dm .mw-portlet h3, html.dm .mw-portlet .mw-portlet-heading, | ||
html | html.dm .vector-menu-heading, html.dm #p-navigation h3, | ||
html | html.dm #p-tb h3, html.dm #p-personal h3 { | ||
html | color: #40e0d0 !important; background: transparent !important; | ||
html | font-weight: normal !important; border: none !important; | ||
html | text-decoration: none !important; padding-bottom: 0 !important; margin-bottom: 0 !important; | ||
color: #40e0d0 !important; | |||
font-weight: normal !important; | |||
text-decoration: none !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; | |||
background: #222 !important; | |||
} | } | ||
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; | |||
} | } | ||
html.dm .sortable tr:nth-child(even) td, | |||
html.dm .mw-datatable tr:nth-child(even) td { background: #1e1e1e !important; } | |||
background: # | 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; } | |||
background: # | 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; } | |||
/* Подсветка кода */ | |||
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, | |||
color: # | 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: #1a1a1a !important; color: #e0e0e0 !important; border-color: #444 !important; | ||
} | |||
} | |||
} | |||
background: #1a1a1a !important; | |||
} | } | ||
html.dm .CodeMirror-gutters, html.dm .cm-gutters, html.dm .cm-gutter { | |||
background: #1a1a1a !important; border-right-color: #333 !important; | |||
background: #1a1a1a !important; | |||
} | } | ||
html.dm .CodeMirror-linenumber, html.dm .cm-gutterElement, | |||
html.dm .cm-lineNumbers .cm-gutterElement { background: #1a1a1a !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; | |||
color: # | |||
border | |||
} | } | ||
/* Подложки для прозрачных файлов */ | /* Подложки для прозрачных файлов */ | ||
html | html.dm img[src$=".gif"], html.dm img[src*=".gif?"] { | ||
html | background-color: #D9ECFF !important; filter: none !important; | ||
background-color: #D9ECFF !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; | |||
background: #2a2a2a !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; | |||
background: # | |||
} | } | ||
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, | |||
background: #1a1a1a !important; | 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: #1a1a1a !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; | |||
background: #1a1a1a !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; | |||
background: #2a2a2a !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
/* appearance:none — только для select и dropdown-виджетов, чтобы не ломать чекбоксы/радио */ | |||
html.dm select, html.dm .oo-ui-dropdownWidget-handle { | |||
appearance: none !important; | |||
-webkit-appearance: none !important; | -webkit-appearance: none !important; | ||
-moz-appearance: none !important; | -moz-appearance: none !important; | ||
} | } | ||
/* Кроссплатформенная стрелка select через SVG data-URI (пункт 9) */ | |||
background-image: | html.dm select { | ||
background-color: #2a2a2a !important; | |||
background-position: calc(100% - | background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238cc8ff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important; | ||
background-size: | background-position: calc(100% - 10px) center !important; | ||
background-size: 10px 6px !important; | |||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
padding-right: | padding-right: 26px !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; } | |||
color: # | 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; | |||
background: # | |||
} | } | ||
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, | |||
background: # | 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, | |||
border: 1px solid #555 !important; | 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; | |||
border-color: #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; | |||
background: #222 !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; | ||
background: #222 !important; | |||
} | } | ||
html.dm .mw-imagepage-content th, html.dm .mw-imagepage-content td { | |||
background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important; | |||
background: #1a1a1a !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; | |||
background: #222 !important; | |||
} | } | ||
html | html.dm .mw-changeslist-legend a, | ||
background: | 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; | |||
background | |||
} | } | ||
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, | |||
color: # | 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 { | |||
color: # | 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; | |||
background: #2a2a2a !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
html.dm #deleteconfirm td, html.dm #deleteconfirm tr, | |||
background: # | 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, | |||
background: # | 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; | |||
background: #1a1a1a !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 { | |||
color: #8cc8ff !important; | 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, | |||
color: # | 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; } | |||
background: # | 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 */ | /* 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; | |||
} | |||
} | |||
background: #2a2a2a !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; | |||
background: # | |||
} | } | ||
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 | 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; } | |||
color: #d0d0d0 !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 | html.dm .forumlist th { background-color: #2a2a2a !important; } | ||
color: # | 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 | html.dm .main-box a, html.dm .main-header a, html.dm .section-box a, | ||
color: # | 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 | html.dm .absurd-note h2 { color: #fff !important; } | ||
html | html.dm .file-info > tbody > tr > th, html.dm .file-info > tbody > tr > td { | ||
html | background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; | ||
color: # | |||
} | } | ||
html | html.dm .file-info > tbody > tr > th { color: #fff !important; background: #2a2a2a !important; } | ||
border-color: #444 !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 | 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; } | |||
color: #d0d0d0 !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 | html.dm .ajaxpoll-ajax, html.dm .ajaxpoll-vote-state, | ||
color: # | html.dm #ajaxpoll-vote-state-added, html.dm #ajaxpoll-vote-state-revoked { | ||
background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; | |||
} | } | ||
html | |||
html | /* Диффы */ | ||
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 | html.dm .diff-addedline, html.dm .diff-deletedline, html.dm .diff-context { | ||
background: #222 !important; | background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; | ||
} | } | ||
html | html.dm .diffchange { | ||
background: | background: #3a2a1a !important; color: #ffb366 !important; text-decoration: none !important; | ||
} | } | ||
html | html.dm .diff-addedline ins, html.dm .diff-deletedline del { | ||
html | background: transparent !important; color: #ffb366 !important; text-decoration: none !important; | ||
color: # | |||
} | } | ||
html | |||
/* Точечные фиксы */ | |||
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; | |||
} | } | ||
html | |||
color: # | /* .usermessage — светлый фон, тёмный текст (пункт 4: оставлено намеренно, но добавлены актуальные классы) */ | ||
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 | html.dm .postedit a, html.dm .postedit-container a, | ||
color: # | 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 | html.dm .oo-ui-selectFileWidget, html.dm .oo-ui-selectFileWidget-dropTarget, | ||
html | html.dm .oo-ui-selectFileInputWidget, html.dm .oo-ui-selectFileInputWidget-info, | ||
color: # | 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 | html.dm .oo-ui-selectFileWidget-dropTarget { border: 1px dashed #555 !important; } | ||
html | html.dm .oo-ui-selectFileWidget-dropTarget:hover, | ||
html | html.dm .oo-ui-selectFileWidget-dropTarget.oo-ui-selectFileWidget-drag { | ||
background: #333 !important; border-color: #8cc8ff !important; | |||
background | |||
} | } | ||
html | html.dm .oo-ui-selectFileWidget-info > .oo-ui-labelElement-label, | ||
background | 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 | html.dm #mw-upload-form .oo-ui-textInputWidget input:focus, | ||
color: #8cc8ff !important; | 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 | html.dm #mw-upload-form input::placeholder, | ||
color: # | 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 | html.dm #mw-upload-form fieldset, html.dm #mw-upload-form legend, | ||
html | html.dm #mw-upload-form label, html.dm .mw-upload-form fieldset, | ||
html | html.dm .mw-upload-form legend, html.dm .mw-upload-form label { | ||
background: transparent !important; color: #d0d0d0 !important; border-color: #444 !important; | |||
html | |||
html | |||
html | |||
background: | |||
} | } | ||
html | html.dm #mw-upload-form .oo-ui-buttonElement-button, | ||
html | html.dm .mw-upload-form .oo-ui-buttonElement-button, html.dm #wpUploadFile { | ||
background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important; | |||
html | |||
color: # | |||
} | } | ||
html | html.dm #mw-upload-form .oo-ui-buttonElement-button:hover, | ||
html | html.dm .mw-upload-form .oo-ui-buttonElement-button:hover { | ||
background: #444 !important; color: #fff !important; | |||
} | } | ||
html | |||
html | /* Уведомления и тосты */ | ||
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; | |||
} | } | ||
html | html.dm .mw-notification a { color: #8cc8ff !important; } | ||
html | html.dm .mw-notification a:visited { color: #c9a8ff !important; } | ||
background: # | 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 | html.dm .mw-notification .oo-ui-buttonElement-button:hover { | ||
background: #444 !important; color: #fff !important; | |||
background: # | |||
} | } | ||
html | |||
html | /* OOUI MessageWidget */ | ||
html | html.dm .oo-ui-messageWidget, | ||
color: #d0d0d0 !important; | 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 | 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 { | |||
html | background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important; | ||
html | |||
html | |||
html | |||
html | |||
html | |||
background: # | |||
} | } | ||
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 body. | html.dm .oo-ui-window-frame, html.dm .oo-ui-window-body, | ||
html | html.dm .oo-ui-window-content, html.dm .oo-ui-window-head, | ||
html | html.dm .oo-ui-window-foot, html.dm .oo-ui-processDialog, | ||
html | html.dm .oo-ui-processDialog-content, html.dm .oo-ui-processDialog-navigation, | ||
html | html.dm .oo-ui-window, html.dm .oo-ui-dialog, html.dm .oo-ui-dialog-content, | ||
background: # | 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 | html.dm .oo-ui-processDialog-title, html.dm .oo-ui-window-head, | ||
color: # | html.dm .oo-ui-dialog-title { | ||
background: #222 !important; color: #fff !important; border-bottom-color: #444 !important; | |||
} | } | ||
html | html.dm .oo-ui-processDialog .oo-ui-labelElement-label, | ||
color: #d0d0d0 !important; | 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 | html.dm .oo-ui-processDialog-actions, html.dm .oo-ui-processDialog-actions button, | ||
color: # | 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 | html.dm .oo-ui-processDialog-actions .oo-ui-buttonElement-button:hover, | ||
color: # | html.dm .oo-ui-window-foot .oo-ui-buttonElement-button:hover { | ||
background: #444 !important; color: #fff !important; | |||
} | } | ||
html | html.dm .oo-ui-processDialog-actions-approve .oo-ui-buttonElement-button { | ||
background: #2d5a2d !important; color: #d0d0d0 !important; | |||
background: # | |||
} | } | ||
html | html.dm .oo-ui-processDialog-actions-approve .oo-ui-buttonElement-button:hover { | ||
background: #3a6e3a !important; color: #fff !important; | |||
background: # | |||
} | } | ||
html.dm .oo-ui-windowManager-modal > .oo-ui-dialog, | |||
html.dm .oo-ui-dialog { background-color: rgba(0, 0, 0, 0.7) !important; } | |||
/* | /* Поля ввода на служебных страницах (удаление, защита, переименование) */ | ||
html | html.dm .oo-ui-inputWidget-input, | ||
html | html.dm .oo-ui-textInputWidget input, | ||
html | html.dm .oo-ui-textInputWidget textarea, | ||
background: # | 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; | color: #d0d0d0 !important; | ||
border-color: # | border-color: #555 !important; | ||
} | } | ||
html | html.dm .oo-ui-dropdownWidget-handle, | ||
html | html.dm #wpDeleteReasonList, | ||
html | html.dm #mw-htmlform-protect select, | ||
background: # | html.dm #mw-htmlform-rename select { | ||
background: #2a2a2a !important; | |||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: # | border-color: #555 !important; | ||
} | } | ||
html | 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; | |||
html | |||
html | |||
html | |||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #8cc8ff !important; | |||
box-shadow: 0 0 0 1px #8cc8ff !important; | |||
box-shadow: | |||
} | } | ||