Don't define classes immediately inside dark-mode mixin
This causes with the automatic transition animation.
This commit is contained in:
parent
245d2ee146
commit
fea5a1f58b
1 changed files with 7 additions and 5 deletions
|
@ -48,10 +48,10 @@
|
|||
}
|
||||
|
||||
nav.pagination {
|
||||
@include dark-mode {
|
||||
a.pagination-link,
|
||||
.pagination-next,
|
||||
.pagination-previous {
|
||||
a.pagination-link,
|
||||
.pagination-next,
|
||||
.pagination-previous {
|
||||
@include dark-mode {
|
||||
background-color: $grey-darker;
|
||||
border-color: $black;
|
||||
color: $dark-mode-text;
|
||||
|
@ -64,8 +64,10 @@ nav.pagination {
|
|||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pagination-ellipsis {
|
||||
.pagination-ellipsis {
|
||||
@include dark-mode {
|
||||
color: $dark-mode-text;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue