mirror of https://github.com/ColorlibHQ/AdminLTE
finish dark-mode overrides
parent
377a00f0cb
commit
ee814eb531
|
@ -95,4 +95,7 @@ a.text-muted:hover {
|
||||||
background-color: lighten($dark, 7.5%) !important;
|
background-color: lighten($dark, 7.5%) !important;
|
||||||
color: $white !important;
|
color: $white !important;
|
||||||
}
|
}
|
||||||
|
.link-black {
|
||||||
|
color: $gray-400;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -233,7 +233,9 @@
|
||||||
&::before {
|
&::before {
|
||||||
border-right-color: lighten($dark, 10%);
|
border-right-color: lighten($dark, 10%);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
.direct-chat-timestamp {
|
||||||
|
color: $gray-500;
|
||||||
}
|
}
|
||||||
.right > .direct-chat-text {
|
.right > .direct-chat-text {
|
||||||
&::after,
|
&::after,
|
||||||
|
|
|
@ -286,4 +286,36 @@
|
||||||
.dropdown-divider {
|
.dropdown-divider {
|
||||||
border-color: $gray-600;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -332,23 +332,28 @@ body.text-sm {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-mode {
|
.dark-mode {
|
||||||
.form-control:not(.form-control-navbar):not(.is-invalid),
|
.form-control,
|
||||||
.custom-select,
|
.custom-select,
|
||||||
.custom-file-label,
|
.custom-file-label,
|
||||||
.custom-file-label::after,
|
.custom-file-label::after,
|
||||||
.custom-control-label::before,
|
.custom-control-label::before,
|
||||||
.input-group-text {
|
.input-group-text {
|
||||||
background-color: $dark;
|
background-color: $dark;
|
||||||
border-color: $gray-600;
|
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
|
.form-control:not(.form-control-navbar):not(.is-invalid):not(:focus) {
|
||||||
|
border-color: $gray-600;
|
||||||
|
}
|
||||||
select {
|
select {
|
||||||
background-color: $dark;
|
background-color: $dark;
|
||||||
color: $white;
|
color: $white;
|
||||||
border-color: $gray-600;
|
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,
|
||||||
.custom-control-input[disabled] ~ .custom-control-label::before {
|
.custom-control-input[disabled] ~ .custom-control-label::before {
|
||||||
background-color: lighten($dark, 5%);
|
background-color: lighten($dark, 5%);
|
||||||
|
@ -367,4 +372,30 @@ body.text-sm {
|
||||||
background-color: lighten($dark, 7.5%);
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -627,7 +627,8 @@ body:not(.sidebar-mini-md) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-mode {
|
.dark-mode {
|
||||||
background-color: lighten($dark, 7.5%);
|
background-color: lighten($dark, 7.5%) !important;
|
||||||
|
color: $white;
|
||||||
|
|
||||||
.breadcrumb-item {
|
.breadcrumb-item {
|
||||||
&.active,
|
&.active,
|
||||||
|
|
|
@ -483,7 +483,7 @@ blockquote {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-mode {
|
.dark-mode {
|
||||||
a:hover {
|
a:not(.btn):hover {
|
||||||
color: lighten($link-color, 10%);
|
color: lighten($link-color, 10%);
|
||||||
}
|
}
|
||||||
.attachment-block {
|
.attachment-block {
|
||||||
|
@ -504,4 +504,8 @@ blockquote {
|
||||||
.tab-custom-content {
|
.tab-custom-content {
|
||||||
border-color: $gray-600;
|
border-color: $gray-600;
|
||||||
}
|
}
|
||||||
|
.list-group-item {
|
||||||
|
background-color: $dark;
|
||||||
|
border-color: $gray-600;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,12 +134,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-mode {
|
.dark-mode {
|
||||||
.timeline > div > .timeline-item {
|
.timeline {
|
||||||
background-color: $dark;
|
&::before {
|
||||||
color: $white;
|
background-color: $gray-600;
|
||||||
|
}
|
||||||
|
> div > .timeline-item {
|
||||||
|
background-color: $dark;
|
||||||
|
color: $white;
|
||||||
|
border-color: $gray-600;
|
||||||
|
|
||||||
> .timeline-header {
|
> .timeline-header {
|
||||||
color: $gray-500;
|
color: $gray-400;
|
||||||
|
border-color: $gray-600;
|
||||||
|
}
|
||||||
|
> .time {
|
||||||
|
color: $gray-400;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,3 +11,9 @@
|
||||||
.invoice-title {
|
.invoice-title {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark-mode {
|
||||||
|
.invoice {
|
||||||
|
background-color: $dark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -76,3 +76,18 @@
|
||||||
.lockscreen-footer {
|
.lockscreen-footer {
|
||||||
margin-top: 10px;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
||||||
|
& ~ .input-group-prepend .input-group-text,
|
||||||
& ~ .input-group-append .input-group-text {
|
& ~ .input-group-append .input-group-text {
|
||||||
border-color: $input-focus-border-color;
|
border-color: $input-focus-border-color;
|
||||||
}
|
}
|
||||||
|
@ -62,6 +63,7 @@
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& ~ .input-group-prepend .input-group-text,
|
||||||
& ~ .input-group-append .input-group-text {
|
& ~ .input-group-append .input-group-text {
|
||||||
border-color: $success;
|
border-color: $success;
|
||||||
}
|
}
|
||||||
|
@ -99,3 +101,18 @@
|
||||||
.social-auth-links {
|
.social-auth-links {
|
||||||
margin: 10px 0;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -35,3 +35,10 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark-mode {
|
||||||
|
.post {
|
||||||
|
color: $white;
|
||||||
|
border-color: $gray-600;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -39,3 +39,12 @@
|
||||||
border-color: #{$color};
|
border-color: #{$color};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark-mode {
|
||||||
|
[class*="icheck-"] > input:first-child:not(:checked) {
|
||||||
|
+ input[type="hidden"] + label::before,
|
||||||
|
+ label::before {
|
||||||
|
border-color: $gray-600;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue