6
6
7
7
$font-color : rgba (255 , 255 , 255 , 0.96 );
8
8
$secondary-font-color : rgba (255 , 255 , 255 , 0.7 );
9
+ $input-height-desktop : 40px ;
10
+ $input-height-mobile : 50px ;
9
11
10
12
#pages-search {
11
13
width : 40px ;
@@ -26,7 +28,7 @@ $secondary-font-color: rgba(255, 255, 255, 0.7);
26
28
}
27
29
}
28
30
29
- @media (width < 900 px ) {
31
+ @media (width < $ breakpoint-desktop-min ) {
30
32
#pages-search {
31
33
width : 52px ;
32
34
height : 52px ;
@@ -58,50 +60,94 @@ $secondary-font-color: rgba(255, 255, 255, 0.7);
58
60
}
59
61
60
62
span [data-test-custom = ' ring-select-popup-filter-icon' ] {
61
- top : 11px ;
62
- left : 14px ;
63
+ top : 10px ;
64
+ left : 11px ;
65
+
66
+ @media (width < $breakpoint-desktop-min ) {
67
+ top : 14px ;
68
+ left : 11px ;
69
+ }
63
70
64
71
svg {
65
- width : 18 px !important ;
66
- height : 18 px !important ;
72
+ width : 20 px !important ;
73
+ height : 20 px !important ;
67
74
}
68
75
}
69
76
70
77
.popup-wrapper {
71
78
min-width : 636px !important ;
72
79
80
+ margin-top : -42px ;
81
+
73
82
color : $font-color ;
74
83
75
84
border : 1px solid hsla (0deg , 0% , 100% , 0.2 ) !important ;
76
85
77
86
background-color : #27282c !important ;
78
87
88
+ @media (width < $breakpoint-desktop-min ) {
89
+ top : 41px !important ;
90
+ right : -1px !important ;
91
+ bottom : -1px !important ;
92
+ left : -1px !important ;
93
+ }
94
+
79
95
[class ^= ' filterWrapper' ] {
80
96
margin-bottom : 4px ;
81
97
98
+ padding-right : 0 ;
99
+
82
100
border-bottom : 1px solid hsla (0deg , 0% , 100% , 0.2 );
83
101
}
84
102
85
103
input {
86
- height : 40px ;
104
+ height : $input-height-desktop ;
105
+
106
+ padding-right : 52px ;
87
107
88
108
color : #fff ;
89
109
90
110
font-size : 16px ;
91
111
92
112
font-weight : normal !important ;
113
+
114
+ @media (width < $breakpoint-desktop-min ) {
115
+ height : $input-height-mobile ;
116
+ }
93
117
}
94
118
95
119
span [data-test-custom = ' ring-select-popup-filter-icon' ] {
96
120
color : #fff ;
97
121
}
98
122
99
123
button [data-test = ' ring-input-clear' ] {
100
- top : 10px ;
101
- right : 6px ;
124
+ top : 0 ;
125
+ right : 0 ;
126
+
127
+ padding : 10px 9px ;
128
+
129
+ transition : none ;
102
130
103
131
color : #fff !important ;
104
132
133
+ border-radius : 0 ;
134
+
135
+ line-height : 21px ;
136
+
137
+ & :focus-visible {
138
+ outline : var (--focus-outline );
139
+ outline-offset : -4px ;
140
+ box-shadow : none ;
141
+ }
142
+
143
+ & :hover {
144
+ background-color : var (--color-w10 );
145
+ }
146
+
147
+ @media (width < $breakpoint-desktop-min ) {
148
+ padding : 15px 9px ;
149
+ }
150
+
105
151
span {
106
152
display : none ;
107
153
}
@@ -213,4 +259,10 @@ div[data-test='ring-select-popup-filter'] {
213
259
214
260
div [data-test = ' ring-popup' ] {
215
261
border-radius : 0 ;
262
+
263
+ & .ReactVirtualized__List {
264
+ @media (width < $breakpoint-desktop-min ) {
265
+ max-height : calc (100vh - $input-height-mobile ) !important ;
266
+ }
267
+ }
216
268
}
0 commit comments