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;
|
right: 0px;
|
||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
transition: opacity 0.5s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#actions {
|
#actions {
|
||||||
@ -83,6 +84,7 @@
|
|||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
transition: opacity 0.5s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([active]) #info,
|
:host([active]) #info,
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
right: 0px;
|
right: 0px;
|
||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
transition: opacity 0.25s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#actions {
|
#actions {
|
||||||
@ -56,10 +57,12 @@
|
|||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
transition: opacity 0.25s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host(:hover) #info,
|
:host(:hover) #info,
|
||||||
:host(:hover) #actions {
|
:host(:hover) #actions {
|
||||||
|
transition: opacity 0.25s ease-in-out;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user