Unify search bar styles across components

This commit is contained in:
Joan
2026-02-06 11:45:25 +01:00
parent 539377e63d
commit fb92f28a69
7 changed files with 412 additions and 34 deletions

View File

@@ -207,7 +207,6 @@ html {
.username-link {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
padding: 0.6rem 1.2rem;
color: rgba(255, 255, 255, 0.8);
cursor: pointer;
@@ -335,12 +334,54 @@ html {
border-bottom: 3px solid var(--game-color-primary);
}
.game-main {
flex: 1;
padding: 1.5rem;
overflow-y: auto;
}
/* Unified Search Bar */
.game-search-container {
display: flex;
align-items: center;
background: rgba(0, 0, 0, 0.4);
border: 1px solid var(--game-border-color);
border-radius: var(--game-radius-sm);
padding: 0 0.8rem;
transition: all 0.2s ease;
height: 40px;
position: relative;
}
.game-search-container:focus-within {
border-color: var(--game-text-secondary);
background: rgba(0, 0, 0, 0.6);
box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}
.game-search-icon {
font-size: 1rem;
margin-right: 0.5rem;
opacity: 0.7;
flex-shrink: 0;
}
.game-search-input {
background: transparent;
border: none;
color: #fff;
font-family: var(--game-font-main);
font-size: 1rem;
width: 100%;
height: 100%;
outline: none;
}
.game-search-input::placeholder {
color: rgba(255, 255, 255, 0.3);
}
/* Explore Tab - Desktop 3-Column Layout */
.explore-tab-desktop {
display: grid;