-
Notifications
You must be signed in to change notification settings - Fork 0
/
_searchEntry.scss
105 lines (93 loc) · 2.4 KB
/
_searchEntry.scss
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.searchEntry{
@include flexColumn();
padding-top: 40px;
.logo{
letter-spacing: -5px;
font-size: 2rem;
font-weight: 600;
margin-bottom: 0.5rem;
@include mq(768px){
font-size: 4rem;
letter-spacing: -10px;
}
}
.searchBar{
width: 90vw;
display: flex;
border: 3px solid $search-bar-border;
border-radius: 400px;
padding: 0.25rem 0.3rem 0.25rem 0.85rem;
@include mq(768px){
width: 80vw;
padding: 1.25rem 1.5rem;
}
@include mq(1025px){
width: 60vw;
}
input[type="text"]{
flex-grow: 1;
font-size: 0.75rem;
text-align: left;
letter-spacing: 0.1rem;
border: none;
outline: none;
min-width: 150px;
@include mq(768px){
font-size: 1.25rem;
}
}
.button{
cursor: pointer;
border: none;
background: transparent;
min-width: 48px;
min-height: 48px;
outline: none;
i{
font-family: "Font Awesome 5 Free";
font-size: 1rem;
@include mq(768px){
font-size: 1.5rem;
}
}
}
.button:hover,
.button:focus{
i{
padding-bottom: 0.5rem;
border-bottom-width: 1px;
border-bottom-style: solid;
}
}
.searchButton:hover,
.searchButton:focus{
i{
color: $logo-green;
}
}
.clear:hover,
.clear:focus{
i{
color: $logo-red;
}
}
.searchButton{
@include mq(768px){
padding-left: 1rem;
}
}
.clear{
justify-content: center;
align-items: center;
color: $stats-color;
border-right: thin solid $clear-button-color;
@include mq(768px){
padding: 0rem 1rem;
}
}
}
.searchBar:hover,
.searchBar:focus-within{
box-shadow: 0 2px 5px 2px $search-bar-border;
}
}