Fix images with transparent class having shadow on hover
This commit is contained in:
@ -1,3 +1,17 @@
|
||||
img {
|
||||
transition: var(--transition-longer);
|
||||
|
||||
&:not(.no-hover) {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
&:not(.no-hover):hover {
|
||||
border-radius: 0;
|
||||
box-shadow: var(--shadow-raised);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
img,
|
||||
video {
|
||||
border-radius: var(--rounded-corner);
|
||||
@ -17,19 +31,9 @@ video {
|
||||
&.transparent {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
transition: var(--transition-longer);
|
||||
|
||||
&:not(.no-hover) {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
&:not(.no-hover):hover {
|
||||
border-radius: 0;
|
||||
box-shadow: var(--shadow-raised);
|
||||
transform: scale(1.1);
|
||||
&:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user