mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
drop cell
This commit is contained in:
parent
5bf67309c3
commit
84f73c9cf3
4 changed files with 52 additions and 5 deletions
22
src/components/editors/ImageUploadButton/styles.scss
Normal file
22
src/components/editors/ImageUploadButton/styles.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
.wrap {
|
||||
padding-bottom: 100%;
|
||||
box-shadow: inset lighten($content_bg, 20%) 0 0 0 4px;
|
||||
position: relative;
|
||||
border-radius: $radius;
|
||||
cursor: pointer;
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.5s;
|
||||
|
||||
&:hover {}
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue