0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +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 {
@include plain-hover-focus {
color: $pager-disabled-color;
pointer-events: none;
cursor: $cursor-disabled;
background-color: $pager-bg;
}

View File

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