Skip to content

Commit 0ca25c9

Browse files
tempiusRicardo Pinto
andauthored
Applied grayscale, brightness, contrast filters and opacity to stopped images (#246)
When the image is black and white, there is no visual difference between when the image is running and when it is not. --------- Co-authored-by: Ricardo Pinto <[email protected]>
1 parent 89e73a7 commit 0ca25c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/assets/scss/common/_card.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
position: relative;
4141

4242
&.stop img {
43-
filter: grayscale(100%);
43+
filter: grayscale(100%) brightness(50%) contrast(120%);
44+
opacity: 0.5;
4445
}
4546

4647
img {
@@ -56,7 +57,8 @@
5657
justify-content: center;
5758

5859
&.stop img {
59-
filter: grayscale(100%);
60+
filter: grayscale(100%) brightness(50%) contrast(120%);
61+
opacity: 0.5;
6062
}
6163

6264
img {

0 commit comments

Comments
 (0)