Code/UI/DmlrHud.razor.scss
DmlrHud {
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
font-family: Poppins;
color: #ffffff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
&.menu-open {
pointer-events: all;
}
.sb-line-top {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2.5px;
}
.sb-dot {
width: 18px;
height: 18px;
border-radius: 5px;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 900;
flex-shrink: 0;
text-shadow: none;
}
.sb-key {
padding: 1px 8px;
border-radius: 20px;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.4px;
flex-shrink: 0;
text-shadow: none;
}
/* ── 1. HUD STATISTIQUES S&BOX INCRUSTÉ EN HAUT À DROITE (TOUJOURS AFFICHÉ EN JEU) ── */
.sb-hud-compact {
position: absolute;
top: 18px;
right: 18px;
flex-direction: column;
padding: 7px 12px;
border-radius: 20px;
border: 1px solid rgba(59, 130, 246, 0.48);
backdrop-filter: blur(5px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
overflow: hidden;
pointer-events: none;
z-index: 70;
.compact-row {
flex-direction: row;
align-items: center;
gap: 8px;
}
.compact-num {
font-family: Inconsolata;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
}
.compact-sep {
opacity: 0.35;
font-size: 11px;
}
}
.sb-hud-card {
position: absolute;
top: 18px;
right: 18px;
width: 326px;
flex-direction: column;
gap: 6px;
padding: 10px 10px 9px 10px;
border-radius: 10px;
border: 1px solid rgba(59, 130, 246, 0.45);
backdrop-filter: blur(5px);
box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
overflow: hidden;
pointer-events: none;
z-index: 70;
}
.sb-hud-head {
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 2px 2px 2px;
}
.sb-hud-brand {
flex-direction: row;
align-items: center;
gap: 7px;
}
.sb-hud-title {
font-size: 12.5px;
font-weight: 800;
letter-spacing: 1.2px;
}
.sb-hud-mode {
font-size: 9.5px;
font-weight: 800;
letter-spacing: 0.6px;
}
.sb-hud-item {
width: 100%;
flex-direction: row;
align-items: center;
gap: 9px;
padding: 6px 8px;
border-radius: 7px;
border: 1px solid rgba(255, 255, 255, 0.12);
}
.sb-badge {
width: 40px;
height: 35px;
flex-shrink: 0;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 6px;
border: 1px solid rgba(59, 130, 246, 0.35);
.badge-big {
font-size: 14px;
font-weight: 900;
line-height: 14px;
}
.badge-small {
font-size: 7.5px;
font-weight: 700;
letter-spacing: 0.7px;
opacity: 0.78;
margin-top: 2px;
}
}
.sb-hud-meta {
flex-grow: 1;
min-width: 0;
flex-direction: column;
gap: 3px;
}
.sb-hud-row {
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 6px;
}
.sb-hud-val {
font-size: 13px;
font-weight: 800;
white-space: nowrap;
}
.sb-hud-pill {
padding: 1px 7px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.16);
background-color: rgba(0, 0, 0, 0.24);
font-family: Inconsolata;
font-size: 10px;
font-weight: 700;
white-space: nowrap;
flex-shrink: 0;
}
.sb-hud-sub {
width: 100%;
font-size: 10px;
font-weight: 500;
opacity: 0.80;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sb-track {
width: 100%;
height: 3px;
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.12);
overflow: hidden;
}
.sb-fill {
height: 100%;
border-radius: 20px;
}
/* ── 2. MENU F4 S&BOX BIEN DISTINGUÉ AU CENTRE ── */
.sb-veil {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(4, 7, 14, 0.44);
align-items: center;
justify-content: center;
pointer-events: all;
z-index: 60;
}
.sb-panel {
position: relative;
width: 828px;
max-width: 90%;
flex-direction: column;
border-radius: 14px;
border: 2px solid rgba(59, 130, 246, 0.78);
backdrop-filter: blur(6px);
box-shadow: 0 26px 70px rgba(0, 0, 0, 0.78), 0 0 28px rgba(59, 130, 246, 0.22);
overflow: hidden;
}
.sb-panel-top {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
}
.sb-header {
width: 100%;
padding: 16px 20px 14px 20px;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 12px;
border-bottom: 1px solid rgba(59, 130, 246, 0.36);
}
.sb-header-left {
flex-direction: row;
align-items: center;
gap: 12px;
}
.sb-logo {
width: 36px;
height: 36px;
border-radius: 9px;
align-items: center;
justify-content: center;
font-size: 19px;
font-weight: 900;
flex-shrink: 0;
text-shadow: none;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.sb-title-col {
flex-direction: column;
gap: 2px;
}
.sb-title-row {
flex-direction: row;
align-items: center;
gap: 8px;
}
.sb-title {
font-size: 18px;
font-weight: 900;
letter-spacing: 1.5px;
}
.sb-f4-badge {
padding: 2px 10px;
border-radius: 20px;
font-size: 10px;
font-weight: 900;
letter-spacing: 0.8px;
text-shadow: none;
}
.sb-chip {
padding: 2px 9px;
border-radius: 20px;
border: 1px solid rgba(59, 130, 246, 0.45);
font-size: 9.5px;
font-weight: 700;
letter-spacing: 0.5px;
}
.sb-subtitle {
font-size: 10.5px;
opacity: 0.82;
}
.sb-header-right {
flex-direction: row;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
button {
cursor: pointer;
pointer-events: all;
font-family: Poppins;
background-color: rgba(14, 19, 32, 0.82);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 20px;
padding: 6px 13px;
font-size: 11.5px;
font-weight: 700;
align-items: center;
justify-content: center;
text-shadow: none;
&.is-off {
background-color: rgba(14, 19, 32, 0.82);
border-color: rgba(255, 255, 255, 0.16);
opacity: 0.78;
}
&.is-on {
background-color: #3B82F6;
border-color: #3B82F6;
opacity: 1.0;
box-shadow: 0 0 12px rgba(59, 130, 246, 0.42);
}
&:hover {
opacity: 1.0;
border-color: rgba(255, 255, 255, 0.45);
sound-in: "ui.button.over";
}
&:active {
sound-in: "ui.button.press";
}
}
.sb-btn {
padding: 6px 13px;
font-size: 11px;
}
.sb-tabbar {
width: 100%;
padding: 10px 18px;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.sb-tabs {
flex-direction: row;
gap: 6px;
}
.sb-tab {
padding: 6px 14px;
font-size: 11.5px;
font-weight: 700;
}
.sb-master {
flex-direction: row;
align-items: center;
gap: 6px;
}
.sb-master-label {
font-size: 10.5px;
font-weight: 600;
opacity: 0.68;
}
.sb-mini {
padding: 5px 12px;
font-size: 10.5px;
font-weight: 700;
}
.sb-body {
width: 100%;
flex-direction: column;
padding: 14px 18px;
gap: 9px;
}
.sb-mode-card {
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 12px 14px;
border-radius: 9px;
border: 1px solid rgba(255, 255, 255, 0.12);
}
.sb-mode-left {
flex-grow: 1;
min-width: 0;
flex-direction: column;
gap: 3px;
}
.sb-mode-head {
flex-direction: row;
align-items: center;
gap: 8px;
}
.sb-mode-num {
width: 21px;
height: 21px;
border-radius: 6px;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 900;
flex-shrink: 0;
text-shadow: none;
}
.sb-mode-name {
font-size: 13.5px;
font-weight: 800;
}
.sb-mode-badge {
padding: 1px 8px;
border-radius: 20px;
border: 1px solid rgba(59, 130, 246, 0.45);
background-color: rgba(0, 0, 0, 0.22);
font-family: Inconsolata;
font-size: 10.5px;
font-weight: 700;
}
.sb-mode-desc {
font-size: 11px;
opacity: 0.80;
line-height: 15px;
}
.sb-mode-active {
font-size: 10.5px;
font-weight: 700;
}
.sb-mode-actions {
flex-direction: row;
gap: 6px;
flex-shrink: 0;
}
.sb-tier-btn {
min-width: 96px;
padding: 8px 13px;
font-size: 11.5px;
font-weight: 800;
}
.sb-simple-card {
width: 100%;
flex-direction: column;
gap: 10px;
padding: 13px 15px;
border-radius: 9px;
border: 1px solid rgba(255, 255, 255, 0.12);
}
.sb-simple-head {
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.sb-preset-row {
flex-direction: row;
flex-wrap: wrap;
gap: 7px;
}
.sb-preset {
cursor: pointer;
pointer-events: all;
flex-direction: row;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 20px;
border: 1px solid rgba(59, 130, 246, 0.55);
background-color: #0E1320;
font-size: 11px;
font-weight: 700;
text-shadow: none;
&:hover {
opacity: 1.0;
box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
sound-in: "ui.button.over";
}
&:active {
sound-in: "ui.button.press";
}
}
.sb-preset-lbl {
font-size: 11px;
font-weight: 700;
white-space: nowrap;
text-shadow: none;
}
.sb-swatch-dot {
width: 11px;
height: 11px;
border-radius: 50%;
flex-shrink: 0;
}
.sb-color-split {
width: 100%;
flex-direction: row;
gap: 16px;
margin-top: 2px;
}
.sb-color-col {
flex-grow: 1;
flex-direction: column;
gap: 6px;
}
.sb-color-lbl {
font-size: 11px;
font-weight: 600;
opacity: 0.84;
}
.sb-swatch-row {
flex-direction: row;
flex-wrap: wrap;
gap: 7px;
}
.sb-swatch {
width: 26px;
height: 26px;
padding: 0;
border-radius: 6px;
border: 2px solid rgba(255, 255, 255, 0.25);
&.picked {
border-width: 3px;
border-color: #ffffff;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}
}
.sb-btn-row {
width: 100%;
flex-direction: row;
flex-wrap: wrap;
gap: 7px;
}
.sb-footer {
width: 100%;
padding: 10px 18px;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 10px;
border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.sb-status {
font-size: 11px;
font-weight: 600;
opacity: 0.86;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sb-footer-actions {
flex-direction: row;
gap: 6px;
flex-shrink: 0;
}
}