You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

265 lines
3.7 KiB

7 months ago
@font-face {
font-family: 'VT323';
src: url('fonts/VT323-Regular.ttf') format('truetype');
}
div {
box-sizing: border-box;
}
body {
margin: 0;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100vh;
width: 100vw;
font-family: 'VT323', monospace;
7 months ago
background-color: darkgray;
}
#menu-bar,
#info-bar,
#tool-bar,
#layer-bar {
z-index: 2;
}
#menu-bar {
justify-content: space-between;
7 months ago
}
#menu-bar, #info-bar {
padding: 10px;
background-color: #ddd;
display: flex;
flex-direction: row;
gap: 10px;
justify-content: flex-start;
7 months ago
flex-wrap: wrap;
7 months ago
}
#menu-bar {
order: 1;
}
#info-bar {
order: 3;
}
#row {
display: flex;
flex-direction: row;
flex-grow: 1;
order: 2;
}
#tool-bar, #layer-bar {
display: flex;
padding: 10px;
padding-top: 0;
7 months ago
padding-bottom: 0;
7 months ago
background-color: #ddd;
gap: 10px;
height: 100%;
flex-direction: column;
justify-content: flex-start;
}
7 months ago
#studio {
7 months ago
flex-grow: 1;
height: 100%;
border: 1px solid;
cursor: crosshair;
}
7 months ago
#easel {
7 months ago
position: absolute;
border: 1px solid;
7 months ago
z-index: -1;
7 months ago
}
7 months ago
canvas {
position: absolute;
top: 0;
left: 0;
7 months ago
}
.button {
7 months ago
position: relative;
flex-shrink: 0;
7 months ago
background-color: #ddd;
border: 1px solid;
border-radius: 2px;
width: 30px;
height: 30px;
padding: 5px;
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
7 months ago
cursor: pointer;
7 months ago
}
.puck {
7 months ago
position: relative;
flex-shrink: 0;
7 months ago
width: 30px;
height: 30px;
border: 1px solid;
border-radius: 2px;
}
7 months ago
.select-handle {
position: absolute;
bottom: 0;
right: 0;
font-size: .5em;
background-color: black;
color: white;
padding: 3px 0 1px 4px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 10px 0 0 0;
border-left: 1px solid white;
border-top: 1px solid white;
cursor: pointer;
}
7 months ago
.delete-handle {
7 months ago
position: absolute;
top: 0;
right: 0;
7 months ago
font-size: .6em;
7 months ago
background-color: black;
color: white;
padding: 1px 0 3px 4px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 0 0 0 10px;
border-left: 1px solid white;
border-bottom: 1px solid white;
cursor: pointer;
}
7 months ago
.key-hint {
7 months ago
display: block;
7 months ago
height: 13px;
width: 9px;
7 months ago
line-height: 8px;
/* width: 12px; */
position: absolute;
7 months ago
top: 2px;
left: 1px;
7 months ago
font-size: 1em;
/* padding: 2px 2px 2px 2px; */
/* display: flex; */
/* align-items: center; */
justify-content: center;
text-align: center;
border-radius: 0 0 5px 0;
/* border-right: 1px solid; */
/* border-bottom: 1px solid; */
7 months ago
text-shadow:
1px 1px 0 #000,
-1px 1px 0 #000,
-1px -1px 0 #000,
1px -1px 0 #000;
color: white;
pointer-events: none;
7 months ago
}
7 months ago
7 months ago
.button.active, .button:active {
background-color: darkgray;
}
7 months ago
#layer-controllers {
background-color: darkgrey;
border: 1px solid;
height: 100%;
}
.layer-controller {
background-color: lightgray;
height: 30px;
width: 60px;
border: 1px solid;
border-radius: 2px;
padding: 5px;
position: relative;
margin: 1px;
}
.layer-controller > i {
color: darkgray;
cursor: pointer;
}
.layer-controller.active > i {
color: black;
}
.handle {
display: block;
font-size: 9px;
height: 11px;
width: 24px;
position: absolute;
justify-content: center;
text-align: center;
cursor: pointer;
border-radius: 2px;
border: 1px solid;
margin: 2px;
}
.layer-add-button {
background-color: lightgray;
height: 12px;
width: 60px;
border: 1px solid;
border-radius: 2px;
position: relative;
margin: 1px;
text-align: center;
font-size: 10px;
cursor: pointer;
}
.layer-add-button:hover {
background-color: darkgray;
}
.handle:hover {
background-color: darkgray;
}
.top-left {
top: 0;
left: 0;
}
.bottom-right {
bottom: 0;
right: 0;
}
.top-right {
top: 0;
right: 0;
}
.bottom-left {
bottom: 0;
left: 0;
}