mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: add edition selector for Java and Bedrock versions with corresponding UI and logic updates
This commit is contained in:
@@ -1023,3 +1023,48 @@ body {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Edition Selector */
|
||||
.edition-selector {
|
||||
margin-top: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.edition-toggle {
|
||||
display: inline-flex;
|
||||
background: #f5f5f7;
|
||||
border-radius: 12px;
|
||||
padding: 4px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.edition-btn {
|
||||
padding: 10px 28px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
color: #86868b;
|
||||
transition: all 0.3s ease;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.edition-btn.active {
|
||||
background: #fff;
|
||||
color: #1d1d1f;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.edition-btn:hover:not(.active) {
|
||||
color: #1d1d1f;
|
||||
}
|
||||
|
||||
.server-address-box span {
|
||||
color: #86868b;
|
||||
font-size: 0.9rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user