-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-categorize.css
134 lines (105 loc) · 2.3 KB
/
style-categorize.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#tagForm {
display: grid;
gap: 0.25em;
}
#emojicons {
height: 20em;
position: relative;
display: block;
}
#emojicons::before {
content: "You're all done with this tag! (=^ェ^=)";
position: absolute;
inset: 0;
display: grid;
place-items: center;
}
.emote-wrapper-voting {
position: absolute;
inset: 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2em 1em;
padding: 1em;
border-radius: 2em;
grid-area: 1 / 1;
--tint: oklch(71.36% 0.14 240.35);
background-color: color-mix(in srgb, white 85%, var(--tint));
border: 1px solid var(--tint);
transform-origin: 50% 70%;
transform: scale(1) translateY(0%) translateX(0%);
--anim-data: 300ms;
transition:
opacity var(--anim-data),
background-color var(--anim-data),
border var(--anim-data),
transform var(--anim-data);
}
@media (pointer:coarse) {
.emote-wrapper-voting {
--anim-data: 450ms linear;
}
}
.emote-wrapper-voting.voted {
pointer-events: none;
opacity: 0;
}
.emote-wrapper-voting.voted.yes {
transform: scale(0.7) translateY(-50%) translateX(-50%);
--tint: green;
}
.emote-wrapper-voting.voted.no {
transform: scale(0.7) translateY(-50%) translateX(50%);
--tint: red;
}
.emote-wrapper-voting>p {
text-align: center;
grid-column: span 2;
&.emote-display {
height: 3em;
}
}
.emote-wrapper-voting button {
height: 5em;
width: 100%;
max-width: 15em;
border-radius: 0.5em;
--background: black;
background-color: color-mix(in srgb, white, var(--background) 10%);
border: 1px solid var(--background);
}
.emote-wrapper-voting button.yes {
--background: green;
justify-self: end;
}
.emote-wrapper-voting button.no {
--background: red;
justify-self: start;
}
.emote-wrapper-voting button:hover {
background-color: color-mix(in srgb, white, var(--background) 15%);
}
.emote-wrapper-voting button:active {
background-color: color-mix(in srgb, white, var(--background) 20%);
}
select#search {
cursor: pointer;
}
select#search,
#undo,
#saveCategories,
#saveAndExportCategories {
height: 3em;
padding-inline: 1em;
border: 1px solid color-mix(in srgb, currentColor, transparent);
border-radius: 0.25em;
}
section.buttons {
margin-block-start: auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1em;
#undo {
grid-column: span 2;
}
}