mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 07:53:39 +02:00
Merged with v14-Dev
This commit is contained in:
commit
6bf0fffcb7
735 changed files with 9587 additions and 6016 deletions
90
styles/less/sheets/activeEffects/activeEffects.less
Normal file
90
styles/less/sheets/activeEffects/activeEffects.less
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
.application.sheet.daggerheart.dh-style.active-effect-config {
|
||||
.custom-duration-section {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
transition: height ease-in-out 0.3s;
|
||||
|
||||
&.visible {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.duration-description {
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: height ease-in-out 0.3s;
|
||||
|
||||
&.visible {
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.tab.changes {
|
||||
gap: 0;
|
||||
|
||||
header {
|
||||
div {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.armor-change-container {
|
||||
header {
|
||||
padding: 0;
|
||||
left: -0.25rem; // TODO: Find why this header is offset 0.25rem to the right so this can be removed.
|
||||
}
|
||||
|
||||
header,
|
||||
ol {
|
||||
grid-template-columns: 5rem 7rem 12rem 4rem;
|
||||
}
|
||||
|
||||
.damage-thresholds-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.damage-threshold-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
&::before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, light-dark(@dark-blue, @golden) 100%);
|
||||
}
|
||||
|
||||
&::after {
|
||||
background: linear-gradient(90deg, light-dark(@dark-blue, @golden) 0%, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: var(--font-size-18);
|
||||
}
|
||||
}
|
||||
|
||||
.form-group {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
|
||||
label {
|
||||
color: inherit;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -276,6 +276,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
.slot-label {
|
||||
.slot-value-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
|
||||
i {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
font-size: 12px;
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.status-value {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
|
@ -298,6 +315,12 @@
|
|||
border-radius: 3px;
|
||||
background: light-dark(@dark-blue, @golden);
|
||||
clip-path: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
border: 1px solid transparent;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
h4 {
|
||||
font-weight: bold;
|
||||
|
|
@ -306,6 +329,21 @@
|
|||
color: light-dark(@beige, @dark-blue);
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 12px;
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@light-black, @dark-blue);
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
|
||||
h4,
|
||||
i {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
}
|
||||
.slot-value {
|
||||
position: absolute;
|
||||
|
|
@ -355,6 +393,19 @@
|
|||
font-size: var(--font-size-12);
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
border: 1px solid transparent;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@light-black, @dark-blue);
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
|
||||
.label,
|
||||
.value,
|
||||
i {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
padding-right: 1px;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@
|
|||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
}
|
||||
}, {
|
||||
&.party {
|
||||
&.sheet.actor.dh-style.party {
|
||||
background: url('../assets/parchments/dh-parchment-light.png');
|
||||
|
||||
.tab .actions-section .active-action {
|
||||
animation: glow-dark 0.75s infinite alternate;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -40,6 +44,10 @@
|
|||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.active-action {
|
||||
animation: glow 0.75s infinite alternate;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@
|
|||
|
||||
@import './rollTables/sheet.less';
|
||||
@import './actions/actions.less';
|
||||
|
||||
@import './activeEffects/activeEffects.less';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue