blob: daca53bf01067e40eed68a47773dfd015cb4a3c0 (
plain)
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
|
:root {
--dark-red: #910e0e;
--dark-blue: #6d99c6;
--hover-selection: rgba(60, 179, 113, 0.85);
}
html {
font-family: Quicksand, avenir, sans-serif;
}
html, body {
width: 100vw;
height: 100vh;
overflow: auto;
padding: 0;
margin: 0;
}
#layers { padding-left: 20px;}
#layers .layer {
position: relative;
transition: transform .5s ease-out;
transform-origin: -20px -60px;
}
#layers .layer.prev { transform: translate(-200vw, 0); }
#layers .layer.next { transform: translate(0, -200vh); }
#actions {
position: absolute;
bottom: 5px;
right: 20px;
}
.chip-input {
font-family: avenir;
display: inline-block;
border: 1px solid gray;
border-radius: 4px;
cursor: text;
}
.chip-input input {
font-family: avenir;
display: inline;
border: none;
outline: none;
padding: 0;
margin: 0;
}
.chip-input .chip {
display: inline-block;
padding: 4px;
margin: 2px;
border-radius: 4px;
font-family: avenir;
background-color: #910e0e;
color: white;
}
.chip.selected {
background-color: #914e0e
}
#combo-editor {
position: relative;
z-index: 2;
}
#combo-editor label::before { display: inline-block; content: '▶︎'; transform: rotate(90deg); }
#combo-editor.closed label::before { transform: rotate(0deg); }
#combo-editor.closed table { display: none; }
.combo-selector {
background: rgba(255, 255, 255, 0.8);
}
.combo-selector .chip-input:not(.active) { border: none; }
.combo-selector .chip-input:not(.active) input { display: none; }
|