Files
ui-essentials/projects/demo-ui-essentials/src/app/demos/snackbar-demo/snackbar-demo.component.scss
skyai_dev 2bbbf1b9f1 Add comprehensive UI component expansion
- Add new components: enhanced-table, fab-menu, icon-button, snackbar, select, tag-input, bottom-navigation, stepper, command-palette, floating-toolbar, transfer-list
- Refactor table-actions and select components
- Update component styles and exports
- Add corresponding demo components

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

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

90 lines
2.5 KiB
SCSS

@use '../../../../../shared-ui/src/styles/semantic/index' as *;
.demo-container {
padding: $semantic-spacing-layout-section-md;
max-width: 1200px;
margin: 0 auto;
}
.demo-section {
margin-bottom: $semantic-spacing-layout-section-lg;
h3 {
font-family: map-get($semantic-typography-heading-h3, font-family);
font-size: map-get($semantic-typography-heading-h3, font-size);
font-weight: map-get($semantic-typography-heading-h3, font-weight);
line-height: map-get($semantic-typography-heading-h3, line-height);
color: $semantic-color-text-primary;
margin-bottom: $semantic-spacing-content-heading;
}
}
.demo-row {
display: flex;
align-items: center;
gap: $semantic-spacing-component-md;
flex-wrap: wrap;
}
.demo-button {
padding: $semantic-spacing-interactive-button-padding-y $semantic-spacing-interactive-button-padding-x;
background: $semantic-color-surface-primary;
border: $semantic-border-width-1 solid $semantic-color-border-primary;
border-radius: $semantic-border-button-radius;
cursor: pointer;
transition: all $semantic-motion-duration-fast $semantic-motion-easing-ease;
font-family: map-get($semantic-typography-button-medium, font-family);
font-size: map-get($semantic-typography-button-medium, font-size);
font-weight: map-get($semantic-typography-button-medium, font-weight);
line-height: map-get($semantic-typography-button-medium, line-height);
color: $semantic-color-text-primary;
&:hover {
background: $semantic-color-surface-secondary;
box-shadow: $semantic-shadow-button-hover;
}
&:focus-visible {
outline: 2px solid $semantic-color-focus;
outline-offset: 2px;
}
&--primary {
background: $semantic-color-primary;
color: $semantic-color-on-primary;
border-color: $semantic-color-primary;
&:hover {
background: $semantic-color-primary;
opacity: $semantic-opacity-hover;
}
}
&--warning {
background: $semantic-color-warning;
color: $semantic-color-on-warning;
border-color: $semantic-color-warning;
&:hover {
background: $semantic-color-warning;
opacity: $semantic-opacity-hover;
}
}
&--danger {
background: $semantic-color-danger;
color: $semantic-color-on-danger;
border-color: $semantic-color-danger;
&:hover {
background: $semantic-color-danger;
opacity: $semantic-opacity-hover;
}
}
}
// Static snackbars for demo purposes
.demo-row ui-snackbar {
margin-bottom: $semantic-spacing-component-sm;
}