-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathSearchBar.module.css
More file actions
59 lines (54 loc) · 1 KB
/
SearchBar.module.css
File metadata and controls
59 lines (54 loc) · 1 KB
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
.root {
position: relative;
}
.input {
padding: 4px 10px 2px 12px;
border: 2px solid var(--lightgray);
background-color: var(--lightgray);
border: 2px solid transparent;
border-radius: 40px;
margin-left: auto;
width: 100%;
padding: 4px 10px 2px 12px;
height: 100%;
outline: none;
transition: 1s ease;
}
.input:focus {
border-color: var(--processing-blue-light);
}
.input::placeholder {
color: var(--darkgray);
opacity: 1;
padding-top: 7px;
}
.searchBar {
display: flex;
flex-direction: row;
flex-basis: var(--col6);
justify-content: flex-end;
align-items: center;
}
.submit {
position: absolute;
right: 16px;
padding: 0;
cursor: pointer;
border: 2px solid transparent;
&:focus {
outline: none;
border: 2px solid var(--processing-blue-light);
border-radius: 50%;
}
&:hover path {
stroke: var(--processing-blue-mid);
}
&:active path {
stroke: var(--processing-blue-dark);
}
}
@media (--reduced) {
.root {
align-self: baseline;
}
}