Newer
Older
Moritz Langenstein
committed
html,
body {
height: 100%;
}
Moritz Langenstein
committed
display: flex;
flex-direction: column;
Moritz Langenstein
committed
flex-grow: 1;
}
#tools-panel {
padding-top: 8px;
display: flex;
align-items: center;
#connected-room-info {
display: none;
color: white;
flex: 1;
text-align: right;
Moritz Langenstein
committed
background-color: gray !important;
.top-bar {
background-color: black;
width: 100%;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-peers {
background-color: #2f2f2f;
color: white;
font-size: 16px;
border: none;
cursor: pointer;
border-radius: 4px;
transition-duration: 0.4s;
}
.peers {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
.peers a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.peers a:hover {
background-color: #f1f1f1;
}
#connected-peers {
white-space: nowrap;
list-style: none;
padding: 0 0 4px 0;
margin: 0;
}
#connected-peers li {
border-bottom: 1px solid black;
padding: 4px 0;
}
#connected-peers li:last-child {
border-bottom-width: 0px;
}
.dropdown:hover .peers {
display: block;
}
.dropdown:hover .dropdown-peers {
background-color: #4f4f4f;
}
#room-id {
}
#room-connect {
background-color: #2f2f2f;
color: white;
border: none;
cursor: pointer;
border-radius: 4px;
}
#pen-tool {
background-color: #2f2f2f;
color: white;
padding: 10px;
font-size: 16px;
border: none;
cursor: pointer;
border-radius: 50%;
Moritz Langenstein
committed
margin-right: 8px;
Moritz Langenstein
committed
background-color: #4f4f4f !important;
transition-duration: 0.4s;
}
#eraser-tool {
background-color: #2f2f2f;
color: white;
padding: 10px;
font-size: 16px;
border: none;
cursor: pointer;
border-radius: 50%;
}
#eraser-tool:hover {
Moritz Langenstein
committed
background-color: #4f4f4f !important;
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
216
217
218
219
220
221
222
223
224
225
226
227
228
.properties {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px;
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0, 0, 0); /* Fallback color */
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
.pen-contents {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
animation-name: animatetop;
animation-duration: 0.4s;
font-family: "Martel", serif;
}
.close {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.pen-header {
padding: 2px 16px;
background-color: #5cb85c;
color: white;
}
.pen-body {
padding: 2px 16px;
}
@keyframes animatetop {
from {
top: -300px;
opacity: 0;
}
to {
top: 0;
opacity: 1;
}
}
.rectangle {
height: 50px;
width: 100px;
background-color: #555;
}