blob: 8bd2e82d676800666768dc16656f718fadf167db [file] [log] [blame]
/* stylelint-disable material/no-prefixes */
@mixin user-select($value) {
-webkit-user-select: $value;
-moz-user-select: $value;
-ms-user-select: $value;
user-select: $value;
}
@mixin input-placeholder {
&::placeholder {
@content;
}
&::-moz-placeholder {
@content;
}
&::-webkit-input-placeholder {
@content;
}
&:-ms-input-placeholder {
@content;
}
}
@mixin cursor-grab {
cursor: -webkit-grab;
cursor: grab;
}
@mixin cursor-grabbing {
cursor: -webkit-grabbing;
cursor: grabbing;
}
@mixin backface-visibility($value) {
-webkit-backface-visibility: $value;
backface-visibility: $value;
}
@mixin position-sticky($important: false) {
position: -webkit-sticky #{if($important, '!important', '')};
position: sticky #{if($important, '!important', '')};
}
/* stylelint-enable */