@@ -52,6 +52,8 @@ $down-arrow-size: $base-unit;
52
52
// 'Sort by' dropdown
53
53
.Select {
54
54
@include roboto- regular;
55
+
56
+ border-color : #b3b3b3 !important ;
55
57
}
56
58
57
59
.is-focused {
@@ -88,8 +90,9 @@ $down-arrow-size: $base-unit;
88
90
overflow : visible ;
89
91
}
90
92
91
- .Select.is-focused :not (.is-open ) > .Select-control {
92
- border-color : #137d60 !important ;
93
+ .Select.is-focused > .Select-control {
94
+ outline : none ;
95
+ box-shadow : none ;
93
96
}
94
97
95
98
.Select-value-label {
@@ -120,51 +123,41 @@ $down-arrow-size: $base-unit;
120
123
.Select-menu-outer {
121
124
width : 100% ;
122
125
color : $tc-gray-90 ;
126
+ border-bottom-right-radius : 4px ;
127
+ border-bottom-left-radius : 4px ;
123
128
font-weight : 400 ;
124
129
font-size : 12px ;
125
130
background-color : $tc-white ;
126
131
box-sizing : border-box ;
127
- margin-top : 2 px ;
128
- padding : 4 px 0 ;
132
+ border : 1 px solid #ccc ;
133
+ max-height : 200 px ;
129
134
position : absolute ;
135
+ left : 0 ;
136
+ height : fit-content ;
130
137
top : 100% ;
131
- right : 0 ;
132
- z-index : 1000 ;
133
- -webkit-overflow-scrolling : touch ;
134
- border : none !important ;
135
138
}
136
139
137
140
.Select-menu {
138
- max-height : none ;
139
141
overflow-y : visible ;
140
- height : 22px ;
141
142
font-size : 14px ;
142
143
}
143
144
144
145
.Select-option {
145
146
box-sizing : border-box ;
146
- color : rgba ( 51 , 51 , 51 , 0.8 ) ;
147
+ color : #2a2a2b ;
147
148
cursor : pointer ;
148
149
display : block ;
149
- padding : 6px 16px ;
150
- border-left : 1px solid #aaa ;
151
- border-right : 1px solid #aaa ;
152
- }
153
-
154
- .Select-option :last-child {
155
- border-bottom-right-radius : 5px !important ;
156
- border-bottom-left-radius : 5px !important ;
157
- border-bottom : 1px solid #aaa ;
150
+ padding : 8px 15px ;
158
151
}
159
152
160
- .Select-option :first-child {
161
- border-top : 1 px solid #aaa ;
162
- border-top-left-radius : $base-unit ;
163
- border-top-right-radius : $base-unit ;
153
+ .Select-option :hover {
154
+ color : #fff !important ;
155
+ font-weight : 400 !important ;
156
+ background-color : #229173 !important ;
164
157
}
165
158
166
- .Select-option :hover {
167
- color : $tc-black ;
159
+ .Select.is-focused :not ( .is-open ) > .Select-control {
160
+ border- color : #b3b3b3 !important ;
168
161
}
169
162
170
163
.Select-option.is-selected {
0 commit comments