69 lines
1.1 KiB
SCSS
69 lines
1.1 KiB
SCSS
@use 'sass:color';
|
|
@use 'colors';
|
|
|
|
html {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
* {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
select {
|
|
background: var(--background-lighter);
|
|
color: var(--foreground);
|
|
font-family: var(--default-font);
|
|
|
|
border: 1px solid var(--foreground-lighter);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.spinner {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.button {
|
|
border: 1px solid var(--foreground);
|
|
border-radius: 4px;
|
|
|
|
background: var(--background-lighter);
|
|
color: var(--foreground);
|
|
|
|
padding: 0.25em 1em;
|
|
line-height: 1;
|
|
|
|
display: block;
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
input {
|
|
display: none;
|
|
}
|
|
|
|
&.disabled,
|
|
&:disabled {
|
|
pointer-events: none;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
padding: 0.5em;
|
|
}
|
|
}
|
|
|
|
.mark-entity::first-letter,
|
|
.mark-entity *::first-letter {
|
|
color: color.scale(color.mix(colors.$base1, colors.$red), $saturation: -33%);
|
|
}
|
|
|
|
.mark-attribute::first-letter,
|
|
.mark-attribute *::first-letter {
|
|
color: color.mix(colors.$base1, colors.$green);
|
|
}
|
|
|
|
.mark-value::first-letter,
|
|
.mark-value *::first-letter {
|
|
color: color.mix(colors.$base1, colors.$blue);
|
|
}
|