-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.css
154 lines (121 loc) · 3 KB
/
globals.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--font-modern: "Kanit", sans-serif;
--background: #ffffff;
--background: #ffffff;
--foreground: #000000;
--primary: #3699F1;
--primary-foreground: #ffffff;
--secondary: #DBEAFE;
--secondary-foreground: #171717;
--success: #2ECC40;
--success-foreground: #ffffff;
--info: #1111a2;
--info-foreground: #ffffff;
--warning: #FF851B;
--warning-foreground: #ffffff;
--danger: #FF4136;
--danger-foreground: #fafafa;
--error: #FF4136;
--error-foreground: #fafafa;
--loading: #448bca;
--loading-foreground: #ffffff;
--not-selected: #979797;
--not-selected-foreground: #000000;
--selected: #ffffff;
--selected-foreground: #3699F1;
--table-head: #d1d1d1;
--table-head-foreground: #666666;
--table-body: #ffffff;
--table-body-foreground: #000000;
--white: #ffffff;
--black: #000000;
--card: #fafafa;
--card-foreground: #3699F1;
--orange: #e56c15;
--orange-foreground: #ffffff;
--blue: #1111a2;
--blue-foreground: #ffffff;
--red: #ce241d;
--red-foreground: #ffffff;
--green-line: #42ad25;
--green-line-foreground: #ffffff;
--green: #219754;
--green-foreground: #ffffff;
--border-tarot: #9747ff;
--popover: #ffffff;
--popover-foreground: #0a0a0a;
--popover-background: #00000030;
--muted: #f5f5f5;
--muted-foreground: #737373;
--accent: #f5f5f5;
--accent-foreground: #171717;
--destructive: #ef4444;
--destructive-foreground: #fafafa;
--border: #d0d5dd;
--input: #d0d5dd;
--shadow-sm: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
--ring: #2779D9;
--radius: 0.5rem;
}
}
@layer base {
* {
font-family: "Kanit", sans-serif;
margin: 0;
padding: 0;
}
.this-required::after {
content: "*";
color: red;
}
.hide-focus-border {
border-color: transparent;
outline: none;
}
.loader {
width: 82px;
height: 18px;
position: relative;
}
.loader::before,
.loader::after {
content: "";
position: absolute;
left: 50%;
transform: translate(-50%, 10%);
top: 0;
background: rgb(59 130 246);
width: 16px;
height: 16px;
border-radius: 50%;
animation: jump 0.5s ease-in infinite alternate;
}
.loader::after {
background: #0000;
color: rgb(219 234 254);
top: 100%;
box-shadow: 32px -20px, -32px -20px;
animation: split 0.5s ease-out infinite alternate;
}
@keyframes split {
0% {
box-shadow: 8px -20px, -8px -20px;
}
100% {
box-shadow: 32px -20px, -32px -20px;
}
}
@keyframes jump {
0% {
transform: translate(-50%, -150%);
}
100% {
transform: translate(-50%, 10%);
}
}
}