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

Нет описания правки
Нет описания правки
Строка 314: Строка 314:
/* CodeMirror */
/* 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: #1a1a1a !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: #1a1a1a !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: #1a1a1a !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; }
Строка 364: Строка 364:
html.dm #wpTextbox1, html.dm textarea#wpTextbox1, html.dm .wikiEditor-ui-text textarea,
html.dm #wpTextbox1, html.dm textarea#wpTextbox1, html.dm .wikiEditor-ui-text textarea,
html.dm .ve-ce-surface, html.dm .ve-ce-documentNode {
html.dm .ve-ce-surface, html.dm .ve-ce-documentNode {
     background: #1a1a1a !important; color: #e0e0e0 !important; border-color: #444 !important;
     background: #2a2a2a !important; color: #e0e0e0 !important; border-color: #444 !important;
}
}
html.dm .editOptions, html.dm #editpage-copywarn, html.dm .mw-editfooter-toggler,
html.dm .editOptions, html.dm #editpage-copywarn, html.dm .mw-editfooter-toggler,
Строка 384: Строка 384:
     -moz-appearance: none !important;
     -moz-appearance: none !important;
}
}
/* Кроссплатформенная стрелка select через SVG data-URI (пункт 9) */
html.dm select {
html.dm select {
     background-color: #2a2a2a !important;
     background-color: #2a2a2a !important;
     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;
    color: #d0d0d0 !important;
     background-position: calc(100% - 10px) center !important;
    border: 1px solid #555 !important;
     background-size: 10px 6px !important;
    border-radius: 3px !important;
     background-image: linear-gradient(45deg, transparent 50%, #8cc8ff 50%),
                      linear-gradient(135deg, #8cc8ff 50%, transparent 50%) !important;
     background-position: calc(100% - 14px) center, calc(100% - 9px) center !important;
     background-size: 5px 5px, 5px 5px !important;
     background-repeat: no-repeat !important;
     background-repeat: no-repeat !important;
     padding-right: 26px !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 { background: #2a2a2a !important; color: #d0d0d0 !important; }
Строка 637: Строка 640:
}
}


/* .usermessage — светлый фон, тёмный текст (пункт 4: оставлено намеренно, но добавлены актуальные классы) */
/* .usermessage — светлый фон, тёмный текст */
html.dm .usermessage { color: #000 !important; background: #ffce7b !important; }
html.dm .usermessage { color: #000 !important; background: #ffce7b !important; }
html.dm .usermessage a { color: #0645ad !important; }
html.dm .usermessage a { color: #0645ad !important; }