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.

256 lines
3.6 KiB

7 months ago
:root {
--white: #FFFFFF;
--button: #DDE4E7;
--hover: #B3BBBD;
--active: #8F9598;
/* --background: #7E888B; */
--background: #949C9E;
--black: #000000;
}
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: var(--background);
color: var(--black);
7 months ago
}
#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;
7 months ago
background-color: var(--button);
7 months ago
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: var(--button);
7 months ago
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
background-color: var(--button);
7 months ago
border: 1px solid;
border-radius: 2px;
7 months ago
cursor: pointer;
display: flex;
text-align: center;
justify-content: center;
}
.button:hover {
background-color: var(--hover);
}
.button.active, .button:active {
background-color: var(--active);
}
.bar-button {
position: relative;
flex-shrink: 0;
7 months ago
width: 30px;
height: 30px;
padding: 5px;
flex-direction: column;
}
.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
.key-hint {
7 months ago
display: block;
7 months ago
height: 13px;
width: 9px;
7 months ago
line-height: 8px;
position: absolute;
7 months ago
top: 2px;
left: 1px;
7 months ago
font-size: 1em;
justify-content: center;
text-align: center;
border-radius: 0 0 5px 0;
7 months ago
text-shadow:
1px 1px 0 #000,
-1px 1px 0 #000,
-1px -1px 0 #000,
1px -1px 0 #000;
7 months ago
color: var(--white);
7 months ago
pointer-events: none;
7 months ago
}
7 months ago
#layer-controllers {
7 months ago
background-color: var(--background);
7 months ago
border: 1px solid;
height: 100%;
}
.layer-controller {
7 months ago
background-color: var(--button);
height: 40px;
width: 90px;
7 months ago
border: 1px solid;
border-radius: 2px;
7 months ago
padding: 2px;
7 months ago
position: relative;
margin: 1px;
7 months ago
display: flex;
flex-direction: row;
gap: 2px;
align-items: center;
justify-content: space-between;
7 months ago
}
7 months ago
.layer-controller.active {
background-color: var(--active);
7 months ago
}
7 months ago
.layer-controller:hover {
background-color: var(--hover);
7 months ago
}
.layer-add-button {
7 months ago
background-color: var(--button);
7 months ago
height: 12px;
7 months ago
width: 100%;
7 months ago
border: 1px solid;
border-radius: 2px;
position: relative;
margin: 1px;
text-align: center;
7 months ago
font-size: .7em;
7 months ago
cursor: pointer;
}
.layer-add-button:hover {
7 months ago
background-color: var(--hover);
7 months ago
}
.top-left {
top: 0;
left: 0;
}
.bottom-right {
bottom: 0;
right: 0;
}
.top-right {
top: 0;
right: 0;
}
.bottom-left {
bottom: 0;
left: 0;
}
7 months ago
.layer-preview {
width: 30px;
height: 30px;
border: 1px solid;
object-fit: contain;
background-color: var(--background);
cursor: pointer;
}
.layer-move-buttons, .layer-merge-buttons {
font-size: .7em;
display: flex;
flex-direction: column;
gap: 2px;
flex-grow: 1;
height: 100%;
}
.layer-delete-button {
font-size: .7em;
flex-grow: 1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.layer-move-button, .layer-merge-button {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
}