Fix: hamburger first-click, add search clear X button
This commit is contained in:
+29
-1
@@ -2227,10 +2227,13 @@ select {
|
||||
.help-nav-search-wrap {
|
||||
padding: 0 12px 8px;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.help-nav-search {
|
||||
width: 100%;
|
||||
padding: 7px 10px;
|
||||
padding: 7px 30px 7px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-primary);
|
||||
@@ -2243,6 +2246,31 @@ select {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.help-nav-search::placeholder { color: var(--text-muted); }
|
||||
.help-search-clear {
|
||||
position: absolute;
|
||||
right: 18px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 20px; height: 20px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.15s, color 0.15s;
|
||||
}
|
||||
.help-search-clear:hover {
|
||||
opacity: 1;
|
||||
color: var(--text-primary);
|
||||
background: rgba(255,255,255,0.08);
|
||||
}
|
||||
.help-nav-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user