diff options
Diffstat (limited to 'scss/_pagination.scss')
-rw-r--r-- | scss/_pagination.scss | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/scss/_pagination.scss b/scss/_pagination.scss index 240d201529..7f182922a3 100644 --- a/scss/_pagination.scss +++ b/scss/_pagination.scss @@ -51,6 +51,22 @@ outline: $pagination-focus-outline; box-shadow: var(--#{$variable-prefix}pagination-focus-box-shadow); } + + &.active, + .active > & { + z-index: 3; + color: var(--#{$variable-prefix}pagination-active-color); + @include gradient-bg(var(--#{$variable-prefix}pagination-active-bg)); + border-color: var(--#{$variable-prefix}pagination-active-border-color); + } + + &.disabled, + .disabled > & { + color: var(--#{$variable-prefix}pagination-disabled-color); + pointer-events: none; + background-color: var(--#{$variable-prefix}pagination-disabled-bg); + border-color: var(--#{$variable-prefix}pagination-disabled-border-color); + } } .page-item { @@ -76,20 +92,6 @@ @include border-radius(var(--#{$variable-prefix}pagination-border-radius)); } } - - &.active .page-link { - z-index: 3; - color: var(--#{$variable-prefix}pagination-active-color); - @include gradient-bg(var(--#{$variable-prefix}pagination-active-bg)); - border-color: var(--#{$variable-prefix}pagination-active-border-color); - } - - &.disabled .page-link { - color: var(--#{$variable-prefix}pagination-disabled-color); - pointer-events: none; - background-color: var(--#{$variable-prefix}pagination-disabled-bg); - border-color: var(--#{$variable-prefix}pagination-disabled-border-color); - } } |