enhance death roll dialog style (#440)

This commit is contained in:
Murilo Brito 2025-07-28 09:12:42 -03:00 committed by GitHub
parent 6d7401c874
commit 0a944eb3d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 120 additions and 19 deletions

View file

@ -1,4 +1,5 @@
@import '../../utils/fonts.less';
@import '../../utils/colors.less';
.application.daggerheart.dh-style {
.actions-list,
@ -36,7 +37,8 @@
.action-item {
&:hover {
background-color: rgba(255, 255, 255, 0.05);
background-color: light-dark(@soft-shadow, @soft-white-shadow);
cursor: pointer;
}
padding: 5px;
border-radius: 5px;
@ -47,7 +49,6 @@
align-items: center;
gap: 10px;
font-family: @font-body;
cursor: pointer;
flex: 1;
i {
text-align: center;

View file

@ -0,0 +1,57 @@
@import '../../utils/spacing.less';
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.daggerheart.dh-style.dialog.death-move {
.death-move-container {
display: flex;
flex-direction: column;
gap: 5px;
.moves-list {
.move-item {
display: flex;
align-items: center;
gap: 5px;
&:hover {
background-color: light-dark(@soft-shadow, @soft-white-shadow);
cursor: pointer;
}
padding: 5px;
border-radius: 5px;
transition: background-color 0.3s ease-in-out;
.label {
display: flex;
align-items: center;
gap: 10px;
font-family: @font-body;
cursor: pointer;
flex: 1;
i {
text-align: center;
width: 30px;
}
}
input[type='radio'] {
margin-left: auto;
}
}
}
}
footer {
margin-top: 8px;
display: flex;
gap: 8px;
button {
flex: 1;
height: 40px;
font-family: @font-body;
font-weight: 600;
}
}
}

View file

@ -1,5 +1,6 @@
@import '../../utils/spacing.less';
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.theme-light .daggerheart.dh-style.views.downtime {
.downtime-container .activity-container .activity-selected-marker {
@ -69,7 +70,9 @@
button {
flex: 1;
font-family: 'Montserrat', sans-serif;
height: 40px;
font-family: @font-body;
font-weight: 600;
}
}
}

View file

@ -12,6 +12,8 @@
@import './downtime/downtime-container.less';
@import './death-move/death-move-container.less';
@import './beastform/sheet.less';
@import './character-creation/creation-action-footer.less';

View file

@ -38,6 +38,8 @@
@beige-15: #efe6d815;
@beige-50: #efe6d850;
@soft-white-shadow: rgba(255, 255, 255, 0.05);
@light-black: rgba(0, 0, 0, 0.3);
@soft-shadow: rgba(0, 0, 0, 0.05);