Files
ui-essentials/projects/demo-ui-essentials/src/app/demos/modal-demo/modal-demo.component.scss
skyai_dev 2f56ee01b3 Rename shared-ui to ui-design-system
- More descriptive name for design system library
- Update all imports and configurations
- No functional changes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-03 21:54:12 +10:00

130 lines
3.1 KiB
SCSS

@use '../../../../../ui-design-system/src/styles/semantic/index' as *;
.demo-container {
padding: $semantic-spacing-layout-md;
max-width: 1200px;
margin: 0 auto;
}
.demo-section {
margin-bottom: $semantic-spacing-layout-xl;
h2 {
color: $semantic-color-on-surface;
font-size: $semantic-typography-heading-h2-size;
margin-bottom: $semantic-spacing-content-heading;
border-bottom: 1px solid $semantic-color-outline;
padding-bottom: $semantic-spacing-content-line-normal;
}
h3 {
color: $semantic-color-on-surface;
font-size: $semantic-typography-heading-h4-size;
margin-bottom: $semantic-spacing-component-lg;
}
}
.demo-row {
display: flex;
flex-wrap: wrap;
gap: $semantic-spacing-component-sm;
align-items: flex-start;
@media (max-width: 768px) {
flex-direction: column;
align-items: stretch;
}
}
.config-panel {
background: $semantic-color-surface-variant;
border: 1px solid $semantic-color-outline;
border-radius: $semantic-border-radius-md;
padding: $semantic-spacing-component-lg;
margin-top: $semantic-spacing-component-lg;
}
.config-row {
display: flex;
align-items: center;
gap: $semantic-spacing-component-md;
margin-bottom: $semantic-spacing-component-md;
flex-wrap: wrap;
&:last-child {
margin-bottom: 0;
margin-top: $semantic-spacing-component-lg;
justify-content: flex-start;
}
label {
font-size: $semantic-typography-font-size-sm;
color: $semantic-color-on-surface;
display: flex;
align-items: center;
gap: $semantic-spacing-component-xs;
white-space: nowrap;
&:first-child {
min-width: 80px;
font-weight: $semantic-typography-font-weight-medium;
}
}
select {
padding: $semantic-spacing-component-xs $semantic-spacing-component-sm;
border: 1px solid $semantic-color-outline;
border-radius: $semantic-border-radius-sm;
background: $semantic-color-surface-primary;
color: $semantic-color-on-surface;
font-size: $semantic-typography-font-size-sm;
min-width: 120px;
&:focus {
outline: 2px solid $semantic-color-primary;
outline-offset: 2px;
border-color: $semantic-color-primary;
}
}
input[type="checkbox"] {
accent-color: $semantic-color-primary;
transform: scale(1.1);
}
@media (max-width: 768px) {
flex-direction: column;
align-items: flex-start;
label:first-child {
min-width: auto;
}
}
}
.event-log {
background: $semantic-color-surface-primary;
border: 1px solid $semantic-color-outline;
border-radius: $semantic-border-radius-md;
padding: $semantic-spacing-component-md;
max-height: 300px;
overflow-y: auto;
margin-bottom: $semantic-spacing-component-md;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: $semantic-typography-font-size-sm;
}
.event-item {
padding: $semantic-spacing-component-xs 0;
border-bottom: 1px solid $semantic-color-outline-variant;
color: $semantic-color-on-surface-variant;
&:last-child {
border-bottom: none;
}
&:first-child {
color: $semantic-color-on-surface;
font-weight: $semantic-typography-font-weight-medium;
}
}