mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
made better hoverables
This commit is contained in:
parent
ae7347fbb7
commit
0dd006d397
3 changed files with 11 additions and 7 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
.images {
|
||||
cursor: pointer;
|
||||
overflow: visible !important;
|
||||
|
||||
&.multiple {
|
||||
// Desktop devices
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
border-radius: $radius;
|
||||
opacity: 0;
|
||||
transition: all 100ms;
|
||||
box-shadow: inset $color_primary 0 0 0 2px;
|
||||
touch-action: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -23,6 +22,8 @@
|
|||
&:hover {
|
||||
z-index: 10;
|
||||
transition: all 100ms;
|
||||
transform: scale(1.025) translateY(-2%);
|
||||
box-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px 5px;
|
||||
|
||||
&::after {
|
||||
opacity: 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue