Fixed styling for downtime tooltip

This commit is contained in:
WBHarry 2025-07-17 17:47:13 +02:00
parent 15ca55bacf
commit 01ddc4f9e7
10 changed files with 122 additions and 32 deletions

View file

@ -1,13 +1,14 @@
@import '../../utils/spacing.less';
@import '../../utils/colors.less';
.daggerheart.views {
.downtime-header {
margin: 0;
color: light-dark(@dark-blue, @golden);
text-align: center;
width: 100%;
.theme-light .daggerheart.dh-style.views.downtime {
.downtime-container .activity-container .activity-selected-marker {
background-image: url(../assets/parchments/dh-parchment-dark.png);
}
}
.daggerheart.dh-style.views.downtime {
font-family: @font-body;
.downtime-container {
.activities-container {
@ -28,15 +29,31 @@
font-size: 8px;
flex: none;
color: light-dark(#18162e, #f3c267);
margin-right: 8px;
margin-right: 4px;
}
.activity-select-section {
display: flex;
align-items: center;
gap: 4px;
.activity-icon {
min-width: 24px;
text-align: center;
}
}
}
.activity-selected-marker {
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;
}
}
}
}
@ -45,11 +62,10 @@
margin-top: 8px;
display: flex;
gap: 8px;
}
&.downtime {
.activity-text-area {
resize: none;
button {
flex: 1;
font-family: 'Montserrat', sans-serif;
}
}
}