Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Fix: colors in table on:hover
Browse files Browse the repository at this point in the history
  • Loading branch information
balrajsingh9 committed Jul 6, 2020
1 parent 226ae45 commit 2a42f3b
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions src/dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -800,13 +800,20 @@ $default-primary: var(--primary-color);
.row {
&:nth-child(odd) {
.cell {
background: $gray-light;
background: var(--background-color);
}
}

&.is-highlighted {
.cell {
background: $gray-hover-opaque !important;
background: $gray-opaque !important;
color: var(--background-color);

.delta {
&.is-deceased {
color: #6c757d !important;
}
}
}
}

Expand All @@ -816,7 +823,20 @@ $default-primary: var(--primary-color);
user-select: none;

&:hover {
background: $gray-hover-opaque !important;
background: $gray-opaque !important;
color: var(--background-color);

.sort-icon {
svg {
fill: var(--background-color);
}
}
}

.sort-icon {
svg {
fill: var(--primary-color);
}
}
}
}
Expand All @@ -826,15 +846,16 @@ $default-primary: var(--primary-color);
top: 0;

.cell {
background: $gray-hover-opaque !important;
background: $gray-opaque !important;
color: var(--background-color);
}
}

.cell {
color: $gray;

&:first-child {
background: $gray-hover-darker-opaque;
background: var(--background-color);
}

svg {
Expand Down Expand Up @@ -902,7 +923,8 @@ $default-primary: var(--primary-color);
padding: 0.75rem 0.5rem;

&:hover {
background: $gray-hover-opaque !important;
background: $gray-opaque !important;
color: var(--background-color);
}
}

Expand Down

0 comments on commit 2a42f3b

Please sign in to comment.