-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
199 lines (152 loc) · 4.91 KB
/
style.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
line-height: 2.0;
font-weight: 400;
color-scheme: light dark;
background-color: #193747;
font-synthesis: none;
text-rendering: optimizeLegibility;
@apply text-slate-300 font-sans antialiased
}
.header-text {
@apply mb-4 text-4xl font-bold leading-none tracking-tight text-slate-100 md:text-5xl text-center
}
.subheader-text {
@apply mb-4 text-3xl font-bold leading-none tracking-tight text-slate-100 md:text-4xl text-center
}
.smallheader-text {
@apply text-2xl font-bold leading-none tracking-tight text-slate-100 md:text-2xl text-center
}
.text-link {
@apply inline-block border-b-2 font-bold text-gray-50 hover:border-gray-50 border-gray-50/10 transition-colors duration-150
}
.start-btn {
@apply bg-green-500 hover:bg-green-700 text-gray-50 font-bold py-2 px-4 border border-green-700 rounded flex items-center h-9 text-sm w-48
}
.stop-btn {
@apply bg-gray-500 hover:bg-gray-700 text-gray-50 font-bold py-2 px-4 border border-gray-700 rounded flex items-center h-9 text-sm w-48
}
.new-universe-btn {
@apply bg-green-700 hover:bg-green-900 text-gray-50 font-bold py-2 px-4 border border-green-900 rounded flex items-center h-9 text-sm w-48
}
.predefined-universe-btn {
@apply bg-green-700 hover:bg-green-900 text-gray-50 font-bold py-2 px-4 border border-green-900 rounded flex items-center h-9 text-sm w-48
}
.clear-btn {
@apply bg-yellow-700 hover:bg-yellow-900 text-gray-50 font-bold py-2 px-4 border border-yellow-900 rounded flex items-center h-9 text-sm w-48
}
.random-universe-btn {
@apply bg-yellow-700 hover:bg-yellow-900 text-gray-50 font-bold py-2 px-4 border border-yellow-900 rounded flex items-center h-9 text-sm w-48
}
.create-new-universe-btn {
@apply bg-green-500 hover:bg-green-700 text-gray-50 font-bold py-2 px-4 border border-green-700 rounded flex items-center h-9 text-sm w-20
}
.cancel-btn {
@apply bg-gray-500 hover:bg-gray-700 text-gray-50 font-bold py-2 px-4 border border-gray-700 rounded flex items-center h-9 text-sm w-20
}
.slider-label {
@apply mb-2 inline-block font-bold text-gray-50
}
.slider-input {
@apply cursor-pointer appearance-none border-transparent bg-green-500 hover:bg-green-700 w-64 h-2 rounded-full focus:outline-none disabled:bg-green-900 disabled:cursor-not-allowed thumb-color-green
}
.thumb-color-green::-webkit-slider-thumb {
@apply appearance-none w-4 h-4 bg-emerald-200 hover:bg-emerald-100 rounded-full cursor-pointer border-none
}
.thumb-color-green::-moz-range-thumb {
@apply appearance-none w-4 h-4 bg-emerald-200 hover:bg-emerald-100 rounded-full cursor-pointer border-none
}
.thumb-color-green::-ms-thumb {
@apply appearance-none w-4 h-4 bg-emerald-200 hover:bg-emerald-100 rounded-full cursor-pointer border-none
}
.thumb-color-green:disabled::-webkit-slider-thumb {
@apply bg-emerald-700 cursor-not-allowed;
}
.thumb-color-green:disabled::-moz-range-thumb {
@apply bg-emerald-700 cursor-not-allowed;
}
.thumb-color-green:disabled::-ms-thumb {
@apply bg-emerald-700 cursor-not-allowed;
}
.checkbox-input {
@apply w-4 h-4 appearance-none bg-gray-50 border-2 border-gray-50 rounded-sm focus:outline-none
}
.checkbox-input:checked {
@apply bg-green-500 hover:bg-green-700 border-transparent
}
.checkbox-input:not(:checked) {
@apply bg-gray-50 hover:bg-gray-300 border-transparent
}
.slider-indicator {
@apply text-gray-50
}
.header-icon {
@apply w-16 h-16
}
.small-icon {
@apply w-6 h-6 mb-1
}
.btn-icon {
@apply w-4 h-4 mr-2
}
.white-icon {
@apply filter brightness-0 invert
}
.start-icon {
width: 1rem;
height: 1rem;
background-image: url('/assets/img/start_icon.svg');
background-repeat: no-repeat;
background-size: contain;
}
.stop-icon {
width: 1rem;
height: 1rem;
background-image: url('/assets/img/stop_icon.svg');
background-repeat: no-repeat;
background-size: contain;
}
.invisible {
visibility: hidden;
}
.modal-container {
@apply fixed z-50 top-0 left-0 w-full h-full items-center justify-center hidden
}
.modal-new-universe-content {
background-color: #193747;
@apply rounded-lg shadow-md p-6 w-96 overflow-y-auto z-50
}
.modal-predefined-universe-content {
background-color: #193747;
@apply rounded-lg shadow-md p-6 w-6/12 overflow-y-auto z-50
}
.modal-overlay {
@apply fixed top-0 left-0 w-full h-full bg-black opacity-50 z-40
}
.hover-icon:hover {
filter: invert(92%) sepia(0%) saturate(1%) hue-rotate(75deg) brightness(90%) contrast(91%);
}
.card-container {
background-color: #465E6B;
@apply shadow-md rounded-lg overflow-hidden flex-1 transition-colors duration-300 hover:bg-emerald-400
}
.card-header {
@apply text-xl font-bold mb-2 text-gray-50
}
.card-content {
@apply text-gray-50
}
#modal-new-universe:target {
display: flex
}
#modal-new-universe:target #modal-overlay {
display: block
}
#modal-predefined-universe:target {
display: flex
}
#modal-predefined-universe:target #modal-overlay {
display: block
}