0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #18699 from patrickhlauke/disabled-pointer-events

Add pointer-events:none to disabled pagination/pager links
This commit is contained in:
Patrick H. Lauke 2015-12-29 16:23:41 +00:00
commit 9cd6903768
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@
> a { > a {
@include plain-hover-focus { @include plain-hover-focus {
color: $pager-disabled-color; color: $pager-disabled-color;
pointer-events: none;
cursor: $cursor-disabled; cursor: $cursor-disabled;
background-color: $pager-bg; background-color: $pager-bg;
} }

View File

@ -34,6 +34,7 @@
&.disabled .page-link { &.disabled .page-link {
@include plain-hover-focus { @include plain-hover-focus {
color: $pagination-disabled-color; color: $pagination-disabled-color;
pointer-events: none;
cursor: $cursor-disabled; cursor: $cursor-disabled;
background-color: $pagination-disabled-bg; background-color: $pagination-disabled-bg;
border-color: $pagination-disabled-border; border-color: $pagination-disabled-border;