2024-06-20 15:43:14 +02:00
|
|
|
.playground {
|
|
|
|
display: grid;
|
2024-08-15 21:41:29 +02:00
|
|
|
grid-template-columns: clamp(200px, 15%, 500px) auto;
|
2024-06-20 15:43:14 +02:00
|
|
|
grid-template-areas:
|
|
|
|
"header header"
|
|
|
|
"files editor";
|
|
|
|
|
|
|
|
> header {
|
|
|
|
grid-area: header;
|
|
|
|
}
|
|
|
|
> .file-view {
|
|
|
|
grid-area: files;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-20 20:40:59 +02:00
|
|
|
margin-right: 0.5cm;
|
2024-06-22 14:36:30 +02:00
|
|
|
overflow-x: hidden;
|
2024-08-15 21:41:29 +02:00
|
|
|
overflow-y: hidden;
|
|
|
|
max-height: 70vh;
|
2024-06-20 20:40:59 +02:00
|
|
|
|
2024-06-23 21:22:03 +02:00
|
|
|
> h3 {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2024-06-20 20:40:59 +02:00
|
|
|
.entries {
|
2024-08-15 21:41:29 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
2024-06-20 20:40:59 +02:00
|
|
|
button {
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
|
2024-06-22 14:36:30 +02:00
|
|
|
&:hover {
|
2024-06-23 20:28:12 +02:00
|
|
|
background-color: var(--sl-color-gray-5);
|
2024-06-22 14:36:30 +02:00
|
|
|
}
|
|
|
|
|
2024-06-23 20:28:12 +02:00
|
|
|
&.selected {
|
2024-06-20 20:40:59 +02:00
|
|
|
color: var(--sl-color-text);
|
2024-06-23 20:28:12 +02:00
|
|
|
background-color: var(--sl-color-gray-6);
|
2024-06-20 20:40:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-06-20 15:43:14 +02:00
|
|
|
}
|
|
|
|
> .editor {
|
|
|
|
grid-area: editor;
|
2024-08-15 21:41:29 +02:00
|
|
|
|
|
|
|
.monaco-editor {
|
|
|
|
padding-block: 10px;
|
|
|
|
}
|
2024-06-20 15:43:14 +02:00
|
|
|
}
|
2024-08-15 21:06:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.error-terminal-display {
|
|
|
|
background-color: black;
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 15px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
line-height: 0.8em;
|
|
|
|
|
|
|
|
--red: #ff0000;
|
|
|
|
--cyan: #00d6d6;
|
2024-08-15 21:41:29 +02:00
|
|
|
|
2024-08-15 21:06:36 +02:00
|
|
|
code {
|
|
|
|
white-space: break-spaces;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[data-theme="light"] {
|
|
|
|
.error-terminal-display {
|
|
|
|
background-color: lightgray;
|
2024-08-15 21:41:29 +02:00
|
|
|
|
2024-08-15 21:06:36 +02:00
|
|
|
--red: #ff3f3f;
|
|
|
|
--cyan: #00a6a6;
|
|
|
|
--black: lightgray;
|
|
|
|
--white: #4f4f4f;
|
|
|
|
}
|
|
|
|
}
|