summaryrefslogtreecommitdiff
path: root/assets/index.css
blob: 83f960225b06e8a6dd0878a408f0ccf91be76002 (plain) (blame)
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
@font-face {
    font-family: SourceSansPro;
    src: url("./fonts/SourceSansPro-Regular.otf") format("opentype");
}


html, body {
  background-color: #353b48;
  margin: 0;
  height: 100%;
  user-select: none;
}

#topbar {
  -ms-overflow-style: hidden;
  -webkit-app-region: drag;
  background-color: green;
  z-index: 99;
  box-shadow: 0px 0px 2px 1px rgb(0, 0, 0);
}

#topbar > span {
  font-family: SourceSansPro;
  line-height: 14pt;
  padding-top: 1pt;
  padding-left: 3pt;
  color: rgba(0, 0, 0, 0.75);
}


.topbar-btn-container {
  -webkit-app-region:no-drag;
  color:white;
  position: absolute;
  right: 0;
  height: 16pt;
  z-index: 128;
  top: 0;
}

.topbar-btn-container > button {
  background-color: rgba(0,0,0,0);
  border:none;
  height: 16pt;
  line-height: 16pt;
}

.topbar-btn-container > button:hover {
  background-color: rgba(0,0,0,0.27);
}
.topbar-btn-container > button:focus {
  background-color: rgba(0,0,0,0.27);
  outline: none;
}

/* TODO min and max with/height for sidebar and footer */
.outer_wrapper {
  display: grid;
  background-color: lightgreen;
  height: 100%;
  grid-template-rows: 16pt 1fr 42pt;
}
.inner_wrapper {
  display: grid;
  background-color: pink;
  grid-template-columns: 1fr 120pt;
}


.content {
  background-color: rgb(200,200,200);
}

.sidebar {
  background-color: #353b48;
  border-left: 1pt #353b48 solid;
  box-shadow: 0px 0px 4px 0px black;
  z-index: 3;
}

.footer {
  background-color: rgb(140,140,140);
  box-shadow: 0px 0px 2px 1px rgb(0, 0, 0);
  overflow: hidden;
  z-index: 4;
}

#play {
  border: 0.5pt darkred solid;
  height: 34pt;
  margin: 4pt 4pt;
  width: 190pt;
  font-size: x-large;
  font-family: SourceSansPro;
}

#play:focus {
  border-color: white;
  outline: none;
}

#play:hover {

}

#play:active {

}

.sidebarItem {
  border-top: 0.5pt hsla(215, 15%, 32%, 1) solid;
  user-select: none;
  cursor: pointer;
}

.sidebarItem > .title {
  /*outline: 1pt red dotted; */
  box-sizing: content-box;
  position: relative;
  height: 36pt;
  overflow: hidden;
  background: #2f3640;
  border-bottom: 0.5pt hsla(215, 15%, 18%, 1) solid;
}

.sidebarItem > .title > div  {
  font-family: SourceSansPro;
  position: absolute;
  left: 14pt;
  padding-left: 10pt;
  height: 35.5pt;
  line-height: 35.5pt;
  z-index: 20;
  /* outline: 1pt yellow dotted; */
  color: white;
  font-size: 13pt;
  width: 100%;
  background: linear-gradient(to right,rgba(0,0,0,0),#2f3640 25pt);
}

.sidebarItem > .title > div:hover {
  background: linear-gradient(to right,rgba(0,0,0,0),hsla(215, 15%, 24%, 1) 25pt);
}

.sidebarItem.selected > .title {
  background: hsla(215, 15%, 26%, 1);
}
.sidebarItem.selected > .title > div {
  background: linear-gradient(to right,rgba(0,0,0,0),hsla(215, 15%, 28%, 1) 25pt);
}

.sidebarItem.selected > .title {
  cursor: default;
}

.sidebarItem > .title > img {
  height: 34pt;
  width: 34pt;
  position: absolute;
  z-index: 5;
  /*outline: 1pt red dotted;*/
  margin: 1pt 0;
  pointer-events: none;
}

.sidebarItem > .colapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.sidebarItem.selected > .colapse {
  max-height: 500px;
  transition: max-height 0.25s ease-in;
}

.sidebarItem > .colapse > div {
  padding:4pt;
  color:grey;
  border-bottom: 0.5pt hsla(215, 15%, 20%, 1) solid;
}
.sidebarItem > .colapse > div.selected {
  cursor: default;
}
.sidebarItem > .colapse > div > svg {
  margin-right:4pt;
  color: magenta;
}

.sidebarItem > .colapse > div.selected > svg {
  margin-right:4pt;
  color: red;
}

#contentBackground {
  position: fixed;
  left: : -5%;
  top: -5%;
  min-width: 110%;
  min-height: 110%;
  z-index: 0;
  opacity: 1;
  background-color: #f5f6fa;
  transition: opacity 1s ease-out;
}

#contentBackground.hidden {
  opacity: 0;
}

#contentBackground > img {
  min-width: 100%;
  min-height: 100%;
  pointer-events: none;
}