From 44e03b08f18adf43136bd2c2857d932ff9cb2897 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 22 Aug 2022 23:23:19 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=92=84=20style=20swiper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- packages/client/src/pages/timeline.vue | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2f3a592356..85a87b21cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.118.1-calc.12.7", + "version": "12.118.1-calc.12.8", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 8cb0c32ec4..cfee5a48b1 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -36,7 +36,7 @@ />
- + .cmuxhskf { + --swiper-theme-color: var(--accent); + > .new { position: sticky; top: calc(var(--stickyTop, 0px) + 16px); @@ -316,5 +318,20 @@ definePageMetadata( border-radius: var(--radius); overflow: clip; } + + > .swiper-pagination { + position: fixed; + margin-bottom: 100px; + z-index: 99999; + background-color: var(--panelHighlight); + padding: 0.5rem 1rem; + border-radius: 999px; + color: var(--accent); + } + + > .swiper-pagination-bullet-active { + background: var(--accent, var(--panel)); + } + }