File tree 2 files changed +12
-13
lines changed
assets/stylesheets/blacklight
components/blacklight/response
2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 14
14
--bl-facets-smallish-margin-bottom : #{$spacer } ;
15
15
--bl-facets-smallish-border-radius : #{$border-radius } ;
16
16
17
- .navbar-toggler {
18
- --bs-navbar-toggler-padding-x : #{$navbar-toggler-padding-x } ;
19
- --bs-navbar-toggler-padding-y : #{$navbar-toggler-padding-y } ;
20
- --bs-navbar-toggler-border-color : #{$navbar-light-toggler-border-color } ;
21
- --bs-navbar-toggler-border-radius : #{$navbar-toggler-border-radius } ;
22
- color : $navbar-light-active-color ;
23
-
24
- & :hover ,
25
- & :focus {
26
- color : $navbar-light-active-color ;
27
- }
28
-
17
+ .facet-toggle-button {
29
18
[data-hide-label ] {
30
19
display : inline ;
31
20
}
114
103
.card-body {
115
104
padding : var (--bl-facet-limit-body-padding );
116
105
}
106
+
107
+ /* Provide a focus ring on the expand/collapse button */
108
+ .btn {
109
+ --bs-btn-focus-shadow-rgb : 50 , 50 , 50 ;
110
+ & :focus-visible {
111
+ border-color : var (--bs-btn-hover-border-color );
112
+ outline : 0 ;
113
+ box-shadow : var (--bs-btn-focus-box-shadow );
114
+ }
115
+ }
117
116
}
118
117
119
118
.facet-limit-active {
Original file line number Diff line number Diff line change 4
4
<%= content_tag :h2, @title, class: 'facets-heading' if @title %>
5
5
6
6
<%= content_tag :button,
7
- class :'navbar-toggler navbar-toggler-right ' ,
7
+ class : 'btn btn-outline-secondary facet-toggle-button d-block d-lg-none ',
8
8
type : 'button' ,
9
9
data : {
10
10
toggle : 'collapse' ,
You can’t perform that action at this time.
0 commit comments