Fade actions in/out on thumbnail and lightbox
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
b348d1578f
commit
fb206ee1e4
@ -73,6 +73,7 @@
|
||||
right: 0px;
|
||||
font-size: 0.6em;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
#actions {
|
||||
@ -83,6 +84,7 @@
|
||||
font-size: 0.6em;
|
||||
color: #ddd;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
:host([active]) #info,
|
||||
|
@ -46,6 +46,7 @@
|
||||
right: 0px;
|
||||
font-size: 0.6em;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
#actions {
|
||||
@ -56,10 +57,12 @@
|
||||
font-size: 0.6em;
|
||||
color: #ddd;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
:host(:hover) #info,
|
||||
:host(:hover) #actions {
|
||||
transition: opacity 0.25s ease-in-out;
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user