Fixed inputs colors in dark theme when they are outside of cards

This commit is contained in:
Alejandro Celaya 2021-02-17 11:03:42 +01:00
parent 7f6c71e8d7
commit 83791157ce
3 changed files with 26 additions and 4 deletions

View file

@ -44,6 +44,10 @@ body,
background-color: var(--primary-color);
}
.list-group {
background-color: var(--primary-color);
}
.modal-content,
.page-link,
.page-item.disabled .page-link,
@ -121,10 +125,15 @@ body,
.form-control,
.form-control:focus {
background-color: var(--input-color);
background-color: var(--primary-color);
border-color: var(--input-border-color);
}
.card .form-control,
.card .form-control:hover {
background-color: var(--input-color);
}
.navbar-brand {
@media (max-width: $smMax) {
margin: 0 auto !important;

View file

@ -10,7 +10,11 @@
}
.date-input-container__input:not(:disabled) {
background-color: #ffffff !important;
background-color: var(--primary-color) !important;
}
.card .date-input-container__input:not(:disabled) {
background-color: var(--input-color) !important;
}
.date-input-container__icon {

View file

@ -6,12 +6,21 @@
.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,
.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,
.show > .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle {
color: #6c757d;
background-color: var(--input-color);
text-align: left;
color: #6c757d;
background-color: var(--primary-color);
border-color: var(--input-border-color);
}
.card .dropdown-btn__toggle.dropdown-btn__toggle,
.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,
.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,
.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,
.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,
.show > .card .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle {
background-color: var(--input-color);
}
.dropdown-btn__toggle.dropdown-btn__toggle:after {
@include vertical-align();