mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-08-07 07:14:44 +00:00
Posters: Fix focus style (only apply if focused via keyboard)
This commit is contained in:
@@ -336,18 +336,18 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
&:has(:focus-visible) {
|
||||
transform: scale(1.3);
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
&.small:hover,
|
||||
&.small:focus-within {
|
||||
&.small:has(:focus-visible) {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within,
|
||||
&:has(:focus-visible),
|
||||
&:global(.details-shown) {
|
||||
img {
|
||||
filter: blur(4px) grayscale(80%);
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
|
||||
&:not(.no-zoom) {
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
&:has(:focus-visible) {
|
||||
transform: scale(1.3);
|
||||
z-index: 99;
|
||||
}
|
||||
@@ -151,13 +151,13 @@
|
||||
|
||||
&:not(:not(.no-zoom)) {
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
&:has(:focus-visible) {
|
||||
outline: 3px solid $text-color;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within,
|
||||
&:has(:focus-visible),
|
||||
&:global(.details-shown) {
|
||||
.inner {
|
||||
color: white;
|
||||
|
||||
@@ -284,18 +284,18 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
&:has(:focus-visible) {
|
||||
transform: scale(1.3);
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
&.small:hover,
|
||||
&.small:focus-within {
|
||||
&.small:has(:focus-visible) {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within,
|
||||
&:has(:focus-visible),
|
||||
&:global(.details-shown) {
|
||||
img {
|
||||
filter: blur(4px) grayscale(80%);
|
||||
|
||||
Reference in New Issue
Block a user