mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
172 lines
5.2 KiB
Text
172 lines
5.2 KiB
Text
@import '../../utils/colors.less';
|
|
@import '../../utils/fonts.less';
|
|
|
|
.theme-dark {
|
|
.daggerheart.dh-style.countdowns {
|
|
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
|
|
|
.window-header {
|
|
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
|
}
|
|
}
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns {
|
|
position: relative;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
width: 300px;
|
|
pointer-events: all;
|
|
align-self: flex-end;
|
|
transition: 0.3s right ease-in-out;
|
|
|
|
.window-title {
|
|
font-family: @font-body;
|
|
}
|
|
|
|
#ui-right:has(#effects-display .effect-container) & {
|
|
right: 62px;
|
|
}
|
|
|
|
&.icon-only {
|
|
width: 180px;
|
|
min-width: 180px;
|
|
}
|
|
|
|
.window-header {
|
|
cursor: default;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.window-content {
|
|
padding-top: 4px;
|
|
padding-bottom: 16px;
|
|
overflow: auto;
|
|
max-height: 312px;
|
|
|
|
.countdowns-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
.countdown-container {
|
|
display: flex;
|
|
width: 100%;
|
|
|
|
&.icon-only {
|
|
gap: 8px;
|
|
|
|
.countdown-main-container {
|
|
.countdown-content {
|
|
justify-content: center;
|
|
|
|
.countdown-tools {
|
|
gap: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.countdown-main-container {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
|
|
img {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.countdown-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
|
|
.countdown-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
.countdown-tool-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.progress-tag {
|
|
border: 1px solid;
|
|
border-radius: 4px;
|
|
padding: 2px 4px;
|
|
background-color: light-dark(@beige, @dark-blue);
|
|
}
|
|
|
|
.countdown-tool-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
.looping-container {
|
|
position: relative;
|
|
border: 1px solid light-dark(@dark-blue, white);
|
|
border-radius: 6px;
|
|
padding: 2px 4px;
|
|
|
|
&.should-loop {
|
|
background: light-dark(@golden, @golden);
|
|
|
|
.loop-marker {
|
|
color: light-dark(@dark-blue, @dark-blue);
|
|
}
|
|
}
|
|
|
|
.direction-marker {
|
|
position: absolute;
|
|
font-size: 10px;
|
|
filter: drop-shadow(0 0 3px black);
|
|
top: -3px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/* Keep incase we want to reintroduce the player pips */
|
|
// .countdown-access-container {
|
|
// display: grid;
|
|
// grid-template-columns: 1fr 1fr 1fr;
|
|
// grid-auto-rows: min-content;
|
|
// width: 38px;
|
|
// gap: 4px;
|
|
|
|
// .countdown-access {
|
|
// height: 10px;
|
|
// width: 10px;
|
|
// border-radius: 50%;
|
|
// border: 1px solid light-dark(@dark-blue, @beige-80);
|
|
// content: '';
|
|
// }
|
|
// }
|
|
}
|
|
}
|
|
}
|
|
.longterm-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
margin-top: 4px;
|
|
border-top: 1px solid light-dark(@dark-blue-40, @beige-40);
|
|
font-size: var(--font-size-12);
|
|
color: light-dark(@dark-80, @beige-80);
|
|
cursor: default;
|
|
|
|
i {
|
|
font-size: var(--font-size-10);
|
|
}
|
|
}
|
|
}
|