summaryrefslogtreecommitdiff
path: root/frontend/views/graph/graph.css
blob: 73ac10398b9882bf930df48d380d6855f1a6b011 (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
.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 */

.box {
  width: 15rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  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.25rem 0;
}
.box form label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}
.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 .text.description span:first-child {
  display: none;
}

/* 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;
}