1
1
mirror of https://github.com/primer/css.git synced 2024-12-04 03:46:28 +03:00

Add transparent outline to .btn when focused

This commit is contained in:
simurai 2020-07-01 13:27:45 +09:00
parent 3b01f1285e
commit 9098d503e2

View File

@ -109,6 +109,8 @@
// Keep :focus after :disabled. Allows to see the focus ring even on disabled buttons
&:focus,
&.focus {
outline: 1px dotted transparent; // Support Firfox custom colors
outline-offset: 2px;
box-shadow: $box-shadow-focus;
}
}