From 21f3426adbe36e251c7aaa0e892908f5d95a9a03 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 13 Mar 2025 16:39:51 +0100 Subject: [PATCH] Design: Update dark mode (by rmsoft) --- adminer/static/default.css | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/adminer/static/default.css b/adminer/static/default.css index c7e25f31..3121263a 100644 --- a/adminer/static/default.css +++ b/adminer/static/default.css @@ -100,13 +100,15 @@ input.wayoff { left: -1000px; position: absolute; } a { color: #517fa8; } a:visited { color: #517fa8; } a:link:hover, a:visited:hover { color: #9bc0e1; } - h1 { border-color: #1d4e78; color: #ffddbf; background: #1d4e78; } - h2 { border-color: #b9cbda; color: #000; background: #3c678d; } + h1 { border-color: #5e94c1; color: #ffddbf; background: #154269; } + h2 { border-color: #a3bdd3; color: #000; background: #3c678d; } td, th { border-color: #0e416d; } th { background: #11385a; } thead td, thead th { color: #a8b05f; background: #011d35; } + thead th a { color: #a8b05f; } fieldset { border-color: #16548a; } - code { color: #002240; background: #81a0bc; padding: .2em .5em; } + code { background: #11385a; } + code[class^="jush-"] { color: #002240; background: #81a0bc; padding: .2em .5em; } tbody tr:hover td, tbody tr:hover th { background: #133553; } pre.jush { background: #a7c3dc; } input.default { box-shadow: 1px 1px 1px #888; } @@ -117,23 +119,28 @@ input.wayoff { left: -1000px; position: absolute; } .error b { background: #002240; } .message { color: #0b860b; background: #efe; border: 1px solid #7fbd7f; } .message table { color: #829bb0; background: #002240; } - .char { color: #ff80ff; } - .date { color: #80ff80; } - .enum { color: #ff8080; } + .char { color: #a949a9; } + .date { color: #59c159; } + .enum { color: #d55c5c; } .binary { color: #9bc0e1; } .odds tbody tr:nth-child(2n) { background: #042541; } - .js .checkable .checked td, .js .checkable .checked th { background: #10395c; } + .js .checkable .checked td, .js .checkable .checked th { background: #10395c; color: #67a4a5; } + .js .checkable .checked:hover td, .js .checkable .checked:hover th { background: #133553; } + .js .checkable .checked a { color: #67a4a5; } .icon { background-color: #062642; } .icon:hover { background-color: #d1394e; } .footer { border-top-color: rgba(0, 34, 64, .7); border-image-source: linear-gradient(rgba(0, 34, 64, 0.2), #002240); } .footer > div { background: #002240; } #menu p, #logins, #tables { border-color: #326b9c; } #logins a, #tables a, #tables span { background: #002240; } - #breadcrumb { background: #1d4e78; } + #breadcrumb { background: #154269; } #h1 { color: #ffddbf; } #version { color: #d2b397; } #schema .table { border-color: #093459; } #help { border-color: #666; background: #c7e4fe; } + #schema div.table a { color: #3c7bb3; } + #menu .active { color: #398c8d; } + #edit-fields tbody tr:hover td, #edit-fields tbody tr:hover th { background: #3b6f9d; } } @media all and (max-width: 880px) {