summaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-11-16 11:54:22 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-11-16 11:54:22 +0700
commit5786bd52bfc098d144dd77332c32edabd7cec251 (patch)
tree4f074878a72081021fa2bd41ed60b877c1c25dc1 /src/styles
parent194b7ba68bcb9502c5e3a4d8ffd5fbe39c7e18aa (diff)
Create pagination component
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/globals.css49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/styles/globals.css b/src/styles/globals.css
index d0080dda..6a5f86a8 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -266,4 +266,53 @@ html, body {
.swiper-pagination-bullet-active {
@apply !bg-yellow-900;
+}
+
+.pagination {
+ @apply
+ flex
+ justify-center
+ gap-x-1
+ ;
+}
+
+.pagination-item {
+ @apply
+ p-1
+ flex
+ justify-center
+ items-center
+ w-10
+ rounded
+ ease-linear
+ duration-150
+ border
+ border-gray-300
+ bg-gray-100
+ hover:bg-gray-300
+ text-gray-800
+ ;
+}
+
+.pagination-item--active {
+ @apply
+ border-yellow-900
+ bg-yellow-900
+ hover:bg-yellow-900
+ text-gray-900
+ ;
+}
+
+.pagination-dots {
+ @apply
+ p-1
+ flex
+ justify-center
+ items-end
+ w-10
+ rounded
+ ease-linear
+ bg-gray-100
+ text-sm
+ ;
} \ No newline at end of file