Files
grimmory/frontend/src/app/features/library-creator/library-loading/library-loading.component.scss
T
James Cox 1a6588432c style(frontend): enforce declaration-property-value-keyword-no-deprecated
- Stylelint:
  - re-enable `declaration-property-value-keyword-no-deprecated` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - replace deprecated `word-break: break-word` usage with `overflow-wrap: anywhere` in the affected frontend stylesheets
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:45 -04:00

153 lines
2.6 KiB
SCSS

.fullscreen-loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgb(0 0 0 / 85%);
backdrop-filter: blur(8px);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.library-loader-content {
background: var(--card-background);
padding: 2.5rem;
border-radius: 12px;
width: 550px;
max-width: 90vw;
box-sizing: border-box;
border: 1px solid var(--border-color);
}
.library-loader-header {
text-align: center;
i {
font-size: 3rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
h2 {
margin: 0 0 0.5rem;
color: var(--text-color);
font-size: 1.5rem;
}
}
.library-loader-body {
.book-title {
color: var(--text-color-secondary);
margin-bottom: 1.5rem;
margin-top: 2.5rem;
font-size: 0.95rem;
overflow-wrap: anywhere;
overflow-wrap: break-word;
line-height: 1.4;
display: flex;
align-items: flex-start;
strong {
color: var(--text-color);
}
.complete-message {
color: var(--primary-color);
font-size: 1.1rem;
i {
margin-right: 0.5rem;
}
}
}
.progress-info {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
color: var(--text-color-secondary);
font-size: 0.9rem;
}
.progress-bar-container {
width: 100%;
height: 8px;
background: var(--card-background);
border-radius: 4px;
overflow: hidden;
.progress-bar-fill {
height: 100%;
background: var(--primary-color);
transition: width 0.3s ease;
}
}
.loader-animation {
margin-top: 1.5rem;
display: flex;
justify-content: center;
gap: 0.5rem;
.dot {
width: 8px;
height: 8px;
background: var(--primary-color);
border-radius: 50%;
animation: bounce 1.4s infinite ease-in-out both;
&:nth-child(2) {
animation-delay: 0.2s;
}
&:nth-child(3) {
animation-delay: 0.4s;
}
}
}
}
.library-loader-footer {
margin-top: 3rem;
text-align: center;
.reload-button {
padding: 0.75rem 1.25rem;
background: var(--primary-color);
color: white;
border: none;
border-radius: 6px;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 700;
i {
margin-right: 0.5rem;
}
&:hover {
background: var(--primary-hover-color);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}
&:active {
transform: translateY(0);
}
}
}
@keyframes bounce {
0%, 80%, 100% {
transform: scale(0);
}
40% {
transform: scale(1);
}
}