@bagelink/vue 1.15.36 → 1.15.38
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.
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/buttons.css +16 -0
package/package.json
CHANGED
package/src/styles/buttons.css
CHANGED
|
@@ -16,6 +16,22 @@
|
|
|
16
16
|
padding: 0;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
/*
|
|
20
|
+
* Remove the lingering focus ring after a MOUSE click, while preserving it for
|
|
21
|
+
* KEYBOARD navigation (accessibility). Without this, clicking a button leaves a
|
|
22
|
+
* visible focus outline that "sticks" until the user clicks elsewhere — most
|
|
23
|
+
* noticeable on dropdown menu items and the dialog close button.
|
|
24
|
+
*
|
|
25
|
+
* :focus-visible is set by the browser only for keyboard/programmatic focus,
|
|
26
|
+
* so :focus:not(:focus-visible) targets pointer focus exclusively.
|
|
27
|
+
*/
|
|
28
|
+
.bgl_btn:focus:not(:focus-visible),
|
|
29
|
+
.bgl_flatBtn:focus:not(:focus-visible),
|
|
30
|
+
.bgl_btn-icon:focus:not(:focus-visible),
|
|
31
|
+
.btn-close:focus:not(:focus-visible) {
|
|
32
|
+
outline: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
19
35
|
.btn-close {
|
|
20
36
|
margin-top: -20px;
|
|
21
37
|
margin-inline-end: -20px;
|