finish dark-mode overrides

pull/3046/head
REJack 2020-09-24 09:08:20 +02:00
parent 377a00f0cb
commit ee814eb531
12 changed files with 148 additions and 11 deletions

View File

@ -95,4 +95,7 @@ a.text-muted:hover {
background-color: lighten($dark, 7.5%) !important;
color: $white !important;
}
.link-black {
color: $gray-400;
}
}

View File

@ -233,7 +233,9 @@
&::before {
border-right-color: lighten($dark, 10%);
}
}
.direct-chat-timestamp {
color: $gray-500;
}
.right > .direct-chat-text {
&::after,

View File

@ -286,4 +286,36 @@
.dropdown-divider {
border-color: $gray-600;
}
.navbar-nav > .user-menu > .dropdown-menu {
> .user-footer {
background-color: lighten($dark, 2.5%);
color: $white;
.btn-default {
color: $white;
&:hover,
&:focus {
background-color: lighten($dark, 5%);
color: $gray-300;
}
&:focus {
background-color: lighten($dark, 7.5%);
}
}
}
> .user-body {
border-color: $gray-600;
}
> .user-body a {
background-color: transparent !important;
color: $white !important;
&:hover,
&:focus {
color: $gray-400 !important;
}
}
}
}

View File

@ -332,23 +332,28 @@ body.text-sm {
}
.dark-mode {
.form-control:not(.form-control-navbar):not(.is-invalid),
.form-control,
.custom-select,
.custom-file-label,
.custom-file-label::after,
.custom-control-label::before,
.input-group-text {
background-color: $dark;
border-color: $gray-600;
color: $white;
}
.form-control:not(.form-control-navbar):not(.is-invalid):not(:focus) {
border-color: $gray-600;
}
select {
background-color: $dark;
color: $white;
border-color: $gray-600;
}
.input-group-text {
border-color: $gray-600;
}
.custom-control-input:disabled ~ .custom-control-label::before,
.custom-control-input[disabled] ~ .custom-control-label::before {
background-color: lighten($dark, 5%);
@ -367,4 +372,30 @@ body.text-sm {
background-color: lighten($dark, 7.5%);
}
}
.navbar-dark {
.btn-navbar,
.form-control-navbar {
background-color: $dark;
border: $input-border-width solid $gray-600;
}
.btn-navbar {
&:hover {
background-color: lighten($sidebar-dark-bg, 7.5%);
}
&:focus {
background-color: lighten($sidebar-dark-bg, 10%);
}
}
.form-control-navbar + .input-group-prepend,
.form-control-navbar + .input-group-append {
> .btn-navbar {
background-color: lighten($dark, 5%);
color: $white;
border: $input-border-width solid $gray-600;
border-left: none;
}
}
}
}

View File

@ -627,7 +627,8 @@ body:not(.sidebar-mini-md) {
}
.dark-mode {
background-color: lighten($dark, 7.5%);
background-color: lighten($dark, 7.5%) !important;
color: $white;
.breadcrumb-item {
&.active,

View File

@ -483,7 +483,7 @@ blockquote {
}
.dark-mode {
a:hover {
a:not(.btn):hover {
color: lighten($link-color, 10%);
}
.attachment-block {
@ -504,4 +504,8 @@ blockquote {
.tab-custom-content {
border-color: $gray-600;
}
.list-group-item {
background-color: $dark;
border-color: $gray-600;
}
}

View File

@ -134,12 +134,22 @@
}
.dark-mode {
.timeline > div > .timeline-item {
.timeline {
&::before {
background-color: $gray-600;
}
> div > .timeline-item {
background-color: $dark;
color: $white;
border-color: $gray-600;
> .timeline-header {
color: $gray-500;
color: $gray-400;
border-color: $gray-600;
}
> .time {
color: $gray-400;
}
}
}
}

View File

@ -11,3 +11,9 @@
.invoice-title {
margin-top: 0;
}
.dark-mode {
.invoice {
background-color: $dark;
}
}

View File

@ -76,3 +76,18 @@
.lockscreen-footer {
margin-top: 10px;
}
.dark-mode {
.lockscreen-item {
background-color: $dark;
}
.lockscreen-logo a {
color: $white;
}
.lockscreen-credentials .btn {
background-color: $dark;
}
.lockscreen-image {
background-color: $gray-600;
}
}

View File

@ -52,6 +52,7 @@
&:focus {
box-shadow: none;
& ~ .input-group-prepend .input-group-text,
& ~ .input-group-append .input-group-text {
border-color: $input-focus-border-color;
}
@ -62,6 +63,7 @@
box-shadow: none;
}
& ~ .input-group-prepend .input-group-text,
& ~ .input-group-append .input-group-text {
border-color: $success;
}
@ -99,3 +101,18 @@
.social-auth-links {
margin: 10px 0;
}
.dark-mode {
.login-card-body,
.register-card-body {
background-color: $dark;
border-color: $gray-600;
color: $white;
}
.login-logo,
.register-logo {
a {
color: $white;
}
}
}

View File

@ -35,3 +35,10 @@
width: 100%;
}
}
.dark-mode {
.post {
color: $white;
border-color: $gray-600;
}
}

View File

@ -39,3 +39,12 @@
border-color: #{$color};
}
}
.dark-mode {
[class*="icheck-"] > input:first-child:not(:checked) {
+ input[type="hidden"] + label::before,
+ label::before {
border-color: $gray-600;
}
}
}