MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями
Ланселот (обсуждение | вклад) Нет описания правки |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| (не показано 10 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
/* ============================================================ | /* ============================================================ | ||
Ночная тема для Vector 2010 | Ночная тема для Vector 2010 — «АСТРЕЯ» | ||
============================================================ | |||
° Лицензия: MIT (opensource.org/license/mit) ==> 2026, absurdopedia.wiki | |||
° Идёт в связке с [[MediaWiki:Gadget-DarkModeVector2010.js]] | |||
ОГЛАВЛЕНИЕ | |||
---------- | |||
§1. Переменные темы | |||
§2. Сворачиваемые блоки (Hider / NavFrame) | |||
§3. Изображения (инверсия, SVG, JPG, GIF/PNG) | |||
§4. Логотип | |||
§5. Глобальная база (html, body, ссылки, заголовки) | |||
§6. Нативные контролы, выделение, фокус, placeholder | |||
§7. Навигация: вкладки, портлеты, меню, подвал | |||
§8. Системные сообщения и предупреждения | |||
§9. Уведомления и OOUI MessageWidget | |||
§10. Контент статьи (таблицы, код, цитаты, TOC, thumb, figure) | |||
§11. Информационные шаблоны (ambox / imbox / tmbox / ombox / fmbox) | |||
§12. Шаблоны-оформление (absurd-note, forum, main-box, file-info) | |||
§13. Диффы | |||
§14. Подсветка кода (SyntaxHighlight / Pygments) | |||
§15. Редакторы кода (CodeMirror → Ace; порядок важен!) | |||
§16. Формы и поля ввода (native + OOUI) | |||
§17. OOUI: попапы, тулбары, модальные окна, скелетоны | |||
§18. Редактор статей | |||
§19. Служебные страницы (файлы, история, удаление, поиск, InputBox) | |||
§20. Загрузка файлов | |||
§21. Расширения (AjaxPoll, Video, Math, CategoryTree, RSS, Tipsy) | |||
§22. Точечные фиксы | |||
============================================================ */ | ============================================================ */ | ||
/* | |||
/* ============================================================ | |||
§1. ПЕРЕМЕННЫЕ ТЕМЫ | |||
============================================================ */ | |||
:root { | :root { | ||
--hider-title-bg: floralwhite; | --hider-title-bg: floralwhite; | ||
| Строка 10: | Строка 41: | ||
--hider-content-bg: transparent; | --hider-content-bg: transparent; | ||
--hider-content-color: inherit; | --hider-content-color: inherit; | ||
--slowsport-bg: #FFFAF0; | |||
--slowsport-text: black; | |||
--cal-bg: #fff; | |||
--cal-border: #ccc; | |||
--cal-text: black; | |||
} | } | ||
html.dm, | html.dm, | ||
| Строка 18: | Строка 54: | ||
--hider-content-bg: #222; | --hider-content-bg: #222; | ||
--hider-content-color: #d0d0d0; | --hider-content-color: #d0d0d0; | ||
--slowsport-bg: #222; | |||
--slowsport-text: #d0d0d0; | |||
--cal-bg: #222; | |||
--cal-border: #444; | |||
--cal-text: #d0d0d0; | |||
} | } | ||
/* ============================================================ | |||
§2. СВОРАЧИВАЕМЫЕ БЛОКИ (Hider / NavFrame) | |||
============================================================ */ | |||
html.dm .NavFrame { border-color: #444 !important; } | html.dm .NavFrame { border-color: #444 !important; } | ||
html.dm .NavHead { background: #2a2a2a !important; border-color: #444 !important; color: #d0d0d0 !important; } | html.dm .NavHead { | ||
html.dm .NavContent { background: #222 !important; color: #d0d0d0 !important; } | 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 .mw-collapsible-content { background: #1a1a1a !important; } | ||
/* Инверсия изображений */ | |||
/* ============================================================ | |||
§3. ИЗОБРАЖЕНИЯ | |||
============================================================ */ | |||
/* 3.1 Инверсия изображений и иконок ------------------------- */ | |||
html.dm img.mw-invertable, | html.dm img.mw-invertable, | ||
html.dm .mw-invertable img, | html.dm .mw-invertable img, | ||
| Строка 49: | Строка 106: | ||
} | } | ||
/* Смягчение неинвертированных SVG */ | /* 3.2 Смягчение неинвертированных SVG ---------------------- */ | ||
html.dm img[src$=".svg"]:not(.mw-invertable), | html.dm img[src$=".svg"]:not(.mw-invertable), | ||
html.dm img[src*=".svg?"]:not(.mw-invertable), | html.dm img[src*=".svg?"]:not(.mw-invertable), | ||
| Строка 58: | Строка 115: | ||
} | } | ||
/* Смягчение JPG/JPEG */ | /* 3.3 Смягчение JPG/JPEG ----------------------------------- */ | ||
html.dm img[src$=".jpg"]:not(.mw-invertable), | html.dm img[src$=".jpg"]:not(.mw-invertable), | ||
html.dm img[src*=".jpg?"]:not(.mw-invertable), | html.dm img[src*=".jpg?"]:not(.mw-invertable), | ||
| Строка 75: | Строка 132: | ||
} | } | ||
/* | /* 3.4 Подложки для прозрачных файлов ----------------------- */ | ||
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: #8a949e !important; | |||
} | |||
/* ============================================================ | |||
§4. ЛОГОТИП | |||
============================================================ */ | |||
html.dm #p-logo a, | html.dm #p-logo a, | ||
html.dm #p-logo img, | html.dm #p-logo img, | ||
| Строка 83: | Строка 152: | ||
} | } | ||
/* | |||
/* ============================================================ | |||
§5. ГЛОБАЛЬНАЯ БАЗА | |||
============================================================ */ | |||
html.dm, | html.dm, | ||
html.dm body { background: #1a1a1a !important; color: #d0d0d0 !important; } | html.dm body { | ||
background: #1a1a1a !important; | |||
color: #d0d0d0 !important; | |||
} | |||
html.dm #content, | html.dm #content, | ||
html.dm #mw-page-base, | html.dm #mw-page-base, | ||
html.dm #mw-head-base { background: #1a1a1a !important; color: #d0d0d0 !important; } | html.dm #mw-head-base { | ||
background: #1a1a1a !important; | |||
color: #d0d0d0 !important; | |||
} | |||
html.dm a { color: #8cc8ff !important; } | html.dm a { color: #8cc8ff !important; } | ||
html.dm a:visited { color: #c9a8ff !important; } | html.dm a:visited { color: #c9a8ff !important; } | ||
html.dm a.new { color: #ff9a9a !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 { | 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; | 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 hr { border-color: #444 !important; } | ||
html.dm #p-personal a, | html.dm #p-personal a, | ||
html.dm #p-navigation a, | html.dm #p-navigation a, | ||
| Строка 113: | Строка 187: | ||
html.dm #right-navigation { background: #1a1a1a !important; } | html.dm #right-navigation { background: #1a1a1a !important; } | ||
html.dm #simpleSearch input { | html.dm #simpleSearch input { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | |||
border-color: #555 !important; | |||
} | |||
html.dm .catlinks { | |||
background: #222 !important; | |||
border-color: #444 !important; | |||
} | |||
/* ============================================================ | |||
§6. НАТИВНЫЕ КОНТРОЛЫ, ВЫДЕЛЕНИЕ, ФОКУС, PLACEHOLDER | |||
============================================================ */ | |||
/* 6.1 color-scheme и скроллбары ---------------------------- */ | |||
html.dm { | |||
color-scheme: dark; | |||
scrollbar-color: #444 #1a1a1a; | |||
scrollbar-width: thin; | |||
} | |||
html.dm ::-webkit-scrollbar { width: 12px; height: 12px; background: #1a1a1a; } | |||
html.dm ::-webkit-scrollbar-thumb { | |||
background: #444; | |||
border-radius: 6px; | |||
border: 2px solid #1a1a1a; | |||
} | |||
html.dm ::-webkit-scrollbar-thumb:hover { background: #555; } | |||
html.dm ::-webkit-scrollbar-track { background: #1a1a1a; } | |||
html.dm ::-webkit-scrollbar-corner { background: #1a1a1a; } | |||
/* 6.2 Выделение текста ------------------------------------- */ | |||
html.dm ::selection { background: #2a3a4a; color: #fff; } | |||
html.dm ::-moz-selection { background: #2a3a4a; color: #fff; } | |||
/* 6.3 Фокус с клавиатуры ----------------------------------- */ | |||
html.dm :focus-visible { outline: 2px solid #8cc8ff; outline-offset: 2px; } | |||
/* 6.4 Placeholder глобально -------------------------------- */ | |||
html.dm input::placeholder, | |||
html.dm textarea::placeholder { color: #888 !important; opacity: 1 !important; } | |||
/* ============================================================ | |||
§7. НАВИГАЦИЯ: ВКЛАДКИ, ПОРТЛЕТЫ, МЕНЮ, ПОДВАЛ | |||
============================================================ */ | |||
/* 7.1 Обёртки вкладок и портлетов -------------------------- */ | |||
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.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, | |||
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 . | html.dm .vectorMenu .menu a { color: #8cc8ff !important; } | ||
html.dm . | html.dm .vectorMenu .menu a:hover { background: #333 !important; } | ||
html.dm . | |||
html.dm . | /* 7.2 Заголовки меню --------------------------------------- */ | ||
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; | |||
} | |||
/* 7.3 Подвал ----------------------------------------------- */ | |||
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 #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; | |||
} | |||
/* ============================================================ | |||
§8. СИСТЕМНЫЕ СООБЩЕНИЯ И ПРЕДУПРЕЖДЕНИЯ | |||
============================================================ */ | |||
/* | /* 8.1 Общие системные сообщения --------------------------- */ | ||
html.dm .mw-message-box, | html.dm .mw-message-box, | ||
html.dm .mw-message-box-success, | html.dm .mw-message-box-success, | ||
| Строка 149: | Строка 338: | ||
html.dm .errorbox a:visited { color: #c9a8ff !important; } | html.dm .errorbox a:visited { color: #c9a8ff !important; } | ||
/* Предупреждения | /* 8.2 Предупреждения (тёмно-бордовые) ---------------------- */ | ||
html.dm .mw-warning, | html.dm .mw-warning, | ||
html.dm .mw-warning *, | html.dm .mw-warning *, | ||
| Строка 175: | Строка 364: | ||
html.dm .mw-warning.plainlinks a:visited { color: #c9a8ff !important; } | html.dm .mw-warning.plainlinks a:visited { color: #c9a8ff !important; } | ||
/* Форма удаления: принудительная перекраска | /* 8.3 Форма удаления: принудительная перекраска предупреждений | ||
(идёт ДО правил полей удаления — сохраняем порядок) */ | |||
html.dm #deleteconfirm .mw-warning, | html.dm #deleteconfirm .mw-warning, | ||
html.dm #deleteconfirm .mw-warning *, | html.dm #deleteconfirm .mw-warning *, | ||
| Строка 212: | Строка 402: | ||
} | } | ||
html.dm #deleteconfirm .mw-warning a, | html.dm #deleteconfirm .mw-warning a, | ||
html.dm #deleteconfirm .warningbox a { | html.dm #deleteconfirm .warningbox a { color: #8cc8ff !important; } | ||
color: #8cc8ff !important; | |||
/* 8.4 .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; } | |||
/* 8.5 .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; } | |||
/* ============================================================ | |||
§9. УВЕДОМЛЕНИЯ И OOUI MESSAGEWIDGET | |||
============================================================ */ | |||
/* 9.1 mw-notification -------------------------------------- */ | |||
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; | |||
} | } | ||
/* | /* 9.2 OOUI MessageWidget ----------------------------------- */ | ||
html.dm | html.dm .oo-ui-messageWidget, | ||
html.dm . | html.dm .oo-ui-messageWidget-label, | ||
html.dm . | html.dm .oo-ui-messageWidget > .oo-ui-labelElement-label, | ||
html.dm . | html.dm .oo-ui-messageWidget .oo-ui-labelElement-label, | ||
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-notice, | |||
background: # | 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 | html.dm .oo-ui-messageWidget a { color: #8cc8ff !important; } | ||
html.dm | /* ============================================================ | ||
background: # | §10. КОНТЕНТ СТАТЬИ | ||
============================================================ */ | |||
/* 10.1 Таблицы --------------------------------------------- */ | |||
html.dm table, html.dm th, html.dm td { | |||
background: #222 !important; | |||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
html.dm . | html.dm .wikitable > * > tr > th { background: #2d2d2d !important; } | ||
html.dm | /* 10.2 Код и pre ------------------------------------------ */ | ||
color: # | html.dm code, html.dm pre, html.dm .mw-code { | ||
background: #111 !important; | |||
color: #e0e0e0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
/* 10.3 Blockquote ----------------------------------------- */ | |||
html.dm blockquote { | |||
background: #222 !important; | |||
border-left-color: #555 !important; | |||
} | } | ||
/* 10.4 TOC ------------------------------------------------ */ | |||
html.dm | html.dm #toc, html.dm .toc { | ||
html.dm . | background: #222 !important; | ||
background: # | border-color: #444 !important; | ||
} | } | ||
html.dm | html.dm #toc a, html.dm .toc a { color: #8cc8ff !important; } | ||
html.dm . | |||
/* | /* 10.5 Thumb / Figure ------------------------------------- */ | ||
html.dm .mw | html.dm .thumbinner, | ||
html.dm . | html.dm .thumb { | ||
html.dm | background: #222 !important; | ||
color: # | border-color: #444 !important; | ||
} | |||
html.dm .thumbcaption { color: #b0b0b0 !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; | |||
} | } | ||
/* | /* 10.6 Sortable / datatable ------------------------------- */ | ||
html.dm .sortable, html.dm .infobox, html.dm .navbox, html.dm .wikitable.plainrowheaders, | html.dm .sortable, html.dm .infobox, html.dm .navbox, html.dm .wikitable.plainrowheaders, | ||
html.dm .mw-datatable, html.dm .wikitable { | html.dm .mw-datatable, html.dm .wikitable { | ||
background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; | 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; | |||
} | } | ||
html.dm .sortable tr:nth-child(even) td, | html.dm .sortable tr:nth-child(even) td, | ||
| Строка 276: | Строка 540: | ||
html.dm .sortable .headerSort, | html.dm .sortable .headerSort, | ||
html.dm .sortable th[role="columnheader"] { color: #fff !important; } | html.dm .sortable th[role="columnheader"] { color: #fff !important; } | ||
html.dm | |||
html.dm . | |||
html.dm . | /* ============================================================ | ||
background: #222 !important; border-color: #444 !important; color: # | §11. ИНФОРМАЦИОННЫЕ ШАБЛОНЫ (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; | |||
} | |||
/* ============================================================ | |||
§12. ШАБЛОНЫ-ОФОРМЛЕНИЕ | |||
============================================================ */ | |||
/* 12.1 .absurd-note ---------------------------------------- */ | |||
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 .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; } | |||
/* 12.2 .doc-box / .right-box ------------------------------- */ | |||
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; } | |||
/* 12.3 Forum ---------------------------------------------- */ | |||
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; } | |||
/* 12.4 main-box / section-box ----------------------------- */ | |||
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; } | |||
/* 12.5 file-info ------------------------------------------ */ | |||
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; | |||
} | |||
/* ============================================================ | |||
§13. ДИФФЫ | |||
============================================================ */ | |||
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; | |||
} | } | ||
/* | |||
/* ============================================================ | |||
§14. ПОДСВЕТКА КОДА (SyntaxHighlight / Pygments) | |||
============================================================ */ | |||
/* 14.1 База ------------------------------------------------ */ | |||
html.dm .mw-highlight, html.dm .mw-highlight pre, html.dm .mw-highlight code, | 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 { | html.dm div.mw-highlight, html.dm .mw-highlighter, html.dm pre.mw-highlight { | ||
background: #111 !important; color: #e0e0e0 !important; border-color: #444 !important; | background: #111 !important; | ||
color: #e0e0e0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
/* 14.2 Номера строк --------------------------------------- */ | |||
html.dm .mw-highlight .lineno, html.dm .mw-highlight .linenos, | 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 .lineno a, html.dm .mw-highlight .linenos a, | ||
html.dm .mw-highlight .line-number, html.dm .mw-highlight .re2-cursor, | html.dm .mw-highlight .line-number, html.dm .mw-highlight .re2-cursor, | ||
html.dm .mw-highlight-lines, html.dm .mw-highlight-lines a { | html.dm .mw-highlight-lines, html.dm .mw-highlight-lines a { | ||
background: #1a1a1a !important; color: #808080 !important; border-right-color: #333 !important; | background: #1a1a1a !important; | ||
color: #808080 !important; | |||
border-right-color: #333 !important; | |||
} | } | ||
html.dm .mw-highlight .lineno:hover, | html.dm .mw-highlight .lineno:hover, | ||
html.dm .mw-highlight .linenos a:hover { color: #8cc8ff !important; } | html.dm .mw-highlight .linenos a:hover { color: #8cc8ff !important; } | ||
html.dm .mw-highlight .highlighted, | html.dm .mw-highlight .highlighted, | ||
html.dm .mw-highlight .hll { | html.dm .mw-highlight .hll { | ||
| Строка 305: | Строка 703: | ||
color: #ffe58a !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 td.linenos .special, | ||
html.dm .mw-highlight .k, html.dm .mw-highlight .kd, html.dm .mw-highlight .kn { color: #c586c0 !important; } | html.dm .mw-highlight span.linenos.special { background: #3c3c3c !important; } | ||
html.dm .mw-highlight .s, html.dm .mw-highlight .s1, html.dm .mw-highlight .s2 { color: #ce9178 !important; } | html.dm .mw-content-ltr.mw-highlight-lines pre, | ||
html.dm .mw-content-ltr.content .mw-highlight-lines pre { | |||
box-shadow: inset 2.75em 0 0 #2f2f2f !important; | |||
} | |||
/* 14.3 Классы Pygments (палитра VS Code Dark+) ------------ */ | |||
/* комментарии */ | |||
html.dm .mw-highlight .c, html.dm .mw-highlight .c1, html.dm .mw-highlight .cm, | |||
html.dm .mw-highlight .ch, html.dm .mw-highlight .cs { color: #6a9955 !important; } | |||
html.dm .mw-highlight .cp { color: #ff8f00 !important; } | |||
html.dm .mw-highlight .cpf { color: #4a8888 !important; } | |||
/* ключевые слова */ | |||
html.dm .mw-highlight .k, html.dm .mw-highlight .kc, html.dm .mw-highlight .kd, | |||
html.dm .mw-highlight .kn, html.dm .mw-highlight .kp, html.dm .mw-highlight .kr { color: #c586c0 !important; } | |||
html.dm .mw-highlight .kt { color: #e1ff8f !important; } | |||
/* строки */ | |||
html.dm .mw-highlight .s, html.dm .mw-highlight .s1, html.dm .mw-highlight .s2, | |||
html.dm .mw-highlight .sx { color: #ce9178 !important; } | |||
html.dm .mw-highlight .se { color: #ff3c00 !important; } | |||
html.dm .mw-highlight .si, html.dm .mw-highlight .sr { color: #ff4b92 !important; } | |||
/* числа */ | |||
html.dm .mw-highlight .mi, html.dm .mw-highlight .mf { color: #b5cea8 !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 .no { color: #dd0000 !important; } | ||
html.dm .mw-highlight .nc, html.dm .mw-highlight .nn { color: #4ec9b0 !important; } | /* функции и классы */ | ||
html.dm .mw-highlight .nf, html.dm .mw-highlight .fm, | |||
html.dm .mw-highlight .nb, html.dm .mw-highlight .bp { color: #dcdcaa !important; } | |||
html.dm .mw-highlight .nc, html.dm .mw-highlight .nn, | |||
html.dm .mw-highlight .nt { color: #4ec9b0 !important; } | |||
html.dm .mw-highlight .na { color: #9ec200 !important; } | |||
html.dm .mw-highlight .nd { color: #cf41f7 !important; } | |||
/* переменные */ | |||
html.dm .mw-highlight .nv, html.dm .mw-highlight .vc, html.dm .mw-highlight .vg, | |||
html.dm .mw-highlight .vi, html.dm .mw-highlight .vm { color: #9cdcfe !important; } | |||
/* операторы */ | |||
html.dm .mw-highlight .ow { color: #c586c0 !important; } | |||
/* ошибки */ | |||
html.dm .mw-highlight .ne { color: #ff0000 !important; } | |||
html.dm .mw-highlight .nl { color: #ffff00 !important; } | |||
/* дифф */ | |||
html.dm .mw-highlight .gd, html.dm .mw-highlight .gr { color: #ff0000 !important; } | |||
html.dm .mw-highlight .gi { color: #00a800 !important; } | |||
html.dm .mw-highlight .gh, html.dm .mw-highlight .gp { color: #4b91ff !important; } | |||
html.dm .mw-highlight .gu { color: #ff00ff !important; } | |||
html.dm .mw-highlight .gt { color: #1960ff !important; } | |||
html.dm .mw-highlight .go, html.dm .mw-highlight .ni { color: #bbbbbb !important; } | |||
/* ============================================================ | |||
§15. РЕДАКТОРЫ КОДА | |||
⚠ Порядок важен: CodeMirror (§15.1) должен идти ДО §15.2, | |||
иначе общий .cm-editor получит не тот фон. | |||
============================================================ */ | |||
/* CodeMirror */ | /* 15.1 CodeMirror ----------------------------------------- */ | ||
html.dm .CodeMirror, html.dm .cm-editor, html.dm .cm-s-default, html.dm .cm-s-dark { | 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; | background: #2a2a2a !important; | ||
color: #e0e0e0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
html.dm .CodeMirror-gutters, html.dm .cm-gutters, html.dm .cm-gutter { | html.dm .CodeMirror-gutters, html.dm .cm-gutters, html.dm .cm-gutter { | ||
background: #252525 !important; border-right-color: #333 !important; | background: #252525 !important; | ||
border-right-color: #333 !important; | |||
} | } | ||
html.dm .CodeMirror-linenumber, html.dm .cm-gutterElement, | html.dm .CodeMirror-linenumber, html.dm .cm-gutterElement, | ||
html.dm .cm-lineNumbers .cm-gutterElement { background: #252525 !important; color: #808080 !important; } | html.dm .cm-lineNumbers .cm-gutterElement { | ||
background: #252525 !important; | |||
color: #808080 !important; | |||
} | |||
html.dm .CodeMirror-linenumber:hover, | html.dm .CodeMirror-linenumber:hover, | ||
html.dm .cm-gutterElement:hover { color: #8cc8ff !important; } | html.dm .cm-gutterElement:hover { color: #8cc8ff !important; } | ||
| Строка 330: | Строка 782: | ||
html.dm .CodeMirror-matchingbracket, | html.dm .CodeMirror-matchingbracket, | ||
html.dm .CodeMirror-nonmatchingbracket { | html.dm .CodeMirror-nonmatchingbracket { | ||
color: #8cc8ff !important; background: #2a3a4a !important; | color: #8cc8ff !important; | ||
background: #2a3a4a !important; | |||
} | } | ||
html.dm .CodeMirror-foldmarker { | html.dm .CodeMirror-foldmarker { | ||
color: #8cc8ff !important; background: #2a2a2a !important; | color: #8cc8ff !important; | ||
border-color: #444 !important; text-shadow: none !important; | background: #2a2a2a !important; | ||
border-color: #444 !important; | |||
text-shadow: none !important; | |||
} | } | ||
/* | /* 15.2 Ace (AbuseFilter) — намеренно после CodeMirror, | ||
html.dm | чтобы .cm-editor в фильтре злоупотреблений получил #1a1a1a */ | ||
background-color: # | html.dm #wpAceFilterEditor, | ||
html.dm .ace_editor, | |||
html.dm #wpAceFilterEditor .ace_scroller, | |||
html.dm .cm-editor, | |||
html.dm .cm-scroller, | |||
html.dm .cm-content { | |||
background: #1a1a1a !important; | |||
color: #e0e0e0 !important; | |||
} | |||
html.dm .ace_gutter, | |||
html.dm .cm-gutters { | |||
background: #252525 !important; | |||
color: #808080 !important; | |||
border-right-color: #333 !important; | |||
} | } | ||
html.dm | html.dm .ace_keyword, | ||
html.dm .ace_operator { color: #c586c0 !important; } | |||
html.dm .ace_string { color: #ce9178 !important; } | |||
html.dm .ace_comment { color: #6a9955 !important; } | |||
html.dm .ace_variable { color: #9cdcfe !important; } | |||
html.dm .ace_constant { color: #b5cea8 !important; } | |||
html.dm .ace_cursor, | |||
html.dm .cm-cursor { border-left-color: #e0e0e0 !important; } | |||
html.dm .ace_selection, | |||
html.dm .cm-selectionBackground { background: #2a3a4a !important; } | |||
html.dm .ace_gutter-active-line { background: #222 !important; } | |||
html.dm .ace_marker-layer .ace_selection { background: #2a3a4a !important; } | |||
/* | /* ============================================================ | ||
§16. ФОРМЫ И ПОЛЯ ВВОДА | |||
============================================================ */ | |||
/* | /* 16.1 Нативные элементы ----------------------------------- */ | ||
html.dm select, html.dm input[type="text"], html.dm input[type="search"], | 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 input[type="number"], html.dm input[type="date"], html.dm textarea, | ||
html.dm .mw-ui-input, html.dm .oo-ui-inputWidget-input { | html.dm .mw-ui-input, html.dm .oo-ui-inputWidget-input { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; | background: #2a2a2a !important; | ||
border: 1px solid #555 !important; border-radius: 3px !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | |||
border-radius: 3px !important; | |||
} | } | ||
/* appearance:none — только для select и dropdown-виджетов, чтобы не ломать чекбоксы/радио */ | /* appearance:none — только для select и dropdown-виджетов, | ||
чтобы не ломать чекбоксы/радио */ | |||
html.dm select, html.dm .oo-ui-dropdownWidget-handle { | html.dm select, html.dm .oo-ui-dropdownWidget-handle { | ||
appearance: none !important; | appearance: none !important; | ||
| Строка 396: | Строка 855: | ||
padding-right: 24px !important; | padding-right: 24px !important; | ||
} | } | ||
html.dm select option, html.dm select optgroup { background: #2a2a2a !important; color: #d0d0d0 !important; } | html.dm select option, html.dm select optgroup { | ||
html.dm select option:checked, html.dm select option:hover { background: #3a3a3a !important; color: #fff !important; } | background: #2a2a2a !important; | ||
html.dm input[type="checkbox"], html.dm input[type="radio"] { accent-color: #8cc8ff !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 button, html.dm input[type="submit"], html.dm input[type="button"], | ||
html.dm .oo-ui-buttonElement-button, html.dm .mw-ui-button { | html.dm .oo-ui-buttonElement-button, html.dm .mw-ui-button { | ||
background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important; | background: #333 !important; | ||
color: #d0d0d0 !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
html.dm button:hover, html.dm input[type="submit"]:hover, | html.dm button:hover, html.dm input[type="submit"]:hover, | ||
html.dm .oo-ui-buttonElement-button:hover, html.dm .mw-ui-button:hover { | html.dm .oo-ui-buttonElement-button:hover, html.dm .mw-ui-button:hover { | ||
background: #444 !important; color: #fff !important; | background: #444 !important; | ||
color: #fff !important; | |||
} | } | ||
html.dm .oo-ui-fieldLayout, html.dm .oo-ui-labelElement-label, | html.dm .oo-ui-fieldLayout, html.dm .oo-ui-labelElement-label, | ||
html.dm label, html.dm legend { color: #d0d0d0 !important; } | html.dm label, html.dm legend { color: #d0d0d0 !important; } | ||
/* 16.2 OOUI widgets --------------------------------------- */ | |||
html.dm .oo-ui-dropdownWidget, html.dm .oo-ui-menuSelectWidget, | 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 { | ||
background: #2a2a2a !important; | |||
color: #d0d0d0 !important; | |||
border-color: #555 !important; | |||
} | |||
html.dm .oo-ui-optionWidget-selected, | html.dm .oo-ui-optionWidget-selected, | ||
html.dm .oo-ui-optionWidget-highlighted { background: #3a3a3a !important; color: #fff !important; } | 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, html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input, | ||
html.dm .oo-ui-textInputWidget input, html.dm .oo-ui-textInputWidget textarea { | html.dm .oo-ui-textInputWidget input, html.dm .oo-ui-textInputWidget textarea { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; | background: #2a2a2a !important; | ||
border: 1px solid #555 !important; box-shadow: none !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 .oo-ui-inputWidget-input:focus, | ||
html.dm .oo-ui-textInputWidget input:focus, html.dm #wpReason:focus { | html.dm .oo-ui-textInputWidget input:focus, | ||
border-color: #8cc8ff !important; box-shadow: 0 0 0 1px #8cc8ff !important; | html.dm #wpReason:focus { | ||
border-color: #8cc8ff !important; | |||
box-shadow: 0 0 0 1px #8cc8ff !important; | |||
} | |||
/* 16.3 Служебные страницы: delete / block / rename / protect | |||
Идёт ПОСЛЕ §16.2 намеренно — чтобы переопределить | |||
общие правила для конкретных полей. */ | |||
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-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-tagMultiselectWidget-handle:focus { | |||
border-color: #8cc8ff !important; | |||
box-shadow: 0 0 0 1px #8cc8ff !important; | |||
} | |||
/* ============================================================ | |||
§17. OOUI: ПОПАПЫ, ТУЛБАРЫ, МОДАЛЬНЫЕ ОКНА, СКЕЛЕТОНЫ | |||
============================================================ */ | |||
/* 17.1 Popups и toolbars ---------------------------------- */ | |||
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; } | |||
/* 17.2 Модальные окна ------------------------------------- */ | |||
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; } | |||
/* 17.3 Скелетон-лоадеры OOUI / Codex ---------------------- */ | |||
html.dm .oo-ui-pendingElement-pending, | |||
html.dm .cdx-lookup--pending { | |||
background-image: linear-gradient( | |||
135deg, | |||
#1a1a1a 25%, transparent 25%, transparent 50%, | |||
#1a1a1a 50%, #1a1a1a 75%, transparent 75%, transparent | |||
) !important; | |||
} | } | ||
/* | |||
/* ============================================================ | |||
§18. РЕДАКТОР СТАТЕЙ | |||
============================================================ */ | |||
/* 18.1 Тулбар и кнопки ------------------------------------ */ | |||
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; | |||
} | |||
/* 18.2 Спецсимволы ---------------------------------------- */ | |||
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; | |||
} | |||
/* 18.3 Вкладки WikiEditor --------------------------------- */ | |||
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; | |||
} | |||
/* 18.4 Текстовая область и окружение ---------------------- */ | |||
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; | |||
} | |||
/* ============================================================ | |||
§19. СЛУЖЕБНЫЕ СТРАНИЦЫ | |||
============================================================ */ | |||
/* 19.1 Файлы (filetoc, imagepage) ------------------------- */ | |||
html.dm #filetoc, html.dm #filetoc ul, html.dm .filehistory, html.dm .filehistory ul, | 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-filehistory, html.dm #mw-imagepage-section-globalusage, | ||
html.dm #mw-imagepage-section-linkstoimage, html.dm .mw-imagepage-section { | html.dm #mw-imagepage-section-linkstoimage, html.dm .mw-imagepage-section { | ||
background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
html.dm #filetoc a, html.dm .filehistory a, | html.dm #filetoc a, html.dm .filehistory a, | ||
| Строка 434: | Строка 1119: | ||
html.dm .mw-imagepage-content, html.dm .mw-imagepage-content ul, | html.dm .mw-imagepage-content, html.dm .mw-imagepage-content ul, | ||
html.dm .mw-imagepage-content li, html.dm .mw-imagepage-content table { | 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; | ||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
html.dm .mw-imagepage-content th, html.dm .mw-imagepage-content td { | 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; | ||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
/* Свежие правки и история */ | /* 19.2 Свежие правки и история ---------------------------- */ | ||
html.dm .mw-changeslist-legend, html.dm .mw-specialpage-legend, | 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-changeslist-legend-inner, html.dm .rclistfrom, html.dm #mw-indicator, | ||
html.dm .mw-indicators, html.dm .mw-specialpage-summary, | html.dm .mw-indicators, html.dm .mw-specialpage-summary, | ||
html.dm .mw-recentchanges-filters, html.dm .rcoptions, html.dm fieldset { | html.dm .mw-recentchanges-filters, html.dm .rcoptions, html.dm fieldset { | ||
background: #222 !important; color: #d0d0d0 !important; border-color: #444 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
html.dm .mw-changeslist-legend a, | html.dm .mw-changeslist-legend a, | ||
| Строка 453: | Строка 1144: | ||
html.dm .mw-changeslist-line-watched, html.dm .mw-changeslist-line-not-watched, | html.dm .mw-changeslist-line-watched, html.dm .mw-changeslist-line-not-watched, | ||
html.dm .special li, html.dm .mw-recentchanges-list li { | html.dm .special li, html.dm .mw-recentchanges-list li { | ||
background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #333 !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | |||
border-color: #333 !important; | |||
} | } | ||
html.dm .mw-enhancedchanges-arrow { | html.dm .mw-enhancedchanges-arrow { | ||
background-color: #8cc8ff !important; filter: none !important; opacity: 1 !important; | 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, 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 .mw-history-table th, html.dm #pagehistory, html.dm #pagehistory li, | ||
html.dm #pagehistory .mw-history-compareselectedversions { | html.dm #pagehistory .mw-history-compareselectedversions { | ||
background: #1a1a1a !important; color: #d0d0d0 !important; border-color: #444 !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
html.dm #pagehistory li.selected, html.dm #pagehistory li:target, | html.dm #pagehistory li.selected, html.dm #pagehistory li:target, | ||
html.dm .mw-history-table tr.selected, html.dm .mw-history-table tr: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; | 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, html.dm .mw-history-table a { color: #8cc8ff !important; } | ||
| Строка 475: | Строка 1177: | ||
html.dm .mw-plusminus-null { color: #b0b0b0 !important; } | html.dm .mw-plusminus-null { color: #b0b0b0 !important; } | ||
/* Удаление */ | /* 19.3 Удаление ------------------------------------------- */ | ||
html.dm #deleteconfirm, html.dm .mw-deleteconfirm, html.dm #delete-reason, | html.dm #deleteconfirm, html.dm .mw-deleteconfirm, html.dm #delete-reason, | ||
html.dm .delete-reason { background: #1a1a1a !important; color: #d0d0d0 !important; } | html.dm .delete-reason { | ||
background: #1a1a1a !important; | |||
color: #d0d0d0 !important; | |||
} | |||
html.dm #wpDeleteReasonList, html.dm #wpReason, html.dm #delete-reason input, | 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 .delete-reason input, | ||
| Строка 483: | Строка 1188: | ||
html.dm #deleteconfirm textarea, html.dm .mw-deleteconfirm input[type="text"], | html.dm #deleteconfirm textarea, html.dm .mw-deleteconfirm input[type="text"], | ||
html.dm .mw-deleteconfirm textarea { | html.dm .mw-deleteconfirm textarea { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; | background: #2a2a2a !important; | ||
border: 1px solid #555 !important; box-shadow: none !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | |||
box-shadow: none !important; | |||
} | } | ||
html.dm #deleteconfirm td, html.dm #deleteconfirm tr, | html.dm #deleteconfirm td, html.dm #deleteconfirm tr, | ||
html.dm .mw-deleteconfirm td, html.dm .mw-deleteconfirm tr { | html.dm .mw-deleteconfirm td, html.dm .mw-deleteconfirm tr { | ||
background: #1a1a1a !important; color: #d0d0d0 !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | |||
} | } | ||
html.dm #deleteconfirm label, html.dm .mw-deleteconfirm label, | html.dm #deleteconfirm label, html.dm .mw-deleteconfirm label, | ||
html.dm #deleteconfirm legend, html.dm .mw-deleteconfirm legend { color: #e0e0e0 !important; } | html.dm #deleteconfirm legend, html.dm .mw-deleteconfirm legend { color: #e0e0e0 !important; } | ||
html.dm #deleteconfirm input[type="submit"] { | html.dm #deleteconfirm input[type="submit"] { | ||
background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important; | background: #333 !important; | ||
color: #d0d0d0 !important; | |||
border: 1px solid #555 !important; | |||
} | |||
html.dm #deleteconfirm input[type="submit"]:hover { | |||
background: #444 !important; | |||
color: #fff !important; | |||
} | } | ||
/* Поиск */ | /* 19.4 Поиск --------------------------------------------- */ | ||
html.dm .mw-search-tabs, html.dm .search-types, html.dm .mw-search-profile-tabs, | 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-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 { | 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; | ||
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-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 { | 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; | 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-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 .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 { | 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; | 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-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-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, 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 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 { | 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; | 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-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 { | ||
background: #1a1a1a !important; | |||
color: #d0d0d0 !important; | |||
border-color: #333 !important; | |||
} | |||
html.dm .mw-search-result-heading a, | html.dm .mw-search-result-heading a, | ||
html.dm .searchresult a { color: #8cc8ff !important; } | html.dm .searchresult a { color: #8cc8ff !important; } | ||
| Строка 526: | Строка 1258: | ||
html.dm .searchresult .searchresult-data { color: #a0a0a0 !important; } | html.dm .searchresult .searchresult-data { color: #a0a0a0 !important; } | ||
html.dm .mw-search-result .searchmatch, | html.dm .mw-search-result .searchmatch, | ||
html.dm .searchmatch { background: #3a3a2a !important; color: #ffe58a !important; } | html.dm .searchmatch { | ||
background: #3a3a2a !important; | |||
color: #ffe58a !important; | |||
} | |||
/* InputBox */ | /* 19.5 InputBox ------------------------------------------ */ | ||
html.dm .inputbox, html.dm .mw-inputbox, html.dm #createbox, html.dm .createbox, | 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 .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 .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 .createbox label, html.dm .mw-inputbox legend { color: #d0d0d0 !important; } | ||
| Строка 536: | Строка 1275: | ||
html.dm #createbox input[type="text"], html.dm .createbox input[type="text"], | html.dm #createbox input[type="text"], html.dm .createbox input[type="text"], | ||
html.dm .inputbox input, html.dm .mw-inputbox input { | html.dm .inputbox input, html.dm .mw-inputbox input { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; border: 1px solid #555 !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
html.dm .inputbox input[type="submit"], html.dm .inputbox button, | 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 .mw-inputbox input[type="submit"], html.dm #createbox input[type="submit"], | ||
html.dm #createbox button, 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: #333 !important; | ||
color: #d0d0d0 !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
html.dm .inputbox input[type="submit"]:hover, html.dm .inputbox button:hover, | html.dm .inputbox input[type="submit"]:hover, html.dm .inputbox button:hover, | ||
html.dm #createbox input[type="submit"]:hover | html.dm #createbox input[type="submit"]:hover { | ||
background: #444 !important; | |||
color: #fff !important; | |||
background | |||
} | } | ||
/* | /* ============================================================ | ||
§20. ЗАГРУЗКА ФАЙЛОВ | |||
============================================================ */ | |||
html.dm #mw-upload-form, html.dm .mw-upload-form, | 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, | ||
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; | 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-selectFileWidget, html.dm .oo-ui-selectFileWidget-dropTarget, | ||
| Строка 667: | Строка 1308: | ||
html.dm .oo-ui-selectFileWidget-clearButton, html.dm .oo-ui-selectFileWidget-selectButton, | html.dm .oo-ui-selectFileWidget-clearButton, html.dm .oo-ui-selectFileWidget-selectButton, | ||
html.dm .oo-ui-selectFileWidget-dropLabel { | html.dm .oo-ui-selectFileWidget-dropLabel { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; border-color: #555 !important; | 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 { border: 1px dashed #555 !important; } | ||
html.dm .oo-ui-selectFileWidget-dropTarget:hover, | html.dm .oo-ui-selectFileWidget-dropTarget:hover, | ||
html.dm .oo-ui-selectFileWidget-dropTarget.oo-ui-selectFileWidget-drag { | html.dm .oo-ui-selectFileWidget-dropTarget.oo-ui-selectFileWidget-drag { | ||
background: #333 !important; border-color: #8cc8ff !important; | 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, | ||
| Строка 686: | Строка 1330: | ||
html.dm #mw-upload-form select, html.dm #wpDestFile, | html.dm #mw-upload-form select, html.dm #wpDestFile, | ||
html.dm #wpUploadDescription, html.dm #wpLicense { | html.dm #wpUploadDescription, html.dm #wpLicense { | ||
background: #2a2a2a !important; color: #d0d0d0 !important; | background: #2a2a2a !important; | ||
border: 1px solid #555 !important; box-shadow: none !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 input:focus, | ||
html.dm #mw-upload-form .oo-ui-textInputWidget textarea:focus, | html.dm #mw-upload-form .oo-ui-textInputWidget textarea:focus, | ||
html.dm #wpDestFile:focus, html.dm #wpUploadDescription:focus { | html.dm #wpDestFile:focus, html.dm #wpUploadDescription:focus { | ||
border-color: #8cc8ff !important; box-shadow: 0 0 0 1px #8cc8ff !important; | border-color: #8cc8ff !important; | ||
box-shadow: 0 0 0 1px #8cc8ff !important; | |||
} | } | ||
html.dm #mw-upload-form input::placeholder, | html.dm #mw-upload-form input::placeholder, | ||
| Строка 698: | Строка 1345: | ||
html.dm .oo-ui-textInputWidget input::placeholder, | html.dm .oo-ui-textInputWidget input::placeholder, | ||
html.dm .oo-ui-textInputWidget textarea::placeholder { | html.dm .oo-ui-textInputWidget textarea::placeholder { | ||
color: #888 !important; opacity: 1 !important; | color: #888 !important; | ||
opacity: 1 !important; | |||
} | } | ||
html.dm #mw-upload-form fieldset, html.dm #mw-upload-form legend, | 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 label, html.dm .mw-upload-form fieldset, | ||
html.dm .mw-upload-form legend, html.dm .mw-upload-form label { | html.dm .mw-upload-form legend, html.dm .mw-upload-form label { | ||
background: transparent !important; color: #d0d0d0 !important; border-color: #444 !important; | 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 .mw-upload-form .oo-ui-buttonElement-button, html.dm #wpUploadFile { | html.dm .mw-upload-form .oo-ui-buttonElement-button, html.dm #wpUploadFile { | ||
background: #333 !important; color: #d0d0d0 !important; border: 1px solid #555 !important; | 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, | ||
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; | background: #444 !important; | ||
color: #fff !important; | |||
} | } | ||
/* | |||
html.dm . | /* ============================================================ | ||
html.dm . | §21. РАСШИРЕНИЯ | ||
background: # | ============================================================ */ | ||
border-color: # | |||
/* 21.1 AjaxPoll ------------------------------------------- */ | |||
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 . | html.dm .ajaxpoll-answer-name { color: #d0d0d0 !important; } | ||
html.dm . | html.dm .ajaxpoll-answer-vote { color: #a0a0a0 !important; } | ||
html.dm . | html.dm .ajaxpoll a { color: #8cc8ff !important; } | ||
html.dm . | html.dm .ajaxpoll input[type="submit"], html.dm .ajaxpoll button { | ||
html.dm . | background: #333 !important; | ||
background: #333 !important; color: #d0d0d0 !important; border | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | |||
} | } | ||
html.dm . | html.dm .ajaxpoll-ajax, html.dm .ajaxpoll-vote-state, | ||
background: # | html.dm #ajaxpoll-vote-state-added, html.dm #ajaxpoll-vote-state-revoked { | ||
background: #222 !important; | |||
color: #d0d0d0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
/* | /* 21.2 TimedMediaHandler (.video-js) ---------------------- */ | ||
html.dm .video-js .vjs-control-bar { | |||
background-color: rgba(26, 26, 26, 0.7) !important; | |||
html.dm . | |||
background | |||
} | } | ||
html.dm . | html.dm .video-js .vjs-menu-content, | ||
html.dm .video-js .vjs-volume-panel { background: #2a2a2a !important; } | |||
html.dm .vjs-menu-item.vjs-selected > span { color: #000 !important; } | |||
html.dm .vjs-control > .vjs-slider > .vjs-play-progress > .vjs-time-tooltip { color: #000 !important; } | |||
/* | /* 21.3 Math (SVG / MathML) -------------------------------- */ | ||
html.dm .mwe-math-element, | |||
html.dm math { color: #d0d0d0 !important; } | |||
html.dm | |||
/* | /* 21.4 CategoryTree --------------------------------------- */ | ||
html.dm .CategoryTreeItem, | |||
html.dm .CategoryTreeChildren, | |||
html.dm .CategoryTreeToggle { color: #d0d0d0 !important; } | |||
html.dm .CategoryTreeItem a { color: #8cc8ff !important; } | |||
html.dm .CategoryTreeItem a:visited { color: #c9a8ff !important; } | |||
html.dm .CategoryTreeEmptyBullet { color: #888 !important; } | |||
html.dm . | |||
html.dm . | |||
html.dm . | |||
html.dm . | |||
} | |||
html.dm . | |||
/* | /* 21.5 RSS feed ------------------------------------------- */ | ||
html.dm .rss-box, | |||
html.dm .rss-item { | |||
background: #222 !important; | |||
html.dm . | |||
html.dm . | |||
background: # | |||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: # | border-color: #444 !important; | ||
} | } | ||
html.dm . | html.dm .rss-box a, | ||
html.dm # | html.dm .rss-item a { color: #8cc8ff !important; } | ||
html.dm | /* 21.6 Tipsy-тултипы -------------------------------------- */ | ||
background: # | html.dm .tipsy-inner { | ||
background-color: #1a1a1a !important; | |||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html.dm .tipsy-inner a { color: #8cc8ff !important; } | |||
/* ============================================================ | |||
§22. ТОЧЕЧНЫЕ ФИКСЫ | |||
============================================================ */ | |||
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; } | |||