diff default/assets/scss/components/_pagination.scss @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/assets/scss/components/_pagination.scss	Sat May 31 09:21:51 2025 +0800
@@ -0,0 +1,40 @@
+// main: ../style.scss
+/********************************
+ *********************************
+Pagination
+ *********************************
+ *********************************/
+.pager,
+.pagination {
+  .material-icons {
+    font-size: rem(12);
+    vertical-align: middle;
+  }
+}
+
+.pager {
+  list-style: none;
+  display: flex;
+  padding-left: 0;
+  li.spacer { flex: 1 }
+}
+
+.pagination {
+  body.rtl & {
+    .page-item{
+      &:last-child .page-link {
+        border-top-left-radius: $border-radius;
+        border-bottom-left-radius: $border-radius;
+        border-top-right-radius: 0;
+        border-bottom-right-radius: 0;
+      }
+      &:first-child .page-link {
+        border-top-right-radius: $border-radius;
+        border-bottom-right-radius: $border-radius;
+        border-top-left-radius: 0;
+        border-bottom-left-radius: 0;
+        border-left: 0;
+      }
+    }
+  }
+}