179 lines
4.7 KiB
CSS
179 lines
4.7 KiB
CSS
/* Minimal Countdown UI styles */
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown {
|
|
width: 36px !important;
|
|
height: 36px !important;
|
|
min-width: 36px !important;
|
|
min-height: 36px !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 4px;
|
|
align-self: flex-end;
|
|
overflow: hidden;
|
|
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown:hover {
|
|
width: 165px !important;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown .countdowns-header {
|
|
display: flex !important;
|
|
width: 100% !important;
|
|
height: 36px !important;
|
|
flex: 0 0 36px !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown .countdowns-header > *:not(.cosmo-add-countdown) {
|
|
display: none !important;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown .countdowns-container {
|
|
display: none !important;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown .cosmo-add-countdown {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
height: 36px !important;
|
|
width: 36px;
|
|
font-size: 16px !important;
|
|
cursor: pointer;
|
|
transition: color 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown:hover .cosmo-add-countdown {
|
|
width: 100% !important;
|
|
justify-content: flex-start !important;
|
|
padding-left: 10px !important;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown .cosmo-add-countdown:hover {
|
|
color: #ffffff !important;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown .cosmo-add-label {
|
|
max-width: 0;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
display: inline-block;
|
|
transition: max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-left 0.25s ease;
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.daggerheart.dh-style.countdowns.cosmo-minimal-countdown:hover .cosmo-add-label {
|
|
max-width: 120px;
|
|
opacity: 1;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
/* Token HUD Spotlight Button styling */
|
|
.control-icon.cosmo-spotlight-hud-btn {
|
|
transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.control-icon.cosmo-spotlight-hud-btn i {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
display: block !important;
|
|
line-height: 1 !important;
|
|
text-align: center !important;
|
|
}
|
|
|
|
.control-icon.cosmo-spotlight-hud-btn:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.control-icon.cosmo-spotlight-hud-btn.active {
|
|
color: var(--golden, #c5a45e) !important;
|
|
text-shadow: 0 0 8px var(--golden, #c5a45e) !important;
|
|
border: 1px solid var(--golden, #c5a45e) !important;
|
|
box-shadow: 0 0 5px rgba(197, 164, 94, 0.5) !important;
|
|
}
|
|
|
|
/* Fear Tracker Window Customizations */
|
|
#resources.cosmo-no-title-bar header.window-header {
|
|
display: none !important;
|
|
}
|
|
|
|
#resources.cosmo-no-title-bar {
|
|
min-height: 4rem !important;
|
|
}
|
|
|
|
#resources.cosmo-position-locked .window-resize-handle {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Context menu styling */
|
|
.cosmo-fear-context-menu {
|
|
background: rgba(24, 22, 46, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border: 2px solid rgb(153, 122, 79);
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
|
|
padding: 4px 0;
|
|
min-width: 150px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.cosmo-context-menu-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.cosmo-context-menu-item {
|
|
padding: 8px 12px;
|
|
color: #d3d3d3;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: background-color 0.2s, color 0.2s;
|
|
}
|
|
|
|
.cosmo-context-menu-item:hover {
|
|
background-color: rgba(197, 164, 94, 0.2);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.cosmo-context-menu-item i {
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Reset button styling */
|
|
button.cosmo-reset-fear-pos-btn {
|
|
background: rgba(197, 164, 94, 0.1);
|
|
border: 1px solid rgb(153, 122, 79);
|
|
color: #d3d3d3;
|
|
padding: 4px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
transition: background-color 0.2s, color 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
button.cosmo-reset-fear-pos-btn:hover {
|
|
background: rgba(197, 164, 94, 0.25);
|
|
border-color: #ffffff;
|
|
color: #ffffff;
|
|
}
|