MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2,118: | Line 2,118: | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
} | } | ||
/* ===== Darken edit UI (textarea, summary, checkboxes, buttons) ===== */ | |||
#wpTextbox1, | |||
#wpSummary, | |||
.editOptions, | |||
.editCheckboxes { | |||
background: #111 !important; | |||
color: #eee !important; | |||
border: 1px solid #333 !important; | |||
} | |||
.editButtons input, | |||
.editButtons button { | |||
background: #222 !important; | |||
color: #eee !important; | |||
border: 1px solid #555 !important; | |||
} | |||
/* CodeMirror dark (ak je zapnutý) */ | |||
.CodeMirror, | |||
.CodeMirror-gutters, | |||
#wpTextbox1.CodeMirror { | |||
background: #111 !important; | |||
color: #eee !important; | |||
border-color: #333 !important; | |||
} | |||
.CodeMirror-cursor { border-left: 1px solid #eee !important; } | |||
/* ===== Message & warning boxes (vrátane toho ružového varovania) ===== */ | |||
.mw-message-box, | |||
.mw-message-box-warning, | |||
.mw-message-box-error, | |||
.mw-message-box-success, | |||
.warningbox, | |||
.errorbox, | |||
.successbox, | |||
.mw-warning, | |||
.mw-editnotice { | |||
background: #1a1a1a !important; | |||
color: #eee !important; | |||
border: 1px solid #333 !important; | |||
} | |||
/* farebný akcent na ľavom okraji podľa typu */ | |||
.mw-message-box-warning, .warningbox { border-left: 4px solid #d19a00 !important; } | |||
.mw-message-box-error, .errorbox { border-left: 4px solid #c0392b !important; } | |||
.mw-message-box-success, .successbox { border-left: 4px solid #27ae60 !important; } | |||
/* OOUI hlášky/dialogy */ | |||
.oo-ui-messageWidget, | |||
.oo-ui-messageDialog .oo-ui-window-head, | |||
.oo-ui-messageDialog .oo-ui-window-body { | |||
background: #111 !important; | |||
color: #eee !important; | |||
border-color: #333 !important; | |||
} | |||
/* odkazy v boxoch – kontrast */ | |||
.mw-message-box a, | |||
.oo-ui-messageWidget a { color: #58a6ff !important; } | |||