Search function added
This commit is contained in:
+30
@@ -264,6 +264,36 @@ input, textarea { font: inherit; color: inherit; }
|
||||
.topbar__me-name { font-size: 12.5px; font-weight: 600; }
|
||||
.topbar__me-role { font-size: 10.5px; color: var(--fg-soft); }
|
||||
|
||||
/* === SEARCH === */
|
||||
.topbar__search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: var(--bg-sunken);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
padding: 0 4px 0 10px;
|
||||
height: 32px;
|
||||
flex: 1;
|
||||
max-width: 400px;
|
||||
animation: search-slide 180ms ease;
|
||||
}
|
||||
.topbar__search-input {
|
||||
border: none;
|
||||
background: transparent;
|
||||
flex: 1;
|
||||
font-size: 13px;
|
||||
outline: none;
|
||||
color: var(--fg);
|
||||
padding: 0;
|
||||
}
|
||||
.topbar__search-input::placeholder { color: var(--fg-faint); }
|
||||
|
||||
@keyframes search-slide {
|
||||
from { opacity: 0; transform: translateX(-10px); }
|
||||
to { opacity: 1; transform: translateX(0); }
|
||||
}
|
||||
|
||||
/* === MAIN === */
|
||||
.main { flex: 1; overflow: auto; padding: 20px; min-height: 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user