mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 04:31:07 +01:00
Merge branch 'development' of https://github.com/Foundryborne/daggerheart into feature/party-sheet
This commit is contained in:
commit
1a0c6f46bc
648 changed files with 7471 additions and 3950 deletions
|
|
@ -41,7 +41,7 @@
|
|||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
margin: 0 4px;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 6px;
|
||||
|
|
@ -135,7 +135,7 @@
|
|||
align-items: center;
|
||||
|
||||
i {
|
||||
font-size: 24px;
|
||||
font-size: var(--font-size-24);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
|
||||
label {
|
||||
position: absolute;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
font-weight: bold;
|
||||
padding: 0 2px;
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
|
||||
.ancestry-preview-feature {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
white-space: wrap;
|
||||
padding: 0 2px;
|
||||
border: 1px solid light-dark(@golden, @dark-blue);
|
||||
|
|
@ -178,7 +178,7 @@
|
|||
legend {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: bold;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
justify-content: center;
|
||||
|
||||
legend {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
|
@ -343,7 +343,7 @@
|
|||
border-radius: 50%;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -358,7 +358,7 @@
|
|||
.descriptor {
|
||||
position: absolute;
|
||||
bottom: -8px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
border-radius: 8px;
|
||||
width: 56px;
|
||||
text-align: center;
|
||||
|
|
@ -400,7 +400,7 @@
|
|||
legend {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: bold;
|
||||
padding: 0 8px;
|
||||
white-space: nowrap;
|
||||
|
|
@ -444,7 +444,7 @@
|
|||
label {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
white-space: nowrap;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 6px;
|
||||
|
|
@ -472,7 +472,7 @@
|
|||
legend {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
|
||||
.suggestion-inner-container {
|
||||
|
|
@ -490,7 +490,7 @@
|
|||
label {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
border-radius: 6px;
|
||||
height: 26px;
|
||||
padding: 0 1px;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
border-radius: 6px;
|
||||
height: 26px;
|
||||
padding: 0 4px;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
width: auto;
|
||||
opacity: 0.3;
|
||||
border-radius: 50%;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
font-family: @font-subtitle;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
line-height: 19px;
|
||||
|
||||
color: light-dark(@dark, @beige);
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
.label {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
|
|
@ -127,7 +127,7 @@
|
|||
.label {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
gap: 4px;
|
||||
|
||||
.activity-marker {
|
||||
font-size: 8px;
|
||||
font-size: 0.5rem;
|
||||
flex: none;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
margin-right: 4px;
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
}
|
||||
|
||||
.activity-selected-marker {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 6px;
|
||||
color: light-dark(@dark, @beige);
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
|
||||
&.wide {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
border-radius: 3px;
|
||||
padding: 5px;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
width: 54px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid;
|
||||
font-size: 48px;
|
||||
font-size: var(--font-size-48);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -133,7 +133,7 @@
|
|||
.levelup-selections-title {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-size: 22px;
|
||||
font-size: 1.375rem;
|
||||
font-weight: bold;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: light-dark(@dark, @beige);
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
border: 2px solid;
|
||||
border-radius: 3px;
|
||||
padding: 0 4px;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
legend {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-size: 22px;
|
||||
font-size: 1.375rem;
|
||||
font-weight: bold;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
}
|
||||
|
||||
.checkbox-group-label {
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22px;
|
||||
font-size: 1.375rem;
|
||||
opacity: 0.8;
|
||||
|
||||
&.selected {
|
||||
|
|
@ -99,12 +99,12 @@
|
|||
&:before,
|
||||
&:after {
|
||||
line-height: 12px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@
|
|||
#chat-notifications .chat-log {
|
||||
.chat-message {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
|
||||
.message-header .message-header-metadata .message-metadata,
|
||||
.message-header .message-header-main .message-sub-header-container {
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.message-header .message-header-main .message-sub-header-container h4 {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -36,7 +45,7 @@
|
|||
|
||||
.message-metadata {
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
color: @beige;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -59,14 +68,14 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
color: light-dark(@dark, @beige);
|
||||
color: @beige;
|
||||
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
font-family: @font-subtitle;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
color: @golden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -77,7 +86,7 @@
|
|||
.flavor-text {
|
||||
font-size: var(--font-size-12);
|
||||
line-height: 20px;
|
||||
color: var(--color-dark-4);
|
||||
color: light-dark(@dark, @beige);
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
.formula-label {
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
line-height: 17px;
|
||||
white-space: nowrap;
|
||||
color: light-dark(@dark, @beige);
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@
|
|||
z-index: 1;
|
||||
|
||||
.remove {
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -210,7 +210,13 @@
|
|||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
|
|
@ -400,7 +406,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
white-space: nowrap;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: 400;
|
||||
|
||||
&.modifier-label {
|
||||
|
|
@ -527,7 +533,7 @@
|
|||
font-family: @font-body;
|
||||
margin-top: 4px;
|
||||
color: light-dark(#14142599, #efe6d850);
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
padding-left: 3px;
|
||||
}
|
||||
}
|
||||
|
|
@ -541,7 +547,7 @@
|
|||
text-align: center;
|
||||
}
|
||||
.title-hint {
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
@ -603,9 +609,12 @@
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.25rem 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
label {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.form-fields {
|
||||
|
|
@ -613,6 +622,21 @@
|
|||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&.setting-two-values {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.25rem 0.5rem;
|
||||
|
||||
.form-group {
|
||||
justify-content: end;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.hint {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -776,7 +800,7 @@
|
|||
.preview-text-container {
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: light-dark(@beige, @dark);
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
|
@ -799,14 +823,14 @@
|
|||
justify-content: center;
|
||||
|
||||
.preview-add-icon {
|
||||
font-size: 40px;
|
||||
font-size: var(--font-size-40);
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
.preview-empty-subtext {
|
||||
position: absolute;
|
||||
bottom: 5%;
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
|
|
@ -821,7 +845,7 @@
|
|||
width: 54px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid;
|
||||
font-size: 48px;
|
||||
font-size: var(--font-size-48);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
|
|||
14
styles/less/global/enrichment.less
Normal file
14
styles/less/global/enrichment.less
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
.measured-template-button,
|
||||
.enriched-damage-button,
|
||||
.duality-roll-button {
|
||||
display: inline;
|
||||
|
||||
&.inline {
|
||||
min-height: unset;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
53
styles/less/global/global.less
Normal file
53
styles/less/global/global.less
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
.drag-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 3px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.daggerheart.dh-style {
|
||||
.hint {
|
||||
flex: 0 0 100%;
|
||||
margin: 0;
|
||||
color: var(--color-form-hint);
|
||||
}
|
||||
|
||||
.form-group:hover {
|
||||
.hint {
|
||||
color: var(--color-form-hint-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.loader {
|
||||
position: relative;
|
||||
overflow: hidden !important;
|
||||
|
||||
div {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
&:before {
|
||||
font-family: 'Font Awesome 6 Pro';
|
||||
content: '\f110';
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: spinner 1.5s linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spinner {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2,6 +2,8 @@
|
|||
@import './dialog.less';
|
||||
@import './chat.less';
|
||||
@import './elements.less';
|
||||
@import './enrichment.less';
|
||||
@import './global.less';
|
||||
@import './tab-navigation.less';
|
||||
@import './tab-form-footer.less';
|
||||
@import './tab-actions.less';
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
align-self: center;
|
||||
|
||||
.item-name {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
|
||||
.expanded-icon {
|
||||
display: none;
|
||||
|
|
@ -121,9 +121,10 @@
|
|||
.label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
flex-wrap: wrap;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.tag {
|
||||
|
|
@ -135,7 +136,7 @@
|
|||
|
||||
.label {
|
||||
gap: 4px;
|
||||
color: @beige-80;
|
||||
color: light-dark(@dark-80, @beige-80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -179,18 +180,18 @@
|
|||
overflow: hidden;
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
}
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: 600;
|
||||
}
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
font-weight: 600;
|
||||
}
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: @beige;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -231,7 +232,7 @@
|
|||
label {
|
||||
color: light-dark(white, black);
|
||||
filter: drop-shadow(0 0 1px light-dark(@dark-blue, @golden));
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
@ -243,7 +244,7 @@
|
|||
text-shadow: 0 0 3px white;
|
||||
filter: drop-shadow(0 1px white);
|
||||
color: black;
|
||||
font-size: 26px;
|
||||
font-size: 1.625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -310,7 +311,7 @@
|
|||
.card-name {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
line-height: 15px;
|
||||
|
||||
color: @beige;
|
||||
|
|
@ -351,7 +352,7 @@
|
|||
gap: 4px;
|
||||
|
||||
.resource-edit {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -363,7 +364,7 @@
|
|||
|
||||
i {
|
||||
flex: none;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
@ -383,7 +384,7 @@
|
|||
color: light-dark(white, black);
|
||||
filter: drop-shadow(0 0 1px light-dark(@dark-blue, @golden));
|
||||
z-index: 2;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
@ -397,7 +398,7 @@
|
|||
text-shadow: 0 0 3px white;
|
||||
filter: drop-shadow(0 1px white);
|
||||
color: black;
|
||||
font-size: 26px;
|
||||
font-size: 1.625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
width: 80%;
|
||||
|
||||
.item-name input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: center;
|
||||
width: 90%;
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
transition: all 0.3s ease;
|
||||
|
||||
.recall-label {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
opacity: 0;
|
||||
margin-right: 0.3rem;
|
||||
transition: all 0.3s ease;
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
|
||||
.item-name {
|
||||
input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: center;
|
||||
width: 90%;
|
||||
|
|
|
|||
|
|
@ -12,18 +12,18 @@
|
|||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
}
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: 600;
|
||||
}
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
font-weight: 600;
|
||||
}
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: @beige;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
div {
|
||||
filter: drop-shadow(0 0 3px black);
|
||||
text-shadow: 0 0 3px black;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
|
|||
|
|
@ -34,17 +34,5 @@
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.adversaries-dragger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 3px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
font-family: @font-subtitle;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
font-size: var(--font-size-24);
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
|
|
|||
17
styles/less/sheets/actors/adversary/effects.less
Normal file
17
styles/less/sheets/actors/adversary/effects.less
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@import '../../../utils/colors.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||
.tab.effects {
|
||||
.effects-sections {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||
padding-bottom: 20px;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
flex: 1;
|
||||
|
||||
input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: start;
|
||||
border: 1px solid transparent;
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
font: @font-body;
|
||||
|
||||
background: light-dark(@dark-15, @beige-15);
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
height: 30px;
|
||||
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
|
@ -255,7 +255,7 @@
|
|||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
}
|
||||
|
|
@ -295,7 +295,7 @@
|
|||
align-items: center;
|
||||
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
}
|
||||
}
|
||||
.items-list {
|
||||
|
|
@ -315,7 +315,7 @@
|
|||
align-items: center;
|
||||
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -337,7 +337,7 @@
|
|||
.experience-name {
|
||||
width: 180px;
|
||||
text-align: start;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
|
|
@ -345,7 +345,7 @@
|
|||
.experience-value {
|
||||
height: 25px;
|
||||
width: 35px;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
flex: 1;
|
||||
|
||||
input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: start;
|
||||
border: 1px solid transparent;
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
.level-button {
|
||||
color: light-dark(@dark, @beige);
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
line-height: 1;
|
||||
min-height: unset;
|
||||
height: min-content;
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
justify-content: space-between;
|
||||
padding: 5px 0;
|
||||
margin-bottom: 10px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
.missing-header-feature {
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
height: 30px;
|
||||
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
gap: 5px;
|
||||
|
||||
.label {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
align-items: center;
|
||||
padding-top: 5px;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: 600;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -213,14 +213,14 @@
|
|||
|
||||
i {
|
||||
line-height: 17px;
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
}
|
||||
}
|
||||
|
||||
.trait-value {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,10 +26,6 @@
|
|||
outline: 2px solid light-dark(@dark, @golden);
|
||||
}
|
||||
|
||||
&:placeholder {
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
&::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: none;
|
||||
|
|
@ -41,7 +37,7 @@
|
|||
height: 32px;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
z-index: 1;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,10 +26,6 @@
|
|||
outline: 2px solid light-dark(@dark, @golden);
|
||||
}
|
||||
|
||||
&:placeholder {
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
&::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: none;
|
||||
|
|
@ -41,7 +37,7 @@
|
|||
height: 32px;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
z-index: 1;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,21 @@
|
|||
padding-bottom: 0;
|
||||
overflow-x: auto;
|
||||
|
||||
&.viewMode {
|
||||
button:not(.btn-toggle-view),
|
||||
input:not(.search),
|
||||
.controls,
|
||||
.character-sidebar-sheet,
|
||||
.img-portait,
|
||||
.name-row,
|
||||
.hope-section,
|
||||
.downtime-section,
|
||||
.character-traits,
|
||||
.card-list {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.character-sidebar-sheet {
|
||||
grid-row: 1 / span 2;
|
||||
grid-column: 1;
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
transition: all 0.3s ease;
|
||||
|
||||
.spellcast-label {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
opacity: 0;
|
||||
margin-right: 0.3rem;
|
||||
transition: all 0.3s ease;
|
||||
|
|
@ -258,7 +258,7 @@
|
|||
text-align: center;
|
||||
line-height: 18px;
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
.status-value {
|
||||
|
|
@ -402,7 +402,7 @@
|
|||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
}
|
||||
|
|
@ -424,7 +424,7 @@
|
|||
height: 30px;
|
||||
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
|
@ -490,7 +490,7 @@
|
|||
.experience-value {
|
||||
height: 25px;
|
||||
width: 35px;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
width: 100%;
|
||||
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
}
|
||||
}
|
||||
.items-list {
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
.experience-name {
|
||||
width: 180px;
|
||||
text-align: start;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
.experience-value {
|
||||
height: 25px;
|
||||
width: 35px;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
color: light-dark(@dark, @beige);
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
|
|
@ -77,4 +77,17 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.action-section {
|
||||
display: flex;
|
||||
padding: 0 10px;
|
||||
margin-top: 20px;
|
||||
width: 100%;
|
||||
|
||||
button {
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
17
styles/less/sheets/actors/companion/effects.less
Normal file
17
styles/less/sheets/actors/companion/effects.less
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@import '../../../utils/colors.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.companion {
|
||||
.tab.effects {
|
||||
.effects-sections {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||
padding-bottom: 20px;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
margin-bottom: -30px;
|
||||
|
||||
input[type='text'] {
|
||||
font-size: 24px;
|
||||
font-size: var(--font-size-24);
|
||||
height: 32px;
|
||||
text-align: center;
|
||||
border: 1px solid transparent;
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
}
|
||||
|
|
@ -209,7 +209,7 @@
|
|||
|
||||
.level-button {
|
||||
color: light-dark(@dark, @beige);
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
line-height: 1;
|
||||
min-height: unset;
|
||||
height: min-content;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
font: @font-body;
|
||||
|
||||
background: light-dark(@dark-15, @beige-15);
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
}
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
|
||||
.item-name {
|
||||
input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: start;
|
||||
transition: all 0.3s ease;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
@import '../../../utils/colors.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||
.tab.potentialAdversaries {
|
||||
.items-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||
padding-bottom: 20px;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
@import './actors/adversary/header.less';
|
||||
@import './actors/adversary/sheet.less';
|
||||
@import './actors/adversary/sidebar.less';
|
||||
@import './actors/adversary/effects.less';
|
||||
|
||||
@import './actors/character/biography.less';
|
||||
@import './actors/character/effects.less';
|
||||
|
|
@ -17,9 +18,11 @@
|
|||
@import './actors/companion/details.less';
|
||||
@import './actors/companion/header.less';
|
||||
@import './actors/companion/sheet.less';
|
||||
@import './actors/companion/effects.less';
|
||||
|
||||
@import './actors/environment/actions.less';
|
||||
@import './actors/environment/header.less';
|
||||
@import './actors/environment/potentialAdversaries.less';
|
||||
@import './actors/environment/sheet.less';
|
||||
|
||||
@import './actors/party/header.less';
|
||||
|
|
|
|||
|
|
@ -43,4 +43,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab.questions {
|
||||
.questions-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
|
||||
.questions-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,112 +1,144 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat {
|
||||
&.domain-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.card-img {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 10%, black 90%, transparent 100%);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.domain-card-move {
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.domain-card-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 8px;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.domain-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
|
||||
.title {
|
||||
font-size: 20px;
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
|
||||
background: light-dark(@dark-15, @beige-15);
|
||||
border: 1px solid light-dark(@dark, @beige);
|
||||
color: light-dark(@dark, @beige);
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
padding: 0 8px;
|
||||
|
||||
button {
|
||||
height: 40px;
|
||||
flex: 1 1 calc(50% - 5px);
|
||||
|
||||
&:nth-last-child(1):nth-child(odd) {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.ability-card-action-cost {
|
||||
margin: auto;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.domain-card {
|
||||
.domain-card-move .domain-card-header {
|
||||
border-bottom: 1px solid @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: @dark-blue-10;
|
||||
}
|
||||
|
||||
.domain-label {
|
||||
.title {
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
.tags .tag {
|
||||
background: @dark-15;
|
||||
border: 1px solid @dark;
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-chevron-down {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.chat {
|
||||
&.domain-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.card-img {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 10%, black 90%, transparent 100%);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.domain-card-move {
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.domain-card-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 8px;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
|
||||
&:hover {
|
||||
background: @golden-10;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.domain-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-20);
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: var(--font-size-12);
|
||||
|
||||
background: @beige-15;
|
||||
border: 1px solid @beige;
|
||||
color: @beige;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
padding: 0 8px;
|
||||
|
||||
button {
|
||||
height: 40px;
|
||||
flex: 1 1 calc(50% - 5px);
|
||||
|
||||
&:nth-last-child(1):nth-child(odd) {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.ability-card-action-cost {
|
||||
margin: auto;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,95 +1,125 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat {
|
||||
&.action {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.action-move {
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.action-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 8px 8px 0;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.action-img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.action-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
|
||||
.title {
|
||||
font-size: 20px;
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 12px;
|
||||
color: @beige;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
padding: 0 8px;
|
||||
|
||||
button {
|
||||
height: 40px;
|
||||
flex: 1 1 calc(50% - 5px);
|
||||
|
||||
&:nth-last-child(1):nth-child(odd) {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.ability-card-action-cost {
|
||||
margin: auto;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.action {
|
||||
.action-move .action-section {
|
||||
border-bottom: 1px solid @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: @dark-blue-10;
|
||||
}
|
||||
|
||||
.action-header {
|
||||
.title {
|
||||
color: @dark-blue;
|
||||
}
|
||||
.label {
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-chevron-down {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.chat {
|
||||
&.action {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.action-move {
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.action-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 8px 8px 0;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
|
||||
&:hover {
|
||||
background: @golden-10;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.action-img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.action-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
color: @beige;
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-20);
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: var(--font-size-12);
|
||||
color: @beige;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
padding: 0 8px;
|
||||
|
||||
button {
|
||||
height: 40px;
|
||||
flex: 1 1 calc(50% - 5px);
|
||||
|
||||
&:nth-last-child(1):nth-child(odd) {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.ability-card-action-cost {
|
||||
margin: auto;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,11 +2,139 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat-sidebar .chat-log,
|
||||
#chat-notifications .chat-log {
|
||||
--text-color: @dark-blue;
|
||||
--bg-color: @dark-blue-40;
|
||||
|
||||
.chat-message {
|
||||
.roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
&.duality {
|
||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
||||
|
||||
.message-content {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
.roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.message-header {
|
||||
.message-sub-header-container {
|
||||
color: @beige;
|
||||
h4 {
|
||||
color: @golden;
|
||||
}
|
||||
}
|
||||
.message-header-metadata {
|
||||
.message-metadata {
|
||||
color: @beige;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.hope {
|
||||
--text-color: @golden;
|
||||
--bg-color: @golden-40;
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @golden-bg;
|
||||
}
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.fear {
|
||||
--text-color: @chat-blue;
|
||||
--bg-color: @chat-blue-40;
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @chat-blue-bg;
|
||||
}
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.critical {
|
||||
--text-color: @chat-purple;
|
||||
--bg-color: @chat-purple-40;
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @chat-purple-bg;
|
||||
}
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.duality) {
|
||||
.font-20 {
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.roll-die {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
color: @dark-blue;
|
||||
border-color: @dark-blue;
|
||||
|
||||
legend {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
.chat-roll {
|
||||
.roll-part-header {
|
||||
color: @dark-blue;
|
||||
|
||||
span::before,
|
||||
span::after {
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, @dark-blue 100%);
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: linear-gradient(90deg, @dark-blue 0%, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.roll-part-content {
|
||||
&.dice-result {
|
||||
color: @dark;
|
||||
}
|
||||
.roll-result-container {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.chat {
|
||||
&.resource-roll {
|
||||
.reroll-message {
|
||||
color: @beige;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -27,8 +155,8 @@
|
|||
.daggerheart,
|
||||
#chat-notifications {
|
||||
.chat-message {
|
||||
--text-color: light-dark(@dark-blue, @golden);
|
||||
--bg-color: light-dark(@dark-blue-40, @golden-40);
|
||||
--text-color: @golden;
|
||||
--bg-color: @golden-40;
|
||||
|
||||
[data-use-perm='false'] {
|
||||
pointer-events: none;
|
||||
|
|
@ -85,7 +213,7 @@
|
|||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: center;
|
||||
color: light-dark(@dark, @beige);
|
||||
color: @beige;
|
||||
margin: 10px 0;
|
||||
|
||||
span {
|
||||
|
|
@ -148,7 +276,7 @@
|
|||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
z-index: 2;
|
||||
filter: drop-shadow(0 0 3px black);
|
||||
}
|
||||
|
|
@ -427,6 +555,7 @@
|
|||
gap: 5px;
|
||||
margin-top: 8px;
|
||||
button {
|
||||
height: 32px;
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,81 +1,110 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat {
|
||||
&.downtime {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.downtime-moves-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.downtime-move {
|
||||
width: 100%;
|
||||
|
||||
.downtime-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
margin: 0 8px;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.downtime-image {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.header-label {
|
||||
padding: 8px;
|
||||
.title {
|
||||
font-size: 16px;
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
.label {
|
||||
font-size: 12px;
|
||||
color: @beige;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-use-button {
|
||||
width: -webkit-fill-available;
|
||||
margin: 0 8px;
|
||||
font-weight: 600;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.downtime {
|
||||
.downtime-moves-list .downtime-move {
|
||||
&:hover {
|
||||
background: @dark-blue-10;
|
||||
}
|
||||
|
||||
.downtime-label {
|
||||
border-bottom: 1px solid @dark-blue;
|
||||
|
||||
.header-label .title {
|
||||
color: @dark-blue;
|
||||
}
|
||||
.header-label .label {
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-chevron-down {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.chat {
|
||||
&.downtime {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.downtime-moves-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.downtime-move {
|
||||
width: 100%;
|
||||
|
||||
.downtime-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
margin: 0 8px;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.downtime-image {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.header-label {
|
||||
padding: 8px;
|
||||
.title {
|
||||
font-size: var(--font-size-16);
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
.label {
|
||||
font-size: var(--font-size-12);
|
||||
color: @beige;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-use-button {
|
||||
width: -webkit-fill-available;
|
||||
margin: 0 8px;
|
||||
font-weight: 600;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
13
styles/less/ui/chat/refresh-message.less
Normal file
13
styles/less/ui/chat/refresh-message.less
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
.daggerheart.chat.refresh-message {
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
|
||||
.subtitle {
|
||||
font-size: 18;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,72 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
#interface.theme-light {
|
||||
.chat-message:not(.duality) .message-content {
|
||||
color: @dark;
|
||||
|
||||
blockquote {
|
||||
border-left: 5px solid @dark-blue-40;
|
||||
}
|
||||
|
||||
a[href] {
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
a[href]:hover,
|
||||
a[href].active {
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 8px @dark-blue;
|
||||
}
|
||||
|
||||
button {
|
||||
background: transparent;
|
||||
border: 1px solid @dark-blue;
|
||||
color: @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: @light-black;
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
|
||||
&.reverted {
|
||||
background: @dark-blue-10;
|
||||
color: @dark-blue;
|
||||
border: 1px solid @dark;
|
||||
&:hover {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
}
|
||||
img {
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.roll-buttons button {
|
||||
height: 40px;
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dice-roll .dice-formula,
|
||||
.dice-roll .dice-total {
|
||||
background: @dark-blue-40;
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.chat-message.dh-chat-message {
|
||||
.message-content {
|
||||
padding: 0;
|
||||
|
|
@ -17,7 +83,7 @@
|
|||
.message-content {
|
||||
padding: 0 8px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
color: @beige;
|
||||
|
||||
blockquote {
|
||||
border-left: 5px solid light-dark(@dark-blue-40, @golden-40);
|
||||
|
|
@ -34,15 +100,15 @@
|
|||
}
|
||||
|
||||
button {
|
||||
background: light-dark(transparent, @golden);
|
||||
border: 1px solid light-dark(@dark-blue, @dark-blue);
|
||||
color: light-dark(@dark-blue, @dark-blue);
|
||||
background: @golden;
|
||||
border: 1px solid @dark-blue;
|
||||
color: @dark-blue;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@light-black, @dark-blue);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
background: @dark-blue;
|
||||
color: @golden;
|
||||
}
|
||||
|
||||
&.glow {
|
||||
|
|
@ -50,24 +116,24 @@
|
|||
}
|
||||
|
||||
&:disabled {
|
||||
background: light-dark(transparent, @golden);
|
||||
color: light-dark(@dark-blue, @dark-blue);
|
||||
background: @golden;
|
||||
color: @dark-blue;
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(transparent, @golden);
|
||||
color: light-dark(@dark-blue, @dark-blue);
|
||||
background: @golden;
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
|
||||
&.reverted {
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
border: 1px solid light-dark(@dark, transparent);
|
||||
background: @golden-10;
|
||||
color: @golden;
|
||||
border: 1px solid transparent;
|
||||
&:hover {
|
||||
background: light-dark(transparent, @golden);
|
||||
color: light-dark(@dark-blue, @dark-blue);
|
||||
background: @golden;
|
||||
color: @dark-blue;
|
||||
}
|
||||
img {
|
||||
border-radius: 3px;
|
||||
|
|
@ -98,8 +164,8 @@
|
|||
.dice-roll .dice-total {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
background: @golden-10;
|
||||
color: @golden;
|
||||
font-weight: 600;
|
||||
align-content: center;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
padding: 8px;
|
||||
--button-size: 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
}
|
||||
|
||||
.countdown-container {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
@import './chat/action.less';
|
||||
@import './chat/chat.less';
|
||||
@import './chat/downtime.less';
|
||||
@import './chat/refresh-message.less';
|
||||
@import './chat/sheet.less';
|
||||
|
||||
@import './combat-sidebar/combat-sidebar.less';
|
||||
|
|
@ -19,5 +20,8 @@
|
|||
@import './resources/resources.less';
|
||||
|
||||
@import './settings/settings.less';
|
||||
|
||||
@import './settings/homebrew-settings/domains.less';
|
||||
@import './settings/homebrew-settings/types.less';
|
||||
|
||||
@import './sidebar/tabs.less';
|
||||
@import './sidebar/daggerheartMenu.less';
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
}
|
||||
|
||||
.compendium-results {
|
||||
position: relative;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
|
|
@ -101,10 +102,14 @@
|
|||
.folder-list,
|
||||
.item-list-header,
|
||||
.item-header > div {
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.item-list-header,
|
||||
.item-header > div {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.item-filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -146,10 +151,6 @@
|
|||
outline: 2px solid light-dark(@dark, @golden);
|
||||
}
|
||||
|
||||
&:placeholder {
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
&::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: none;
|
||||
|
|
@ -161,7 +162,7 @@
|
|||
height: 32px;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
z-index: 1;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
|
@ -232,7 +233,8 @@
|
|||
}
|
||||
|
||||
.item-list-header,
|
||||
.item-list {
|
||||
.item-list,
|
||||
.compendium-sidebar > .folder-list {
|
||||
overflow-y: auto;
|
||||
scrollbar-gutter: stable;
|
||||
scrollbar-width: thin;
|
||||
|
|
@ -277,11 +279,11 @@
|
|||
}
|
||||
|
||||
&[data-sort-type='ASC']:after {
|
||||
content: '\f0d7';
|
||||
content: '\f884';
|
||||
}
|
||||
|
||||
&[data-sort-type='DESC']:after {
|
||||
content: '\f0d8';
|
||||
content: '\f885';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -290,6 +292,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
flex: 1;
|
||||
|
||||
.item-container {
|
||||
&:hover {
|
||||
|
|
@ -304,18 +307,18 @@
|
|||
gap: 5px;
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
}
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: 600;
|
||||
}
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
font-weight: 600;
|
||||
}
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: @beige;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -349,6 +352,8 @@
|
|||
display: grid;
|
||||
grid-template-rows: 0fr;
|
||||
transition: all 0.3s ease-in-out;
|
||||
width: 100%;
|
||||
|
||||
.wrapper {
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
|
|
@ -387,8 +392,12 @@
|
|||
margin: 0;
|
||||
|
||||
.title {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hint {
|
||||
flex: unset;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -400,6 +409,7 @@
|
|||
|
||||
&.lite,
|
||||
&.no-folder {
|
||||
.compendium-sidebar,
|
||||
.menu-path {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
border-radius: 50%;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -53,6 +53,10 @@
|
|||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
gap: 8px;
|
||||
max-height: 184px;
|
||||
overflow: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
|
||||
|
||||
.domain-container {
|
||||
position: relative;
|
||||
|
|
@ -118,7 +122,7 @@
|
|||
|
||||
button {
|
||||
border-radius: 50%;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
margin-right: 4px;
|
||||
|
|
|
|||
52
styles/less/ui/settings/homebrew-settings/types.less
Normal file
52
styles/less/ui/settings/homebrew-settings/types.less
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
.theme-light .daggerheart.dh-style.setting.homebrew-settings .types.tab {
|
||||
.adversary-types-container .adversary-type-container {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.dh-style.setting.homebrew-settings {
|
||||
.types.tab {
|
||||
.adversary-types-container {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 4px;
|
||||
|
||||
.adversary-type-container {
|
||||
height: 2em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
border: 1px solid;
|
||||
border-radius: 6px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
color: light-dark(@dark, @beige);
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
background: var(--color-warm-2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.type-edit-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
fieldset {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
gap: 0.5rem;
|
||||
|
||||
&.two-columns {
|
||||
display: grid;
|
||||
|
|
@ -16,6 +16,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.six-columns {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
&.start-align {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
|
@ -26,6 +32,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.settings-items {
|
||||
|
|
@ -53,7 +60,7 @@
|
|||
}
|
||||
|
||||
i {
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -80,7 +87,7 @@
|
|||
width: 80%;
|
||||
|
||||
.item-name input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: center;
|
||||
width: 90%;
|
||||
|
|
@ -103,28 +110,9 @@
|
|||
gap: 4px;
|
||||
}
|
||||
|
||||
.trait-array-container {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
gap: 8px;
|
||||
margin-bottom: 16px;
|
||||
|
||||
.trait-array-item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
label {
|
||||
position: absolute;
|
||||
top: -7px;
|
||||
font-size: 12px;
|
||||
font-variant: petite-caps;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
}
|
||||
.trait-item {
|
||||
input {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
38
styles/less/ui/sidebar/daggerheartMenu.less
Normal file
38
styles/less/ui/sidebar/daggerheartMenu.less
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
.tab.sidebar-tab.daggerheartMenu-sidebar {
|
||||
padding: 0 4px;
|
||||
|
||||
.menu-refresh-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.menu-refresh-inner-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
|
||||
.experience-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
.label {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
8
styles/less/ui/sidebar/tabs.less
Normal file
8
styles/less/ui/sidebar/tabs.less
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#interface #ui-right #sidebar {
|
||||
menu li button {
|
||||
img {
|
||||
width: 22px;
|
||||
max-width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -54,6 +54,7 @@
|
|||
@dark: #222;
|
||||
@dark-15: #22222215;
|
||||
@dark-40: #22222240;
|
||||
@dark-80: #22222280;
|
||||
@dark-filter: brightness(0) saturate(100%);
|
||||
|
||||
@deep-black: #0e0d15;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
align-items: center;
|
||||
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
border: none;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
h5 {
|
||||
font-family: @font-body;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
margin: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
|
||||
.group {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
li[role='option'] {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
padding-left: 10px;
|
||||
cursor: pointer;
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@
|
|||
gap: 8px;
|
||||
|
||||
.tooltip-chip {
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
padding: 2px 4px;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 6px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue