mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
Updated to make use of setup tabs. Ancestry now has primary/secondary features
This commit is contained in:
parent
70239ec06a
commit
635dae7a2e
19 changed files with 772 additions and 95 deletions
|
|
@ -1,11 +1,85 @@
|
|||
@import '../../utils/colors.less';
|
||||
|
||||
.theme-light .daggerheart.dh-style.dialog.character-creation {
|
||||
.setup-tabs button {
|
||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
||||
}
|
||||
|
||||
.main-selections-container
|
||||
.selections-container
|
||||
.ancestry-preview-info-container
|
||||
.ancestry-preview-features
|
||||
.ancestry-preview-feature {
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.dh-style.dialog.character-creation {
|
||||
.setup-tabs {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
button {
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
border-radius: 6px;
|
||||
border-color: light-dark(@dark-blue, @golden);
|
||||
color: light-dark(@beige, @dark);
|
||||
}
|
||||
}
|
||||
|
||||
.main-selections-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.ancestry-mixed-controller {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
gap: 4px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
&.active {
|
||||
label {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
position: absolute;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
padding: 0 2px;
|
||||
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);
|
||||
opacity: 0.4;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.ancestry-name {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin-bottom: 8px;
|
||||
|
||||
input {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.selections-container {
|
||||
width: 140px;
|
||||
display: flex;
|
||||
|
|
@ -15,6 +89,43 @@
|
|||
.card-preview-container {
|
||||
border-color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
||||
.ancestry-preview-info-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
|
||||
.ancestry-preview-label {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ancestry-preview-features {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: end;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
padding: 0 2px 2px 2px;
|
||||
|
||||
.ancestry-preview-feature {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
white-space: wrap;
|
||||
padding: 0 2px;
|
||||
border: 1px solid light-dark(@golden, @dark-blue);
|
||||
border-radius: 6px;
|
||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
||||
color: light-dark(@dark, @beige);
|
||||
height: min-content;
|
||||
|
||||
&.inactive {
|
||||
opacity: 0.2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.selections-outer-container {
|
||||
|
|
@ -27,6 +138,10 @@
|
|||
border-radius: 8px;
|
||||
border-color: light-dark(@dark-blue, @golden);
|
||||
|
||||
&.inactive {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
legend {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|
@ -44,6 +159,7 @@
|
|||
|
||||
legend {
|
||||
font-size: 20px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.action-button {
|
||||
|
|
@ -87,21 +203,38 @@
|
|||
}
|
||||
|
||||
.traits-inner-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
gap: 8px;
|
||||
|
||||
.trait-container {
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
padding: 0 4px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: url(../assets/svg/trait-shield.svg) no-repeat;
|
||||
|
||||
div {
|
||||
filter: drop-shadow(0 0 3px black);
|
||||
text-shadow: 0 0 3px black;
|
||||
}
|
||||
|
||||
select {
|
||||
text-align: center;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.experiences-inner-container {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.experience-container {
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue