WIP: Rearrange code
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
.book-browser-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 8px 16px;
|
||||
background-color: var(--card-background);
|
||||
border-radius: 12px 12px 0 0;
|
||||
margin-bottom: 15px;
|
||||
align-items: center;
|
||||
|
||||
.left-items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.p {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.header-right-items {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.virtual-scroller-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.no-books-text {
|
||||
font-size: 1rem;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.no-books-container {
|
||||
padding-top: 3rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.virtual-scroller {
|
||||
width: 100%;
|
||||
height: calc(100vh - 11.5rem);
|
||||
padding: 1rem;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.virtual-scroller-item {
|
||||
height: 220px;
|
||||
width: 135px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
||||
gap: 1.3rem;
|
||||
overflow: hidden;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.empty-message {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.book-browser-footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 32%;
|
||||
right: 32%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 1.1rem;
|
||||
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1;
|
||||
border-radius: 10px 10px 0 0;
|
||||
}
|
||||
|
||||
.book-browser-footer::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.85);
|
||||
z-index: -1;
|
||||
border-radius: 10px 10px 0 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||
border-width: 1px 1px 0px 1px;
|
||||
}
|
||||
|
||||
.book-browser-footer > * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.book-browser-footer:hover::before {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.footer-items-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user