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
|
.graph.loading {
padding: 1rem;
}
.graph {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
background: linear-gradient(
-45deg,
rgba(0, 0, 64, 0.2),
rgba(128, 0, 64, 0.2)
);
}
/* Sidebar boxes */
.sidebar {
position: absolute;
top: 0;
right: 0;
padding: 1rem;
overflow: auto;
max-height: 100%;
z-index: 2000;
}
.box {
width: 15rem;
padding: 0.5rem;
background: rgba(64,12,64,0.9);
border: 2px solid #000;
box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.box h1,
.box h2 {
font-size: 1rem;
margin: 0 0 0.5rem 0;
}
.box form label {
display: flex;
flex-direction: column;
align-items: flex-start;
margin-bottom: 0.25rem;
}
.box form label.checkbox {
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
.box form input[type="checkbox"] {
margin-left: 0rem;
}
.box form input[type=checkbox] + span {
color: #ddd;
}
.box form input[type=checkbox]:hover + span {
color: #fff;
}
.box form input[type="checkbox"]:after {
border-color: #84f;
}
.box form input[type="checkbox"]:checked:after {
border-color: #84f;
background-color: #84f;
}
.box form input[type=checkbox]:hover + span {
color: #84f;
}
.box input[type=text],
.box input[type=number],
.box input[type=password] {
padding: 0.25rem;
max-width: 100%;
border-color: #888;
}
.box textarea {
max-width: 100%;
height: 5rem;
border-color: #888;
}
.box .select {
padding: 0.25rem;
margin-right: 0;
}
.box .selects label {
flex-direction: row;
width: 6.5rem;
margin-right: 0.5rem;
min-width: auto;
}
.box form textarea {
padding: 0.25rem;
}
.box form .pair label span {
min-width: 3rem;
padding: 0.25rem 0;
}
.box .pair label {
flex-direction: row;
width: 6rem;
margin-right: 1rem;
min-width: auto;
}
.box .pair input[type=text] {
width: 3rem;
}
.box .position {
font-size: smaller;
margin-bottom: 0.25rem;
}
/* Graph handles */
.handle {
position: absolute;
border: 2px solid #888;
background: #8833dd;
padding: 0.25rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 8rem;
user-select: none;
cursor: arrow;
}
.handle a {
margin-left: 0.25rem;
color: #fff;
font-weight: bold;
text-decoration: none;
}
|