-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
65 lines (55 loc) · 1.18 KB
/
styles.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
57
58
59
60
61
62
63
64
.assist-container *{
box-sizing: border-box;
}
.assist-container{
position: fixed;
display: none;
width: 50%;
top: 15%;
left: 50%;
transform: translateX(-50%);
min-width: 400px;
max-width: 600px;
background-color: rgba(252, 252, 252, 0.75);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
border-radius: 10px;
backdrop-filter: blur(20px);
overflow: hidden;
}
.assist-container.active{
display: block;
}
#assist-input{
width: 100%;
padding: 10px 15px;
font-size: 25px;
border: none;
background-color: transparent;
border-bottom: 1px solid rgba(34, 34, 34, 0.3);
}
#assist-input:focus{
outline: none;
}
#assist-input::placeholder{
color: rgba(70, 70, 70, 0.5);
}
.assist-suggestions:has(> *){
padding: 10px 0;
}
.assist-suggestion{
padding: 5px 10px;
border-bottom: 1px solid rgba(34, 34, 34, 0.3);
color: #000;
background-color: transparent;
width: 100%;
font-size: 18px;
display: block;
font: inherit;
text-align: left;
border: none;
}
.assist-suggestion:focus, .assist-suggestion:hover{
outline: none;
background-color: rgba(0, 0, 0, 0.1);
cursor: pointer;
}