blob: 90c9d4de59d664216ba792777e9f1a1e1132c6b0 (
plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
.search-results {
.search-result-row {
border-bottom: 1px solid $border-color;
padding-bottom: $gl-padding;
margin-bottom: $gl-padding;
&:last-child {
border-bottom: none;
}
}
}
.search-holder {
max-width: 600px;
margin: 0 auto;
margin-bottom: 20px;
input {
border-color: #BBB;
font-weight: bold;
}
}
.search {
margin-right: 10px;
margin-left: 10px;
margin-top: ($header-height - 35) / 2;
&.search-active {
form {
@extend .form-control:focus;
}
.location-badge {
@include transition(all .15s);
background-color: $input-border-focus;
color: $white-light;
}
.search-input-wrap {
i {
color: $input-border-focus;
}
}
}
form {
@extend .form-control;
margin: 0;
padding: 4px;
width: 350px;
line-height: 24px;
overflow: hidden;
}
.location-text {
font-style: normal;
}
.remove-badge {
display: none;
}
.search-input {
border: none;
font-size: 14px;
outline: none;
padding: 0;
margin-left: 5px;
line-height: 25px;
width: 100%;
}
.location-badge {
line-height: 25px;
padding: 0 5px;
border-radius: 2px;
font-size: 14px;
font-style: normal;
color: #AAAAAA;
display: inline-block;
background-color: #F5F5F5;
vertical-align: top;
}
.search-input-container {
display: flex;
}
.search-location-badge, .search-input-wrap {
// Fallback if flex is not supported
display: inline-block;
}
.search-input-wrap {
width: 100%;
position: relative;
.search-icon {
@extend .fa-search;
@include transition(color .15s);
position: absolute;
right: 5px;
color: #E7E9ED;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
&:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
}
}
.ui-autocomplete-loading + .search-icon {
height: 25px;
width: 25px;
position: absolute;
right: 0;
background-image: image-url('spinner.svg');
fill: red;
&:before {
display: none;
}
}
}
}
|