49 lines
1 KiB
SCSS
49 lines
1 KiB
SCSS
|
.attachments {
|
||
|
input[type=file] {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.dropzone {
|
||
|
position: fixed;
|
||
|
background: rgba(250,250,250,0.8);
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
right: 0;
|
||
|
z-index: 100;
|
||
|
text-align: center;
|
||
|
|
||
|
&.hidden {
|
||
|
display:none;
|
||
|
}
|
||
|
|
||
|
.drop-hint {
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
|
||
|
.icon {
|
||
|
width: 100%;
|
||
|
font-size: 5em;
|
||
|
height: auto;
|
||
|
text-shadow: 0 2px 2px rgba(0, 0, 0, .14), 0 3px 1px rgba(0, 0, 0, .2), 0 1px 5px rgba(0, 0, 0, .12);
|
||
|
-moz-animation: bounce 2s infinite;
|
||
|
-webkit-animation: bounce 2s infinite;
|
||
|
animation: bounce 2s infinite;
|
||
|
}
|
||
|
|
||
|
.hint {
|
||
|
margin: .5em auto 2em;
|
||
|
border-radius: 2px;
|
||
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||
|
background: $primary;
|
||
|
padding: 1em;
|
||
|
color: $white;
|
||
|
width: 100%;
|
||
|
max-width: 300px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|