Skip to content

Commit

Permalink
List group item colors in light and dark modes (#1061)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Harris <twoxsquared@gmai.com>
  • Loading branch information
kathysledge and Chris Harris committed Feb 26, 2022
1 parent 40930a9 commit 93984d2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/scss/layout/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,23 @@ body:not(.theme-dark) .hide-theme-light {
background: transparent;
}

.list-group-header {
background: $dark-mode-darken;
}

.list-group-item {
color: $dark-mode-text;
border-color: $border-color-transparent;
}

.list-group-header {
background: $dark-mode-darken;
.list-group-item:not(.disabled):not(:disabled) {
color: $dark-mode-text;
}

.list-group-item {
&.disabled,
&:disabled {
color: $gray-600;
}
}

.apexcharts-radialbar-area {
Expand Down
25 changes: 25 additions & 0 deletions src/scss/ui/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,31 @@
}
}

.list-group-item {
background-color: rgba(27,125,241,0.02);
}

.list-group-item.active {
background-color: inherit;
border-left: 2px solid $yellow !important;
}

.list-group-item {
&:active,
&:focus,
&:hover{
background-color: inherit;
}
}

.list-group-item {
&.disabled,
&:disabled {
color: $gray-500;
background-color: rgba(27,125,241,0.02);
}
}

.list-bordered {
.list-item {
border-top: 1px solid $border-color;
Expand Down

0 comments on commit 93984d2

Please sign in to comment.