Files
dusk/tools/editor/styles/components/panel.css
T
2026-04-13 19:51:11 -05:00

80 lines
1.4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Component Tool panel (sidebar) */
.tool-panel {
width: 210px;
flex-shrink: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.panel-section {
padding: 0.875rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
border-bottom: 1px solid var(--border);
}
.panel-section:last-child {
border-bottom: none;
}
.control-row {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
}
.control-row label {
color: var(--text-muted);
min-width: 44px;
}
.tool-panel select {
width: 100%;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text);
padding: 0.25rem 0.4rem;
font-size: 0.875rem;
font-family: inherit;
transition: border-color var(--speed);
cursor: pointer;
}
.tool-panel select:focus {
outline: none;
border-color: var(--accent-dim);
}
.tool-panel input[type="checkbox"] {
accent-color: var(--accent);
cursor: pointer;
flex-shrink: 0;
}
.tool-panel input[type="number"] {
width: 52px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text);
padding: 0.25rem 0.4rem;
font-size: 0.875rem;
font-family: inherit;
transition: border-color var(--speed);
}
.tool-panel input[type="number"]:focus {
outline: none;
border-color: var(--accent-dim);
}
.unit {
color: var(--text-muted);
font-size: 0.875rem;
}