MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями
Ланселот (обсуждение | вклад) Скоростная оптимизация — ТЕСТ Метка: отменено |
Ланселот (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 4: | Строка 4: | ||
============================================================ */ | ============================================================ */ | ||
/* | /* База */ | ||
html.dm, | html.dm, | ||
html.dm body { | html.dm body { | ||
| Строка 19: | Строка 19: | ||
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 h1, html.dm h2, html.dm h3, | ||
html.dm h4, html.dm h5, html.dm h6 { | html.dm h4, html.dm h5, html.dm h6 { | ||
| Строка 26: | Строка 25: | ||
} | } | ||
html.dm hr { border-color: #444 !important; } | html.dm hr { border-color: #444 !important; } | ||
html.dm table, html.dm th, html.dm td { | html.dm table, html.dm th, html.dm td { | ||
background: #222 !important; | background: #222 !important; | ||
| Строка 33: | Строка 31: | ||
} | } | ||
html.dm .wikitable > * > tr > th { background: #2d2d2d !important; } | html.dm .wikitable > * > tr > th { background: #2d2d2d !important; } | ||
html.dm code, | html.dm code, | ||
html.dm pre, | html.dm pre, | ||
| Строка 50: | Строка 47: | ||
} | } | ||
html.dm #toc a, html.dm .toc a { color: #8cc8ff !important; } | html.dm #toc a, html.dm .toc a { color: #8cc8ff !important; } | ||
html.dm #p-personal a, | html.dm #p-personal a, | ||
html.dm #p-navigation a, | html.dm #p-navigation a, | ||
html.dm #p-tb a, | html.dm #p-tb a, | ||
html.dm #p-search a { color: #8cc8ff !important; } | html.dm #p-search a { color: #8cc8ff !important; } | ||
html.dm #left-navigation, | html.dm #left-navigation, | ||
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; | background: #2a2a2a !important; | ||
| Строка 64: | Строка 58: | ||
border-color: #555 !important; | border-color: #555 !important; | ||
} | } | ||
html.dm .thumbinner, | html.dm .thumbinner, | ||
html.dm .thumb { | html.dm .thumb { | ||
| Строка 72: | Строка 65: | ||
html.dm .thumbcaption { color: #b0b0b0 !important; } | html.dm .thumbcaption { color: #b0b0b0 !important; } | ||
/* Картинки-формулы и логотип | /* Картинки-формулы и логотип */ | ||
html.dm img.mw-invertable, | html.dm img.mw-invertable, | ||
html.dm .mw-invertable img, | html.dm .mw-invertable img, | ||
| Строка 84: | Строка 77: | ||
filter: invert(1) hue-rotate(180deg); | filter: invert(1) hue-rotate(180deg); | ||
} | } | ||
html.dm .mw-warning, | html.dm .mw-warning, | ||
html.dm .errorbox, | html.dm .errorbox, | ||
| Строка 98: | Строка 90: | ||
} | } | ||
/* | /* Вкладки и портлеты */ | ||
html.dm #p-views, | html.dm #p-views, | ||
html.dm #p-namespaces, | html.dm #p-namespaces, | ||
| Строка 125: | Строка 117: | ||
html.dm .vectorTabs ul, | html.dm .vectorTabs ul, | ||
html.dm .mw-vector-tabs ul { background: #1a1a1a !important; } | html.dm .mw-vector-tabs ul { background: #1a1a1a !important; } | ||
html.dm .vectorTabs li, | html.dm .vectorTabs li, | ||
html.dm .vectorMenu li, | html.dm .vectorMenu li, | ||
| Строка 134: | Строка 125: | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .vectorTabs li a, | html.dm .vectorTabs li a, | ||
html.dm .vectorMenu h3 span, | html.dm .vectorMenu h3 span, | ||
| Строка 146: | Строка 136: | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
html.dm .vectorTabs li a:hover, | html.dm .vectorTabs li a:hover, | ||
html.dm .vectorMenu h3:hover span, | html.dm .vectorMenu h3:hover span, | ||
| Строка 154: | Строка 143: | ||
background: #333 !important; | background: #333 !important; | ||
} | } | ||
html.dm .vectorTabs li.selected, | html.dm .vectorTabs li.selected, | ||
html.dm .vectorTabs li.selected a, | html.dm .vectorTabs li.selected a, | ||
| Строка 167: | Строка 155: | ||
} | } | ||
/* Иконки табов | /* Иконки табов */ | ||
html.dm .vectorTabs li.icon a, | html.dm .vectorTabs li.icon a, | ||
html.dm .mw-portlet li a.new, | html.dm .mw-portlet li a.new, | ||
html.dm .vector-menu-tabs li a.new | html.dm .vector-menu-tabs li a.new, | ||
html.dm .vectorMenu h3 span:after { | |||
filter: invert(1) hue-rotate(180deg); | |||
} | } | ||
html.dm .vectorMenu .menu, | html.dm .vectorMenu .menu, | ||
html.dm .vectorMenu .vector-menu-content-list { | html.dm .vectorMenu .vector-menu-content-list { | ||
| Строка 188: | Строка 169: | ||
html.dm .vectorMenu .menu a { color: #8cc8ff !important; } | html.dm .vectorMenu .menu a { color: #8cc8ff !important; } | ||
html.dm .vectorMenu .menu a:hover { background: #333 !important; } | html.dm .vectorMenu .menu a:hover { background: #333 !important; } | ||
html.dm #footer { | html.dm #footer { | ||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
| Строка 217: | Строка 197: | ||
} | } | ||
/* | /* Контент: таблицы, изображения, код */ | ||
html.dm .sortable, | html.dm .sortable, | ||
html.dm .infobox, | html.dm .infobox, | ||
| Строка 246: | Строка 226: | ||
filter: invert(1) hue-rotate(180deg); | filter: invert(1) hue-rotate(180deg); | ||
} | } | ||
html.dm figure[typeof~="mw:File/Thumb"], | html.dm figure[typeof~="mw:File/Thumb"], | ||
html.dm figure[typeof~="mw:File/Frame"], | html.dm figure[typeof~="mw:File/Frame"], | ||
| Строка 303: | Строка 282: | ||
html.dm .mw-highlight .highlighted, | html.dm .mw-highlight .highlighted, | ||
html.dm .mw-highlight .hll { background: #2a2a2a !important; } | html.dm .mw-highlight .hll { background: #2a2a2a !important; } | ||
html.dm .mw-highlight .c, | html.dm .mw-highlight .c, | ||
html.dm .mw-highlight .c1, | html.dm .mw-highlight .c1, | ||
| Строка 352: | Строка 330: | ||
html.dm .cm-activeLineGutter { background: #222 !important; } | html.dm .cm-activeLineGutter { background: #222 !important; } | ||
/* | /* Подложки для прозрачных файлов */ | ||
html.dm img[src$=".gif"], | html.dm img[src$=".gif"], | ||
html.dm img[src*=".gif?"] { | html.dm img[src*=".gif?"] { | ||
| Строка 361: | Строка 339: | ||
html.dm img[src*=".png?"] { background-color: #293133 !important; } | html.dm img[src*=".png?"] { background-color: #293133 !important; } | ||
/* | /* Редактор */ | ||
html.dm #toolbar, | html.dm #toolbar, | ||
html.dm #editButtons, | html.dm #editButtons, | ||
| Строка 402: | Строка 380: | ||
html.dm .editButtons img, | html.dm .editButtons img, | ||
html.dm #toolbar img { filter: invert(1) hue-rotate(180deg); } | html.dm #toolbar img { filter: invert(1) hue-rotate(180deg); } | ||
html.dm #wpTextbox1, | html.dm #wpTextbox1, | ||
html.dm textarea#wpTextbox1, | html.dm textarea#wpTextbox1, | ||
| Строка 423: | Строка 400: | ||
} | } | ||
/* | /* Формы */ | ||
html.dm select, | html.dm select, | ||
html.dm input[type="text"], | html.dm input[type="text"], | ||
| Строка 457: | Строка 434: | ||
html.dm input[type="checkbox"], | html.dm input[type="checkbox"], | ||
html.dm input[type="radio"] { accent-color: #8cc8ff !important; } | html.dm input[type="radio"] { accent-color: #8cc8ff !important; } | ||
html.dm button, | html.dm button, | ||
html.dm input[type="submit"], | html.dm input[type="submit"], | ||
| Строка 471: | Строка 447: | ||
html.dm .oo-ui-buttonElement-button:hover, | html.dm .oo-ui-buttonElement-button:hover, | ||
html.dm .mw-ui-button:hover { background: #444 !important; color: #fff !important; } | html.dm .mw-ui-button:hover { background: #444 !important; color: #fff !important; } | ||
html.dm .oo-ui-fieldLayout, | html.dm .oo-ui-fieldLayout, | ||
html.dm .oo-ui-labelElement-label, | html.dm .oo-ui-labelElement-label, | ||
html.dm label, | html.dm label, | ||
html.dm legend { color: #d0d0d0 !important; } | html.dm legend { color: #d0d0d0 !important; } | ||
html.dm .oo-ui-dropdownWidget, | html.dm .oo-ui-dropdownWidget, | ||
html.dm .oo-ui-menuSelectWidget, | html.dm .oo-ui-menuSelectWidget, | ||
| Строка 486: | Строка 460: | ||
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, | ||
html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input, | html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input, | ||
| Строка 503: | Строка 476: | ||
} | } | ||
/* | /* Служебные страницы */ | ||
html.dm #filetoc, | html.dm #filetoc, | ||
html.dm #filetoc ul, | html.dm #filetoc ul, | ||
| Строка 520: | Строка 493: | ||
html.dm #mw-imagepage-section-filehistory a, | html.dm #mw-imagepage-section-filehistory a, | ||
html.dm .mw-imagepage-section a { color: #8cc8ff !important; } | html.dm .mw-imagepage-section a { color: #8cc8ff !important; } | ||
html.dm .mw-imagepage-content, | html.dm .mw-imagepage-content, | ||
html.dm .mw-imagepage-content ul, | html.dm .mw-imagepage-content ul, | ||
| Строка 536: | Строка 508: | ||
} | } | ||
/* | /* Свежие правки и история */ | ||
html.dm .mw-changeslist-legend, | html.dm .mw-changeslist-legend, | ||
html.dm .mw-specialpage-legend, | html.dm .mw-specialpage-legend, | ||
| Строка 554: | Строка 526: | ||
html.dm .mw-specialpage-legend a { color: #8cc8ff !important; } | html.dm .mw-specialpage-legend a { color: #8cc8ff !important; } | ||
html.dm legend { color: #e0e0e0 !important; } | html.dm legend { color: #e0e0e0 !important; } | ||
html.dm .mw-changeslist-line, | html.dm .mw-changeslist-line, | ||
html.dm .mw-changeslist-line-inner, | html.dm .mw-changeslist-line-inner, | ||
| Строка 571: | Строка 542: | ||
} | } | ||
html.dm .mw-collapsible-toggle { background: transparent !important; color: #8cc8ff !important; } | html.dm .mw-collapsible-toggle { background: transparent !important; color: #8cc8ff !important; } | ||
html.dm .mw-history-table, | html.dm .mw-history-table, | ||
html.dm .mw-history-table tr, | html.dm .mw-history-table tr, | ||
| Строка 600: | Строка 570: | ||
html.dm .mw-plusminus-null { color: #b0b0b0 !important; } | html.dm .mw-plusminus-null { color: #b0b0b0 !important; } | ||
/* | /* Удаление */ | ||
html.dm #deleteconfirm, | html.dm #deleteconfirm, | ||
html.dm .mw-deleteconfirm, | html.dm .mw-deleteconfirm, | ||
| Строка 641: | Строка 611: | ||
html.dm #deleteconfirm input[type="submit"]:hover { background: #444 !important; color: #fff !important; } | html.dm #deleteconfirm input[type="submit"]:hover { background: #444 !important; color: #fff !important; } | ||
/* | /* Поиск */ | ||
html.dm .mw-search-tabs, | html.dm .mw-search-tabs, | ||
html.dm .search-types, | html.dm .search-types, | ||
| Строка 679: | Строка 649: | ||
html.dm .search-types 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, | html.dm #mw-searchoptions, | ||
| Строка 710: | Строка 679: | ||
html.dm .searchmatch { background: #3a3a2a !important; color: #ffe58a !important; } | html.dm .searchmatch { background: #3a3a2a !important; color: #ffe58a !important; } | ||
/* | /* InputBox */ | ||
html.dm .inputbox, | html.dm .inputbox, | ||
html.dm .mw-inputbox, | html.dm .mw-inputbox, | ||
| Строка 757: | Строка 726: | ||
} | } | ||
/* | /* Шаблоны и порталы */ | ||
html.dm .absurd-note { | html.dm .absurd-note { | ||
background: #222 !important; | background: #222 !important; | ||
| Строка 769: | Строка 738: | ||
html.dm .absurd-note i { color: #fff !important; } | html.dm .absurd-note i { color: #fff !important; } | ||
html.dm .absurd-note hr { border-color: #444 !important; } | html.dm .absurd-note hr { border-color: #444 !important; } | ||
html.dm .doc-box { | html.dm .doc-box { | ||
background: #222 !important; | background: #222 !important; | ||
| Строка 778: | Строка 746: | ||
html.dm .doc-box hr, | html.dm .doc-box hr, | ||
html.dm .doc-box .mw-hr { border-color: #444 !important; } | html.dm .doc-box .mw-hr { border-color: #444 !important; } | ||
html.dm .right-box { | html.dm .right-box { | ||
background: #222 !important; | background: #222 !important; | ||
| Строка 788: | Строка 755: | ||
html.dm .right-box a:visited, | html.dm .right-box a:visited, | ||
html.dm .right-box-element a { color: #8cc8ff !important; } | html.dm .right-box-element a { color: #8cc8ff !important; } | ||
html.dm .forumheader { | html.dm .forumheader { | ||
background-color: #222 !important; | background-color: #222 !important; | ||
| Строка 798: | Строка 764: | ||
html.dm .forumheader b, | html.dm .forumheader b, | ||
html.dm .forumheader strong { color: #fff !important; } | html.dm .forumheader strong { color: #fff !important; } | ||
html.dm .forumlist, | html.dm .forumlist, | ||
html.dm .forumlist td, | html.dm .forumlist td, | ||
| Строка 810: | Строка 775: | ||
html.dm .forumlist a { color: #8cc8ff !important; } | html.dm .forumlist a { color: #8cc8ff !important; } | ||
html.dm .forumlist td.forum_edited a { color: #a0a0a0 !important; } | html.dm .forumlist td.forum_edited a { color: #a0a0a0 !important; } | ||
html.dm .main-box, | html.dm .main-box, | ||
html.dm .main-box-subtitle, | html.dm .main-box-subtitle, | ||
| Строка 836: | Строка 800: | ||
border-bottom-color: #444 !important; | border-bottom-color: #444 !important; | ||
} | } | ||
html.dm .absurd-note [style*="background-color:#6161ff"], | html.dm .absurd-note [style*="background-color:#6161ff"], | ||
html.dm .absurd-note [style*="background:#6161ff"] { background: #1a1a1a !important; } | html.dm .absurd-note [style*="background:#6161ff"] { background: #1a1a1a !important; } | ||
| Строка 847: | Строка 810: | ||
html.dm .absurd-note div { color: #d0d0d0 !important; border-color: #444 !important; } | html.dm .absurd-note div { color: #d0d0d0 !important; border-color: #444 !important; } | ||
html.dm .absurd-note h2 { color: #fff !important; } | html.dm .absurd-note h2 { color: #fff !important; } | ||
html.dm .file-info > tbody > tr > th, | html.dm .file-info > tbody > tr > th, | ||
html.dm .file-info > tbody > tr > td { | html.dm .file-info > tbody > tr > td { | ||
| Строка 863: | Строка 825: | ||
} | } | ||
/* | /* Расширения */ | ||
html.dm .ajaxpoll, | html.dm .ajaxpoll, | ||
html.dm .ajaxpoll-question, | html.dm .ajaxpoll-question, | ||
| Строка 892: | Строка 854: | ||
} | } | ||
/* | /* Диффы */ | ||
html.dm .diff, | html.dm .diff, | ||
html.dm table.diff, | html.dm table.diff, | ||
| Строка 919: | Строка 881: | ||
} | } | ||
/* | /* Точечные фиксы */ | ||
html.dm .ship { color: #a8ffb0 !important; } | html.dm .ship { color: #a8ffb0 !important; } | ||
html.dm [style*="color:rgb(37,37,37)"], | html.dm [style*="color:rgb(37,37,37)"], | ||
| Строка 925: | Строка 887: | ||
html.dm [style*="color:rgb(37,37,37)"] a, | html.dm [style*="color:rgb(37,37,37)"] a, | ||
html.dm [style*="color: rgb(37, 37, 37)"] a { color: #8cc8ff !important; } | html.dm [style*="color: rgb(37, 37, 37)"] a { color: #8cc8ff !important; } | ||
html.dm #footer-poweredbyico, | html.dm #footer-poweredbyico, | ||
html.dm #footer-poweredbyico img, | html.dm #footer-poweredbyico img, | ||
| Строка 934: | Строка 895: | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
html.dm .usermessage, | html.dm .usermessage, | ||
html.dm .usermessage * { color: #000 !important; } | html.dm .usermessage * { color: #000 !important; } | ||
html.dm .usermessage a { color: #0645ad !important; } | html.dm .usermessage a { color: #0645ad !important; } | ||
html.dm .usermessage a:visited { color: #0b0080 !important; } | html.dm .usermessage a:visited { color: #0b0080 !important; } | ||