Files
grimmory/frontend/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.scss
T
James Cox 34fc60050f style(frontend): apply the first stylelint autofix pass
- SCSS autofixes:
  - apply Stylelint's automatic fixes across the frontend stylesheet set without touching TypeScript or Angular templates
  - normalize zero values, shorthand properties, selector casing, and similar mechanical stylesheet rewrites
  - keep this pass limited to autofix output so the remaining manual stylelint findings stay isolated for later review
- Cleanup scope:
  - update component SCSS and shared layout styles only where Stylelint could rewrite them mechanically
  - leave the unresolved manual stylelint findings in place for a smaller follow-up pass

- Validation:
  - `just ui stylelint-fix` reduced the remaining stylelint count from 140 to 62 before stopping on non-fixable issues
2026-04-22 17:26:40 -04:00

130 lines
2.3 KiB
SCSS

.dashboard-container {
height: calc(100dvh - 6.7rem);
overflow-y: auto;
position: relative;
&::before {
content: '';
position: fixed;
inset: 0 0 0 0;
pointer-events: none;
z-index: 0;
}
&::-webkit-scrollbar {
width: 12px;
}
&::-webkit-scrollbar-track {
background: rgba(20, 20, 30, 0.5);
border-radius: 10px;
}
scrollbar-width: thin;
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 0.5);
}
@media (max-width: 768px) {
.dashboard-container {
height: calc(100dvh - 5rem);
&::-webkit-scrollbar {
width: 8px;
}
}
}
.dashboard {
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
z-index: 1;
}
.loading-state {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.dashboard-inner {
width: 100%;
}
.welcome-description {
color: #d1d5db;
margin-bottom: 2rem;
margin-left: auto;
margin-right: auto;
line-height: 1.625;
}
.dashboard .no-library-header {
font-size: 1.75rem;
font-weight: 700;
margin-bottom: 2rem;
background: linear-gradient(135deg, #ffffff, #e2e8f0, var(--p-primary-500));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
letter-spacing: -0.02em;
}
.dashboard-no-library {
padding: 3rem;
background: var(--p-surface-900);
border-radius: 24px;
border: 1px solid var(--p-content-border-color);
backdrop-filter: blur(20px);
position: relative;
overflow: hidden;
}
.dashboard .p-dialog {
max-width: 90%;
}
::ng-deep .p-dialog-mask {
background-color: rgba(0, 0, 0, 0.5);
}
::ng-deep .p-dialog-mask {
backdrop-filter: blur(3px);
}
.dashboard-settings-button {
position: fixed;
top: 6rem;
right: 2rem;
z-index: 100;
::ng-deep .p-button {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
background: rgba(var(--p-surface-900-rgb), 0.8);
border: 1px solid var(--p-content-border-color);
&:hover {
background: rgba(var(--p-surface-800-rgb), 0.9);
transform: scale(1.05);
transition: all 0.2s ease;
}
}
}
@media (max-width: 768px) {
.dashboard-settings-button {
top: 5rem;
right: 1rem;
::ng-deep .p-button {
width: 2.5rem;
height: 2.5rem;
}
}
}