mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-10 13:24:43 +00:00
Merge pull request #8747 from liuyl/buttons
disable user-select for buttons
This commit is contained in:
commit
08cd3072fc
3 changed files with 7 additions and 1 deletions
5
dist/css/bootstrap.css
vendored
5
dist/css/bootstrap.css
vendored
|
|
@ -1554,6 +1554,11 @@ select.input-small {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
-o-user-select: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:focus {
|
.btn:focus {
|
||||||
|
|
|
||||||
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
|
|
@ -20,6 +20,7 @@
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
.user-select(none);
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
.tab-focus();
|
.tab-focus();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue