2024-10-06 22:30:53 +00:00
|
|
|
.ShadowControl {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 10em 1fr 1fr;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-template-areas: "selector preview tweak";
|
|
|
|
grid-gap: 0.5em;
|
2024-09-12 12:47:48 +00:00
|
|
|
justify-content: stretch;
|
|
|
|
|
2024-10-06 22:30:53 +00:00
|
|
|
&.-compact {
|
2024-10-06 23:16:24 +00:00
|
|
|
grid-template-columns: 10em 1fr;
|
|
|
|
grid-template-rows: auto auto;
|
2024-10-06 22:30:53 +00:00
|
|
|
grid-template-areas:
|
2024-10-06 23:16:24 +00:00
|
|
|
"selector preview"
|
|
|
|
"tweak tweak";
|
2024-10-06 22:30:53 +00:00
|
|
|
|
|
|
|
&.-no-preview {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: 10em 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
"selector"
|
|
|
|
"tweak";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-12 12:47:48 +00:00
|
|
|
.shadow-switcher {
|
2024-10-06 22:30:53 +00:00
|
|
|
grid-area: selector;
|
2024-09-12 12:47:48 +00:00
|
|
|
order: 1;
|
|
|
|
flex: 1 0 6em;
|
|
|
|
min-width: 6em;
|
|
|
|
margin-right: 0.125em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.shadow-list {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.shadow-tweak {
|
2024-10-06 22:30:53 +00:00
|
|
|
grid-area: tweak;
|
2024-09-12 12:47:48 +00:00
|
|
|
order: 3;
|
|
|
|
flex: 2 0 10em;
|
|
|
|
min-width: 10em;
|
|
|
|
margin-left: 0.125em;
|
|
|
|
margin-right: 0.125em;
|
2024-10-03 21:27:53 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
grid-gap: 0.25em;
|
2024-09-12 12:47:48 +00:00
|
|
|
|
|
|
|
/* hack */
|
|
|
|
.input-boolean {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-string {
|
|
|
|
flex: 1 0 5em;
|
|
|
|
}
|
|
|
|
|
2024-10-03 21:27:53 +00:00
|
|
|
.shadow-expression {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2024-09-12 12:47:48 +00:00
|
|
|
.id-control {
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
.shadow-switcher,
|
|
|
|
.btn {
|
|
|
|
min-width: 1px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 0 0.4em;
|
|
|
|
margin: 0 0.1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-25 14:56:34 +00:00
|
|
|
&.-no-preview {
|
2024-10-06 22:30:53 +00:00
|
|
|
grid-template-columns: 10em 1fr;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-template-areas: "selector tweak";
|
|
|
|
|
2024-09-25 14:56:34 +00:00
|
|
|
.shadow-tweak {
|
|
|
|
order: 0;
|
2024-09-28 17:33:30 +00:00
|
|
|
flex: 2 0 8em;
|
2024-09-25 14:56:34 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
2024-09-28 17:33:30 +00:00
|
|
|
|
|
|
|
.input-range {
|
|
|
|
min-width: 5em;
|
|
|
|
}
|
2024-09-25 14:56:34 +00:00
|
|
|
}
|
|
|
|
|
2024-09-12 16:31:19 +00:00
|
|
|
.inset-alert {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
.inset-alert {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-12 12:47:48 +00:00
|
|
|
.shadow-preview {
|
2024-10-06 22:30:53 +00:00
|
|
|
grid-area: preview;
|
2024-10-08 19:13:15 +00:00
|
|
|
min-width: 25em;
|
2024-09-12 12:47:48 +00:00
|
|
|
margin-left: 0.125em;
|
|
|
|
align-self: start;
|
2024-10-06 23:16:24 +00:00
|
|
|
justify-self: center;
|
2024-09-12 12:47:48 +00:00
|
|
|
}
|
|
|
|
}
|
2024-09-12 16:31:19 +00:00
|
|
|
|
|
|
|
.inset-tooltip {
|
|
|
|
max-width: 30em;
|
|
|
|
}
|