mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 20:31:26 +02:00
Follow up to #13907: Add .focus styles for buttons
This commit is contained in:
@@ -23,13 +23,15 @@
|
|||||||
&,
|
&,
|
||||||
&:active,
|
&:active,
|
||||||
&.active {
|
&.active {
|
||||||
&:focus {
|
&:focus,
|
||||||
|
&.focus {
|
||||||
.tab-focus();
|
.tab-focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus,
|
||||||
|
&.focus {
|
||||||
color: @btn-default-color;
|
color: @btn-default-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
|
&.focus,
|
||||||
&:active,
|
&:active,
|
||||||
&.active,
|
&.active,
|
||||||
.open > .dropdown-toggle& {
|
.open > .dropdown-toggle& {
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
&,
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
|
&.focus,
|
||||||
&:active,
|
&:active,
|
||||||
&.active {
|
&.active {
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
|
Reference in New Issue
Block a user