Files
Iris/src/scss/components/_dragger.scss

63 lines
1.0 KiB
SCSS
Raw Normal View History

2016-11-10 16:17:10 +13:00
.dragging * {
cursor: grabbing !important;
cursor: -moz-grabbing !important;
cursor: -webkit-grabbing !important;
2016-11-28 07:27:30 +13:00
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2016-11-10 16:17:10 +13:00
.dragger {
position: fixed;
left: 0;
top: 0;
2016-11-11 23:21:51 +13:00
z-index: 97;
2016-11-10 16:17:10 +13:00
background: $blue;
color: $white;
2016-11-10 16:17:10 +13:00
padding: 12px 20px;
pointer-events: none;
}
.dropzones {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2016-11-11 23:21:51 +13:00
z-index: 98;
2017-07-24 06:03:09 +12:00
background: darken($dark_grey, 1%);
2016-11-10 16:17:10 +13:00
.dropzone {
@include animate();
@include gradient_overlay(3px,0);
2016-11-10 16:17:10 +13:00
margin: 15px;
padding: 40px 20px;
background: $darkest_grey;
border: 5px solid transparent;
border-radius: 3px;
color: $white;
font-size: 18px;
2016-11-10 16:17:10 +13:00
text-align: center;
& * {
pointer-events: none;
}
.icon {
display: block;
margin: 0 auto 10px;
width: 32px;
}
2016-11-28 07:27:30 +13:00
&.hover {
border-color: $blue;
&:before {
opacity: 0.15;
}
}
2016-11-10 16:17:10 +13:00
}
}