summaryrefslogtreecommitdiff
path: root/themes/LoveIt/assets/css/_partial/_pagination.scss
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2021-02-18 21:44:01 +0100
committerChristoph Cullmann <cullmann@kde.org>2021-02-18 21:44:01 +0100
commite9ec93a471d9a753db01b682e75c52b32adf16f2 (patch)
tree5f6d9a2b7d90852965b6d24f9db6a9198570c03b /themes/LoveIt/assets/css/_partial/_pagination.scss
parentbcafaafff80184537a3116de5341a8caa24d63f4 (diff)
use LoveIt theme, self hosted
Diffstat (limited to 'themes/LoveIt/assets/css/_partial/_pagination.scss')
-rw-r--r--themes/LoveIt/assets/css/_partial/_pagination.scss91
1 files changed, 91 insertions, 0 deletions
diff --git a/themes/LoveIt/assets/css/_partial/_pagination.scss b/themes/LoveIt/assets/css/_partial/_pagination.scss
new file mode 100644
index 0000000..10d24b7
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_pagination.scss
@@ -0,0 +1,91 @@
+.pagination {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ list-style: none;
+ white-space: nowrap;
+ width: 100%;
+ padding: 1rem 0 0;
+
+ a {
+ font-size: .8rem;
+ color: #bfbfbf;
+ letter-spacing: .1rem;
+ font-weight: 700;
+ padding: 5px 5px;
+ text-decoration: none;
+ @include transition(0.3s);
+ }
+
+ li {
+ padding-bottom: 3px;
+ margin: 0 20px;
+ box-sizing: border-box;
+ position: relative;
+ display: inline;
+
+ &.disabled {
+ display: none;
+ }
+
+ &:hover a {
+ color: $pagination-link-hover-color;
+ }
+
+ [theme=dark] &:hover a {
+ color: $pagination-link-hover-color-dark;
+ }
+
+ &:before,
+ &:after {
+ position: absolute;
+ content: "";
+ width: 0;
+ height: 3px;
+ background: $pagination-link-hover-color;
+ @include transition(0.3s);
+ bottom: 0px;
+ }
+
+ [theme=dark] &:before,
+ [theme=dark] &:after {
+ background: $pagination-link-hover-color-dark;
+ }
+
+ &:before .active,
+ &:after .active {
+ width: 100%;
+ }
+
+ &:before {
+ left: 50%;
+ }
+
+ &:after {
+ right: 50%;
+ }
+
+ &:hover {
+
+ &:before,
+ &:after {
+ width: 50%;
+ }
+ }
+
+ &.active {
+ a {
+ color: $pagination-link-hover-color;
+ }
+
+ [theme=dark] & a {
+ color: $pagination-link-hover-color-dark;
+ }
+
+ &:before,
+ &:after {
+ width: 60%;
+ }
+ }
+ }
+}