Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | // stylelint-disable material/no-prefixes
|
---|
2 | @mixin user-select($value) {
|
---|
3 | -webkit-user-select: $value;
|
---|
4 | -moz-user-select: $value;
|
---|
5 | -ms-user-select: $value;
|
---|
6 | user-select: $value;
|
---|
7 | }
|
---|
8 |
|
---|
9 | @mixin input-placeholder {
|
---|
10 | &::placeholder {
|
---|
11 | @content;
|
---|
12 | }
|
---|
13 |
|
---|
14 | &::-moz-placeholder {
|
---|
15 | @content;
|
---|
16 | }
|
---|
17 |
|
---|
18 | &::-webkit-input-placeholder {
|
---|
19 | @content;
|
---|
20 | }
|
---|
21 |
|
---|
22 | &:-ms-input-placeholder {
|
---|
23 | @content;
|
---|
24 | }
|
---|
25 | }
|
---|
26 |
|
---|
27 | @mixin cursor-grab {
|
---|
28 | cursor: -webkit-grab;
|
---|
29 | cursor: grab;
|
---|
30 | }
|
---|
31 |
|
---|
32 | @mixin cursor-grabbing {
|
---|
33 | cursor: -webkit-grabbing;
|
---|
34 | cursor: grabbing;
|
---|
35 | }
|
---|
36 |
|
---|
37 | @mixin backface-visibility($value) {
|
---|
38 | -webkit-backface-visibility: $value;
|
---|
39 | backface-visibility: $value;
|
---|
40 | }
|
---|
41 |
|
---|
42 | @mixin position-sticky($important: false) {
|
---|
43 | position: -webkit-sticky #{if($important, '!important', '')};
|
---|
44 | position: sticky #{if($important, '!important', '')};
|
---|
45 | }
|
---|
46 |
|
---|
47 | @mixin private-color-adjust($value) {
|
---|
48 | -webkit-print-color-adjust: $value;
|
---|
49 | color-adjust: $value;
|
---|
50 | }
|
---|
51 |
|
---|
52 | @mixin private-background-clip($value) {
|
---|
53 | -webkit-background-clip: $value;
|
---|
54 | background-clip: $value;
|
---|
55 | }
|
---|
56 | // stylelint-enable
|
---|
Note:
See
TracBrowser
for help on using the repository browser.