-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.styl
341 lines (273 loc) · 5.29 KB
/
style.styl
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
*
box-sizing: border-box
html, body
height: 100%
body
font-family: Sans-Serif
font-size: 14px
line-height: 18px
margin: 0
overflow: hidden
input
max-width: 100%
label
display: block
margin: 1em 0
> h1
font-size: 1em
line-height: 20px
margin: 0 0 4px 0
> h2
display: inline-block
font-size: 1em
margin: 0 4px 0 0
> input[type="radio"]
margin-right: 4px
vertical-align: baseline
form
position: relative
> micro-controls
display: none
> button
font-size: 10px
margin-right: 4px
&:last-child
margin-right: 0
&.cancel
color: red
&::before
content: "❌"
&.accept
color: green
&::before
content: "✔️️"
&.changed
> micro-controls
display: block
position: absolute
top: 0
right: 0
tab-drawer
display: block
height: 100%
left: 100%
position: absolute
> *
background-color: white
border-left: 1px solid gray
height: 100%
left: 0
position: absolute
transition-property: left, z-index
transition-duration: 0.25s
width: 200px
z-index: 0
&.wide
width: 300px
> tab
background-color: white
border: 1px solid black
border-right: 0
border-bottom-left-radius: 4px
border-top-left-radius: 4px
cursor: pointer
display: block
font-size: 24px
font-weight: bold
height: 48px
line-height: 48px
padding: 0 0.5em
position: absolute
right: 100%
width: 150px
z-index: 0
&::before
content: "<\a0"
> *.show
left: -200px
z-index: 60
&.wide
left: -300px
> tab
&::before
content: ">\a0"
> *:first-child > tab
border-top: 0
border-top-left-radius: 0
for row in 1 2 3 4 5 6 7 8 9
> *:nth-child({row}) > tab
top: 47px * (row - 1)
chateau
display: flex
height: 100%
position: relative
> viewport
flex: 0 0 auto
height: 540px
margin: auto
position: relative
width: 960px
> word-area
display: block
height: 100%
left: 0
pointer-events: none
position: absolute
top: 0
width: 100%
> words
border: 1px solid black
border-radius: 4px
background-color: white
padding: 0.5em
position: absolute
display: inline-block
> actions
position: absolute
bottom: 0
left: 0
> form
display: inline-block
margin-right: 1em
avatar-control
display: block
> avatars
display: block
height: 100%
overflow: auto
padding: 1em
> avatar
display: block
margin-bottom: 1em
&:hover
background-color: lightyellow
> img
max-width: 100%
prop-control
display: block
> props
display: block
height: 100%
overflow: auto
padding: 1em
> prop
display: block
margin-bottom: 1em
&:hover
background-color: lightyellow
> img
max-width: 100%
room-control
padding: 1em
> actions
display: block
margin-bottom: 1em
> rooms
display: block
> room
display: flex
margin-bottom: 1em
width: 200px
> img
border: 1px solid gray
width: 82px
height: 47px
flex: 0 0 auto
> div.details
flex: 1 1 auto
margin: auto
padding-left: 1em
sound-control
display: block
padding: 1em
> h2
margin-top: 0
account-control
display: block
padding: 1em
padding-top: 0
friends-control
display: block
> friends
display: block
height: 100%
overflow: auto
padding: 1em
> friend
border-bottom: 1px solid gray
display: flex
margin-bottom: 0.5em
position: relative
> img.profile
border: 2px solid gray
border-radius: 16px
flex: 0 0 auto
height: 32px
margin: 0 0.5em 0.5em 0
width: 32px
> online-status
background-color: white
border: 1px solid gray
border-radius: 6px
height: 12px
left: 20px
position: absolute
top: 20px
width: 12px
&.online > online-status
background-color: green
border: none
> info
flex: 1 1 auto
> .status-message
color: gray
> time.last-seen
color: gray
position: absolute
right: 0
top: 0
log-control
display: block
> logs
display: block
height: 100%
overflow: auto
padding: 1em
> log
display: block
scene
display: block
height: 540px
position: relative
width: 960px
> img.object
position: absolute
transition-duration: 0.25s
transition-property: transform
&.dragging
transition-duration: 0s
form#login
display: block
padding: 2em
> p
max-width: 460px
> img.splash
margin-top: 1em
max-width: 460px
#feedback
background-color: rgb(103, 58, 183)
border: 2px solid white
border-top: 0
box-shadow: 1px 2px 5px black
color: white
font-weight: bold
padding: 4px 0.5em
position: absolute
right: 200px
text-decoration: none
text-shadow: 1px 1px black
top: 0
transition-property: padding-top
transition-duration: 0.25s
&:hover
padding-top: 1em