1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Move hand cursor for buttons to reboot

This commit is contained in:
Martijn Cuppens
2018-12-29 12:55:20 +01:00
committed by XhmikosR
parent 83dc45b31b
commit e1b990fb90
9 changed files with 29 additions and 32 deletions

View File

@@ -349,6 +349,18 @@ button,
-webkit-appearance: button; // 2
}
// Opinionated: add "hand" cursor to non-disabled button elements.
@if $enable-pointer-cursor-for-buttons {
button,
[type="button"],
[type="reset"],
[type="submit"] {
&:not(:disabled) {
cursor: pointer;
}
}
}
// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,