mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
Merged with main
This commit is contained in:
commit
c05460b84b
23 changed files with 626 additions and 587 deletions
|
|
@ -1293,60 +1293,92 @@
|
|||
.daggerheart.sheet.pc div[data-application-part] .sheet-body .inventory-container .inventory-item-list .inventory-row img {
|
||||
width: 32px;
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources {
|
||||
flex: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 8px 0;
|
||||
.combat-sidebar .encounter-controls.combat {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources .gm-resource-controls {
|
||||
.combat-sidebar .encounter-controls.combat .encounter-control-fear-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
padding: 0 4px;
|
||||
justify-content: center;
|
||||
color: black;
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources .gm-resource-tools {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 0 5px 0 4px;
|
||||
.combat-sidebar .encounter-controls.combat .encounter-control-fear-container .dice {
|
||||
height: 24px;
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources .gm-resource-tools i {
|
||||
margin: 0 2px;
|
||||
.combat-sidebar .encounter-controls.combat .encounter-control-fear-container .encounter-control-fear {
|
||||
position: absolute;
|
||||
font-size: 16px;
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources .gm-resource-tools i.disabled {
|
||||
opacity: 0.6;
|
||||
.combat-sidebar .encounter-controls.combat .encounter-control-fear-container .encounter-control-counter {
|
||||
position: absolute;
|
||||
right: -10px;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources .gm-resource-tools i:hover:not(.disabled) {
|
||||
cursor: pointer;
|
||||
filter: drop-shadow(0 0 3px red);
|
||||
.combat-sidebar .encounter-controls.combat .control-buttons {
|
||||
width: min-content;
|
||||
}
|
||||
.combat-sidebar .encounter-gm-resources .gm-resource {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: 4px;
|
||||
border-radius: 8px;
|
||||
border: 2px solid black;
|
||||
font-size: 20px;
|
||||
.combat-sidebar .combatant-controls {
|
||||
flex: 0;
|
||||
}
|
||||
.combat-sidebar .token-action-tokens {
|
||||
flex: 0 0 48px;
|
||||
.combat-sidebar .token-actions {
|
||||
align-self: stretch;
|
||||
display: flex;
|
||||
align-items: top;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
}
|
||||
.combat-sidebar .token-actions .action-tokens {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
.combat-sidebar .token-actions .action-tokens .action-token {
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
border: 1px solid;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
padding: 8px;
|
||||
--button-size: 0;
|
||||
}
|
||||
.combat-sidebar .token-actions .action-tokens .action-token.used {
|
||||
opacity: 0.5;
|
||||
background: transparent;
|
||||
}
|
||||
.combat-sidebar .token-actions button {
|
||||
font-size: 22px;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
.combat-sidebar .token-actions button.main {
|
||||
background: var(--button-hover-background-color);
|
||||
color: var(--button-hover-text-color);
|
||||
border-color: var(--button-hover-border-color);
|
||||
}
|
||||
.combat-sidebar .token-actions button.main:hover {
|
||||
filter: drop-shadow(0 0 3px var(--button-hover-text-color));
|
||||
}
|
||||
.combat-sidebar .spotlight-control {
|
||||
font-size: 26px;
|
||||
}
|
||||
.combat-sidebar .spotlight-control:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.combat-sidebar .spotlight-control.discrete:hover {
|
||||
background: inherit;
|
||||
}
|
||||
.combat-sidebar .spotlight-control.requesting {
|
||||
filter: drop-shadow(0 0 3px gold);
|
||||
color: var(--button-hover-text-color);
|
||||
}
|
||||
.combat-sidebar h4 {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.combat-sidebar .token-action-tokens .use-action-token.disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.combat-sidebar .icon-button.spaced {
|
||||
margin-left: 4px;
|
||||
}
|
||||
.combat-sidebar .icon-button.disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.combat-sidebar .icon-button:hover:not(.disabled) {
|
||||
cursor: pointer;
|
||||
filter: drop-shadow(0 0 3px red);
|
||||
}
|
||||
.chat-message.duality {
|
||||
border-color: black;
|
||||
padding: 8px 0 0 0;
|
||||
|
|
@ -3406,6 +3438,19 @@ div.daggerheart.views.multiclass {
|
|||
.application.setting.dh-style footer button {
|
||||
flex: 1;
|
||||
}
|
||||
.application.setting.dh-style .form-group {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.application.setting.dh-style .form-group label {
|
||||
font-size: 16px;
|
||||
}
|
||||
.application.setting.dh-style .form-group .form-fields {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
.system-daggerheart .tagify {
|
||||
background: light-dark(transparent, transparent);
|
||||
border: 1px solid light-dark(#222, #efe6d8);
|
||||
|
|
|
|||
|
|
@ -212,6 +212,22 @@
|
|||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
label {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.form-fields {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.system-daggerheart {
|
||||
|
|
|
|||
137
styles/ui.less
137
styles/ui.less
|
|
@ -1,71 +1,106 @@
|
|||
.combat-sidebar {
|
||||
.encounter-gm-resources {
|
||||
flex: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: @largePadding 0;
|
||||
.encounter-controls.combat {
|
||||
justify-content: space-between;
|
||||
|
||||
.gm-resource-controls {
|
||||
.encounter-control-fear-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
padding: 0 4px;
|
||||
justify-content: center;
|
||||
}
|
||||
color: black;
|
||||
|
||||
.gm-resource-tools {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 0 5px 0 @fullPadding;
|
||||
.dice {
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
i {
|
||||
margin: 0 @tinyMargin;
|
||||
.encounter-control-fear {
|
||||
position: absolute;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.encounter-control-counter {
|
||||
position: absolute;
|
||||
right: -10px;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover:not(.disabled) {
|
||||
cursor: pointer;
|
||||
filter: drop-shadow(0 0 3px @mainShadow);
|
||||
.control-buttons {
|
||||
width: min-content;
|
||||
}
|
||||
}
|
||||
|
||||
.combatant-controls {
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
.token-actions {
|
||||
align-self: stretch;
|
||||
display: flex;
|
||||
align-items: top;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
|
||||
.action-tokens {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
||||
.action-token {
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
border: 1px solid;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
padding: 8px;
|
||||
--button-size: 0;
|
||||
|
||||
&.used {
|
||||
opacity: 0.5;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gm-resource {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: @fullPadding;
|
||||
border-radius: 8px;
|
||||
border: @normalBorder solid black;
|
||||
font-size: 20px;
|
||||
button {
|
||||
font-size: 22px;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
|
||||
&.main {
|
||||
background: var(--button-hover-background-color);
|
||||
color: var(--button-hover-text-color);
|
||||
border-color: var(--button-hover-border-color);
|
||||
|
||||
&:hover {
|
||||
filter: drop-shadow(0 0 3px var(--button-hover-text-color));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.token-action-tokens {
|
||||
flex: 0 0 48px;
|
||||
.spotlight-control {
|
||||
font-size: 26px;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.discrete:hover {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
&.requesting {
|
||||
filter: drop-shadow(0 0 3px gold);
|
||||
color: var(--button-hover-text-color);
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
|
||||
.use-action-token {
|
||||
&.disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
&.spaced {
|
||||
margin-left: @halfMargin;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:hover:not(.disabled) {
|
||||
cursor: pointer;
|
||||
filter: drop-shadow(0 0 3px @mainShadow);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue