-
Notifications
You must be signed in to change notification settings - Fork 58
/
life.css
222 lines (221 loc) · 3.79 KB
/
life.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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
body {
background-color: #000;
margin: 0px;
color: #ccc;
font-family: sans-serif;
height: 100%;
overflow: hidden;
}
html {
height: 100%;
margin: 0px;
}
#toolbar {
position: fixed;
top: 0px;
right: 0px;
z-index: 10;
color: #000;
width: 100%;
height: 0;
overflow: visible;
}
#toolbar > div {
float: right;
}
#statusbar > div {
float: right;
border-left: 1px solid #ccc;
text-align: center;
}
#controls {
padding: 5px;
}
#controls td div {
background-color: #ccc;
width: 18px;
height: 18px;
margin: 2px 1px;
font-weight: bold;
text-align: center;
cursor: pointer;
box-shadow: 2px 2px 3px #ccc;
-webkit-user-select: none;
-moz-user-select: none;
font-size: 80%;
line-height: 150%;
}
#statusbar {
position: fixed;
bottom: 25px;
height: 0;
right: 0px;
font-size: 13px;
z-index: 11;
width: 99%;
text-shadow: 0px 0px 1px #ccc;
-webkit-user-select: none;
-moz-user-select: none;
}
#label_step:before {
content: "Step: ";
}
#label_fps:before {
content: "FPS: ";
}
#label_gen:before {
content: "Gen: ";
}
#label_pop:before {
content: "Pop: ";
}
#label_gen, #label_pop, #label_mou, #label_zoom, #label_step, #label_fps {
padding: 0px 1vw;
}
.button, .menu {
margin-top: 5px;
}
.button, .menu > div {
background-color: #ccc;
cursor: pointer;
padding: 0px 0.5vw;
margin-right: 1vw;
margin-bottom: 7px;
box-shadow: 2px 2px 3px #ccc;
-webkit-user-select: none;
-moz-user-select: none;
}
/*
.menu {
overflow: hidden;
height: 20px;
}
.menu:hover {
height: auto;
padding-bottom: 50px;
}
*/
#overlay {
background-color: #000;
position: absolute;
top: 50px;
padding: 20px 5px 50px;
font-size: 13px;
color: #ddd;
z-index: 10;
line-height: 1.4;
border-style: solid;
border-color: #444;
border-width: 2px 0px;
width: 100%;
}
@media (min-width: 850px) {
#overlay {
border-width: 2px;
border-radius: 15px;
left: 50%;
margin-left: -400px;
width: 700px;
padding: 50px;
}
}
@media (max-width: 800px) {
#label_mou {
display: none;
}
.button {
padding: 0px 4px;
}
.not_on_small_screen {
display: none;
}
}
#pattern_name {
cursor: pointer;
}
.button2 {
border: 1px solid #fff;
cursor: pointer;
padding: 5px 20px;
margin: 0px 20px;
}
.button2:hover {
background-color: #123;
}
#import_text {
background-color: #000;
border: 1px solid #fff;
display: block;
width: 100%;
height: 200px;
color: #fff;
}
#loading {
font-family: monospace;
text-align: center;
font-size: 36px;
}
input[type=number], input[type=text] {
border: 1px solid #fff;
color: #fff;
background-color: #000;
padding: 2px;
width: 110px;
text-align: center;
}
a, .link {
color: #ff0;
padding: 0px 1px;
cursor: pointer;
text-decoration: none;
}
a:hover, .link:hover {
text-decoration: underline;
}
#pattern_description {
white-space: pre-wrap;
}
#alert_text {
max-height: 300px;
overflow: auto;
}
canvas {
position: absolute;
}
#pattern_chooser > div {
height: 500px;
}
#pattern_chooser > div > div {
padding: 3px;
float: left;
width: 215px;
cursor: pointer;
}
#pattern_chooser > div > div:hover {
color: #000;
background-color: #ff0;
}
#pattern_chooser span.size {
color: #999;
font-size: 80%;
margin-left: 7px;
}
#pattern_list {
overflow-x: hidden;
}
br.clear {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
#overlay h2 {
margin-top: 0;
}
#pattern_file_container, #pattern_link_container, #pattern_urls {
overflow: hidden;
text-overflow: ellipsis;
}