update header
This commit is contained in:
parent
82836c2ef3
commit
7a9e22429b
@ -16,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
font-family: 'Orbitron', sans-serif;
|
font-family: "Orbitron", sans-serif;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
@ -74,3 +74,37 @@
|
|||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-right {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.75rem;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-icon-btn {
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-icon-btn:hover {
|
||||||
|
background: rgba(0, 212, 255, 0.1);
|
||||||
|
border-color: var(--primary-color);
|
||||||
|
color: var(--primary-color);
|
||||||
|
box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-icon-btn.exit-btn:hover {
|
||||||
|
background: rgba(255, 87, 34, 0.1);
|
||||||
|
border-color: #ff5722;
|
||||||
|
color: #ff5722;
|
||||||
|
box-shadow: 0 0 15px rgba(255, 87, 34, 0.2);
|
||||||
|
}
|
||||||
|
|||||||
@ -25,7 +25,6 @@ const GameHeader = ({ onReturn }) => {
|
|||||||
<span className="player-level">Lv. 1</span>
|
<span className="player-level">Lv. 1</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="header-center">
|
<div className="header-center">
|
||||||
<div className="resources">
|
<div className="resources">
|
||||||
<div className="resource">
|
<div className="resource">
|
||||||
@ -34,17 +33,18 @@ const GameHeader = ({ onReturn }) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="header-right">
|
<div className="header-right">
|
||||||
<button
|
<button
|
||||||
className="btn btn-secondary"
|
className="header-icon-btn"
|
||||||
onClick={() => setIsSettingsOpen(true)}
|
onClick={() => setIsSettingsOpen(true)}
|
||||||
style={{ marginRight: "10px" }}
|
|
||||||
>
|
>
|
||||||
<i className="fas fa-cog"></i>
|
<i className="fas fa-cog"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button className="btn btn-warning" onClick={handleHomeClick}>
|
<button
|
||||||
|
className="header-icon-btn exit-btn"
|
||||||
|
onClick={handleHomeClick}
|
||||||
|
>
|
||||||
<i className="fas fa-home"></i>
|
<i className="fas fa-home"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user