ui-nyla/src/pages/FeatureView.module.css
ValueOn AG d579df1c92
Some checks failed
Deploy Nyla Frontend to Integration / deploy (push) Failing after 52s
panel ui
2026-06-11 16:43:53 +02:00

96 lines
1.6 KiB
CSS

/**
* FeatureView Page Styles
*/
.featureView {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
min-width: 0;
overflow: hidden;
}
.viewHeader {
flex-shrink: 0;
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border-color, #e0e0e0);
background: var(--bg-primary, #ffffff);
}
.viewTitle {
margin: 0;
font-size: 1.25rem;
font-weight: 600;
color: var(--text-primary, #1a1a1a);
}
.viewContent {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
overflow: hidden;
}
/* Not Found */
.notFound,
.accessDenied {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 400px;
text-align: center;
padding: 2rem;
}
.notFound h2,
.accessDenied h2 {
margin: 0 0 0.5rem;
font-size: 1.25rem;
font-weight: 600;
}
.notFound p,
.accessDenied p {
margin: 0;
color: var(--text-secondary, #666);
}
.accessDenied h2 {
color: var(--error-color, #dc2626);
}
/* Dark Theme */
:global(.dark-theme) .viewHeader {
background: var(--surface-dark, #1a1a1a);
border-bottom-color: var(--border-dark, #333);
}
:global(.dark-theme) .viewTitle,
:global(.dark-theme) .notFound h2 {
color: var(--text-primary-dark, #ffffff);
}
:global(.dark-theme) .notFound p,
:global(.dark-theme) .accessDenied p {
color: var(--text-secondary-dark, #aaa);
}
@media (max-width: 1024px) {
.viewHeader {
padding: 0.875rem 1rem;
}
.viewContent {
padding: 1rem;
}
}
/* scrollMode: document — view grows with content, no internal scroll */
:global(html[data-scroll-mode="document"]) .featureView {
flex: 0 0 auto;
overflow: visible;
}