2024-02-15 18:44:12 -08:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2024-01-26 18:38:41 -08:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
touch-action: none;
|
|
|
|
}
|
|
|
|
|
2024-02-15 18:44:12 -08:00
|
|
|
header#main-header {
|
2024-01-26 18:38:41 -08:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
box-sizing: border-box;
|
2024-06-18 18:22:32 -07:00
|
|
|
z-index: 40;
|
2024-02-15 18:44:12 -08:00
|
|
|
touch-action: none;
|
|
|
|
pointer-events: none;
|
2024-01-26 18:38:41 -08:00
|
|
|
|
|
|
|
.spacer {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2024-02-15 18:44:12 -08:00
|
|
|
|
|
|
|
.box {
|
|
|
|
padding: 10px;
|
|
|
|
touch-action: initial;
|
|
|
|
pointer-events: initial;
|
|
|
|
}
|
2024-01-26 18:38:41 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-card {
|
|
|
|
background-color: #444;
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 10px;
|
|
|
|
|
|
|
|
&--overview {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
line-height: 1;
|
|
|
|
|
|
|
|
span:first-of-type {
|
|
|
|
font-size: 130%;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
|
|
|
|
background-color: #aaa;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#cursor {
|
|
|
|
position: fixed;
|
|
|
|
top: 20px;
|
|
|
|
left: 10px;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
border: 2px solid #000;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
will-change: transform;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2024-06-18 17:37:18 -07:00
|
|
|
.toolbar-box {
|
2024-02-15 18:44:12 -08:00
|
|
|
position: absolute;
|
2024-06-18 17:37:18 -07:00
|
|
|
transform: translateY(-100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#canvas-meta {
|
2024-02-15 18:44:12 -08:00
|
|
|
top: -10px;
|
2024-04-27 21:44:04 -07:00
|
|
|
left: 10px;
|
2024-02-15 18:44:12 -08:00
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px;
|
2024-01-26 18:38:41 -08:00
|
|
|
|
|
|
|
display: flex;
|
2024-02-15 18:44:12 -08:00
|
|
|
flex-direction: column;
|
2024-01-26 18:38:41 -08:00
|
|
|
|
2024-02-15 18:44:12 -08:00
|
|
|
.canvas-meta--cursor-pos {
|
|
|
|
font-style: italic;
|
2024-01-26 18:38:41 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
z-index: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pixelate {
|
|
|
|
image-rendering: optimizeSpeed;
|
|
|
|
-ms-interpolation-mode: nearest-neighbor;
|
|
|
|
image-rendering: -webkit-optimize-contrast;
|
|
|
|
image-rendering: -webkit-crisp-edges;
|
|
|
|
image-rendering: -moz-crisp-edges;
|
|
|
|
image-rendering: -o-crisp-edges;
|
|
|
|
image-rendering: pixelated;
|
|
|
|
image-rendering: crisp-edges;
|
|
|
|
}
|
2024-02-15 18:44:12 -08:00
|
|
|
|
|
|
|
.btn-link {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-11 14:22:27 -07:00
|
|
|
.sidebar {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
z-index: 9998;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
min-width: 20rem;
|
|
|
|
max-width: 75vw;
|
|
|
|
|
2024-07-12 18:19:53 -07:00
|
|
|
box-shadow: 0 0 5rem rgba(0, 0, 0, 0.5);
|
|
|
|
overflow-y: auto;
|
|
|
|
|
2024-04-11 14:22:27 -07:00
|
|
|
&-right {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2024-06-11 15:33:29 -07:00
|
|
|
&-left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2024-04-11 14:22:27 -07:00
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
gap: 5px;
|
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 5px;
|
|
|
|
padding: 5px 1rem;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
input {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-27 21:44:04 -07:00
|
|
|
@import "./components/Toolbar/Palette.scss";
|
2024-06-18 17:37:18 -07:00
|
|
|
@import "./components/Templating/Template.scss";
|
2024-02-15 18:44:12 -08:00
|
|
|
@import "./board.scss";
|