2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

fixes #8647: remove focus outline on :focus of buttons in button groups

This commit is contained in:
Mark Otto
2013-08-05 16:16:58 -07:00
parent ab090a29fb
commit f3bd6dbf03
3 changed files with 11 additions and 4 deletions
+6 -3
View File
@@ -2102,7 +2102,7 @@ input[type="button"].btn-block {
padding: 6px 12px;
font-size: 14px;
font-weight: normal;
line-height: 1.428571429;
line-height: 1;
text-align: center;
background-color: #eeeeee;
border: 1px solid #cccccc;
@@ -2112,14 +2112,12 @@ input[type="button"].btn-block {
.input-group-addon.input-sm {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.input-group-addon.input-lg {
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
}
@@ -3180,6 +3178,11 @@ button.close {
z-index: 2;
}
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus {
outline: none;
}
.btn-group .btn + .btn {
margin-left: -1px;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+4
View File
@@ -47,6 +47,10 @@
&.active {
z-index: 2;
}
&:focus {
// Remove focus outline when dropdown JS adds it after closing the menu
outline: none;
}
}
}