summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/sidebar/sidebar.css
blob: e4d0f61d65242c5b853472030984a1d3de39467e (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* Sidebar */

.sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 15rem;
  z-index: 8;
  padding-top: 2rem;
}

/* sidebar header */

.sidebar .buttons {
  position: absolute;
  top: 0;
  right: 0;
  width: 15rem;
  height: 2rem;
  z-index: 9;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  background: #111;
}
.sidebar .buttons button {
  border: 0;
  background: transparent;
  margin: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.sidebar .buttons button:hover {
  background: #333;
}
.sidebar .buttons button.active {
  background: #222;
}
.sidebar-content {
  background: #222;
  width: 15rem;
  padding: 0.5rem 0;
}

/* wavefile upload */

.sidebar-content.wave-upload {
  padding: 0.5rem 0.75rem 1.5rem 0.75rem;
}

.wave-upload .uploadButton {
  position: relative;
  text-align: center;
  margin: 1rem 0;
}
.wave-upload small {
  display: block;
  text-align: center;
}
.wave-upload .status {
  padding: 1rem 0 0 0;
  text-align: center;
}
.wave-upload .circular-loader {
  margin: 0 auto 1rem auto;
}
.wave-upload .status-message {
}
.wave-upload .status small {
  display: block;
  margin-top: 0.25rem;
}

/* table of contents */

.toc div {
  width: 15rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
}
.toc div:hover {
  background: #213;
}


/* script */

.sidebar textarea {
  height: calc(100vh - 5.15rem);
}