move no user select code to a mixin
This commit is contained in:
parent
208dc4d612
commit
42cdd16c5f
|
@ -0,0 +1,6 @@
|
||||||
|
@mixin no_sel {
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
}
|
|
@ -1,3 +1,5 @@
|
||||||
|
@use '../../lib/mixins.scss';
|
||||||
|
|
||||||
$corners: 16px;
|
$corners: 16px;
|
||||||
|
|
||||||
.titlebar {
|
.titlebar {
|
||||||
|
@ -7,10 +9,7 @@ $corners: 16px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
user-select: none;
|
@include mixins.no_sel;
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
|
|
||||||
background: #111111;
|
background: #111111;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
Loading…
Reference in New Issue