feat(ui): New sidebar & search UI (#831)
This commit is contained in:
+23
-20
@@ -13,42 +13,45 @@
|
||||
}
|
||||
|
||||
.tabs-wrapper {
|
||||
border-radius: 0.75rem;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
}
|
||||
|
||||
.tabs-wrapper > p-tabs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.tabs-wrapper > p-tabs > p-tablist {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.dialog-mode {
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 0 0 0.75rem 0.75rem !important;
|
||||
border-width: 1px 0 0 !important;
|
||||
}
|
||||
|
||||
.tabpanels-responsive {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
::ng-deep .layout-main .tabpanels-responsive {
|
||||
height: calc(100dvh - 9.7rem);
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
::ng-deep .layout-main .tabpanels-responsive {
|
||||
height: calc(100dvh - 8.5rem);
|
||||
}
|
||||
}
|
||||
|
||||
::ng-deep .book-details-dialog .p-dialog-content,
|
||||
::ng-deep .book-details-dialog app-book-metadata-center,
|
||||
::ng-deep .book-details-dialog app-book-metadata-center > div,
|
||||
::ng-deep .book-details-dialog app-book-metadata-center p-tabs {
|
||||
:host-context(.book-details-dialog) {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
::ng-deep .book-details-dialog p-tablist {
|
||||
flex-shrink: 0;
|
||||
:host-context(.book-details-dialog) .book-metadata-center-container,
|
||||
:host-context(.book-details-dialog) p-tabs {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
::ng-deep .book-details-dialog .p-dialog-content {
|
||||
padding: 0;
|
||||
:host-context(.book-details-dialog) p-tablist {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
+8
-10
@@ -114,26 +114,25 @@
|
||||
|
||||
.main-container {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
height: calc(100dvh - 10.5rem);
|
||||
border-width: 1px;
|
||||
border-radius: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
padding: 1rem 0;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@media (width >= 768px) {
|
||||
height: calc(100dvh - 6.125rem);
|
||||
}
|
||||
}
|
||||
|
||||
.enclosing-container {
|
||||
border-color: var(--p-content-border-color);
|
||||
background: var(--p-content-background);
|
||||
}
|
||||
|
||||
.settings-header {
|
||||
margin-top: 0.75rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-title {
|
||||
@@ -257,7 +256,6 @@
|
||||
border: 1px solid rgb(128 128 128 / 20%);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
background: var(--ground-background);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user