mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Compendium browser per type (#1103)
* Compendium Browser per type * Sort number column * Re-add subclass config * Sidebar buttons * Add Characters folder * Css * Done
This commit is contained in:
parent
1eb3ff11c0
commit
9dd773001d
17 changed files with 542 additions and 300 deletions
|
|
@ -23,4 +23,29 @@
|
|||
color: var(--color-form-hint-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.loader {
|
||||
position: relative;
|
||||
overflow: hidden !important;
|
||||
|
||||
div {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
&:before {
|
||||
font-family: "Font Awesome 6 Pro";
|
||||
content: '\f110';
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: spinner 1.5s linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spinner {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
}
|
||||
|
|
@ -71,6 +71,7 @@
|
|||
}
|
||||
|
||||
.compendium-results {
|
||||
position: relative;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
|
|
@ -101,10 +102,14 @@
|
|||
.folder-list,
|
||||
.item-list-header,
|
||||
.item-header > div {
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.item-list-header,
|
||||
.item-header > div {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.item-filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -228,7 +233,8 @@
|
|||
}
|
||||
|
||||
.item-list-header,
|
||||
.item-list {
|
||||
.item-list,
|
||||
.compendium-sidebar > .folder-list {
|
||||
overflow-y: auto;
|
||||
scrollbar-gutter: stable;
|
||||
scrollbar-width: thin;
|
||||
|
|
@ -286,6 +292,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
flex: 1;
|
||||
|
||||
.item-container {
|
||||
&:hover {
|
||||
|
|
@ -385,8 +392,12 @@
|
|||
margin: 0;
|
||||
|
||||
.title {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hint {
|
||||
flex: unset;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -398,7 +409,7 @@
|
|||
|
||||
&.lite,
|
||||
&.no-folder {
|
||||
.menu-path {
|
||||
.compendium-sidebar, .menu-path {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue