mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 08:34:08 +02:00
fixes #8647: remove focus outline on :focus of buttons in button groups
This commit is contained in:
9
dist/css/bootstrap.css
vendored
9
dist/css/bootstrap.css
vendored
@@ -2102,7 +2102,7 @@ input[type="button"].btn-block {
|
|||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1.428571429;
|
line-height: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid #cccccc;
|
||||||
@@ -2112,14 +2112,12 @@ input[type="button"].btn-block {
|
|||||||
.input-group-addon.input-sm {
|
.input-group-addon.input-sm {
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.5;
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-addon.input-lg {
|
.input-group-addon.input-lg {
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 1.33;
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3180,6 +3178,11 @@ button.close {
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-group > .btn:focus,
|
||||||
|
.btn-group-vertical > .btn:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-group .btn + .btn {
|
.btn-group .btn + .btn {
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -47,6 +47,10 @@
|
|||||||
&.active {
|
&.active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
&:focus {
|
||||||
|
// Remove focus outline when dropdown JS adds it after closing the menu
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user