Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add styles for pagination

weronkad95791bdf507
diff --git a/saleor/static/scss/demo/components/_pagination.scss b/saleor/static/scss/demo/components/_pagination.scss
new file mode 100644
index 0000000000..5ae3313507
--- /dev/null
+++ b/saleor/static/scss/demo/components/_pagination.scss
@@ -0,0 +1,25 @@
+.pagination {
+ list-style: none;
+ li {
+ display: inline-block;
+ font-size: $small-font-size;
+ a {
+ color: $body-color;
+ padding: $global-padding / 2 $global-padding;
+ border-bottom: 1px solid $white;
+ &:hover {
+ text-decoration: none;
+ background-color: $light-gray;
+ }
+ }
+ &.active {
+ a {
+ background-color: $gray;
+ color: $white;
+ &:hover {
+ color: $white;
+ }
+ }
+ }
+ }
+}
diff --git a/saleor/static/scss/demo/storefront.scss b/saleor/static/scss/demo/storefront.scss
index f11803e4ff..ec293fb19d 100644
--- a/saleor/static/scss/demo/storefront.scss
+++ b/saleor/static/scss/demo/storefront.scss
@@ -3,8 +3,12 @@
@import "components/fonts";
@import "components/buttons";
-@import "components/header";
+@import "components/labels";
+@import "components/pagination";
@import "components/breadcrumbs";
+@import "components/forms";
+@import "components/cart-dropdown";
+@import "components/header";
@import "components/footer";
@import "components/home";
@import "components/product-page";
@@ -12,8 +16,5 @@
@import "components/userprofile";
@import "components/login";
@import "components/product-list";
-@import "components/cart-dropdown";
@import "components/checkout";
-@import "components/forms";
@import "components/order-details";
-@import "components/labels";