mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 07:53:39 +02:00
Dialog setup
This commit is contained in:
parent
97f8da69cd
commit
80c347471b
19 changed files with 473 additions and 14 deletions
|
|
@ -4996,6 +4996,53 @@ div.daggerheart.views.multiclass {
|
|||
color: light-dark(#18162e50, #efe6d850);
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
.theme-light .application.daggerheart.dh-style.views.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 .beastforms-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 4px;
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border: 1px solid light-dark(#18162e, #f3c267);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container.disabled {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container img {
|
||||
width: 100%;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container .beastform-title {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: 16px;
|
||||
margin: 0 4px;
|
||||
border: 1px solid light-dark(#18162e, #f3c267);
|
||||
border-radius: 6px;
|
||||
color: light-dark(#efe6d8, #222);
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection footer {
|
||||
margin-top: 8px;
|
||||
display: flex;
|
||||
}
|
||||
.application.daggerheart.dh-style.views.beastform-selection footer button {
|
||||
flex: 1;
|
||||
}
|
||||
.application.sheet.daggerheart.actor.dh-style.companion .profile {
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
|
|
@ -5703,6 +5750,44 @@ div.daggerheart.views.multiclass {
|
|||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.features .features-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
gap: 5px;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr 4fr 1fr;
|
||||
cursor: pointer;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item h4 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: lighter;
|
||||
color: #efe6d8;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item .image {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item .controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.sheet.daggerheart.dh-style .tab.effects .effects-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@
|
|||
@import './less/applications/environment-settings/actions.less';
|
||||
@import './less/applications/environment-settings/adversaries.less';
|
||||
|
||||
@import './less/applications//beastform.less';
|
||||
|
||||
@import './less/actors/companion/sheet.less';
|
||||
|
||||
@import './less/actors/adversary.less';
|
||||
|
|
@ -58,6 +60,7 @@
|
|||
@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';
|
||||
|
|
|
|||
59
styles/less/applications/beastform.less
Normal file
59
styles/less/applications/beastform.less
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
.theme-light .application.daggerheart.dh-style.views.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 {
|
||||
.beastforms-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.beastforms-tier {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 4px;
|
||||
|
||||
.beastform-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.beastform-title {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: 16px;
|
||||
margin: 0 4px;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
50
styles/less/global/tab-features.less
Normal file
50
styles/less/global/tab-features.less
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.sheet.daggerheart.dh-style {
|
||||
.tab.features {
|
||||
.features-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
gap: 5px;
|
||||
|
||||
.feature-item {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr 4fr 1fr;
|
||||
cursor: pointer;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
.image {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue