blacklight-frontend 8.2.2 → 8.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,622 @@
1
+ @charset "UTF-8";
2
+ .py-2, .navbar + .container {
3
+ padding-block: 0.5rem; /* https://github.com/projectblacklight/blacklight/pull/3186 */
4
+ }
5
+
6
+ /* These classes are all the BS things that Blacklight depends on (via @extend) */
7
+ /* This is the default blacklight theme. */
8
+ /* This file is generated by Blacklight. You probably don't want to edit
9
+ this file directly, or you'll have to manually merge your changes if later
10
+ versions of Blacklight change this file. Instead, use your own CSS file
11
+ which over-rides things in this file. Or of course you can choose
12
+ not to use the Blacklight CSS file at all in your local app. */
13
+ /* Warning! If you want to change these, just copy them into your own theme css. But you want to remove the !default, which only will set them if not already set. */
14
+ /* label (field names) */
15
+ .facet-field-heading {
16
+ border-bottom: 0;
17
+ }
18
+ .facet-field-heading button {
19
+ font-weight: 500;
20
+ }
21
+ .facet-field-heading button::after {
22
+ content: "❯";
23
+ float: right;
24
+ transform: rotate(90deg);
25
+ }
26
+ .facet-field-heading button.collapsed {
27
+ border-bottom: 0;
28
+ }
29
+ .facet-field-heading button.collapsed::after {
30
+ transform: rotate(0deg);
31
+ transition: transform 0.1s ease;
32
+ }
33
+
34
+ .page-link {
35
+ white-space: nowrap;
36
+ }
37
+
38
+ .modal[open] {
39
+ display: block;
40
+ background: none;
41
+ border: none;
42
+ }
43
+
44
+ /* Generic layout stuff */
45
+ /*
46
+ Header bar at top (Bootstrap nav-bar)
47
+ */
48
+ @media (max-width: ) {
49
+ .topbar > .container {
50
+ margin-left: 0;
51
+ margin-right: 0;
52
+ }
53
+ }
54
+
55
+ .navbar-logo { /* The main logo image for the Blacklight instance */
56
+ background: transparent image_url("blacklight/logo.png") no-repeat top left;
57
+ background-size: 150px 50px;
58
+ height: 50px;
59
+ overflow: hidden;
60
+ text-indent: 100%;
61
+ white-space: nowrap;
62
+ width: 150px;
63
+ }
64
+
65
+ .navbar-search {
66
+ z-index: 1;
67
+ }
68
+ .navbar-search search {
69
+ display: contents;
70
+ }
71
+ .navbar-search .search-field {
72
+ min-width: 7em;
73
+ }
74
+ .navbar-search .search-query-form {
75
+ padding-left: 0;
76
+ }
77
+
78
+ #skip-link {
79
+ position: absolute;
80
+ top: 5px;
81
+ left: 10px;
82
+ z-index: 1;
83
+ }
84
+ #skip-link .element-invisible {
85
+ position: absolute !important;
86
+ clip: rect(1px, 1px, 1px, 1px);
87
+ overflow: hidden;
88
+ height: 1px;
89
+ }
90
+ #skip-link .element-invisible.element-focusable:active,
91
+ #skip-link .element-invisible.element-focusable:focus {
92
+ position: static !important;
93
+ clip: auto;
94
+ overflow: visible;
95
+ height: auto;
96
+ }
97
+ #skip-link a:focus {
98
+ background-color: #fff;
99
+ }
100
+
101
+ .constraints-container {
102
+ display: flex;
103
+ flex-wrap: wrap;
104
+ gap: 0.5rem 0.25rem;
105
+ }
106
+
107
+ .applied-filter .constraint-value {
108
+ cursor: default;
109
+ text-overflow: ellipsis;
110
+ overflow: hidden;
111
+ white-space: nowrap;
112
+ }
113
+ @media (max-width: 576px) {
114
+ .applied-filter .constraint-value {
115
+ max-width: 288px;
116
+ }
117
+ }
118
+ @media (min-width: 576px) and (max-width: 575.98px) {
119
+ .applied-filter .constraint-value {
120
+ max-width: 288px;
121
+ }
122
+ }
123
+ @media (min-width: 768px) and (max-width: 767.98px) {
124
+ .applied-filter .constraint-value {
125
+ max-width: 384px;
126
+ }
127
+ }
128
+ @media (min-width: 992px) {
129
+ .applied-filter .constraint-value {
130
+ max-width: 496px;
131
+ }
132
+ }
133
+ .applied-filter .constraint-value:hover, .applied-filter .constraint-value:active {
134
+ background-color: theme-color("secondary");
135
+ border-color: theme-color("secondary");
136
+ box-shadow: none;
137
+ }
138
+ .applied-filter .filter-name:after {
139
+ color: #adb5bd;
140
+ content: "❯";
141
+ font-size: 90%;
142
+ padding-left: 0.3em;
143
+ }
144
+ .search-widgets {
145
+ display: flex;
146
+ }
147
+ .sort-pagination,
148
+ .pagination-search-widgets {
149
+ border-bottom: var(--bs-border-width) solid var(--bs-border-color);
150
+ margin-bottom: 1em;
151
+ padding-bottom: 1em;
152
+ }
153
+
154
+ .pagination-search-widgets {
155
+ padding-top: 1px;
156
+ padding-bottom: 1rem;
157
+ }
158
+
159
+ .sort-pagination .dropdown-toggle {
160
+ cursor: pointer;
161
+ }
162
+
163
+ .view-type {
164
+ display: inline-block;
165
+ }
166
+ .search-input-group {
167
+ width: 80%;
168
+ }
169
+
170
+ @media (max-width: ) {
171
+ .search-input-group {
172
+ width: auto;
173
+ }
174
+ }
175
+ .modal_form {
176
+ margin-bottom: 0;
177
+ }
178
+
179
+ .input-group > .search-q {
180
+ flex-grow: 4;
181
+ }
182
+
183
+ .input-group > .search-autocomplete-wrapper {
184
+ display: inline-block;
185
+ flex-grow: 4;
186
+ padding: 0;
187
+ position: relative;
188
+ }
189
+ .input-group > .search-autocomplete-wrapper .search-q {
190
+ border: 0;
191
+ height: 100%;
192
+ width: 100%;
193
+ }
194
+ .input-group > .search-autocomplete-wrapper ul {
195
+ display: block;
196
+ }
197
+ .search-btn {
198
+ border-top-left-radius: 0;
199
+ border-bottom-left-radius: 0;
200
+ display: flex;
201
+ }
202
+
203
+ .documents-list .document {
204
+ display: flex;
205
+ border-bottom: 1px dotted var(--bs-border-color);
206
+ margin-top: 1rem;
207
+ padding-top: 1rem;
208
+ }
209
+ .documents-list .document .document-main-section {
210
+ flex-grow: 1;
211
+ }
212
+ .documents-list .document .index-document-functions {
213
+ margin-bottom: 1.5rem;
214
+ }
215
+ @media (min-width: 576px) {
216
+ .documents-list .document .index-document-functions {
217
+ margin-bottom: 0;
218
+ }
219
+ }
220
+ .documents-list .document .document-thumbnail {
221
+ flex-grow: 0;
222
+ margin-bottom: 3rem;
223
+ padding-left: 3rem;
224
+ }
225
+
226
+ .page-links {
227
+ display: inline-block;
228
+ border: 1px solid transparent;
229
+ padding: 0.375rem 0.75rem;
230
+ padding-left: 0;
231
+ }
232
+
233
+ .record-padding {
234
+ margin-top: 0.5rem;
235
+ }
236
+
237
+ @media (max-width: 575.98px) {
238
+ .pagination {
239
+ flex-wrap: wrap;
240
+ }
241
+ }
242
+
243
+ .group-key {
244
+ border-bottom: 1px solid #3f4953;
245
+ clear: right;
246
+ }
247
+
248
+ .grouped-documents .document {
249
+ border-bottom: 0;
250
+ }
251
+
252
+ .more-in-group {
253
+ float: right;
254
+ }
255
+
256
+ label.toggle-bookmark {
257
+ font-weight: inherit;
258
+ min-width: 8.5em;
259
+ }
260
+
261
+ .no-js .bookmark-toggle input[type=submit] {
262
+ display: inline;
263
+ }
264
+ .no-js .bookmark-toggle div.toggle-bookmark {
265
+ display: none;
266
+ }
267
+ .bookmark-toggle input[type=submit] {
268
+ display: none;
269
+ }
270
+
271
+ .dl-invert dt {
272
+ font-weight: normal;
273
+ color: var(--bs-secondary-color);
274
+ }
275
+ @media (max-width: 768px) {
276
+ .dl-invert dt {
277
+ text-align: left;
278
+ }
279
+ }
280
+ @media (min-width: 768px) {
281
+ .dl-invert dt {
282
+ text-align: right;
283
+ }
284
+ }
285
+
286
+ .sidenav {
287
+ --bl-facets-smallish-padding: .25rem;
288
+ --bl-facets-smallish-border: var(--bs-border-width) solid var(--bs-border-color);
289
+ --bl-facets-smallish-margin-bottom: 1rem;
290
+ --bl-facets-smallish-border-radius: 0.375rem;
291
+ }
292
+ .sidenav .navbar-toggler {
293
+ --bs-navbar-toggler-padding-x: 0.75rem;
294
+ --bs-navbar-toggler-padding-y: 0.25rem;
295
+ --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);
296
+ --bs-navbar-toggler-border-radius: var(--bs-border-radius);
297
+ color: rgba(var(--bs-emphasis-color-rgb), 1);
298
+ }
299
+ .sidenav .navbar-toggler:hover, .sidenav .navbar-toggler:focus {
300
+ color: rgba(var(--bs-emphasis-color-rgb), 1);
301
+ }
302
+ .sidenav .navbar-toggler [data-hide-label] {
303
+ display: inline;
304
+ }
305
+ .sidenav .navbar-toggler [data-show-label] {
306
+ display: none;
307
+ }
308
+ .sidenav .navbar-toggler[aria-expanded=false] [data-hide-label] {
309
+ display: none;
310
+ }
311
+ .sidenav .navbar-toggler[aria-expanded=false] [data-show-label] {
312
+ display: inline;
313
+ }
314
+
315
+ @media (max-width: 575.98px) {
316
+ .facets-toggleable {
317
+ border: var(--bl-facets-smallish-border);
318
+ padding: var(--bl-facets-smallish-padding);
319
+ margin-bottom: var(--bl-facets-smallish-margin-bottom);
320
+ border-radius: var(--bl-facets-smallish-border-radius);
321
+ }
322
+ }
323
+ @media (min-width: 576px) {
324
+ .facets-toggleable .facets-collapse {
325
+ display: block !important;
326
+ width: 100%;
327
+ }
328
+ .facets-toggleable .navbar-toggler {
329
+ display: none;
330
+ }
331
+ }
332
+ @media (max-width: 767.98px) {
333
+ .facets-toggleable-sm {
334
+ border: var(--bl-facets-smallish-border);
335
+ padding: var(--bl-facets-smallish-padding);
336
+ margin-bottom: var(--bl-facets-smallish-margin-bottom);
337
+ border-radius: var(--bl-facets-smallish-border-radius);
338
+ }
339
+ }
340
+ @media (min-width: 768px) {
341
+ .facets-toggleable-sm .facets-collapse {
342
+ display: block !important;
343
+ width: 100%;
344
+ }
345
+ .facets-toggleable-sm .navbar-toggler {
346
+ display: none;
347
+ }
348
+ }
349
+ @media (max-width: 991.98px) {
350
+ .facets-toggleable-md {
351
+ border: var(--bl-facets-smallish-border);
352
+ padding: var(--bl-facets-smallish-padding);
353
+ margin-bottom: var(--bl-facets-smallish-margin-bottom);
354
+ border-radius: var(--bl-facets-smallish-border-radius);
355
+ }
356
+ }
357
+ @media (min-width: 992px) {
358
+ .facets-toggleable-md .facets-collapse {
359
+ display: block !important;
360
+ width: 100%;
361
+ }
362
+ .facets-toggleable-md .navbar-toggler {
363
+ display: none;
364
+ }
365
+ }
366
+ @media (max-width: 1199.98px) {
367
+ .facets-toggleable-lg {
368
+ border: var(--bl-facets-smallish-border);
369
+ padding: var(--bl-facets-smallish-padding);
370
+ margin-bottom: var(--bl-facets-smallish-margin-bottom);
371
+ border-radius: var(--bl-facets-smallish-border-radius);
372
+ }
373
+ }
374
+ @media (min-width: 1200px) {
375
+ .facets-toggleable-lg .facets-collapse {
376
+ display: block !important;
377
+ width: 100%;
378
+ }
379
+ .facets-toggleable-lg .navbar-toggler {
380
+ display: none;
381
+ }
382
+ }
383
+ @media (max-width: 1399.98px) {
384
+ .facets-toggleable-xl {
385
+ border: var(--bl-facets-smallish-border);
386
+ padding: var(--bl-facets-smallish-padding);
387
+ margin-bottom: var(--bl-facets-smallish-margin-bottom);
388
+ border-radius: var(--bl-facets-smallish-border-radius);
389
+ }
390
+ }
391
+ @media (min-width: 1400px) {
392
+ .facets-toggleable-xl .facets-collapse {
393
+ display: block !important;
394
+ width: 100%;
395
+ }
396
+ .facets-toggleable-xl .navbar-toggler {
397
+ display: none;
398
+ }
399
+ }
400
+ .facets-toggleable-xxl {
401
+ border: var(--bl-facets-smallish-border);
402
+ padding: var(--bl-facets-smallish-padding);
403
+ margin-bottom: var(--bl-facets-smallish-margin-bottom);
404
+ border-radius: var(--bl-facets-smallish-border-radius);
405
+ }
406
+ .facets-toggleable-xxl .facets-collapse {
407
+ display: block !important;
408
+ width: 100%;
409
+ }
410
+ .facets-toggleable-xxl .navbar-toggler {
411
+ display: none;
412
+ }
413
+
414
+ @media (max-width: 991.98px) {
415
+ .no-js #sidebar {
416
+ order: 6 !important;
417
+ }
418
+ }
419
+ .no-js .facet-content.collapse {
420
+ display: block;
421
+ }
422
+ .no-js .facet-toggle-handle {
423
+ display: none;
424
+ }
425
+ .no-js .pivot-facet.collapse {
426
+ display: block;
427
+ }
428
+ .no-js .facets-collapse.collapse {
429
+ display: block;
430
+ }
431
+
432
+ .facets-header {
433
+ display: flex;
434
+ justify-content: space-between;
435
+ padding-bottom: 0.5rem;
436
+ padding-top: 0.5rem;
437
+ }
438
+
439
+ .facets-heading {
440
+ line-height: inherit;
441
+ }
442
+
443
+ .facet-limit {
444
+ margin-bottom: 1rem;
445
+ }
446
+ .facet-limit .card-body {
447
+ padding: 1rem;
448
+ }
449
+
450
+ .facet-limit-active {
451
+ border-color: #198754 !important;
452
+ }
453
+ .facet-limit-active .card-header {
454
+ background-color: #198754 !important;
455
+ }
456
+ .facet-limit-active .card-header .btn {
457
+ color: #fff;
458
+ }
459
+
460
+ .facet-values {
461
+ margin-bottom: 0;
462
+ }
463
+ .facet-values a {
464
+ text-decoration: none;
465
+ }
466
+ .facet-values li {
467
+ display: flex;
468
+ align-items: flex-start;
469
+ padding: 3px 0;
470
+ }
471
+ .facet-values li[role=treeitem] {
472
+ display: block;
473
+ }
474
+ .facet-values li .selected {
475
+ color: #198754 !important;
476
+ }
477
+ .facet-values .remove {
478
+ color: var(--bs-secondary-color);
479
+ font-weight: bold;
480
+ padding-left: 0.5rem;
481
+ text-decoration: none;
482
+ }
483
+ .facet-values .remove:hover {
484
+ color: theme-color("danger");
485
+ text-decoration: none;
486
+ }
487
+ .facet-values .facet-label {
488
+ padding-right: 1em;
489
+ text-indent: -15px;
490
+ padding-left: 15px;
491
+ overflow-wrap: break-word;
492
+ -webkit-hyphens: auto;
493
+ -o-hyphens: auto;
494
+ hyphens: auto;
495
+ }
496
+ .facet-values .facet-count {
497
+ margin-left: auto;
498
+ }
499
+ .facet-values .facet-checkbox {
500
+ width: 1.25rem;
501
+ }
502
+
503
+ .facet-extended-list .sort-options {
504
+ text-align: right;
505
+ }
506
+ .facet-extended-list .prev-next-links {
507
+ float: left;
508
+ }
509
+
510
+ .facet-field-heading {
511
+ /* This prevents the contained stretch link from covering the panel body */
512
+ position: relative;
513
+ }
514
+ .facet-field-heading a {
515
+ color: inherit;
516
+ }
517
+
518
+ /* Sidenav
519
+ -------------------------------------------------- */
520
+ .facet-pagination.top {
521
+ padding: 1rem;
522
+ }
523
+
524
+ /* style for pivot facet's nested list */
525
+ .facet-toggle-handle {
526
+ margin-block: 0;
527
+ padding-block: 0;
528
+ padding-inline: 0.5rem;
529
+ margin-inline-start: -0.75rem;
530
+ }
531
+ .pivot-facet .facet-toggle-handle {
532
+ margin-inline-start: -1.5rem;
533
+ }
534
+ .facet-toggle-handle.collapsed .show, .facet-toggle-handle.collapsed .no-js .btn-group:focus-within .dropdown-menu, .no-js .btn-group:focus-within .facet-toggle-handle.collapsed .dropdown-menu, .facet-toggle-handle.collapsed .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper ul, .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper .facet-toggle-handle.collapsed ul, .facet-toggle-handle.collapsed .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within ul, .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within .facet-toggle-handle.collapsed ul {
535
+ display: flex;
536
+ }
537
+ .facet-toggle-handle.collapsed .hide {
538
+ display: none;
539
+ }
540
+ .facet-toggle-handle .show, .facet-toggle-handle .no-js .btn-group:focus-within .dropdown-menu, .no-js .btn-group:focus-within .facet-toggle-handle .dropdown-menu, .facet-toggle-handle .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper ul, .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper .facet-toggle-handle ul, .facet-toggle-handle .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within ul, .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within .facet-toggle-handle ul {
541
+ display: none;
542
+ }
543
+ .facet-toggle-handle .hide {
544
+ display: flex;
545
+ }
546
+ .facet-toggle-handle .show .icon, .facet-toggle-handle .no-js .btn-group:focus-within .dropdown-menu .icon, .no-js .btn-group:focus-within .facet-toggle-handle .dropdown-menu .icon, .facet-toggle-handle .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper ul .icon, .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper .facet-toggle-handle ul .icon, .facet-toggle-handle .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within ul .icon, .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within .facet-toggle-handle ul .icon,
547
+ .facet-toggle-handle .hide .icon {
548
+ width: 1em;
549
+ height: 1em;
550
+ padding: 0.375rem 0.75rem;
551
+ }
552
+ .facet-toggle-handle .show .icon, .facet-toggle-handle .no-js .btn-group:focus-within .dropdown-menu .icon, .no-js .btn-group:focus-within .facet-toggle-handle .dropdown-menu .icon, .facet-toggle-handle .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper ul .icon, .no-js .btn-group:focus-within .input-group > .search-autocomplete-wrapper .facet-toggle-handle ul .icon, .facet-toggle-handle .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within ul .icon, .input-group > .search-autocomplete-wrapper .no-js .btn-group:focus-within .facet-toggle-handle ul .icon {
553
+ background: transparent url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-square" viewBox="0 0 16 16"%3e%3cpath d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z" /%3e%3cpath d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z" /%3e%3c/svg%3e') center/1em auto no-repeat;
554
+ }
555
+ .facet-toggle-handle .hide .icon {
556
+ background: transparent url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-dash-square" viewBox="0 0 16 16"%3e%3cpath d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z" /%3e%3cpath d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z" /%3e%3c/svg%3e') center/1em auto no-repeat;
557
+ }
558
+
559
+ /* Search History */
560
+ .search-history td {
561
+ padding: 1rem;
562
+ }
563
+ .search-history .constraint {
564
+ display: block;
565
+ text-indent: -1rem;
566
+ }
567
+ .modal-dialog {
568
+ border-radius: 5px;
569
+ }
570
+
571
+ .modal-content .facet-pagination.top {
572
+ display: none;
573
+ }
574
+ .modal-content .page-sidebar {
575
+ display: none;
576
+ }
577
+ .modal-content .blacklight-modal-close {
578
+ display: block;
579
+ }
580
+ .modal-content .prev_next_links.btn-group .btn {
581
+ border: 0;
582
+ }
583
+
584
+ .blacklight-modal-close {
585
+ display: none;
586
+ }
587
+
588
+ .btn.btn-icon {
589
+ padding: 0.375rem;
590
+ }
591
+ .btn.btn-icon.btn-sm {
592
+ padding: 0.25rem;
593
+ }
594
+
595
+ .remove-icon {
596
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
597
+ }
598
+
599
+ auto-complete [aria-selected=true],
600
+ auto-complete [role=option]:hover {
601
+ background-color: var(--bs-tertiary-bg);
602
+ }
603
+
604
+ auto-complete {
605
+ position: relative;
606
+ flex-grow: 3;
607
+ }
608
+ auto-complete ul {
609
+ list-style-type: none;
610
+ position: absolute;
611
+ background-color: var(--bs-body-bg);
612
+ padding-left: 0;
613
+ border: 1px solid var(--bs-border-color-translucent);
614
+ border-radius: var(--bs-border-radius);
615
+ }
616
+ auto-complete [role=option] {
617
+ padding: 0.25rem 1.5rem;
618
+ }
619
+
620
+ .no-js #autocomplete-popup {
621
+ display: none;
622
+ }
@@ -1,19 +1,3 @@
1
- // Stroke contrast
2
- // Ripped off from https://github.com/twbs/bootstrap/commit/c31d52499811d5c68d122db806ce27a112b489bd
3
- @mixin fill-yiq($color) {
4
- $r: red($color);
5
- $g: green($color);
6
- $b: blue($color);
7
-
8
- $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
9
-
10
- @if ($yiq >= 150) {
11
- fill: #111;
12
- } @else {
13
- fill: #fff;
14
- }
15
- }
16
-
17
1
  // define a visually-hidden class that applies to a given breakpoint and below
18
2
  // https://getbootstrap.com/docs/5.3/helpers/visually-hidden/
19
3
  @if mixin-exists(visually-hidden) {
@@ -24,7 +8,8 @@
24
8
  }
25
9
  }
26
10
  }
27
- } @else if mixin-exists(sr-only) { // Bootstrap 4 version
11
+ } @else if mixin-exists(sr-only) {
12
+ // Bootstrap 4 version
28
13
  @each $infix, $breakpoint in $grid-breakpoints {
29
14
  .visually-hidden-#{$infix} {
30
15
  @include media-breakpoint-down($breakpoint) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blacklight-frontend",
3
- "version": "8.2.2",
3
+ "version": "8.3.0",
4
4
  "description": "The frontend code and styles for Blacklight",
5
5
  "main": "app/assets/javascripts/blacklight",
6
6
  "module": "app/assets/javascripts/blacklight/blacklight.esm.js",