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

69 lines
717 B
SCSS

*, *::before, *::after {
box-sizing: border-box;
}
:root {
font-family: sans-serif;
font-size: 16pt;
}
// Browser Elements
input, button, select {
font-family: inherit;
font-size: inherit;
}
input {
width: 100%;
&[type="checkbox"] {
width: unset;
}
}
// Page Layout
body {
margin: 0;
padding: 0;
}
// Components
nav {
padding: 1em;
display: flex;
flex-direction: row;
gap: 1em;
}
main {
padding: 1em;
}
.schema-editor {
display: flex;
flex-direction: column;
gap: 1em;
.name {
font-size: 2em;
}
}
.validated {
.error-message {
color: red;
visibility: hidden;
}
&.error {
.error-message {
visibility: visible;
}
input {
box-shadow: 0px 0px 2px 3px red;
}
}
}