108 lines
1.5 KiB
SCSS
108 lines
1.5 KiB
SCSS
@use '../basic';
|
|
@use 'json-editor';
|
|
|
|
button {
|
|
font-size: 13px;
|
|
}
|
|
|
|
#main {
|
|
display: grid;
|
|
grid-template-columns: 150px 1fr 1fr;
|
|
grid-template-rows: 100vh;
|
|
|
|
> .column {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sidebar {
|
|
padding: 0 var(--gap2) 0 var(--gap);
|
|
}
|
|
.middle {
|
|
padding-right: var(--gap2);
|
|
margin-left: var(--sidebar-width);
|
|
}
|
|
.right {
|
|
border-left: 1px solid var(--grey-2);
|
|
}
|
|
}
|
|
.editor-container {
|
|
[data-schemapath]:target {
|
|
animation: bgFade 1s forwards;
|
|
}
|
|
}
|
|
|
|
.logo {
|
|
padding: var(--gap2) 0;
|
|
margin-bottom: var(--gap2);
|
|
border-bottom: 1px solid var(--grey-2);
|
|
}
|
|
|
|
.editor-toc {
|
|
padding-left: 5px;
|
|
padding-bottom: var(--gap2);
|
|
margin-bottom: var(--gap2);
|
|
border-bottom: 1px solid var(--grey-2);
|
|
font-size: 15px;
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0 0 0 12px;
|
|
|
|
li {
|
|
margin: 5px 0;
|
|
|
|
ul {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.app-actions {
|
|
button {
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.output-html {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.output-json {
|
|
padding: var(--gap);
|
|
}
|
|
|
|
.code-block {
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
dialog {
|
|
width: min(400px, 80%);
|
|
}
|
|
|
|
|
|
@keyframes bgFade {
|
|
0% {
|
|
background-color: #FFF3BF;
|
|
}
|
|
50% {
|
|
background-color: #FFF9DB;
|
|
}
|
|
100% {
|
|
background-color: transparent;
|
|
}
|
|
}
|