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:
commit
9cd6903768
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user