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 {
|
nav.pagination {
|
||||||
@include dark-mode {
|
a.pagination-link,
|
||||||
a.pagination-link,
|
.pagination-next,
|
||||||
.pagination-next,
|
.pagination-previous {
|
||||||
.pagination-previous {
|
@include dark-mode {
|
||||||
background-color: $grey-darker;
|
background-color: $grey-darker;
|
||||||
border-color: $black;
|
border-color: $black;
|
||||||
color: $dark-mode-text;
|
color: $dark-mode-text;
|
||||||
|
@ -64,8 +64,10 @@ nav.pagination {
|
||||||
background-color: $primary;
|
background-color: $primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.pagination-ellipsis {
|
.pagination-ellipsis {
|
||||||
|
@include dark-mode {
|
||||||
color: $dark-mode-text;
|
color: $dark-mode-text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue