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;
/* 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;
}
@keyframes connected-peers-slide {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0px);
}
}
animation: connected-peers-slide 0.5s;
border-bottom: 1px solid black;
padding: 4px 0;
}
#connected-peers li:last-child {
border-bottom-width: 0px;
}
.peer-status {
width: 15px;
height: 15px;
margin-left: 5px;
display: inline-block;
border-radius: 10px;
}
.peer-status.unsynced {
background-color: gray;
}
@keyframes peer-status-negotiating {
from {
background-color: gray;
}
50%,
to {
background-color: orange;
}
}
.peer-status.negotiating {
animation: peer-status-negotiating 0.5s step-end infinite;
background-color: orange;
}
.peer-status.synced {
background-color: green;
}
.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;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.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;
}
.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;
color: white;
}
.pen-body {
padding: 2px 16px;
}
@keyframes animatetop {
from {
top: -300px;
opacity: 0;
}
to {
top: 0;
opacity: 1;
}
}
#rectangle {
height: 20px;
width: 30px;
background-color: blue;
}
.palette-selector {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 500px;
height: 500px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
.wheelPiece {
opacity: 0.8;
}
.wheelPiece:hover {
opacity: 1;
}
.wheel-header {
padding: 2px 16px;
background-color: #2f2f2f;
color: white;
text-align: center;
}
display: flex;
align-items: center;
padding-left: 40%;
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
background-color: #3cbc8d;
color: white;
padding-top: 4px;
padding-bottom: 4px;
}
#other-colours {
background-color: #3cbc8d;
}
#colours {
background-color: blue;
height: 32px;
width: 64px;
border: 4px solid #555;
border-radius: 4px;
opacity: 0.5;
margin-left: 2%;
}
#colours:hover {
border: 4px solid #4f4f4f;
border-radius: 4px;
opacity: 1;
transition-duration: 0.4s;
}
#other-colours {
visibility: hidden;
}
@font-face {
font-family: "Martel";
font-style: normal;
font-weight: 400;
src: url("./assets/fonts/martel-v4-latin/martel-v4-latin-regular.eot");
src: local("Martel"), local("Martel-Regular"),
url("./assets/fonts/martel-v4-latin/martel-v4-latin-regular.eot?#iefix")
format("embedded-opentype"),
url("./assets/fonts/martel-v4-latin/martel-v4-latin-regular.woff2")
format("woff2"),
url("./assets/fonts/martel-v4-latin/martel-v4-latin-regular.woff")
format("woff"),
url("./assets/fonts/martel-v4-latin/martel-v4-latin-regular.ttf")
format("truetype"),
url("./assets/fonts/martel-v4-latin/martel-v4-latin-regular.svg#Martel")
format("svg");