-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobal.pcss
209 lines (167 loc) · 2.95 KB
/
global.pcss
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
h1,
.h1 {
@apply text-5xl font-light;
letter-spacing: -1.5px;
}
h2,
.h2 {
@apply text-4xl font-light;
letter-spacing: -0.5px;
}
h3,
.h3 {
@apply text-3xl font-normal;
letter-spacing: 0px;
}
h4,
.h4 {
@apply text-2xl font-normal;
letter-spacing: 0.25px;
}
h5,
.h5 {
@apply text-xl font-normal;
letter-spacing: 0px;
}
h6,
.h6 {
@apply text-base font-medium;
letter-spacing: 0.15px;
}
hr {
@apply border-t border-gray-400 border-solid;
}
.subtitle-1 {
@apply text-base;
letter-spacing: 0.15px;
}
.subtitle-2 {
@apply text-base text-sm font-medium;
letter-spacing: 0.15px;
}
.body-1 {
@apply text-base;
letter-spacing: 0.5px;
}
.body-2 {
@apply text-sm;
letter-spacing: 0.25px;
}
.button {
letter-spacing: 0.0892857143em;
}
caption,
.caption {
font-size: 0.625rem;
letter-spacing: 0.4px;
display: inline-block;
}
button:focus, input:focus, li:focus, div:focus, textarea:focus {
@apply outline-none;
}
.list {
margin-top: 2px;
}
.a {
@apply underline text-blue-600;
}
html {
font-family: "Roboto", sans-serif;
}
input[type='number'] {
-moz-appearance:textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
.ripple {
border-radius: 50%;
position: absolute;
transform: scale(0);
}
.ripple-normal {
animation: ripple-normal 0.6s;
}
.ripple-centered {
animation: ripple-centered 0.4s;
}
@keyframes ripple-normal {
to {
transform: scale(2.5);
opacity: 0;
}
}
@keyframes ripple-centered {
to {
transform: scale(1);
opacity: 0;
}
}
.mode-dark {
@apply text-gray-100 bg-dark-500 duration-100 pointer-events-auto;
}
input[type="range"] {
--bg: var(--color-gray-200);
--bg-focus: var(--color-gray-200);
}
input[type="range"] {
-webkit-appearance: none;
height: 4px;
}
input[type="range"]:disabled {
@apply bg-gray-300;
}
input[type="range"]::range-thumb {
-webkit-appearance: none;
@apply rounded-full p-1 w-5 h-5 elevation-3;
background-color: var(--bg);
}
input[type="range"]:disabled::range-thumb {
@apply bg-gray-400;
}
input[type="range"]::-ms-thumb {
margin: 0;
}
input[type="range"]:focus {
outline: none;
}
input[type="range"]:focus::range-thumb {
-webkit-appearance: none;
@apply rounded-full p-1 w-5 h-5 elevation-3;
margin-top: -0.5rem;
background-color: var(--bg-focus);
}
input[type="range"]:focus::range-track {
@apply rounded;
height: 4px;
}
th:first-child, td:first-child {
@apply text-left border-r border-gray-200;
}
th:first-child .sort-wrapper {
@apply justify-start;
}
th .sort {
@apply w-4 h-4 opacity-0;
}
th:hover .sort {
@apply opacity-100;
}
tr.selected {
@apply bg-primary-50;
}
.select {
@apply pb-0 mb-0 cursor-pointer;
height: 3.5rem;
}
.select.dense {
height: 2.7rem;
}
.code-inline {
@apply text-sm bg-secondary-50 text-secondary-900 rounded-sm p-1;
letter-spacing: 0.25px;
}