mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
refactor styles folder (#302)
This commit is contained in:
parent
059b814fdf
commit
4150de757b
78 changed files with 4208 additions and 8824 deletions
|
|
@ -1,561 +0,0 @@
|
||||||
form.daggerheart.views.downtime {
|
|
||||||
// Shouldn't be needed, but DEFAULT_OPTIONS doesn't accept Height: 'auto'
|
|
||||||
height: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.daggerheart.views.death-move {
|
|
||||||
// Shouldn't be needed, but DEFAULT_OPTIONS doesn't accept Height: 'auto'
|
|
||||||
height: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.daggerheart.views.multiclass {
|
|
||||||
// Shouldn't be needed, but DEFAULT_OPTIONS doesn't accept Height: 'auto'
|
|
||||||
height: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.daggerheart.views {
|
|
||||||
&.levelup {
|
|
||||||
.levelup-title-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 32px;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
|
|
||||||
.level-title {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.level-display {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
i {
|
|
||||||
margin: 0 @halfMargin;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-section {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
font-size: 11px;
|
|
||||||
|
|
||||||
.levelup-container {
|
|
||||||
flex: 1;
|
|
||||||
|
|
||||||
&:nth-of-type(2) {
|
|
||||||
padding: 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-inner-container {
|
|
||||||
height: 700px;
|
|
||||||
padding: 24px 58px 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
.levelup-legend {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
font-weight: bold;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-info {
|
|
||||||
background: @primaryAccent;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
|
||||||
top: -6px;
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-pretext {
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-body {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.levelup-choice-row {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
padding: 4px;
|
|
||||||
|
|
||||||
.levelup-choice-row-inner {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-choice-input-container {
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
input {
|
|
||||||
&:disabled:checked::before {
|
|
||||||
opacity: 0.4;
|
|
||||||
color: var(--color-warm-1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
i.fa-link {
|
|
||||||
transform: rotate(45deg);
|
|
||||||
position: relative;
|
|
||||||
top: 2px;
|
|
||||||
margin: 0 -3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
i.fa-lock {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
font-size: 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-posttext {
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.downtime-container {
|
|
||||||
.downtime-header {
|
|
||||||
margin: 0;
|
|
||||||
color: light-dark(@dark-blue, @golden);
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.activity-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
padding: 8px;
|
|
||||||
|
|
||||||
.activity-title {
|
|
||||||
flex: 1;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.activity-title-text {
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.activity-image {
|
|
||||||
width: 80px;
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
margin-right: 8px;
|
|
||||||
border: 2px solid black;
|
|
||||||
border-radius: 50%;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
.activity-select-label {
|
|
||||||
position: absolute;
|
|
||||||
top: -9px;
|
|
||||||
font-size: 14px;
|
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
|
||||||
border-radius: 6px;
|
|
||||||
color: light-dark(@beige, @dark);
|
|
||||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
|
||||||
padding: 0 8px;
|
|
||||||
line-height: 1;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&.selected {
|
|
||||||
filter: drop-shadow(0 0 6px gold);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom-name-input {
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 0;
|
|
||||||
background: transparent;
|
|
||||||
color: rgb(239, 230, 216);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.activity-body {
|
|
||||||
flex: 1;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.downtime {
|
|
||||||
.activity-text-area {
|
|
||||||
resize: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.range-reset {
|
|
||||||
flex: 0;
|
|
||||||
width: 21px;
|
|
||||||
height: 21px;
|
|
||||||
margin: 3px 4px;
|
|
||||||
border: 1px solid black;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.roll-selection {
|
|
||||||
.roll-selection-container {
|
|
||||||
i {
|
|
||||||
filter: invert(0%) sepia(100%) saturate(0%) hue-rotate(21deg) brightness(17%) contrast(103%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#roll-selection-costSelection footer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.roll-dialog-container {
|
|
||||||
.hope-container {
|
|
||||||
display: flex;
|
|
||||||
gap: @fullMargin;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.npc-roll-selection {
|
|
||||||
.npc-roll-dialog-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.selection-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: @fullMargin;
|
|
||||||
gap: 16px;
|
|
||||||
|
|
||||||
.dice-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex: 1;
|
|
||||||
|
|
||||||
.dice-inner-container {
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
i {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
border: 0;
|
|
||||||
position: relative;
|
|
||||||
left: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dice-number {
|
|
||||||
position: absolute;
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.advantage-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 2px;
|
|
||||||
flex: 1;
|
|
||||||
|
|
||||||
.advantage-button {
|
|
||||||
&.active,
|
|
||||||
&:hover {
|
|
||||||
background: var(--button-hover-background-color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.multiclass {
|
|
||||||
.multiclass-container {
|
|
||||||
margin-bottom: @largeMargin;
|
|
||||||
|
|
||||||
.multiclass-category-title {
|
|
||||||
margin-top: @largeMargin;
|
|
||||||
}
|
|
||||||
|
|
||||||
.multiclass-class-choices {
|
|
||||||
display: flex;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.multiclass-spaced-choices {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.multiclass-class-choice {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-basis: 33.33%;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 24px;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&.selected:not(.disabled),
|
|
||||||
&:hover:not(.disabled) {
|
|
||||||
filter: drop-shadow(0 0 3px gold);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.inactive,
|
|
||||||
&.disabled {
|
|
||||||
cursor: initial;
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 80px;
|
|
||||||
height: 80px;
|
|
||||||
margin-right: @largeMargin;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.damage-selection {
|
|
||||||
.hope-container {
|
|
||||||
display: flex;
|
|
||||||
gap: @fullMargin;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.action {
|
|
||||||
.action-category {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.action-category-label {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
border-radius: 6px;
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 0 @fullPadding;
|
|
||||||
margin: 0 auto @halfMargin;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: darkgray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.action-category-data {
|
|
||||||
max-height: 0;
|
|
||||||
transition: max-height 0.2s ease-in-out;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
&.open {
|
|
||||||
max-height: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
.multi-display {
|
|
||||||
display: flex;
|
|
||||||
gap: 1rem;
|
|
||||||
align-items: center;
|
|
||||||
.form-group {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-group {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
label {
|
|
||||||
flex: 2;
|
|
||||||
}
|
|
||||||
.form-fields {
|
|
||||||
flex: 3;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
width: 1.5rem;
|
|
||||||
height: 1.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.hint-group {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: end;
|
|
||||||
|
|
||||||
.form-fields {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
label {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
select {
|
|
||||||
flex: 3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.hint {
|
|
||||||
margin: 4px 0 0 0;
|
|
||||||
font-size: 12px;
|
|
||||||
font-style: italic;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.data-form-array {
|
|
||||||
border: 1px solid var(--color-fieldset-border);
|
|
||||||
padding: 0.5rem;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.ancestry-selection {
|
|
||||||
.ancestry-section {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: @fullMargin;
|
|
||||||
|
|
||||||
.ancestry-container {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
|
|
||||||
.ancestry-inner-container {
|
|
||||||
flex-basis: 25%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.image-container {
|
|
||||||
img {
|
|
||||||
width: 120px;
|
|
||||||
border: 4px solid black;
|
|
||||||
border-radius: 50%;
|
|
||||||
|
|
||||||
&.selected {
|
|
||||||
border-color: @secondaryShadow;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:not(.selected) {
|
|
||||||
filter: drop-shadow(0 0 3px @secondaryShadow);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
opacity: 0.3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.name-container {
|
|
||||||
div {
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: help;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mixed-ancestry-container {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
gap: @fullMargin;
|
|
||||||
|
|
||||||
> div {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mixed-ancestry-name {
|
|
||||||
text-align: center;
|
|
||||||
div {
|
|
||||||
font-size: 24px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mixed-ancestry-images {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: @halfMargin;
|
|
||||||
|
|
||||||
.mixed-ancestry-image {
|
|
||||||
position: relative;
|
|
||||||
max-width: 33%;
|
|
||||||
|
|
||||||
&:hover i {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
|
||||||
position: absolute;
|
|
||||||
font-size: 32px;
|
|
||||||
top: calc(50% - 20px);
|
|
||||||
left: calc(50% - 20px);
|
|
||||||
padding: @fullPadding;
|
|
||||||
background-color: grey;
|
|
||||||
opacity: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
filter: drop-shadow(0 0 3px @secondaryShadow);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 33%;
|
|
||||||
border: 4px solid black;
|
|
||||||
border-radius: 50%;
|
|
||||||
|
|
||||||
&.selected {
|
|
||||||
border-color: @secondaryShadow;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
.daggerheart.sheet.class {
|
|
||||||
.editor {
|
|
||||||
height: 500px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,203 +1,13 @@
|
||||||
@import './variables/variables.less';
|
@import './less/sheets/index.less';
|
||||||
@import './variables/colors.less';
|
@import './less/sheets-settings/index.less';
|
||||||
@import './class.less';
|
|
||||||
@import './pc.less';
|
|
||||||
@import './ui.less';
|
|
||||||
@import './chat.less';
|
|
||||||
@import './item.less';
|
|
||||||
@import './application.less';
|
|
||||||
@import './sheets/sheets.less';
|
|
||||||
@import './dialog.less';
|
|
||||||
@import './characterCreation.less';
|
|
||||||
@import './levelup.less';
|
|
||||||
@import './ownershipSelection.less';
|
|
||||||
@import './damageReduction.less';
|
|
||||||
@import './resources.less';
|
|
||||||
@import './countdown.less';
|
|
||||||
@import './settings.less';
|
|
||||||
|
|
||||||
// new styles imports
|
@import './less/dialog/index.less';
|
||||||
@import './less/actors/character/header.less';
|
|
||||||
@import './less/actors/character/sidebar.less';
|
|
||||||
@import './less/actors/character/sheet.less';
|
|
||||||
@import './less/actors/character/inventory.less';
|
|
||||||
@import './less/actors/character/loadout.less';
|
|
||||||
@import './less/actors/character/biography.less';
|
|
||||||
@import './less/actors/character/features.less';
|
|
||||||
|
|
||||||
@import './less/actors/adversary/header.less';
|
|
||||||
@import './less/actors/adversary/sheet.less';
|
|
||||||
@import './less/actors/adversary/sidebar.less';
|
|
||||||
|
|
||||||
@import './less/actors/environment/header.less';
|
|
||||||
@import './less/actors/environment/sheet.less';
|
|
||||||
|
|
||||||
@import './less/applications/header.less';
|
|
||||||
@import './less/applications/adversary-settings/sheet.less';
|
|
||||||
@import './less/applications/adversary-settings/experiences.less';
|
|
||||||
@import './less/applications/adversary-settings/features.less';
|
|
||||||
|
|
||||||
@import './less/applications/environment-settings/features.less';
|
|
||||||
@import './less/applications/environment-settings/adversaries.less';
|
|
||||||
|
|
||||||
@import './less/applications//beastform.less';
|
|
||||||
|
|
||||||
@import './less/actors/companion/header.less';
|
|
||||||
@import './less/actors/companion/details.less';
|
|
||||||
@import './less/actors/companion/sheet.less';
|
|
||||||
|
|
||||||
@import './less/actors/adversary.less';
|
|
||||||
@import './less/actors/environment.less';
|
|
||||||
|
|
||||||
@import './less/items/feature.less';
|
|
||||||
@import './less/items/domainCard.less';
|
|
||||||
@import './less/items/class.less';
|
|
||||||
|
|
||||||
@import './less/dialog/dice-roll/roll-selection.less';
|
|
||||||
|
|
||||||
@import './less/utils/colors.less';
|
@import './less/utils/colors.less';
|
||||||
@import './less/utils/fonts.less';
|
@import './less/utils/fonts.less';
|
||||||
|
|
||||||
@import './less/global/sheet.less';
|
@import './less/global/index.less';
|
||||||
@import './less/global/dialog.less';
|
|
||||||
@import './less/global/elements.less';
|
@import './less/ui/index.less';
|
||||||
@import './less/global/tab-navigation.less';
|
|
||||||
@import './less/global/tab-form-footer.less';
|
|
||||||
@import './less/global/tab-actions.less';
|
|
||||||
@import './less/global/tab-features.less';
|
|
||||||
@import './less/global/tab-effects.less';
|
|
||||||
@import './less/global/item-header.less';
|
|
||||||
@import './less/global/feature-section.less';
|
|
||||||
@import './less/global/inventory-item.less';
|
|
||||||
@import './less/global/inventory-fieldset-items.less';
|
|
||||||
@import './less/global/prose-mirror.less';
|
|
||||||
@import './less/global/filter-menu.less';
|
|
||||||
|
|
||||||
@import '../node_modules/@yaireo/tagify/dist/tagify.css';
|
@import '../node_modules/@yaireo/tagify/dist/tagify.css';
|
||||||
|
|
||||||
.daggerheart {
|
|
||||||
.vertical-separator {
|
|
||||||
border-left: 2px solid black;
|
|
||||||
height: 56px;
|
|
||||||
flex: 0;
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Flex */
|
|
||||||
.flex-centered {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-col-centered {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-spaced {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-min {
|
|
||||||
display: flex;
|
|
||||||
flex: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/****/
|
|
||||||
img[data-edit='img'] {
|
|
||||||
min-width: 64px;
|
|
||||||
min-height: 64px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editor {
|
|
||||||
height: 200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
i {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-button {
|
|
||||||
&.spaced {
|
|
||||||
margin-left: @halfMargin;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:not(.disabled) {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#players {
|
|
||||||
h3 {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
|
|
||||||
.players-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fear-control {
|
|
||||||
font-size: 10px;
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:not(.disabled) {
|
|
||||||
cursor: pointer;
|
|
||||||
filter: drop-shadow(0 0 3px @mainShadow);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.unlist {
|
|
||||||
list-style: none;
|
|
||||||
padding-inline-start: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-select {
|
|
||||||
margin: 1rem;
|
|
||||||
li {
|
|
||||||
&:not(:last-child) {
|
|
||||||
border-bottom: 1px solid #bbb;
|
|
||||||
}
|
|
||||||
label {
|
|
||||||
padding: 4px 8px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 1rem;
|
|
||||||
cursor: pointer;
|
|
||||||
> span {
|
|
||||||
flex: 1;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: var(--font-size-16);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dh-icon,
|
|
||||||
dh-icon > img {
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: x-large;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
.item-button {
|
|
||||||
&.checked {
|
|
||||||
background: green;
|
|
||||||
}
|
|
||||||
.item-icon {
|
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.2s;
|
|
||||||
&.checked {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,59 +0,0 @@
|
||||||
.daggerheart.sheet {
|
|
||||||
&.feature {
|
|
||||||
.editable {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sheet-body {
|
|
||||||
flex: 1;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
.feature-description {
|
|
||||||
flex: 1;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.class {
|
|
||||||
.class-feature {
|
|
||||||
display: flex;
|
|
||||||
img {
|
|
||||||
width: 40px;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
width: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.domain-card-description {
|
|
||||||
.editor {
|
|
||||||
height: 300px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-container {
|
|
||||||
margin-top: @halfMargin;
|
|
||||||
gap: @halfMargin;
|
|
||||||
align-items: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-sidebar {
|
|
||||||
// border-right: @thinBorder groove darkgray;
|
|
||||||
min-width: 160px;
|
|
||||||
flex: 0;
|
|
||||||
padding: @fullPadding;
|
|
||||||
|
|
||||||
label {
|
|
||||||
margin-right: @fullMargin;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type='checkbox'] {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
|
||||||
.window-content {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
@import '../utils/colors.less';
|
|
||||||
@import '../utils/fonts.less';
|
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
|
||||||
.window-content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
.daggerheart.sheet.actor.environment {
|
|
||||||
.potential-adversary-container {
|
|
||||||
width: 100%;
|
|
||||||
height: 50px;
|
|
||||||
|
|
||||||
.adversary-placeholder {
|
|
||||||
font-style: italic;
|
|
||||||
text-align: center;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.adversaries-container {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
.adversary-container {
|
|
||||||
border: 1px solid var(--color-dark-5);
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 0 2px;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
|
||||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
|
||||||
color: var(--color-light-3);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,59 +1,46 @@
|
||||||
.theme-light .application.daggerheart.dh-style.views.beastform-selection {
|
@import '../../utils/colors.less';
|
||||||
.beastforms-container .beastforms-tier .beastform-container .beastform-title {
|
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
.application.daggerheart.dh-style.views.beastform-selection {
|
||||||
}
|
.beastforms-container {
|
||||||
}
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
.application.daggerheart.dh-style.views.beastform-selection {
|
gap: 4px;
|
||||||
.beastforms-container {
|
|
||||||
display: flex;
|
.beastforms-tier {
|
||||||
flex-direction: column;
|
display: grid;
|
||||||
gap: 4px;
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||||
|
gap: 4px;
|
||||||
.beastforms-tier {
|
|
||||||
display: grid;
|
.beastform-container {
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
position: relative;
|
||||||
gap: 4px;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
.beastform-container {
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
position: relative;
|
border-radius: 6px;
|
||||||
display: flex;
|
cursor: pointer;
|
||||||
justify-content: center;
|
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
&.inactive {
|
||||||
border-radius: 6px;
|
opacity: 0.4;
|
||||||
cursor: pointer;
|
}
|
||||||
|
|
||||||
&.inactive {
|
img {
|
||||||
opacity: 0.4;
|
width: 100%;
|
||||||
}
|
border-radius: 6px;
|
||||||
|
}
|
||||||
img {
|
|
||||||
width: 100%;
|
.beastform-title {
|
||||||
border-radius: 6px;
|
position: absolute;
|
||||||
}
|
top: 4px;
|
||||||
|
display: flex;
|
||||||
.beastform-title {
|
flex-wrap: wrap;
|
||||||
position: absolute;
|
font-size: 16px;
|
||||||
top: 4px;
|
margin: 0 4px;
|
||||||
display: flex;
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
flex-wrap: wrap;
|
border-radius: 6px;
|
||||||
font-size: 16px;
|
color: light-dark(@beige, @dark);
|
||||||
margin: 0 4px;
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
}
|
||||||
border-radius: 6px;
|
}
|
||||||
color: light-dark(@beige, @dark);
|
}
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
margin-top: 8px;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
button {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
21
styles/less/dialog/beastform/sheet.less
Normal file
21
styles/less/dialog/beastform/sheet.less
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
@import '../../utils/mixin.less';
|
||||||
|
|
||||||
|
.appTheme({
|
||||||
|
&.beastform-selection {
|
||||||
|
.beastforms-container .beastforms-tier .beastform-container .beastform-title {
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {});
|
||||||
|
|
||||||
|
.application.daggerheart.dh-style.views.beastform-selection {
|
||||||
|
footer {
|
||||||
|
margin-top: 8px;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
button {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
.daggerheart.dh-style.dialog.character-creation {
|
||||||
|
.creation-action-footer {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 32px;
|
||||||
|
|
||||||
|
button {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,417 +1,325 @@
|
||||||
@import './less/utils/colors.less';
|
@import '../../utils/colors.less';
|
||||||
|
|
||||||
.theme-light .daggerheart.dh-style.dialog.character-creation {
|
.daggerheart.dh-style.dialog.character-creation {
|
||||||
.tab-navigation nav a .descriptor {
|
.main-selections-container {
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
display: flex;
|
||||||
}
|
flex-direction: column;
|
||||||
.main-selections-container {
|
gap: 4px;
|
||||||
.traits-container .suggested-traits-container .suggested-trait-container,
|
|
||||||
.creation-action-footer .footer-section nav a .descriptor,
|
.selections-container {
|
||||||
.equipment-selection .simple-equipment-container .simple-equipment label {
|
width: 140px;
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
display: flex;
|
||||||
}
|
flex-direction: column;
|
||||||
}
|
text-align: center;
|
||||||
}
|
|
||||||
|
.card-preview-container {
|
||||||
.daggerheart.dh-style.dialog.character-creation {
|
border-color: light-dark(@dark-blue, @golden);
|
||||||
.window-content {
|
}
|
||||||
gap: 16px;
|
}
|
||||||
|
|
||||||
.tab {
|
.selections-outer-container {
|
||||||
overflow-y: auto;
|
display: flex;
|
||||||
}
|
justify-content: space-evenly;
|
||||||
}
|
height: 210px;
|
||||||
|
}
|
||||||
.tab-navigation {
|
|
||||||
nav {
|
.section-container {
|
||||||
flex: 1;
|
border-radius: 8px;
|
||||||
|
border-color: light-dark(@dark-blue, @golden);
|
||||||
a {
|
|
||||||
flex: 1;
|
legend {
|
||||||
text-align: center;
|
margin-left: auto;
|
||||||
display: flex;
|
margin-right: auto;
|
||||||
justify-content: center;
|
font-size: 28px;
|
||||||
position: relative;
|
font-weight: bold;
|
||||||
|
padding: 0 8px;
|
||||||
&.disabled {
|
}
|
||||||
opacity: 0.4;
|
|
||||||
}
|
.section-inner-container {
|
||||||
|
position: relative;
|
||||||
.nav-section-text {
|
border-radius: 8px;
|
||||||
position: relative;
|
border-color: light-dark(@dark-blue, @golden);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
justify-content: center;
|
||||||
}
|
|
||||||
|
legend {
|
||||||
.finish-marker {
|
font-size: 20px;
|
||||||
position: absolute;
|
}
|
||||||
align-self: center;
|
|
||||||
top: -8px;
|
.action-button {
|
||||||
padding: 4px;
|
position: absolute;
|
||||||
border: 1px solid;
|
bottom: -8px;
|
||||||
border-radius: 50%;
|
height: 16px;
|
||||||
height: 16px;
|
width: 110px;
|
||||||
width: 16px;
|
min-height: unset;
|
||||||
font-size: 12px;
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
display: flex;
|
color: light-dark(@beige, @beige);
|
||||||
align-items: center;
|
background-color: light-dark(var(--color-warm-3), var(--color-warm-3));
|
||||||
justify-content: center;
|
|
||||||
background-color: var(--color-cool-4);
|
&:hover {
|
||||||
content: '';
|
background-color: light-dark(var(--color-warm-2), var(--color-warm-2));
|
||||||
|
filter: drop-shadow(0 0 3px light-dark(var(--color-warm-2), var(--color-warm-2)));
|
||||||
&.active {
|
}
|
||||||
background-color: var(--color-warm-2);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.descriptor {
|
.traits-container {
|
||||||
position: absolute;
|
text-align: center;
|
||||||
bottom: -8px;
|
display: flex;
|
||||||
font-size: 12px;
|
gap: 16px;
|
||||||
border-radius: 8px;
|
|
||||||
width: 56px;
|
.suggested-traits-container {
|
||||||
text-align: center;
|
display: flex;
|
||||||
line-height: 1;
|
flex-wrap: wrap;
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
width: 176px;
|
||||||
border-radius: 6px;
|
gap: 4px;
|
||||||
color: light-dark(@beige, @dark);
|
margin-bottom: 8px;
|
||||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
|
||||||
}
|
.suggested-trait-container {
|
||||||
}
|
width: 56px;
|
||||||
}
|
white-space: nowrap;
|
||||||
}
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
|
border-radius: 6px;
|
||||||
.main-selections-container {
|
color: light-dark(@beige, @dark);
|
||||||
display: flex;
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
flex-direction: column;
|
}
|
||||||
gap: 4px;
|
}
|
||||||
|
|
||||||
.selections-container {
|
.traits-inner-container {
|
||||||
width: 140px;
|
display: flex;
|
||||||
display: flex;
|
justify-content: space-evenly;
|
||||||
flex-direction: column;
|
gap: 8px;
|
||||||
text-align: center;
|
|
||||||
|
.trait-container {
|
||||||
.card-preview-container {
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
border-color: light-dark(@dark-blue, @golden);
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.selections-outer-container {
|
|
||||||
display: flex;
|
.experiences-inner-container {
|
||||||
justify-content: space-evenly;
|
display: flex;
|
||||||
height: 210px;
|
justify-content: space-evenly;
|
||||||
}
|
text-align: center;
|
||||||
|
|
||||||
.section-container {
|
.experience-container {
|
||||||
border-radius: 8px;
|
position: relative;
|
||||||
border-color: light-dark(@dark-blue, @golden);
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
legend {
|
|
||||||
margin-left: auto;
|
.experience-description {
|
||||||
margin-right: auto;
|
border-color: light-dark(@dark-blue, @golden);
|
||||||
font-size: 28px;
|
padding-right: 24px;
|
||||||
font-weight: bold;
|
}
|
||||||
padding: 0 8px;
|
|
||||||
}
|
.experience-value {
|
||||||
|
position: absolute;
|
||||||
.section-inner-container {
|
right: 0;
|
||||||
position: relative;
|
width: 22px;
|
||||||
border-radius: 8px;
|
border-left: 1px solid light-dark(@dark-blue, @golden);
|
||||||
border-color: light-dark(@dark-blue, @golden);
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
legend {
|
}
|
||||||
font-size: 20px;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-button {
|
.creation-action-footer {
|
||||||
position: absolute;
|
display: flex;
|
||||||
bottom: -8px;
|
align-items: center;
|
||||||
height: 16px;
|
gap: 32px;
|
||||||
width: 110px;
|
|
||||||
min-height: unset;
|
.footer-section {
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
display: flex;
|
||||||
color: light-dark(@beige, @beige);
|
align-items: center;
|
||||||
background-color: light-dark(var(--color-warm-3), var(--color-warm-3));
|
gap: 32px;
|
||||||
|
|
||||||
&:hover {
|
nav {
|
||||||
background-color: light-dark(var(--color-warm-2), var(--color-warm-2));
|
flex: 1;
|
||||||
filter: drop-shadow(0 0 3px light-dark(var(--color-warm-2), var(--color-warm-2)));
|
gap: 8px;
|
||||||
}
|
border: 0;
|
||||||
}
|
|
||||||
}
|
a {
|
||||||
}
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
.traits-container {
|
display: flex;
|
||||||
text-align: center;
|
justify-content: center;
|
||||||
display: flex;
|
position: relative;
|
||||||
gap: 16px;
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
|
border-radius: 6px;
|
||||||
.suggested-traits-container {
|
|
||||||
display: flex;
|
.nav-section-text {
|
||||||
flex-wrap: wrap;
|
position: relative;
|
||||||
width: 176px;
|
display: flex;
|
||||||
gap: 4px;
|
align-items: center;
|
||||||
margin-bottom: 8px;
|
}
|
||||||
|
|
||||||
.suggested-trait-container {
|
.finish-marker {
|
||||||
width: 56px;
|
position: absolute;
|
||||||
white-space: nowrap;
|
align-self: center;
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
top: -10px;
|
||||||
border-radius: 6px;
|
padding: 4px;
|
||||||
color: light-dark(@beige, @dark);
|
border: 1px solid;
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
border-radius: 50%;
|
||||||
}
|
height: 20px;
|
||||||
}
|
width: 20px;
|
||||||
|
font-size: 14px;
|
||||||
.traits-inner-container {
|
display: flex;
|
||||||
display: flex;
|
align-items: center;
|
||||||
justify-content: space-evenly;
|
justify-content: center;
|
||||||
gap: 8px;
|
background-color: var(--color-cool-4);
|
||||||
|
content: '';
|
||||||
.trait-container {
|
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
&.finished {
|
||||||
padding: 0 4px;
|
background-color: var(--color-warm-2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
.descriptor {
|
||||||
.experiences-inner-container {
|
position: absolute;
|
||||||
display: flex;
|
bottom: -8px;
|
||||||
justify-content: space-evenly;
|
font-size: 12px;
|
||||||
text-align: center;
|
border-radius: 8px;
|
||||||
|
width: 56px;
|
||||||
.experience-container {
|
text-align: center;
|
||||||
position: relative;
|
line-height: 1;
|
||||||
display: flex;
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
align-items: center;
|
border-radius: 6px;
|
||||||
|
color: light-dark(@beige, @dark);
|
||||||
.experience-description {
|
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||||
border-color: light-dark(@dark-blue, @golden);
|
}
|
||||||
padding-right: 24px;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.experience-value {
|
button {
|
||||||
position: absolute;
|
flex: 1;
|
||||||
right: 0;
|
height: 100%;
|
||||||
width: 22px;
|
white-space: nowrap;
|
||||||
border-left: 1px solid light-dark(@dark-blue, @golden);
|
}
|
||||||
height: 100%;
|
}
|
||||||
display: flex;
|
}
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
.main-equipment-selection {
|
||||||
}
|
display: grid;
|
||||||
}
|
grid-template-columns: 1fr 2fr;
|
||||||
}
|
gap: 16px;
|
||||||
|
|
||||||
.creation-action-footer {
|
&.triple {
|
||||||
display: flex;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
align-items: center;
|
}
|
||||||
gap: 32px;
|
}
|
||||||
|
|
||||||
.footer-section {
|
.equipment-selection {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
flex-direction: column;
|
||||||
gap: 32px;
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
nav {
|
border: 2px solid light-dark(@dark-blue, @golden);
|
||||||
flex: 1;
|
border-radius: 8px;
|
||||||
gap: 8px;
|
|
||||||
border: 0;
|
legend {
|
||||||
|
margin-left: auto;
|
||||||
a {
|
margin-right: auto;
|
||||||
flex: 1;
|
font-size: 28px;
|
||||||
text-align: center;
|
font-weight: bold;
|
||||||
display: flex;
|
padding: 0 8px;
|
||||||
justify-content: center;
|
white-space: nowrap;
|
||||||
position: relative;
|
}
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
|
||||||
border-radius: 6px;
|
.equipment-subsection {
|
||||||
|
display: flex;
|
||||||
.nav-section-text {
|
align-items: start;
|
||||||
position: relative;
|
gap: 32px;
|
||||||
display: flex;
|
}
|
||||||
align-items: center;
|
|
||||||
}
|
.equipment-wrapper {
|
||||||
|
display: flex;
|
||||||
.finish-marker {
|
flex-direction: column;
|
||||||
position: absolute;
|
align-items: center;
|
||||||
align-self: center;
|
gap: 8px;
|
||||||
top: -10px;
|
}
|
||||||
padding: 4px;
|
|
||||||
border: 1px solid;
|
.simple-equipment-container {
|
||||||
border-radius: 50%;
|
display: flex;
|
||||||
height: 20px;
|
flex-direction: column;
|
||||||
width: 20px;
|
justify-content: space-evenly;
|
||||||
font-size: 14px;
|
gap: 8px;
|
||||||
display: flex;
|
height: 100%;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
.simple-equipment {
|
||||||
background-color: var(--color-cool-4);
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
content: '';
|
border-radius: 8px;
|
||||||
|
position: relative;
|
||||||
&.finished {
|
display: flex;
|
||||||
background-color: var(--color-warm-2);
|
justify-content: center;
|
||||||
}
|
|
||||||
}
|
&.selectable {
|
||||||
|
cursor: pointer;
|
||||||
.descriptor {
|
}
|
||||||
position: absolute;
|
|
||||||
bottom: -8px;
|
&.inactive {
|
||||||
font-size: 12px;
|
opacity: 0.4;
|
||||||
border-radius: 8px;
|
}
|
||||||
width: 56px;
|
|
||||||
text-align: center;
|
label {
|
||||||
line-height: 1;
|
position: absolute;
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
top: -8px;
|
||||||
border-radius: 6px;
|
font-size: 12px;
|
||||||
color: light-dark(@beige, @dark);
|
white-space: nowrap;
|
||||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
}
|
border-radius: 6px;
|
||||||
}
|
color: light-dark(@beige, @dark);
|
||||||
}
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
|
padding: 0 2px;
|
||||||
button {
|
}
|
||||||
flex: 1;
|
|
||||||
height: 100%;
|
img {
|
||||||
white-space: nowrap;
|
width: 60px;
|
||||||
}
|
height: 60px;
|
||||||
}
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.main-equipment-selection {
|
}
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 2fr;
|
.suggestion-container {
|
||||||
gap: 16px;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
&.triple {
|
justify-content: center;
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
height: min-content;
|
||||||
}
|
border: 2px solid light-dark(@dark-blue, @golden);
|
||||||
}
|
border-radius: 8px;
|
||||||
|
|
||||||
.equipment-selection {
|
legend {
|
||||||
display: flex;
|
margin-left: auto;
|
||||||
flex-direction: column;
|
margin-right: auto;
|
||||||
align-items: center;
|
font-size: 12px;
|
||||||
gap: 8px;
|
}
|
||||||
border: 2px solid light-dark(@dark-blue, @golden);
|
|
||||||
border-radius: 8px;
|
.suggestion-inner-container {
|
||||||
|
position: relative;
|
||||||
legend {
|
display: flex;
|
||||||
margin-left: auto;
|
justify-content: center;
|
||||||
margin-right: auto;
|
align-items: center;
|
||||||
font-size: 28px;
|
padding: 6px;
|
||||||
font-weight: bold;
|
cursor: grab;
|
||||||
padding: 0 8px;
|
|
||||||
white-space: nowrap;
|
&.taken {
|
||||||
}
|
opacity: 0.4;
|
||||||
|
}
|
||||||
.equipment-subsection {
|
|
||||||
display: flex;
|
label {
|
||||||
align-items: start;
|
position: absolute;
|
||||||
gap: 32px;
|
top: -2px;
|
||||||
}
|
font-size: 12px;
|
||||||
|
}
|
||||||
.equipment-wrapper {
|
|
||||||
display: flex;
|
img {
|
||||||
flex-direction: column;
|
width: 120px;
|
||||||
align-items: center;
|
}
|
||||||
gap: 8px;
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.simple-equipment-container {
|
}
|
||||||
display: flex;
|
}
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
gap: 8px;
|
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
.simple-equipment {
|
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
|
||||||
border-radius: 8px;
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
&.selectable {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.inactive {
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
position: absolute;
|
|
||||||
top: -8px;
|
|
||||||
font-size: 12px;
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 1px solid light-dark(@dark-blue, @golden);
|
|
||||||
border-radius: 6px;
|
|
||||||
color: light-dark(@beige, @dark);
|
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
|
||||||
padding: 0 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.suggestion-container {
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
height: min-content;
|
|
||||||
border: 2px solid light-dark(@dark-blue, @golden);
|
|
||||||
border-radius: 8px;
|
|
||||||
|
|
||||||
legend {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.suggestion-inner-container {
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
padding: 6px;
|
|
||||||
cursor: grab;
|
|
||||||
|
|
||||||
&.taken {
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
position: absolute;
|
|
||||||
top: -2px;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 120px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.creation-action-footer {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 32px;
|
|
||||||
|
|
||||||
button {
|
|
||||||
flex: 1;
|
|
||||||
height: 100%;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
27
styles/less/dialog/character-creation/sheet.less
Normal file
27
styles/less/dialog/character-creation/sheet.less
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
@import '../../utils/mixin.less';
|
||||||
|
|
||||||
|
.appTheme({
|
||||||
|
.character-creation {
|
||||||
|
.tab-navigation nav a .descriptor {
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
|
}
|
||||||
|
.main-selections-container {
|
||||||
|
.traits-container .suggested-traits-container .suggested-trait-container,
|
||||||
|
.creation-action-footer .footer-section nav a .descriptor,
|
||||||
|
.equipment-selection .simple-equipment-container .simple-equipment label {
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {});
|
||||||
|
|
||||||
|
.daggerheart.dh-style.dialog.character-creation {
|
||||||
|
.window-content {
|
||||||
|
gap: 16px;
|
||||||
|
|
||||||
|
.tab {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
62
styles/less/dialog/character-creation/tab-navigation.less
Normal file
62
styles/less/dialog/character-creation/tab-navigation.less
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
|
||||||
|
.daggerheart.dh-style.dialog.character-creation {
|
||||||
|
.tab-navigation {
|
||||||
|
nav {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
|
a {
|
||||||
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-section-text {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.finish-marker {
|
||||||
|
position: absolute;
|
||||||
|
align-self: center;
|
||||||
|
top: -8px;
|
||||||
|
padding: 4px;
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 50%;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
font-size: 12px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background-color: var(--color-cool-4);
|
||||||
|
content: '';
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
background-color: var(--color-warm-2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.descriptor {
|
||||||
|
position: absolute;
|
||||||
|
bottom: -8px;
|
||||||
|
font-size: 12px;
|
||||||
|
border-radius: 8px;
|
||||||
|
width: 56px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 1;
|
||||||
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
|
border-radius: 6px;
|
||||||
|
color: light-dark(@beige, @dark);
|
||||||
|
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
.daggerheart.views.damage-reduction {
|
@import '../../utils/colors.less';
|
||||||
.window-content {
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
.daggerheart.views.damage-reduction {
|
||||||
.damage-reduction-container {
|
.damage-reduction-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
7
styles/less/dialog/damage-reduction/sheets.less
Normal file
7
styles/less/dialog/damage-reduction/sheets.less
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
|
||||||
|
.daggerheart.views.damage-reduction {
|
||||||
|
.window-content {
|
||||||
|
padding: 8px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
81
styles/less/dialog/downtime/downtime-container.less
Normal file
81
styles/less/dialog/downtime/downtime-container.less
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
@import '../../utils/spacing.less';
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
|
||||||
|
.daggerheart.views {
|
||||||
|
.downtime-container {
|
||||||
|
.downtime-header {
|
||||||
|
margin: 0;
|
||||||
|
color: light-dark(@dark-blue, @golden);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.activity-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 8px;
|
||||||
|
|
||||||
|
.activity-title {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.activity-title-text {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.activity-image {
|
||||||
|
width: 80px;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 8px;
|
||||||
|
border: 2px solid black;
|
||||||
|
border-radius: 50%;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
.activity-select-label {
|
||||||
|
position: absolute;
|
||||||
|
top: -9px;
|
||||||
|
font-size: 14px;
|
||||||
|
border: 1px solid light-dark(@dark-blue, @golden);
|
||||||
|
border-radius: 6px;
|
||||||
|
color: light-dark(@beige, @dark);
|
||||||
|
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||||
|
padding: 0 8px;
|
||||||
|
line-height: 1;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&.selected {
|
||||||
|
filter: drop-shadow(0 0 6px gold);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-name-input {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0;
|
||||||
|
background: transparent;
|
||||||
|
color: rgb(239, 230, 216);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.activity-body {
|
||||||
|
flex: 1;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.downtime {
|
||||||
|
.activity-text-area {
|
||||||
|
resize: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
19
styles/less/dialog/index.less
Normal file
19
styles/less/dialog/index.less
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
@import './level-up/navigation-container.less';
|
||||||
|
@import './level-up/selections-container.less';
|
||||||
|
@import './level-up/sheet.less';
|
||||||
|
@import './level-up/summary-container.less';
|
||||||
|
@import './level-up/tiers-container.less';
|
||||||
|
|
||||||
|
@import './downtime/downtime-container.less';
|
||||||
|
|
||||||
|
@import './beastform/beastform-container.less';
|
||||||
|
@import './beastform/sheet.less';
|
||||||
|
|
||||||
|
@import './character-creation/creation-action-footer.less';
|
||||||
|
@import './character-creation/selections-container.less';
|
||||||
|
@import './character-creation/sheet.less';
|
||||||
|
@import './character-creation/tab-navigation.less';
|
||||||
|
|
||||||
|
@import './dice-roll/roll-selection.less';
|
||||||
|
@import './damage-reduction/damage-reduction-container.less';
|
||||||
|
@import './damage-reduction/sheets.less';
|
||||||
30
styles/less/dialog/level-up/navigation-container.less
Normal file
30
styles/less/dialog/level-up/navigation-container.less
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
.daggerheart.levelup {
|
||||||
|
.levelup-navigation-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 22px;
|
||||||
|
height: 36px;
|
||||||
|
|
||||||
|
nav {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
|
.levelup-tab-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-navigation-actions {
|
||||||
|
width: 306px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: end;
|
||||||
|
gap: 16px;
|
||||||
|
margin-right: 4px;
|
||||||
|
|
||||||
|
* {
|
||||||
|
width: calc(50% - 8px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
108
styles/less/dialog/level-up/selections-container.less
Normal file
108
styles/less/dialog/level-up/selections-container.less
Normal file
|
|
@ -0,0 +1,108 @@
|
||||||
|
.daggerheart.levelup {
|
||||||
|
.levelup-selections-container {
|
||||||
|
.achievement-experience-cards {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.achievement-experience-card {
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
font-size: 18px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
|
.achievement-experience-marker {
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 50%;
|
||||||
|
height: 18px;
|
||||||
|
width: 18px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-card-selection {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 40px;
|
||||||
|
|
||||||
|
.card-preview-container {
|
||||||
|
width: calc(100% * (1 / 5));
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-domains-selection-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.levelup-domain-selection-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
flex: 1;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-domain-label {
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
top: 4px;
|
||||||
|
background: grey;
|
||||||
|
padding: 0 12px;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: 124px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-domain-selected {
|
||||||
|
position: absolute;
|
||||||
|
height: 54px;
|
||||||
|
width: 54px;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 2px solid;
|
||||||
|
font-size: 48px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||||
|
color: var(--color-dark-5);
|
||||||
|
top: calc(50% - 29px);
|
||||||
|
|
||||||
|
i {
|
||||||
|
position: relative;
|
||||||
|
right: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-selections-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-radio-choices {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
label {
|
||||||
|
flex: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
37
styles/less/dialog/level-up/sheet.less
Normal file
37
styles/less/dialog/level-up/sheet.less
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
@import '../../utils/mixin.less';
|
||||||
|
|
||||||
|
.appTheme({}, {
|
||||||
|
&.levelup {
|
||||||
|
.tiers-container {
|
||||||
|
.tier-container {
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
.daggerheart.levelup {
|
||||||
|
.window-content {
|
||||||
|
max-height: 960px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
div[data-application-part='form'] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
.section-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.levelup-footer {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
37
styles/less/dialog/level-up/summary-container.less
Normal file
37
styles/less/dialog/level-up/summary-container.less
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
.daggerheart.levelup {
|
||||||
|
.levelup-summary-container {
|
||||||
|
.level-achievements-container,
|
||||||
|
.level-advancements-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
margin: 0;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.increase-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.summary-selection-container {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.summary-selection {
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0 4px;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
65
styles/less/dialog/level-up/tiers-container.less
Normal file
65
styles/less/dialog/level-up/tiers-container.less
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
.daggerheart.levelup {
|
||||||
|
.tiers-container {
|
||||||
|
display: flex;
|
||||||
|
gap: 16px;
|
||||||
|
|
||||||
|
.tier-container {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
|
|
||||||
|
&.inactive {
|
||||||
|
opacity: 0.4;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-group-container {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 3fr;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
|
.checkboxes-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: end;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
|
.checkbox-grouping-coontainer {
|
||||||
|
display: flex;
|
||||||
|
height: min-content;
|
||||||
|
|
||||||
|
&.multi {
|
||||||
|
border: 2px solid grey;
|
||||||
|
padding: 2.4px 2.5px 0;
|
||||||
|
border-radius: 4px;
|
||||||
|
gap: 2px;
|
||||||
|
|
||||||
|
.selection-checkbox {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.selection-checkbox {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-group-label {
|
||||||
|
font-size: 14px;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
14
styles/less/global/index.less
Normal file
14
styles/less/global/index.less
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
@import './sheet.less';
|
||||||
|
@import './dialog.less';
|
||||||
|
@import './elements.less';
|
||||||
|
@import './tab-navigation.less';
|
||||||
|
@import './tab-form-footer.less';
|
||||||
|
@import './tab-actions.less';
|
||||||
|
@import './tab-features.less';
|
||||||
|
@import './tab-effects.less';
|
||||||
|
@import './item-header.less';
|
||||||
|
@import './feature-section.less';
|
||||||
|
@import './inventory-item.less';
|
||||||
|
@import './inventory-fieldset-items.less';
|
||||||
|
@import './prose-mirror.less';
|
||||||
|
@import './filter-menu.less';
|
||||||
|
|
@ -1,132 +0,0 @@
|
||||||
@font-face {
|
|
||||||
font-family: 'Cinzel';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: swap;
|
|
||||||
src: url(https://fonts.gstatic.com/s/cinzel/v23/8vIU7ww63mVu7gtR-kwKxNvkNOjw-tbnTYo.ttf) format('truetype');
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Cinzel';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
font-display: swap;
|
|
||||||
src: url(https://fonts.gstatic.com/s/cinzel/v23/8vIU7ww63mVu7gtR-kwKxNvkNOjw-jHgTYo.ttf) format('truetype');
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Cinzel Decorative';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
font-display: swap;
|
|
||||||
src: url(https://fonts.gstatic.com/s/cinzeldecorative/v17/daaHSScvJGqLYhG8nNt8KPPswUAPniZoaelD.ttf)
|
|
||||||
format('truetype');
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Montserrat';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: swap;
|
|
||||||
src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew-.ttf) format('truetype');
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Montserrat';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 600;
|
|
||||||
font-display: swap;
|
|
||||||
src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu170w-.ttf) format('truetype');
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style h1 {
|
|
||||||
font-family: 'Cinzel Decorative', serif;
|
|
||||||
margin: 0;
|
|
||||||
border: none;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style h2,
|
|
||||||
.application.sheet.daggerheart.dh-style h3 {
|
|
||||||
font-family: 'Cinzel', serif;
|
|
||||||
margin: 0;
|
|
||||||
border: none;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style h4 {
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
border: none;
|
|
||||||
font-weight: 700;
|
|
||||||
margin: 0;
|
|
||||||
text-shadow: none;
|
|
||||||
color: #f3c267;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style h5 {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #f3c267;
|
|
||||||
margin: 0;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style p,
|
|
||||||
.application.sheet.daggerheart.dh-style span {
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style small {
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tagify {
|
|
||||||
background: light-dark(transparent, transparent);
|
|
||||||
border: 1px solid light-dark(#222, #efe6d8);
|
|
||||||
height: 34px;
|
|
||||||
border-radius: 3px;
|
|
||||||
margin-right: 1px;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tagify tag div {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
height: 22px;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tagify tag div span {
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tagify tag div img {
|
|
||||||
margin-left: 8px;
|
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .fieldsets-section {
|
|
||||||
display: grid;
|
|
||||||
gap: 10px;
|
|
||||||
grid-template-columns: 1fr 1.5fr 1.5fr;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items:last-child {
|
|
||||||
margin-bottom: 0px;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items .item-line {
|
|
||||||
display: grid;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
grid-template-columns: 1fr 3fr 1fr;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items .item-line h4 {
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
font-weight: lighter;
|
|
||||||
color: light-dark(#222, #efe6d8);
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items .item-line .image {
|
|
||||||
height: 40px;
|
|
||||||
width: 40px;
|
|
||||||
object-fit: cover;
|
|
||||||
border-radius: 6px;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items .item-line .controls {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 10px;
|
|
||||||
}
|
|
||||||
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items .item-line .controls a {
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
7
styles/less/sheets-settings/index.less
Normal file
7
styles/less/sheets-settings/index.less
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
@import './header.less';
|
||||||
|
@import './adversary-settings/sheet.less';
|
||||||
|
@import './adversary-settings/experiences.less';
|
||||||
|
@import './adversary-settings/features.less';
|
||||||
|
|
||||||
|
@import './environment-settings/features.less';
|
||||||
|
@import './environment-settings/adversaries.less';
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||||
.tab.features {
|
.tab.features {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||||
.adversary-header-sheet {
|
.adversary-header-sheet {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||||
.window-content {
|
.window-content {
|
||||||
|
|
@ -1,16 +1,26 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
|
.appTheme({
|
||||||
|
&.adversary {
|
||||||
|
.adversary-sidebar-sheet {
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
&.adversary {
|
||||||
|
.adversary-sidebar-sheet {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||||
.adversary-sidebar-sheet {
|
.adversary-sidebar-sheet {
|
||||||
width: 275px;
|
width: 275px;
|
||||||
min-width: 275px;
|
min-width: 275px;
|
||||||
border-right: 1px solid light-dark(@dark-blue, @golden);
|
border-right: 1px solid light-dark(@dark-blue, @golden);
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
|
||||||
|
|
||||||
.theme-light & {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.portrait {
|
.portrait {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
.tab.biography {
|
.tab.biography {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
.tab.features {
|
.tab.features {
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
// Theme header backgrounds
|
// Theme header backgrounds
|
||||||
.appTheme({
|
.appTheme({
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
.tab.inventory {
|
.tab.inventory {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
.tab.loadout {
|
.tab.loadout {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
.window-content {
|
.window-content {
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
// Theme sidebar backgrounds
|
// Theme sidebar backgrounds
|
||||||
.appTheme({
|
.appTheme({
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.companion {
|
.application.sheet.daggerheart.actor.dh-style.companion {
|
||||||
.partner-section,
|
.partner-section,
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.companion {
|
.application.sheet.daggerheart.actor.dh-style.companion {
|
||||||
.companion-header-sheet {
|
.companion-header-sheet {
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
// Theme header backgrounds
|
// Theme header backgrounds
|
||||||
.appTheme({
|
.appTheme({
|
||||||
&.companion {
|
&.companion {
|
||||||
|
|
@ -8,15 +10,3 @@
|
||||||
background: url('../assets/parchments/dh-parchment-light.png');
|
background: url('../assets/parchments/dh-parchment-light.png');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.companion {
|
|
||||||
// .profile {
|
|
||||||
// height: 80px;
|
|
||||||
// width: 80px;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .temp-container {
|
|
||||||
// position: relative;
|
|
||||||
// top: 32px;
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||||
.environment-header-sheet {
|
.environment-header-sheet {
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
.appTheme({
|
.appTheme({
|
||||||
&.environment {
|
&.environment {
|
||||||
23
styles/less/sheets/index.less
Normal file
23
styles/less/sheets/index.less
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
@import './actors/adversary/actions.less';
|
||||||
|
@import './actors/adversary/header.less';
|
||||||
|
@import './actors/adversary/sheet.less';
|
||||||
|
@import './actors/adversary/sidebar.less';
|
||||||
|
|
||||||
|
@import './actors/character/biography.less';
|
||||||
|
@import './actors/character/features.less';
|
||||||
|
@import './actors/character/header.less';
|
||||||
|
@import './actors/character/inventory.less';
|
||||||
|
@import './actors/character/loadout.less';
|
||||||
|
@import './actors/character/sheet.less';
|
||||||
|
@import './actors/character/sidebar.less';
|
||||||
|
|
||||||
|
@import './actors/companion/details.less';
|
||||||
|
@import './actors/companion/header.less';
|
||||||
|
@import './actors/companion/sheet.less';
|
||||||
|
|
||||||
|
@import './actors/environment/header.less';
|
||||||
|
@import './actors/environment/sheet.less';
|
||||||
|
|
||||||
|
@import './items/class.less';
|
||||||
|
@import './items/domain-card.less';
|
||||||
|
@import './items/feature.less';
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../utils/colors.less';
|
@import '../../utils/colors.less';
|
||||||
@import '../utils/fonts.less';
|
@import '../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.dh-style.class {
|
.application.sheet.daggerheart.dh-style.class {
|
||||||
.tab.settings {
|
.tab.settings {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../utils/colors.less';
|
@import '../../utils/colors.less';
|
||||||
@import '../utils/fonts.less';
|
@import '../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.dh-style.domain-card {
|
.application.sheet.daggerheart.dh-style.domain-card {
|
||||||
section.tab {
|
section.tab {
|
||||||
4
styles/less/items/feature.less → styles/less/sheets/items/feature.less
Executable file → Normal file
4
styles/less/items/feature.less → styles/less/sheets/items/feature.less
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
||||||
@import '../utils/colors.less';
|
@import '../../utils/colors.less';
|
||||||
@import '../utils/fonts.less';
|
@import '../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.dh-style.feature {
|
.application.sheet.daggerheart.dh-style.feature {
|
||||||
.item-sheet-header {
|
.item-sheet-header {
|
||||||
|
|
@ -1,36 +1,5 @@
|
||||||
.chat-message {
|
@import '../../utils/colors.less';
|
||||||
.duality-modifiers,
|
@import '../../utils/spacing.less';
|
||||||
.duality-result,
|
|
||||||
.dice-title {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset.daggerheart.chat {
|
|
||||||
padding: 0;
|
|
||||||
border-left-width: 0;
|
|
||||||
border-right-width: 0;
|
|
||||||
border-bottom-width: 0;
|
|
||||||
legend {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 5px;
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
content: '\f0d8';
|
|
||||||
font-family: 'Font Awesome 6 Pro';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&.expanded {
|
|
||||||
legend:before,
|
|
||||||
legend:after {
|
|
||||||
content: '\f0d7';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.daggerheart.chat {
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.daggerheart.chat {
|
.daggerheart.chat {
|
||||||
&.downtime {
|
&.downtime {
|
||||||
|
|
@ -408,194 +377,3 @@ fieldset.daggerheart.chat {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-colorful {
|
|
||||||
.chat-message.duality {
|
|
||||||
border-color: black;
|
|
||||||
padding: 8px 0 0 0;
|
|
||||||
fieldset.daggerheart.chat {
|
|
||||||
border-top-width: 0;
|
|
||||||
display: contents;
|
|
||||||
legend {
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.message-header {
|
|
||||||
color: var(--color-light-3);
|
|
||||||
padding: 0 8px;
|
|
||||||
}
|
|
||||||
&.hope {
|
|
||||||
background: linear-gradient(0, rgba(165, 42, 42, 0.6) 40px, rgba(0, 0, 0, 0.6));
|
|
||||||
}
|
|
||||||
&.fear {
|
|
||||||
background: linear-gradient(0, @fearBackgroundEnd, @fearBackgroundStart);
|
|
||||||
}
|
|
||||||
&.critical {
|
|
||||||
background: linear-gradient(0, @criticalBackgroundEnd, @criticalBackgroundStart);
|
|
||||||
}
|
|
||||||
.chat-message header {
|
|
||||||
color: var(--color-light-3);
|
|
||||||
}
|
|
||||||
> * {
|
|
||||||
padding: 0 8px;
|
|
||||||
}
|
|
||||||
.message-content {
|
|
||||||
.duality-modifiers,
|
|
||||||
.duality-result,
|
|
||||||
.dice-title {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.duality-modifiers {
|
|
||||||
display: flex;
|
|
||||||
gap: 2px;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
.duality-modifier {
|
|
||||||
padding: 2px;
|
|
||||||
border-radius: 6px;
|
|
||||||
border: 1px solid;
|
|
||||||
background: var(--color-dark-6);
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.dice-flavor {
|
|
||||||
color: var(--color-light-1);
|
|
||||||
text-shadow: 0 0 1px black;
|
|
||||||
border-bottom: 1px solid;
|
|
||||||
display: flex;
|
|
||||||
align-items: end;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 8px;
|
|
||||||
margin: 0 -8px 2px;
|
|
||||||
font-weight: unset;
|
|
||||||
}
|
|
||||||
.dice-result {
|
|
||||||
.duality-modifiers {
|
|
||||||
display: flex; // Default => display: none;
|
|
||||||
gap: 2px;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
.duality-modifier {
|
|
||||||
padding: 2px;
|
|
||||||
border-radius: 6px;
|
|
||||||
border: 1px solid;
|
|
||||||
background: var(--color-dark-6);
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.dice-formula,
|
|
||||||
> .dice-total,
|
|
||||||
.part-header {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.dice-tooltip {
|
|
||||||
grid-template-rows: 1fr;
|
|
||||||
.wrapper {
|
|
||||||
.tooltip-part {
|
|
||||||
display: flex;
|
|
||||||
align-items: end;
|
|
||||||
gap: 0.25rem;
|
|
||||||
.dice {
|
|
||||||
.dice-rolls {
|
|
||||||
margin-bottom: 0;
|
|
||||||
&.duality {
|
|
||||||
li {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
position: relative;
|
|
||||||
background: unset;
|
|
||||||
line-height: unset;
|
|
||||||
font-weight: unset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.duality-modifier {
|
|
||||||
display: flex;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
color: var(--color-light-1);
|
|
||||||
text-shadow: 0 0 1px black;
|
|
||||||
font-size: var(--font-size-16);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.target-selection {
|
|
||||||
label {
|
|
||||||
color: var(--color-light-1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.target-section {
|
|
||||||
margin: 4px 0;
|
|
||||||
border: 2px solid;
|
|
||||||
margin-top: 5px;
|
|
||||||
.dice-total {
|
|
||||||
box-shadow: unset;
|
|
||||||
border: unset;
|
|
||||||
border-radius: unset;
|
|
||||||
font-size: var(--font-size-18);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.dice-actions {
|
|
||||||
justify-content: space-between;
|
|
||||||
&.duality-alone {
|
|
||||||
justify-content: end;
|
|
||||||
margin-top: -20px;
|
|
||||||
}
|
|
||||||
> * {
|
|
||||||
display: flex;
|
|
||||||
color: var(--color-light-1);
|
|
||||||
text-shadow: 0 0 1px black;
|
|
||||||
font-weight: bold;
|
|
||||||
background: var(--color-dark-1);
|
|
||||||
padding: 4px;
|
|
||||||
border-color: black;
|
|
||||||
min-height: unset;
|
|
||||||
height: 26px;
|
|
||||||
flex: unset;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.duality-action {
|
|
||||||
border-radius: 0 6px 0 0;
|
|
||||||
margin-left: -8px;
|
|
||||||
&.duality-action-effect {
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
margin-left: initial;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.duality-result {
|
|
||||||
border-radius: 6px 0 0 0;
|
|
||||||
margin-right: -8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.duality-result {
|
|
||||||
display: flex;
|
|
||||||
color: var(--color-light-1);
|
|
||||||
text-shadow: 0 0 1px black;
|
|
||||||
font-weight: bold;
|
|
||||||
background: var(--color-dark-1);
|
|
||||||
padding: 4px;
|
|
||||||
border-color: black;
|
|
||||||
min-height: unset;
|
|
||||||
height: 26px;
|
|
||||||
flex: unset;
|
|
||||||
margin: 0;
|
|
||||||
margin-left: auto;
|
|
||||||
align-self: center;
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
&.inner-button {
|
|
||||||
color: var(--color-light-1);
|
|
||||||
text-shadow: 0 0 1px black;
|
|
||||||
font-weight: bold;
|
|
||||||
background: var(--color-dark-1);
|
|
||||||
border-color: black;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
33
styles/less/ui/chat/sheet.less
Normal file
33
styles/less/ui/chat/sheet.less
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
.chat-message {
|
||||||
|
.duality-modifiers,
|
||||||
|
.duality-result,
|
||||||
|
.dice-title {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset.daggerheart.chat {
|
||||||
|
padding: 0;
|
||||||
|
border-left-width: 0;
|
||||||
|
border-right-width: 0;
|
||||||
|
border-bottom-width: 0;
|
||||||
|
legend {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
content: '\f0d8';
|
||||||
|
font-family: 'Font Awesome 6 Pro';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.expanded {
|
||||||
|
legend:before,
|
||||||
|
legend:after {
|
||||||
|
content: '\f0d7';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.daggerheart.chat {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
193
styles/less/ui/chat/theme-colorful.less
Normal file
193
styles/less/ui/chat/theme-colorful.less
Normal file
|
|
@ -0,0 +1,193 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
@import '../../utils/spacing.less';
|
||||||
|
|
||||||
|
.theme-colorful {
|
||||||
|
.chat-message.duality {
|
||||||
|
border-color: black;
|
||||||
|
padding: 8px 0 0 0;
|
||||||
|
fieldset.daggerheart.chat {
|
||||||
|
border-top-width: 0;
|
||||||
|
display: contents;
|
||||||
|
legend {
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.message-header {
|
||||||
|
color: var(--color-light-3);
|
||||||
|
padding: 0 8px;
|
||||||
|
}
|
||||||
|
&.hope {
|
||||||
|
background: linear-gradient(0, rgba(165, 42, 42, 0.6) 40px, rgba(0, 0, 0, 0.6));
|
||||||
|
}
|
||||||
|
&.fear {
|
||||||
|
background: linear-gradient(0, @fearBackgroundEnd, @fearBackgroundStart);
|
||||||
|
}
|
||||||
|
&.critical {
|
||||||
|
background: linear-gradient(0, @criticalBackgroundEnd, @criticalBackgroundStart);
|
||||||
|
}
|
||||||
|
.chat-message header {
|
||||||
|
color: var(--color-light-3);
|
||||||
|
}
|
||||||
|
> * {
|
||||||
|
padding: 0 8px;
|
||||||
|
}
|
||||||
|
.message-content {
|
||||||
|
.duality-modifiers,
|
||||||
|
.duality-result,
|
||||||
|
.dice-title {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.duality-modifiers {
|
||||||
|
display: flex;
|
||||||
|
gap: 2px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
.duality-modifier {
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 1px solid;
|
||||||
|
background: var(--color-dark-6);
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dice-flavor {
|
||||||
|
color: var(--color-light-1);
|
||||||
|
text-shadow: 0 0 1px black;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
display: flex;
|
||||||
|
align-items: end;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 0 8px;
|
||||||
|
margin: 0 -8px 2px;
|
||||||
|
font-weight: unset;
|
||||||
|
}
|
||||||
|
.dice-result {
|
||||||
|
.duality-modifiers {
|
||||||
|
display: flex; // Default => display: none;
|
||||||
|
gap: 2px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
.duality-modifier {
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 1px solid;
|
||||||
|
background: var(--color-dark-6);
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dice-formula,
|
||||||
|
> .dice-total,
|
||||||
|
.part-header {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.dice-tooltip {
|
||||||
|
grid-template-rows: 1fr;
|
||||||
|
.wrapper {
|
||||||
|
.tooltip-part {
|
||||||
|
display: flex;
|
||||||
|
align-items: end;
|
||||||
|
gap: 0.25rem;
|
||||||
|
.dice {
|
||||||
|
.dice-rolls {
|
||||||
|
margin-bottom: 0;
|
||||||
|
&.duality {
|
||||||
|
li {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
background: unset;
|
||||||
|
line-height: unset;
|
||||||
|
font-weight: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.duality-modifier {
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
color: var(--color-light-1);
|
||||||
|
text-shadow: 0 0 1px black;
|
||||||
|
font-size: var(--font-size-16);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.target-selection {
|
||||||
|
label {
|
||||||
|
color: var(--color-light-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.target-section {
|
||||||
|
margin: 4px 0;
|
||||||
|
border: 2px solid;
|
||||||
|
margin-top: 5px;
|
||||||
|
.dice-total {
|
||||||
|
box-shadow: unset;
|
||||||
|
border: unset;
|
||||||
|
border-radius: unset;
|
||||||
|
font-size: var(--font-size-18);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dice-actions {
|
||||||
|
justify-content: space-between;
|
||||||
|
&.duality-alone {
|
||||||
|
justify-content: end;
|
||||||
|
margin-top: -20px;
|
||||||
|
}
|
||||||
|
> * {
|
||||||
|
display: flex;
|
||||||
|
color: var(--color-light-1);
|
||||||
|
text-shadow: 0 0 1px black;
|
||||||
|
font-weight: bold;
|
||||||
|
background: var(--color-dark-1);
|
||||||
|
padding: 4px;
|
||||||
|
border-color: black;
|
||||||
|
min-height: unset;
|
||||||
|
height: 26px;
|
||||||
|
flex: unset;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.duality-action {
|
||||||
|
border-radius: 0 6px 0 0;
|
||||||
|
margin-left: -8px;
|
||||||
|
&.duality-action-effect {
|
||||||
|
border-top-left-radius: 6px;
|
||||||
|
margin-left: initial;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.duality-result {
|
||||||
|
border-radius: 6px 0 0 0;
|
||||||
|
margin-right: -8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.duality-result {
|
||||||
|
display: flex;
|
||||||
|
color: var(--color-light-1);
|
||||||
|
text-shadow: 0 0 1px black;
|
||||||
|
font-weight: bold;
|
||||||
|
background: var(--color-dark-1);
|
||||||
|
padding: 4px;
|
||||||
|
border-color: black;
|
||||||
|
min-height: unset;
|
||||||
|
height: 26px;
|
||||||
|
flex: unset;
|
||||||
|
margin: 0;
|
||||||
|
margin-left: auto;
|
||||||
|
align-self: center;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
&.inner-button {
|
||||||
|
color: var(--color-light-1);
|
||||||
|
text-shadow: 0 0 1px black;
|
||||||
|
font-weight: bold;
|
||||||
|
background: var(--color-dark-1);
|
||||||
|
border-color: black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
styles/less/ui/combat-sidebar/combat-sidebar.less
Normal file
6
styles/less/ui/combat-sidebar/combat-sidebar.less
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
.combat-sidebar {
|
||||||
|
h4 {
|
||||||
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
5
styles/less/ui/combat-sidebar/combatant-controls.less
Normal file
5
styles/less/ui/combat-sidebar/combatant-controls.less
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
.combat-sidebar {
|
||||||
|
.combatant-controls {
|
||||||
|
flex: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
48
styles/less/ui/combat-sidebar/encounter-controls.less
Normal file
48
styles/less/ui/combat-sidebar/encounter-controls.less
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
.combat-sidebar {
|
||||||
|
.encounter-controls.combat {
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
.encounter-fear-controls {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.encounter-fear-dice-container {
|
||||||
|
display: flex;
|
||||||
|
gap: 2px;
|
||||||
|
|
||||||
|
.encounter-control-fear-container {
|
||||||
|
display: flex;
|
||||||
|
position: relative;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: black;
|
||||||
|
|
||||||
|
.dice {
|
||||||
|
height: 22px;
|
||||||
|
width: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.encounter-control-fear {
|
||||||
|
position: absolute;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.encounter-control-counter {
|
||||||
|
position: absolute;
|
||||||
|
right: -10px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.encounter-countdowns {
|
||||||
|
color: var(--content-link-icon-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-buttons {
|
||||||
|
width: min-content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
19
styles/less/ui/combat-sidebar/spotlight-control.less
Normal file
19
styles/less/ui/combat-sidebar/spotlight-control.less
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
.combat-sidebar {
|
||||||
|
.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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
48
styles/less/ui/combat-sidebar/token-actions.less
Normal file
48
styles/less/ui/combat-sidebar/token-actions.less
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
.combat-sidebar {
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
61
styles/less/ui/countdown/countdown.less
Normal file
61
styles/less/ui/countdown/countdown.less
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
@import '../../utils/fonts.less';
|
||||||
|
|
||||||
|
.daggerheart.dh-style.countdown {
|
||||||
|
fieldset {
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 5px;
|
||||||
|
border-radius: 6px;
|
||||||
|
border-color: light-dark(@dark-blue, @golden);
|
||||||
|
|
||||||
|
legend {
|
||||||
|
font-family: @font-body;
|
||||||
|
font-weight: bold;
|
||||||
|
color: light-dark(@dark-blue, @golden);
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.minimized-view {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
.mini-countdown-container {
|
||||||
|
width: fit-content;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
border: 2px solid light-dark(@dark-blue, @golden);
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0 4px 0 0;
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
|
color: light-dark(@beige, @dark);
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
cursor: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
border-radius: 6px 0 0 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mini-countdown-name {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mini-countdown-value {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,141 +1,88 @@
|
||||||
.theme-light {
|
@import '../../utils/colors.less';
|
||||||
.daggerheart.dh-style.countdown {
|
@import '../../utils/fonts.less';
|
||||||
.minimized-view .mini-countdown-container {
|
@import '../../utils/mixin.less';
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
|
||||||
}
|
.appTheme({}, {
|
||||||
}
|
&.countdown {
|
||||||
}
|
.minimized-view .mini-countdown-container {
|
||||||
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
.daggerheart.dh-style.countdown {
|
}
|
||||||
overflow: hidden;
|
}
|
||||||
|
});
|
||||||
fieldset {
|
|
||||||
align-items: center;
|
.daggerheart.dh-style.countdown {
|
||||||
margin-top: 5px;
|
overflow: hidden;
|
||||||
border-radius: 6px;
|
|
||||||
border-color: light-dark(@dark-blue, @golden);
|
.window-content {
|
||||||
|
> div {
|
||||||
legend {
|
height: 100%;
|
||||||
font-family: @font-body;
|
|
||||||
font-weight: bold;
|
.expanded-view {
|
||||||
color: light-dark(@dark-blue, @golden);
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
a {
|
flex-direction: column;
|
||||||
text-shadow: none;
|
|
||||||
}
|
.countdowns-menu {
|
||||||
}
|
display: flex;
|
||||||
}
|
gap: 8px;
|
||||||
|
|
||||||
.minimized-view {
|
.flex {
|
||||||
display: flex;
|
flex: 1;
|
||||||
gap: 8px;
|
}
|
||||||
flex-wrap: wrap;
|
}
|
||||||
|
|
||||||
.mini-countdown-container {
|
.countdowns-container {
|
||||||
width: fit-content;
|
display: flex;
|
||||||
display: flex;
|
gap: 8px;
|
||||||
align-items: center;
|
flex-wrap: wrap;
|
||||||
gap: 8px;
|
overflow: auto;
|
||||||
border: 2px solid light-dark(@dark-blue, @golden);
|
max-height: 100%;
|
||||||
border-radius: 6px;
|
|
||||||
padding: 0 4px 0 0;
|
.countdown-fieldset {
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
width: 340px;
|
||||||
color: light-dark(@beige, @dark);
|
height: min-content;
|
||||||
cursor: pointer;
|
position: relative;
|
||||||
|
|
||||||
&.disabled {
|
.ownership-button {
|
||||||
cursor: initial;
|
position: absolute;
|
||||||
}
|
top: 8px;
|
||||||
|
right: 8px;
|
||||||
img {
|
font-size: 18px;
|
||||||
width: 30px;
|
}
|
||||||
height: 30px;
|
|
||||||
border-radius: 6px 0 0 6px;
|
.countdown-container {
|
||||||
}
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
.mini-countdown-name {
|
gap: 16px;
|
||||||
white-space: nowrap;
|
|
||||||
}
|
img {
|
||||||
|
width: 150px;
|
||||||
.mini-countdown-value {
|
height: 150px;
|
||||||
}
|
cursor: pointer;
|
||||||
}
|
|
||||||
}
|
&.disabled {
|
||||||
|
cursor: initial;
|
||||||
.hidden {
|
}
|
||||||
display: none;
|
}
|
||||||
}
|
|
||||||
|
.countdown-inner-container {
|
||||||
.window-content {
|
display: flex;
|
||||||
> div {
|
flex-direction: column;
|
||||||
height: 100%;
|
gap: 4px;
|
||||||
|
|
||||||
.expanded-view {
|
.countdown-value-container {
|
||||||
height: 100%;
|
display: flex;
|
||||||
display: flex;
|
gap: 4px;
|
||||||
flex-direction: column;
|
|
||||||
|
input {
|
||||||
.countdowns-menu {
|
max-width: 80px;
|
||||||
display: flex;
|
}
|
||||||
gap: 8px;
|
}
|
||||||
|
}
|
||||||
.flex {
|
}
|
||||||
flex: 1;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.countdowns-container {
|
}
|
||||||
display: flex;
|
}
|
||||||
gap: 8px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
overflow: auto;
|
|
||||||
max-height: 100%;
|
|
||||||
|
|
||||||
.countdown-fieldset {
|
|
||||||
width: 340px;
|
|
||||||
height: min-content;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
.ownership-button {
|
|
||||||
position: absolute;
|
|
||||||
top: 8px;
|
|
||||||
right: 8px;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.countdown-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 16px;
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 150px;
|
|
||||||
height: 150px;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
cursor: initial;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.countdown-inner-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 4px;
|
|
||||||
|
|
||||||
.countdown-value-container {
|
|
||||||
display: flex;
|
|
||||||
gap: 4px;
|
|
||||||
|
|
||||||
input {
|
|
||||||
max-width: 80px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
18
styles/less/ui/index.less
Normal file
18
styles/less/ui/index.less
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
@import './chat/chat.less';
|
||||||
|
@import './chat/sheet.less';
|
||||||
|
@import './chat/theme-colorful.less';
|
||||||
|
|
||||||
|
@import './combat-sidebar/combat-sidebar.less';
|
||||||
|
@import './combat-sidebar/combatant-controls.less';
|
||||||
|
@import './combat-sidebar/encounter-controls.less';
|
||||||
|
@import './combat-sidebar/spotlight-control.less';
|
||||||
|
@import './combat-sidebar/token-actions.less';
|
||||||
|
|
||||||
|
@import './countdown/countdown.less';
|
||||||
|
@import './countdown/sheet.less';
|
||||||
|
|
||||||
|
@import './ownership-selection/ownership-selection.less';
|
||||||
|
|
||||||
|
@import './resources/resources.less';
|
||||||
|
|
||||||
|
@import './settings/settings.less';
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
|
||||||
.daggerheart.views.ownership-selection {
|
.daggerheart.views.ownership-selection {
|
||||||
.ownership-outer-container {
|
.ownership-outer-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import '../../utils/colors.less';
|
||||||
|
|
||||||
.daggerheart.dh-style.setting {
|
.daggerheart.dh-style.setting {
|
||||||
fieldset {
|
fieldset {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -45,6 +45,21 @@
|
||||||
@gradient-hp: linear-gradient(15deg, rgb(70, 20, 10) 0%, rgb(190, 0, 0) 42%, rgb(252, 176, 69) 100%);
|
@gradient-hp: linear-gradient(15deg, rgb(70, 20, 10) 0%, rgb(190, 0, 0) 42%, rgb(252, 176, 69) 100%);
|
||||||
@gradient-stress: linear-gradient(15deg, rgb(130, 59, 1) 0%, rgb(252, 142, 69) 65%, rgb(190, 0, 0) 100%);
|
@gradient-stress: linear-gradient(15deg, rgb(130, 59, 1) 0%, rgb(252, 142, 69) 65%, rgb(190, 0, 0) 100%);
|
||||||
|
|
||||||
|
// TODO: Remove this colors section once new chat layout is done
|
||||||
|
@miss: rgb(255, 0, 0);
|
||||||
|
@hit: rgb(0, 128, 0);
|
||||||
|
@positive: #699969;
|
||||||
|
@secondaryShadow: gold;
|
||||||
|
@primaryAccent: #778899;
|
||||||
|
@hope: #ffe760;
|
||||||
|
@fear: #0032b1;
|
||||||
|
@fearBackgroundStart: rgba(15, 15, 97, 0.6);
|
||||||
|
@fearBackgroundEnd: rgba(0, 0, 255, 0.6);
|
||||||
|
@critical: #430070;
|
||||||
|
@criticalBackgroundStart: rgba(37, 8, 37, 0.6);
|
||||||
|
@criticalBackgroundEnd: rgba(128, 0, 128, 0.6);
|
||||||
|
@primary-color-fear: rgba(9, 71, 179, 0.75);
|
||||||
|
|
||||||
@keyframes glow {
|
@keyframes glow {
|
||||||
0% {
|
0% {
|
||||||
box-shadow: 0 0 1px 1px @golden;
|
box-shadow: 0 0 1px 1px @golden;
|
||||||
|
|
|
||||||
|
|
@ -1,271 +0,0 @@
|
||||||
.theme-light {
|
|
||||||
.daggerheart.levelup {
|
|
||||||
.tiers-container {
|
|
||||||
.tier-container {
|
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.daggerheart.levelup {
|
|
||||||
.window-content {
|
|
||||||
max-height: 960px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
div[data-application-part='form'] {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
|
||||||
.section-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
margin-top: 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-navigation-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 22px;
|
|
||||||
height: 36px;
|
|
||||||
|
|
||||||
nav {
|
|
||||||
flex: 1;
|
|
||||||
|
|
||||||
.levelup-tab-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-navigation-actions {
|
|
||||||
width: 306px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: end;
|
|
||||||
gap: 16px;
|
|
||||||
margin-right: 4px;
|
|
||||||
|
|
||||||
* {
|
|
||||||
width: calc(50% - 8px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tiers-container {
|
|
||||||
display: flex;
|
|
||||||
gap: 16px;
|
|
||||||
|
|
||||||
.tier-container {
|
|
||||||
flex: 1;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
|
||||||
|
|
||||||
&.inactive {
|
|
||||||
opacity: 0.4;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
legend {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
font-size: 22px;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 0 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-group-container {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 3fr;
|
|
||||||
gap: 4px;
|
|
||||||
|
|
||||||
.checkboxes-container {
|
|
||||||
display: flex;
|
|
||||||
justify-content: end;
|
|
||||||
gap: 4px;
|
|
||||||
|
|
||||||
.checkbox-grouping-coontainer {
|
|
||||||
display: flex;
|
|
||||||
height: min-content;
|
|
||||||
|
|
||||||
&.multi {
|
|
||||||
border: 2px solid grey;
|
|
||||||
padding: 2.4px 2.5px 0;
|
|
||||||
border-radius: 4px;
|
|
||||||
gap: 2px;
|
|
||||||
|
|
||||||
.selection-checkbox {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.selection-checkbox {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-group-label {
|
|
||||||
font-size: 14px;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-selections-container {
|
|
||||||
.achievement-experience-cards {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
.achievement-experience-card {
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding-right: 4px;
|
|
||||||
font-size: 18px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
|
|
||||||
.achievement-experience-marker {
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 50%;
|
|
||||||
height: 18px;
|
|
||||||
width: 18px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-card-selection {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 40px;
|
|
||||||
|
|
||||||
.card-preview-container {
|
|
||||||
width: calc(100% * (1 / 5));
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-domains-selection-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
.levelup-domain-selection-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
flex: 1;
|
|
||||||
position: relative;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
pointer-events: none;
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-domain-label {
|
|
||||||
position: absolute;
|
|
||||||
text-align: center;
|
|
||||||
top: 4px;
|
|
||||||
background: grey;
|
|
||||||
padding: 0 12px;
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
height: 124px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-domain-selected {
|
|
||||||
position: absolute;
|
|
||||||
height: 54px;
|
|
||||||
width: 54px;
|
|
||||||
border-radius: 50%;
|
|
||||||
border: 2px solid;
|
|
||||||
font-size: 48px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
|
||||||
color: var(--color-dark-5);
|
|
||||||
top: calc(50% - 29px);
|
|
||||||
|
|
||||||
i {
|
|
||||||
position: relative;
|
|
||||||
right: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-selections-title {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-radio-choices {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
label {
|
|
||||||
flex: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-summary-container {
|
|
||||||
.level-achievements-container,
|
|
||||||
.level-advancements-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5 {
|
|
||||||
margin: 0;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.increase-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary-selection-container {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
.summary-selection {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 0 4px;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.levelup-footer {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
1519
styles/pc.less
1519
styles/pc.less
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +0,0 @@
|
||||||
.application.sheet.daggerheart.dh-style.active-effect-config {
|
|
||||||
label {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,65 +0,0 @@
|
||||||
.daggerheart.sheet.class .guide .drop-section {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .drop-section legend {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .drop-section .drop-section-body {
|
|
||||||
min-height: 40px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .trait-input {
|
|
||||||
text-align: center;
|
|
||||||
min-width: 24px;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .suggested-item {
|
|
||||||
border-radius: 6px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .suggested-item img {
|
|
||||||
width: 30px;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .suggested-item div {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .suggested-item i {
|
|
||||||
border-radius: 50%;
|
|
||||||
margin-right: 4px;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .extra-section {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide .extra-section .extra-title {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .guide-section-title-centered {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .inventory-section {
|
|
||||||
width: 100%;
|
|
||||||
border: 2px solid black;
|
|
||||||
border-style: dotted;
|
|
||||||
min-height: 80px;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .inventory-section .inventory-title {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 14px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.class .domain-section {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 5px;
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
.daggerheart.sheet.heritage {
|
|
||||||
.editor {
|
|
||||||
height: 200px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,185 +0,0 @@
|
||||||
@import './heritage.less';
|
|
||||||
@import './class.less';
|
|
||||||
@import './activeEffect.less';
|
|
||||||
|
|
||||||
.daggerheart.sheet {
|
|
||||||
.title-container {
|
|
||||||
display: flex;
|
|
||||||
gap: @fullMargin;
|
|
||||||
|
|
||||||
div {
|
|
||||||
flex: 1;
|
|
||||||
align-items: baseline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.editor-form-group {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
label {
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.option-select {
|
|
||||||
position: absolute;
|
|
||||||
top: calc(50% - 10px);
|
|
||||||
right: 8px;
|
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 8px;
|
|
||||||
|
|
||||||
&.deeper {
|
|
||||||
right: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:not(:disabled) {
|
|
||||||
filter: drop-shadow(0px 0px 3px @mainShadow);
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ability-title {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
filter: drop-shadow(0px 0px 3px @mainShadow);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ability-choices {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ability-chip {
|
|
||||||
border: 2px solid @secondaryAccent;
|
|
||||||
border-radius: 6px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
padding: 4px;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
flex: calc(33% - 4px);
|
|
||||||
max-width: calc(33% - 4px);
|
|
||||||
|
|
||||||
&.selected {
|
|
||||||
filter: drop-shadow(0px 0px 3px @mainShadow);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-of-type(3n-1) {
|
|
||||||
margin-left: 6px;
|
|
||||||
margin-right: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
flex: 0;
|
|
||||||
border-radius: 50%;
|
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
margin: 2px 0 2px 4px;
|
|
||||||
padding: 12px;
|
|
||||||
|
|
||||||
i {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.object-select-display {
|
|
||||||
position: relative;
|
|
||||||
width: calc(100% - 2px);
|
|
||||||
background: rgba(0, 0, 0, 0.05);
|
|
||||||
height: var(--form-field-height);
|
|
||||||
display: flex;
|
|
||||||
border: 1px solid rgb(122, 121, 113);
|
|
||||||
border-radius: 3px;
|
|
||||||
|
|
||||||
.object-select-title {
|
|
||||||
position: absolute;
|
|
||||||
left: 4px;
|
|
||||||
text-align: center;
|
|
||||||
font-weight: bold;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.object-select-text {
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.object-select-item {
|
|
||||||
cursor: pointer;
|
|
||||||
&:hover {
|
|
||||||
filter: drop-shadow(0px 0px 3px red);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.feature-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
background: @primaryAccent;
|
|
||||||
padding: 8px;
|
|
||||||
border: 2px solid black;
|
|
||||||
border-radius: 6px;
|
|
||||||
|
|
||||||
&:not(:last-child) {
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.feature-inner-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
img {
|
|
||||||
height: 40px;
|
|
||||||
width: 40px;
|
|
||||||
margin-right: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.feature-title {
|
|
||||||
font-size: 22px;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
height: 40px;
|
|
||||||
width: 40px;
|
|
||||||
background: inherit;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
i {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
122
styles/ui.less
122
styles/ui.less
|
|
@ -1,122 +0,0 @@
|
||||||
.combat-sidebar {
|
|
||||||
.encounter-controls.combat {
|
|
||||||
justify-content: space-between;
|
|
||||||
|
|
||||||
.encounter-fear-controls {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
|
|
||||||
.encounter-fear-dice-container {
|
|
||||||
display: flex;
|
|
||||||
gap: 2px;
|
|
||||||
|
|
||||||
.encounter-control-fear-container {
|
|
||||||
display: flex;
|
|
||||||
position: relative;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
color: black;
|
|
||||||
|
|
||||||
.dice {
|
|
||||||
height: 22px;
|
|
||||||
width: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.encounter-control-fear {
|
|
||||||
position: absolute;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.encounter-control-counter {
|
|
||||||
position: absolute;
|
|
||||||
right: -10px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.encounter-countdowns {
|
|
||||||
color: var(--content-link-icon-color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
/* General */
|
|
||||||
@advantage: #008000;
|
|
||||||
@disadvantage: #b30000;
|
|
||||||
@miss: rgb(255, 0, 0);
|
|
||||||
@hit: rgb(0, 128, 0);
|
|
||||||
@positive: #699969;
|
|
||||||
@negative: #ff7f7f;
|
|
||||||
|
|
||||||
@borderPrimary: #b5b3a4;
|
|
||||||
@borderTertiary: #7a7971;
|
|
||||||
|
|
||||||
/* Drop Shadows */
|
|
||||||
@mainShadow: red;
|
|
||||||
@secondaryShadow: gold;
|
|
||||||
|
|
||||||
/* Background */
|
|
||||||
@secondaryBackground: #7a7971;
|
|
||||||
@primaryAccent: #778899;
|
|
||||||
@secondaryAccent: #708090;
|
|
||||||
@formBackground: #782e22;
|
|
||||||
@hoverBackground: #2f4f4f40;
|
|
||||||
|
|
||||||
/* Duality */
|
|
||||||
@hope: #ffe760;
|
|
||||||
@hopeBackgroundStart: rgba(0, 0, 0, 0.6);
|
|
||||||
@hopeBackgroundEnd: rgba(165, 42, 42, 0.6);
|
|
||||||
@fear: #0032b1;
|
|
||||||
@fearAccent: #2555cd;
|
|
||||||
@fearBackgroundStart: rgba(15, 15, 97, 0.6);
|
|
||||||
@fearBackgroundEnd: rgba(0, 0, 255, 0.6);
|
|
||||||
@critical: #430070;
|
|
||||||
@criticalAccent: #66159c;
|
|
||||||
@criticalBackgroundStart: rgba(37, 8, 37, 0.6);
|
|
||||||
@criticalBackgroundEnd: rgba(128, 0, 128, 0.6);
|
|
||||||
|
|
||||||
/* Fear */
|
|
||||||
@primary-color-fear: rgba(9, 71, 179, 0.75);
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
@import './colors.less';
|
|
||||||
@import './values.less';
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue