2024-06-20 15:43:14 +02:00
|
|
|
.playground {
|
|
|
|
display: grid;
|
2024-06-20 20:11:00 +02:00
|
|
|
grid-template-columns: clamp(100px, 15%, 400px) 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;
|
|
|
|
overflow-y: auto;
|
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 {
|
|
|
|
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-06-22 14:36:30 +02:00
|
|
|
}
|