Skip to content

Commit

Permalink
Merge 5cf6ddb into 4a68ba5
Browse files Browse the repository at this point in the history
  • Loading branch information
floris-fd committed Jul 28, 2022
2 parents 4a68ba5 + 5cf6ddb commit 9ace76f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 29 deletions.
7 changes: 1 addition & 6 deletions src/components/card/HorizontalCard1.module.scss
Expand Up @@ -199,12 +199,7 @@
}

&.isRead:not(:hover):not(:active) {
@media (prefers-color-scheme: dark) {
opacity: var(--card-visited-opacity);
}
@media (prefers-color-scheme: light) {
opacity: var(--card-visited-opacity);
}
opacity: var(--card-visited-opacity);
}

&:focus:not(:active),
Expand Down
18 changes: 1 addition & 17 deletions src/components/card/HorizontalCard2.module.scss
Expand Up @@ -93,23 +93,7 @@
}

&.isRead:not(:hover):not(:active) {
.meta .prefix,
.meta time,
.textContainer h1 {
color: var(--card-text-visited);
// IE11
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
color: #{map-deep-get($colors, 'colors', 'neutral', 40)};
}
}

background-color: var(--card-visited);
// IE11
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
background-color: #{map-deep-get($colors, 'colors', 'neutral', 90)};
}
opacity: var(--card-visited-opacity);
}

&:focus:not(:active),
Expand Down
7 changes: 1 addition & 6 deletions src/components/card/HorizontalCard4.module.scss
Expand Up @@ -122,12 +122,7 @@
}

&.isRead:not(:hover):not(:active) {
@media (prefers-color-scheme: dark) {
opacity: var(--card-visited-opacity);
}
@media (prefers-color-scheme: light) {
opacity: var(--card-visited-opacity);
}
opacity: var(--card-visited-opacity);
}

&:focus:not(:active),
Expand Down

0 comments on commit 9ace76f

Please sign in to comment.