86 lines
1.6 KiB
SCSS
86 lines
1.6 KiB
SCSS
/*
|
|
* Small global utilities.
|
|
*
|
|
* Keep this file limited to generic helpers that are safe anywhere in the app.
|
|
* Prefer component styles for feature-specific layout or presentation.
|
|
*/
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.gradient-divider {
|
|
flex-shrink: 0;
|
|
height: 1px;
|
|
min-height: 1px;
|
|
margin: 0.25rem 0;
|
|
background: linear-gradient(90deg, transparent, var(--border-color), transparent);
|
|
}
|
|
|
|
.chart-info-icon {
|
|
color: rgb(255 255 255 / 35%);
|
|
font-size: 0.9rem;
|
|
cursor: help;
|
|
transition: color var(--transition-base);
|
|
|
|
&:hover {
|
|
color: rgb(255 255 255 / 80%);
|
|
}
|
|
}
|
|
|
|
.virtual-scroller {
|
|
.virtual-content {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.virtual-cell {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.virtual-cell > app-author-card,
|
|
.virtual-cell > app-book-card,
|
|
.virtual-cell > app-series-card {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.virtual-scroller-item {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.browser-grid-options {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.browser-grid-option-btn {
|
|
flex: 1;
|
|
padding: 0.25rem 0.5rem;
|
|
border: 1px solid var(--p-content-border-color);
|
|
border-radius: 6px;
|
|
background-color: var(--card-background);
|
|
color: var(--text-color);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
|
|
&:hover {
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
&.active {
|
|
background-color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
color: var(--primary-color-text);
|
|
}
|
|
}
|