mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
epic: getting rid of vue -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
63de5fce3c
commit
1f26f0b3a7
22 files changed
+469
-297
No files matched your search
@@ -2,14 +2,14 @@
|
||||
@import "fonts";
|
||||
|
||||
*, *:before, *:after {
|
||||
@include set-draggable(false);
|
||||
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
outline: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-user-drag: none;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
::selection {
|
||||
@@ -167,14 +167,6 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
.drag {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
.nodrag {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
// app's common loading indicator, displaying on the route transitions
|
||||
#loading {
|
||||
position: absolute;
|
||||
|
||||
@@ -89,3 +89,13 @@
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@mixin set-draggable($isDraggable: true) {
|
||||
@if ($isDraggable) {
|
||||
-webkit-user-drag: auto;
|
||||
-webkit-app-region: drag;
|
||||
} @else {
|
||||
-webkit-user-drag: none;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user