step 10.9: done
This commit is contained in:
@@ -1022,3 +1022,104 @@ button:hover { background: #c73650; }
|
||||
background: var(--accent, #e2822b);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* ===== Stat allocation UI ===== */
|
||||
#allocation-section {
|
||||
margin-top: 0.75rem;
|
||||
padding-top: 0.75rem;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
#allocation-section h4 {
|
||||
color: #e94560;
|
||||
font-size: 0.875rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.alloc-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.2rem 0;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.alloc-label {
|
||||
color: #a0a0a0;
|
||||
min-width: 2.5em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.alloc-value {
|
||||
font-weight: 600;
|
||||
color: #eadfce;
|
||||
min-width: 1.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.alloc-btn {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
margin: 0 0.35rem;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #0f3460;
|
||||
border: 1px solid #4a7fb0;
|
||||
border-radius: 3px;
|
||||
color: #4a90d9;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.alloc-btn:hover:not(:disabled) {
|
||||
background: #4a7fb0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.alloc-btn:disabled {
|
||||
opacity: 0.3;
|
||||
cursor: not-allowed;
|
||||
border-color: #444;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#alloc-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 0.5rem;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid #1a1a2e;
|
||||
}
|
||||
|
||||
.alloc-total {
|
||||
font-size: 0.8rem;
|
||||
color: #a0a0a0;
|
||||
}
|
||||
|
||||
.btn-alloc-apply {
|
||||
background: #e94560;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 0.35rem 1rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.btn-alloc-apply:hover:not(:disabled) {
|
||||
background: #c73650;
|
||||
}
|
||||
|
||||
.btn-alloc-apply:disabled {
|
||||
background: #444;
|
||||
color: #888;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user