108 lines
2.0 KiB
SCSS
108 lines
2.0 KiB
SCSS
.dashboard-container {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.dashboard {
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100%;
|
|
padding: 0.9625rem 0.9625rem 0;
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
@media (width <= 768px) {
|
|
.dashboard {
|
|
padding: 0.4375rem 0.4375rem 0;
|
|
}
|
|
}
|
|
|
|
.loading-state {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.dashboard-inner {
|
|
width: 100%;
|
|
}
|
|
|
|
.welcome-description {
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 1.75rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
line-height: 1.625;
|
|
}
|
|
|
|
.dashboard .no-library-header {
|
|
font-size: 1.5313rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.75rem;
|
|
background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary), var(--color-primary));
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.dashboard-no-library {
|
|
padding: 2.625rem;
|
|
background: transparent;
|
|
border-radius: 24px;
|
|
border: 1px solid var(--color-border);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dashboard .p-dialog {
|
|
max-width: 90%;
|
|
}
|
|
|
|
::ng-deep .p-dialog-mask {
|
|
background-color: rgb(0 0 0 / 50%);
|
|
}
|
|
|
|
.dashboard-settings-button {
|
|
position: fixed;
|
|
top: 5.25rem;
|
|
right: 1.75rem;
|
|
z-index: 100;
|
|
|
|
::ng-deep .p-button {
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
|
|
background: transparent;
|
|
border: 1px solid var(--color-border);
|
|
|
|
&:hover {
|
|
background: color-mix(in srgb, var(--color-app) 70%, var(--color-page));
|
|
transform: scale(1.05);
|
|
transition: all 0.2s ease;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (width <= 768px) {
|
|
.dashboard-settings-button {
|
|
top: 4.375rem;
|
|
right: 0.875rem;
|
|
|
|
::ng-deep .p-button {
|
|
width: 2.1875rem;
|
|
height: 2.1875rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.scroller-placeholder {
|
|
height: 260px;
|
|
margin-bottom: 1.75rem;
|
|
}
|