Session 10: Buy Max bulk-buy feature for buildings

This commit is contained in:
2026-08-22 16:04:56 +00:00
parent 2cee2c8b99
commit 478b9741a7
4 changed files with 127 additions and 2 deletions
+26
View File
@@ -301,6 +301,32 @@ h2, h3 {
opacity: 0.5;
}
.buy-max-btn {
display: block;
width: 100%;
margin-top: 6px;
background: var(--accent-purple);
color: var(--text-primary);
border: none;
border-radius: 6px;
padding: 5px 12px;
cursor: pointer;
font-weight: bold;
font-size: 0.8rem;
transition: all 0.2s ease;
}
.buy-max-btn:hover:not(:disabled) {
background: #9b59b6;
transform: scale(1.03);
}
.buy-max-btn:disabled {
background: var(--text-muted);
cursor: not-allowed;
opacity: 0.4;
}
/* Side Panel Tabs */
.tabs {
display: flex;