forked from ddrilling/asb_cloud_front
Выделен файл под миксины
This commit is contained in:
parent
a6fa931b04
commit
609cd2cf45
@ -1,5 +1,6 @@
|
|||||||
@import 'include/antd_theme.less';
|
@import './include/antd_theme.less';
|
||||||
@import 'fonts.less';
|
@import './fonts';
|
||||||
|
@import './mixins';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -43,14 +44,8 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.noselect {
|
|
||||||
-webkit-touch-callout: none; /* iOS Safari */
|
|
||||||
-webkit-user-select: none; /* Safari */
|
|
||||||
-khtml-user-select: none; /* Konqueror HTML */
|
|
||||||
-moz-user-select: none; /* Old versions of Firefox */
|
|
||||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
||||||
user-select: none; /* Non-prefixed version, currently
|
|
||||||
supported by Chrome, Edge, Opera and Firefox */
|
|
||||||
}
|
|
||||||
|
|
||||||
.pointer { cursor: pointer }
|
.pointer { cursor: pointer }
|
||||||
|
|
||||||
|
.no-select {
|
||||||
|
.no-select();
|
||||||
|
}
|
||||||
|
13
src/styles/mixins.less
Normal file
13
src/styles/mixins.less
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
.no-select () {
|
||||||
|
-webkit-touch-callout: none; /* iOS Safari */
|
||||||
|
-webkit-user-select: none; /* Safari */
|
||||||
|
-khtml-user-select: none; /* Konqueror HTML */
|
||||||
|
-moz-user-select: none; /* Old versions of Firefox */
|
||||||
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||||
|
user-select: none; /* Non-prefixed version, currently
|
||||||
|
supported by Chrome, Edge, Opera and Firefox */
|
||||||
|
}
|
||||||
|
|
||||||
|
.no-events () {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user