-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.css
182 lines (144 loc) · 4.06 KB
/
tailwind.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
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
@tailwind base;
@tailwind components;
@tailwind utilities;
#app-container {
@apply bg-white text-gray-800;
@apply dark:bg-zinc-900 dark:text-slate-300;
}
.title-header {
@apply flex justify-between items-center bg-blue-800 text-white p-4 mb-4;
@apply dark:text-black dark:bg-blue-400;
}
.header-left {
@apply flex items-center;
}
.header-right {
@apply w-[120px];
}
.title-text {
@apply text-2xl font-bold text-center flex-grow;
}
.dark-mode-toggle {
@apply px-4 py-2 bg-blue-600 text-white rounded-md;
@apply hover:bg-blue-700;
@apply dark:bg-amber-600 dark:hover:bg-amber-500;
}
.footer {
@apply text-center text-gray-500 p-2;
@apply dark:text-slate-400;
}
.help-box {
@apply bg-yellow-100 border border-black;
@apply dark:bg-yellow-200 dark:border-gray-700 dark:text-slate-700;
}
input, textarea {
@apply text-gray-800 bg-white;
@apply dark:text-slate-300 dark:bg-zinc-800;
}
button:disabled {
@apply bg-gray-300 text-gray-500;
@apply dark:bg-zinc-600 dark:text-slate-300;
}
button.color-not-selected {
@apply bg-blue-500;
@apply dark:bg-blue-400 dark:text-slate-200;
@apply disabled:bg-gray-300 disabled:text-gray-500;
@apply dark:disabled:bg-zinc-600 dark:disabled:text-slate-300;
}
button.color-is-selected {
@apply bg-green-500 text-white;
@apply dark:bg-green-400 dark:text-slate-200;
@apply dark:disabled:bg-zinc-600 dark:disabled:text-slate-300;
}
.rc-slider-disabled {
@apply bg-gray-300;
@apply dark:bg-zinc-600;
}
.failure-color {
@apply bg-red-300 text-white;
@apply dark:bg-red-500 dark:text-slate-200;
}
.erase-color {
@apply bg-red-500 text-white;
}
.color-is-selected-light {
@apply bg-green-200;
@apply dark:bg-green-600 dark:text-slate-200;
}
.has-history-color {
@apply text-emerald-400;
}
.no-history-color {
@apply text-orange-800;
}
.progress-bar {
@apply h-3 w-full bg-gray-200 rounded-lg;
@apply dark:bg-zinc-800;
}
.progress-bar-fill {
@apply color-is-selected w-0 h-full rounded-lg transition-all;
}
.general-element {
@apply bg-blue-500 text-white p-2 rounded-md;
@apply dark:bg-blue-400 dark:text-slate-200;
}
.nav-button {
@apply bg-blue-500 text-white p-1 rounded-full;
@apply dark:bg-blue-400 dark:text-slate-200;
}
.tools-container {
@apply flex justify-between;
}
.tools-backdrop {
@apply flex justify-center p-1 bg-gray-200 rounded-md mt-1;
@apply dark:bg-zinc-800;
}
.general-border {
@apply border-dashed border-2 border-blue-500 rounded-md p-2;
@apply dark:border-blue-400;
}
.image_border {
@apply w-full h-full object-contain border-solid border-2 border-slate-500;
}
.general-container {
@apply w-full general-border items-center justify-center;
}
.light-border {
@apply p-2 border border-gray-300 rounded-md mb-2;
@apply dark:border-gray-700;
}
.gltf-container {
@apply w-full h-full bg-gray-400 p-2;
@apply dark:bg-zinc-800 dark:text-gray-400;
}
.depth-number-text {
@apply text-amber-800 text-opacity-50 text-center;
@apply dark:text-amber-300 dark:text-opacity-50;
}
.depth-number-position {
@apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2;
}
.depth-number-display {
@apply depth-number-text depth-number-position text-6xl;
}
.depth-number-input {
@apply depth-number-text depth-number-position z-10 w-full h-full text-3xl sm:text-4xl md:text-5xl lg:text-6xl;
}
.general-dropdown .Select-control {
@apply bg-gray-100 dark:bg-zinc-800 text-gray-800 dark:text-slate-200 rounded-md;
}
.general-dropdown .Select-menu-outer {
@apply bg-gray-100 dark:bg-zinc-800 dark:text-slate-200;
}
/* React is overriding the colors here and so we need to add !important */
.general-dropdown .Select-option {
@apply text-gray-800 dark:text-slate-200 hover:bg-gray-200 dark:hover:bg-gray-600 !important;
}
.general-dropdown .Select-value-label {
@apply text-gray-800 dark:text-slate-200 hover:bg-gray-200 dark:hover:bg-gray-600 !important;
}
/* Allows us to highlight images as an overlay */
.overlay {
@apply absolute inset-0 bg-green-200 bg-opacity-50 flex items-center justify-center;
@apply dark:bg-green-600 dark:bg-opacity-50;
}