Skip to content

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

Use global scss variables

weronkaf0c87a524ea1
diff --git a/saleor/static/scss/demo/components/_cart-dropdown.scss b/saleor/static/scss/demo/components/_cart-dropdown.scss
index 775df078c7..a222ec556f 100644
--- a/saleor/static/scss/demo/components/_cart-dropdown.scss
+++ b/saleor/static/scss/demo/components/_cart-dropdown.scss
@@ -1,9 +1,9 @@
.cart-dropdown {
position: absolute;
- width: 460px;
+ width: 33rem;
top: 0;
- padding-top: 50px;
- right: 15px;
+ padding-top: $global-padding * 4;
+ right: $global-padding;
z-index: 3;
display: none;
.container {
@@ -39,7 +39,7 @@
width: 15px;
height: 10px;
position: absolute;
- top: 40px;
+ top: 47px;
right: 25px;
background-color: $light-gray;
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
diff --git a/saleor/static/scss/demo/components/_footer.scss b/saleor/static/scss/demo/components/_footer.scss
index c4a2e26057..00e3084a9b 100644
--- a/saleor/static/scss/demo/components/_footer.scss
+++ b/saleor/static/scss/demo/components/_footer.scss
@@ -32,6 +32,6 @@
.maincontent {
min-height: calc(100vh - 294px - 191px - 30px);
@include media-breakpoint-down(sm) {
- margin-top: 100px;
+ margin-top: $global-margin * 7;
}
}
diff --git a/saleor/static/scss/demo/components/_header.scss b/saleor/static/scss/demo/components/_header.scss
index 080c510bf8..99cdaca781 100644
--- a/saleor/static/scss/demo/components/_header.scss
+++ b/saleor/static/scss/demo/components/_header.scss
@@ -39,7 +39,7 @@
&__icon {
margin-left: $global-margin;
}
- margin-right: 15px;
+ margin-right: $global-margin;
a {
color: $body-color;
position: relative;