-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearchbar.css
56 lines (53 loc) · 1.14 KB
/
searchbar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#search-bar {
border-radius: 100px;
background: #FFF;
/* layout */
display: flex;
width: auto;
min-width: 240px;
padding: 8px 16px;
justify-content: flex-end;
align-items: flex-start;
gap: 8px;
flex-grow: 1;
}
#search-bar-input {
background: transparent;
border: none;
outline: none;
/* | type a word here... */
width: auto;
height: 20px;
font-style: normal;
font-size: 16px;
line-height: 16px;
color: #1D2D35;
/* layout */
flex: none;
order: 0;
flex-grow: 1;
}
::placeholder {
color: #E2EBEC;
line-height: 16px;
}
.material-symbols-outlined {
/* the search button */
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}
#search-bar-button {
background: transparent;
color: #E2EBEC;
/* size */
width: 16px;
height: 16px;
margin-top: 0px;
font-size: 16px;
line-height: 16px;
/* layout */
flex: none;
order: 1;
flex-grow: 0;
/* hand pointer when the mouse if hovering over, it's a button after all */
cursor: pointer;
}