mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Updated the background image for the system * Fixed so Weapon/Armor features are added again * Fixed so fear is available as a resource to be deducted by actions (#757) * Changed to use the config labels and src * Updated Weapons * Fixed so the decrease button of simple fear tracker is not visible when not hovered * Fixed so armor preUpdate doesn't fail if no system changes are made * Updated .gitignore and author details (#777) * Add author details and name mapping for chrisryan10 (#773) Co-authored-by: Chris Ryan <chrisr@blackhole> * Add build to ignore for my linux dev (#775) Co-authored-by: Chris Ryan <chrisr@blackhole> --------- Co-authored-by: Chris Ryan <chrisr@blackhole> * Corrected sneak attack active effect (#780) * Fixed a spelling error (#779) * Fix bardic rally showing in damage dialog when it should not (#783) * update spelling (#786) * Translating inventory descriptions (#782) * updated credits for 1.0.1 release (#797) * updated credits for 1.0.1 release * further updated artwork credits * Chagned handlebarhelper rollparsed to be more defensive (#794) * Added missing scene refreshType (#790) * Remove ability use buttons for not owned abilities (#795) * [Fix] PrayerDice Fixed (#799) * Fixed prayer dice, and wheelchair images * Fixed -settings data sources * Dragging features from one adversary to another (#788) * [Fix] Levelup Fixes (#787) * Fixed crash on experience selection. Fixed subclass error on multiclassing * Fixed so multiclasses do not gain the hope feature for the class * Fixed so Class/Subclass features are properly deleted on delevel * Removed automatic deletion of features on delevel when not using levelup auto * Fixed so custom domains can be selected in levelup when multiclassing * Changed so encounter countdowns is a button (#804) * Fixed so that dropping on class/subclass...creates the item on the character (#803) * [BUG] - Importing All Adversaries/Environments (#814) Fixes #774 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> * Bug/671 reaction roll chat title (#809) * Update Reaction Roll Chat Message Title * Removed console log --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> * Improve Trait tooltip display (#817) Fixes #806 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> * [BUG] - Combat Tracker d12 logo not found (#812) Fixes #764 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> * Compendium Browser (#821) * Corrected timbending description localization (#816) * [Fix] Compendium Item (#810) * Corrected Emberwoven Armor * Fixed subclass regression * Fixed so character's with wildcard images don't break beastform (#815) * Fix roll result based duality damage (#822) --------- Co-authored-by: Chris Ryan <73275196+chrisryan10@users.noreply.github.com> Co-authored-by: Chris Ryan <chrisr@blackhole> Co-authored-by: Dapoulp <74197441+Dapoulp@users.noreply.github.com> Co-authored-by: IrkTheImp <41175833+IrkTheImp@users.noreply.github.com> Co-authored-by: CPTN_Cosmo <cptncosmo@gmail.com> Co-authored-by: Josh Q. <jshqntnr13@gmail.com> Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com> Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
119 lines
3.6 KiB
Text
119 lines
3.6 KiB
Text
:root {
|
|
--shadow-text-stroke: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
|
--fear-animation: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
|
|
}
|
|
|
|
#resources {
|
|
min-height: calc(var(--header-height) + 4rem);
|
|
min-width: 4rem;
|
|
color: #d3d3d3;
|
|
transition: var(--fear-animation);
|
|
header,
|
|
.controls,
|
|
.window-resize-handle {
|
|
transition: var(--fear-animation);
|
|
}
|
|
.window-content {
|
|
padding: 0.5rem;
|
|
#resource-fear {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 0.5rem 0.25rem;
|
|
flex-wrap: wrap;
|
|
i {
|
|
font-size: var(--font-size-18);
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
aspect-ratio: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 3rem;
|
|
background-color: @primary-color-fear;
|
|
-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
|
|
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
|
|
color: #d3d3d3;
|
|
flex-grow: 0;
|
|
&.inactive {
|
|
filter: grayscale(1) !important;
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
.controls,
|
|
.resource-bar {
|
|
border: 2px solid rgb(153 122 79);
|
|
background-color: rgb(24 22 46);
|
|
}
|
|
.controls {
|
|
display: flex;
|
|
align-self: center;
|
|
border-radius: 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
font-size: var(--font-size-20);
|
|
cursor: pointer;
|
|
&:hover {
|
|
font-size: 1.5rem;
|
|
}
|
|
&.disabled {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
.resource-bar {
|
|
display: flex;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
font-size: var(--font-size-20);
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding: 0.25rem 0.5rem;
|
|
flex: 1;
|
|
text-shadow: var(--shadow-text-stroke);
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: var(--fear-percent);
|
|
max-width: 100%;
|
|
background: linear-gradient(90deg, rgba(2, 0, 38, 1) 0%, rgba(199, 1, 252, 1) 100%);
|
|
z-index: 0;
|
|
border-radius: 4px;
|
|
}
|
|
span {
|
|
position: inherit;
|
|
z-index: 1;
|
|
}
|
|
&.fear {
|
|
}
|
|
}
|
|
&.isGM {
|
|
i {
|
|
cursor: pointer;
|
|
&:hover {
|
|
font-size: var(--font-size-20);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
button[data-action='close'] {
|
|
display: none;
|
|
}
|
|
&:not(:hover):not(.minimized) {
|
|
background: transparent;
|
|
box-shadow: unset;
|
|
border-color: transparent;
|
|
header,
|
|
#resource-fear .controls,
|
|
.window-resize-handle {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
&:has(.fear-bar) {
|
|
min-width: 200px;
|
|
}
|
|
}
|