- Stylelint: - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values - Validation: - `just ui stylelint`
109 lines
1.7 KiB
SCSS
109 lines
1.7 KiB
SCSS
@use '../../../../shared/styles/panel-shared' as panel;
|
|
|
|
.shelf-form {
|
|
width: 550px;
|
|
max-width: 550px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@media (max-width: 640px) {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.panel-header {
|
|
@include panel.panel-header;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.shelf-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding: 1.75rem;
|
|
background: var(--card-background);
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
|
|
min-height: 200px;
|
|
|
|
@media (max-width: 480px) {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
.shelf-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.shelf-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
|
|
@media (max-width: 480px) {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.label {
|
|
width: 7rem;
|
|
font-weight: 600;
|
|
font-size: 0.9375rem;
|
|
color: var(--text-color);
|
|
margin: 0;
|
|
|
|
@media (max-width: 480px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.input {
|
|
flex: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
.icon-section {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
@media (max-width: 480px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.icon-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 0.75rem;
|
|
background: var(--ground-background);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
|
|
.icon-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
background: var(--primary-color);
|
|
border-radius: 8px;
|
|
|
|
.icon {
|
|
font-size: 1.25rem;
|
|
color: var(--primary-contrast-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.dialog-footer {
|
|
@include panel.dialog-footer;
|
|
border-top: none;
|
|
}
|