-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (76 loc) · 3.62 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* region: indeterminate */
input[type=checkbox]:indeterminate,
input[type=checkbox][data-task="."] {
--color: rgb(128, 128, 128);
background-color: var(--color);
border-color: var(--color);
}
input[type=checkbox]:indeterminate:hover,
input[type=checkbox][data-task="."]:hover {
--color: rgb(164, 164, 164);
background-color: var(--color);
border-color: var(--color);
}
input[type=checkbox]:indeterminate:after,
input[type=checkbox][data-task="."]:after {
/* Copied from: input[type=checkbox]:checked:after */
content: "";
top: -1px;
left: -1px;
position: absolute;
width: var(--checkbox-size);
height: var(--checkbox-size);
display: block;
background-color: var(--checkbox-marker-color);
--mask-position: 52% 52%;
mask-position: var(--mask-position);
-webkit-mask-position: var(--mask-position);
--mask-size: 65%;
mask-size: var(--mask-size);
-webkit-mask-size: var(--mask-size);
--mask-repeat: no-repeat;
mask-repeat: var(--mask-repeat);
-webkit-mask-repeat: var(--mask-repeat);
--mask-image: url('data:image/svg+xml; utf8, <svg width="100%" height="100%" viewBox="0 0 12 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g transform="matrix(0.839754,0,0,1,0.961479,0)"><path d="M12,4.477L12,5.523C12,5.812 11.721,6.047 11.377,6.047L0.623,6.047C0.279,6.047 0,5.812 0,5.523L0,4.477C0,4.188 0.279,3.953 0.623,3.953L11.377,3.953C11.721,3.953 12,4.188 12,4.477Z"/></g></svg>');
mask-image: var(--mask-image);
-webkit-mask-image: var(--mask-image);
}
/* endregion */
/* region: wont-do */
input[type=checkbox].wont-do,
input[type=checkbox][data-task="~"] {
--color: rgb(220, 0, 0);
background-color: var(--color);
border-color: var(--color);
}
input[type=checkbox].wont-do:hover,
input[type=checkbox][data-task="~"]:hover {
--color: rgb(255, 0, 0);
background-color: var(--color);
border-color: var(--color);
}
input[type=checkbox].wont-do:after,
input[type=checkbox][data-task="~"]:after {
/* Copied from: input[type=checkbox]:checked:after */
content: "";
top: -1px;
left: -1px;
position: absolute;
width: var(--checkbox-size);
height: var(--checkbox-size);
display: block;
background-color: var(--checkbox-marker-color);
--mask-position: 52% 52%;
mask-position: var(--mask-position);
-webkit-mask-position: var(--mask-position);
--mask-size: 65%;
mask-size: var(--mask-size);
-webkit-mask-size: var(--mask-size);
--mask-repeat: no-repeat;
mask-repeat: var(--mask-repeat);
-webkit-mask-repeat: var(--mask-repeat);
--mask-image: url('data:image/svg+xml; utf8, <svg width="100%" height="100%" viewBox="0 0 12 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g transform="matrix(0.593795,-0.593795,0.707107,0.707107,-1.09831,5.02724)"><path d="M4.754,3.953L4.754,0.485C4.754,0.196 5.033,-0.039 5.377,-0.039L6.623,-0.039C6.967,-0.039 7.246,0.196 7.246,0.485L7.246,3.953L11.377,3.953C11.721,3.953 12,4.188 12,4.477L12,5.523C12,5.812 11.721,6.047 11.377,6.047L7.246,6.047L7.246,9.515C7.246,9.804 6.967,10.039 6.623,10.039L5.377,10.039C5.033,10.039 4.754,9.804 4.754,9.515L4.754,6.047L0.623,6.047C0.279,6.047 -0,5.812 0,5.523L0,4.477C0,4.188 0.279,3.953 0.623,3.953L4.754,3.953Z" style="fill:rgb(0,0,0);"/></g></svg>');
mask-image: var(--mask-image);
-webkit-mask-image: var(--mask-image);
}
/* endregion */