mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Merged main
This commit is contained in:
commit
b87e630a0a
84 changed files with 2046 additions and 452 deletions
|
|
@ -450,6 +450,10 @@
|
|||
|
||||
.target-data {
|
||||
flex: 1;
|
||||
|
||||
.target-name {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.target-save {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@
|
|||
@import './settings/settings.less';
|
||||
@import './settings/homebrew-settings/domains.less';
|
||||
@import './settings/homebrew-settings/types.less';
|
||||
@import './settings/homebrew-settings/resources.less';
|
||||
@import './settings/appearance-settings/diceSoNice.less';
|
||||
|
||||
@import './sidebar/tabs.less';
|
||||
@import './sidebar/daggerheartMenu.less';
|
||||
|
|
|
|||
|
|
@ -304,7 +304,15 @@
|
|||
padding: 0 0 0 50px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
|
||||
.item-description-outer-container:has(div, p) {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
/* Some items don't include an outer container, so we attempt a catch-all */
|
||||
> *:last-child {
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: var(--font-size-32);
|
||||
|
|
@ -350,6 +358,7 @@
|
|||
.filter-content,
|
||||
.item-desc {
|
||||
display: grid;
|
||||
opacity: 0;
|
||||
grid-template-rows: 0fr;
|
||||
transition: all 0.3s ease-in-out;
|
||||
width: 100%;
|
||||
|
|
@ -378,8 +387,8 @@
|
|||
}
|
||||
|
||||
.expanded + .extensible {
|
||||
opacity: 1;
|
||||
grid-template-rows: 1fr;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.welcome-message {
|
||||
|
|
|
|||
72
styles/less/ui/settings/appearance-settings/diceSoNice.less
Normal file
72
styles/less/ui/settings/appearance-settings/diceSoNice.less
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
.daggerheart.dh-style.setting.appearance-settings {
|
||||
.tab.active[data-tab='diceSoNice'] {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.diceSoNice-footer {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 8px;
|
||||
margin-top: 32px;
|
||||
|
||||
label {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
select {
|
||||
grid-column: span 2;
|
||||
}
|
||||
}
|
||||
|
||||
.title-hint {
|
||||
font-size: var(--font-size-14);
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.split-section {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
|
||||
> label {
|
||||
grid-column: span 2;
|
||||
text-align: center;
|
||||
font-size: var(--font-size-18);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.field-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
margin-bottom: 4px;
|
||||
width: 100%;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.label-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
|
||||
&.full-width {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
|
||||
select {
|
||||
grid-column: span 3;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
87
styles/less/ui/settings/homebrew-settings/resources.less
Normal file
87
styles/less/ui/settings/homebrew-settings/resources.less
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
.daggerheart.dh-style.setting.homebrew-settings .resources.tab {
|
||||
.resource-types-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
overflow: auto;
|
||||
max-height: 570px;
|
||||
|
||||
fieldset legend {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.resource-type-container {
|
||||
width: 100%;
|
||||
|
||||
.resources-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.resource-container {
|
||||
.resource-icons-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
|
||||
.resource-icon-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
flex: 1;
|
||||
|
||||
.resource-icon-title-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
color: @dark-blue;
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
&::before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, @golden 100%);
|
||||
}
|
||||
|
||||
&::after {
|
||||
background: linear-gradient(90deg, @golden 0%, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
|
||||
.resource-icon-title {
|
||||
font-size: var(--font-size-16);
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
i {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.two-columns {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-group.vertical {
|
||||
> * {
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue