1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-26 07:39:04 +02:00
keeweb/app/styles/utils/_drag.scss
2019-09-15 21:22:23 +02:00

39 lines
778 B
SCSS

.drag-mask {
@include size(100%);
@include position(absolute, 0 null null 0);
-webkit-app-region: no-drag;
}
@mixin drag-handle {
position: relative;
-webkit-app-region: no-drag;
transition: background-color $slow-transition-out;
background: var(--light-border-color);
&:hover,
&.dragging {
@include nomobile {
transition: background-color $slow-transition-in;
background: var(--accent-border-color);
}
}
}
.drag-handle__inner {
position: absolute;
&--x {
top: 0;
left: -2px;
width: 5px;
height: 100%;
}
&--y {
top: -2px;
left: 0;
width: 100%;
height: 5px;
}
@include mobile {
display: none;
}
}