From 7ce4ad0290487c61232e0b3dcdffe2d6909341da Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 8 Feb 2022 07:37:16 +0100 Subject: [PATCH] Update dark mode --- wwwroot/css/dark-mode.css | 40 +++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/wwwroot/css/dark-mode.css b/wwwroot/css/dark-mode.css index 452ae99..330f0c1 100644 --- a/wwwroot/css/dark-mode.css +++ b/wwwroot/css/dark-mode.css @@ -46,13 +46,13 @@ } [data-theme="dark"] .form-control:disabled, [data-theme="dark"] .form-control[readonly] { - background-color: #181818; + background-color: #222; color: #b6b6b6; opacity: 1; } [data-theme="dark"] .form-control { - background-color: #222; + background-color: #181818; border-color: #4f4f4f; opacity: 1; color: #eee; @@ -60,14 +60,14 @@ [data-theme="dark"] .form-control:focus { color: #eee; - background-color: #222; + background-color: #181818; border-color: #42659d; outline: 0; box-shadow: 0 0 0 0.1rem rgb(0 123 255 / 25%); } [data-theme="dark"] .input-group-text { - background-color: #181818; + background-color: #282828; color: #b6b6b6; border-color: #4f4f4f; } @@ -90,6 +90,38 @@ color: #d5d5d5; } +[data-theme="dark"] .alert-success { + color: #c8ead1; + background-color: #1a3e29; + border-color: #255a32; +} + +[data-theme="dark"] .alert-success hr { + border-top-color: #276034; +} + +[data-theme="dark"] .alert-danger { + color: #e3bcc0; + background-color: #430c11; + border-color: #68121b; +} + +[data-theme="dark"] .alert-warning { + color: #fff2cd; + background-color: #513e00; + border-color: #7b5c00; +} + +[data-theme="dark"] .btn-success.disabled, [data-theme="dark"] .btn-success:disabled { + background-color: #1b7630; + border-color: #1b7630; +} + +[data-theme="dark"] .btn-danger.disabled, [data-theme="dark"] .btn-danger:disabled { + background-color: #721d25; + border-color: #721d25; +} + .notransition, .notransition::before, .notransition::after { -webkit-transition: none !important; -moz-transition: none !important;