Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d5e22627
Commit
d5e22627
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #14058 from twbs/btn_focus
Follow up to #13907: Add .focus styles for buttons
parents
6f88238a
9ed9eb97
4 merge requests
!28721
Hot test
,
!16605
Test pull please ignore
,
!22103
test
,
!25326
Adjust examples
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
less/buttons.less
+4
-2
less/buttons.less
less/mixins/buttons.less
+2
-0
less/mixins/buttons.less
with
6 additions
and
2 deletions
+6
-2
less/buttons.less
+
4
-
2
View file @
d5e22627
...
...
@@ -23,13 +23,15 @@
&,
&:active,
&.active {
&:focus {
&:focus,
&.focus {
.tab-focus();
}
}
&:hover,
&:focus {
&:focus,
&.focus {
color: @btn-default-color;
text-decoration: none;
}
...
...
This diff is collapsed.
Click to expand it.
less/mixins/buttons.less
+
2
-
0
View file @
d5e22627
...
...
@@ -10,6 +10,7 @@
&:hover,
&:focus,
&.focus,
&:active,
&.active,
.open > .dropdown-toggle& {
...
...
@@ -28,6 +29,7 @@
&,
&:hover,
&:focus,
&.focus,
&:active,
&.active {
background-color: @background;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets