File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 147
147
appearance : none ;
148
148
}
149
149
150
+ /* *
151
+ * Normally, we would not want to use :focus
152
+ * here because that would mean tapping the button
153
+ * on mobile would focus it (and keep it focused).
154
+ * However, the clear button always disappears after
155
+ * being activated, so we never get to that state.
156
+ */
150
157
.input-clear-icon :focus {
151
158
opacity : 0.5 ;
152
159
}
Original file line number Diff line number Diff line change 145
145
appearance : none ;
146
146
}
147
147
148
+ /* *
149
+ * Normally, we would not want to use :focus
150
+ * here because that would mean tapping the button
151
+ * on mobile would focus it (and keep it focused).
152
+ * However, the clear button always disappears after
153
+ * being activated, so we never get to that state.
154
+ */
155
+ .searchbar-clear-button :focus {
156
+ opacity : 0.5 ;
157
+ }
158
+
148
159
:host (.searchbar-has-value.searchbar-should-show-clear ) .searchbar-clear-button {
149
160
display : block ;
150
161
}
You can’t perform that action at this time.
0 commit comments