Add overlay when holding file above drop element
This commit is contained in:
@@ -58,4 +58,23 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#holding-overlay {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.drag #holding-overlay {
|
||||
display: flex;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #FFF;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 2rem;
|
||||
z-index: 2000;
|
||||
}
|
||||
Reference in New Issue
Block a user