Skip to content

Commit

Permalink
updating all colours
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronpettit committed Feb 7, 2024
1 parent 78ad0fe commit bb5bec6
Showing 1 changed file with 13 additions and 28 deletions.
41 changes: 13 additions & 28 deletions projects/ngds-forms/assets/styles/styles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$input-disabled-bg: #e9ecef;
$input-invalid-border-color: #dc3545;
$input-border-color: #dee2e6;
$dropdown-active-bg-color: #0d6efd;
$dropdown-active-text-color: #fff;
Expand All @@ -19,7 +18,7 @@ $active-invalid-outline: red;
}

.disabled-input {
background-color: $input-disabled-bg;
background-color: var(--bs-gray-200);
}

.calendar-cell{
Expand All @@ -32,26 +31,26 @@ $active-invalid-outline: red;
background-color: transparent;
border-radius: 2rem;
&:hover {
background-color: $calendar-hover-bg-color;
background-color: var(--bs-gray-300);
}
&:focus {
background-color: $calendar-active-bg-color;
background-color: var(--bs-gray-400);
}
&.selected {
background-color: $calendar-active-bg-color;
background-color: var(--bs-gray-400);
}
}

.calendar-date{
border: none;
background-color: transparent;
min-width: 44px;
color: $calendar-inactive-text-color;
color: var(--bs-gray-400);
&.valid-date {
cursor: pointer;
color: black;
&:hover {
background-color: $calendar-hover-bg-color !important;
background-color: var(--bs-gray-300) !important;
&:not(.in-range){
border-radius: 2rem;
}
Expand All @@ -66,32 +65,18 @@ $active-invalid-outline: red;
}
&.selected{
font-weight: bold;
background-color: $calendar-active-bg-color !important;
background-color: var(--bs-gray-500) !important;
&:hover {
background-color: $calendar-hover-bg-color !important;
background-color: var(--bs-gray-400) !important;
}
}
&.in-range {
background-color: $calendar-in-range-hover-bg-color;
background-color: var(--bs-gray-200);
font-weight: bold;
}
}
}

.btn-inline {
height: 100%;
background-color: inherit;

&:hover {
background-color: $input-disabled-bg;
transition: 0.2s linear;
}

&:focus {
border: 2px solid $focus-outline-color;
}
}

.multiselect-input {
&:focus {
outline: none;
Expand All @@ -113,7 +98,7 @@ $active-invalid-outline: red;
position: relative;
display: block;
padding: 0.3rem 0.75rem;
background-color: $dropdown-bg-color;
background-color: var(--bs-white);
}

.focus-highlight {
Expand All @@ -124,11 +109,11 @@ $active-invalid-outline: red;

.default-list-group-item.active {
z-index: 2;
background-color: $dropdown-hover-bg-color;
background-color: var(--bs-gray-200);

&:active {
color: $dropdown-active-text-color;
background-color: $dropdown-active-bg-color;
color: var(--bs-light);
background-color: var(--bs-primary);
}
}

Expand Down

0 comments on commit bb5bec6

Please sign in to comment.