style countdown interface, application and ownership dialog

This commit is contained in:
moliloo 2025-09-20 16:20:10 -03:00
parent 36c952faff
commit f7f70f54bb
8 changed files with 71 additions and 35 deletions

View file

@ -1,3 +1,6 @@
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.theme-light .daggerheart.application.dh-style.countdown-edit {
background-image: url('../assets/parchments/dh-parchment-light.png');
}
@ -22,6 +25,7 @@
gap: 8px;
.header-main-button {
height: 32px;
flex: 1;
}
@ -48,13 +52,10 @@
align-items: center;
gap: 8px;
&.viewing {
padding: 0 16px;
}
img {
width: 52px;
height: 52px;
border-radius: 6px;
}
.countdown-edit-text {
@ -65,13 +66,16 @@
.countdown-edit-subtext {
display: flex;
gap: 8px;
gap: 10px;
.countdown-edit-sub-tag {
border: 1px solid;
border-radius: 4px;
padding: 2px 4px;
background: light-dark(@beige, @dark-blue);
padding: 3px 5px;
font-size: var(--font-size-12);
font: @font-body;
background: light-dark(@dark-15, @beige-15);
border: 1px solid light-dark(@dark, @beige);
border-radius: 3px;
}
}
}
@ -110,6 +114,7 @@
input,
select {
background: light-dark(@beige, @dark-blue);
color: light-dark(@dark, @beige);
}
}
}

View file

@ -1,3 +1,6 @@
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.theme-dark {
.daggerheart.dh-style.countdowns {
background-image: url(../assets/parchments/dh-parchment-dark.png);
@ -16,7 +19,14 @@
width: 300px;
top: 16px;
right: 64px;
transition: right ease 250ms;
transition:
right ease 250ms,
all var(--ui-fade-duration) ease,
opacity var(--ui-fade-duration);
.window-title {
font-family: @font-body;
}
&.expanded {
right: 364px;
@ -60,6 +70,7 @@
img {
width: 44px;
height: 44px;
border-radius: 6px;
}
.countdown-content {

View file

@ -6,9 +6,15 @@
flex-direction: column;
gap: 8px;
.ownership-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 10px;
}
.ownership-container {
display: flex;
border: 2px solid light-dark(@dark-blue, @golden);
border-radius: 6px;
padding: 0 4px 0 0;
align-items: center;
@ -17,10 +23,15 @@
img {
height: 40px;
width: 40px;
border-radius: 6px 0 0 6px;
border-radius: 50%;
}
span {
flex: 3;
}
select {
flex: 1;
margin: 4px 0;
}
}