Browse Source

Merge pull request #25786 from prssanna/website-theme-fixes

develop
Suraj Shetty 4 years ago
committed by GitHub
parent
commit
1a5c21c759
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      erpnext/public/scss/shopping_cart.scss
  2. 9
      erpnext/public/scss/website.scss

26
erpnext/public/scss/shopping_cart.scss

@ -1,4 +1,3 @@
@import "frappe/public/scss/desk/variables";
@import "frappe/public/scss/common/mixins";
body.product-page {
@ -74,15 +73,6 @@ body.product-page {
}
}
// .card-body {
// text-align: center;
// }
// .featured-item {
// .card-body {
// text-align: left;
// }
// }
.card-img-container {
height: 210px;
width: 100%;
@ -217,12 +207,12 @@ body.product-page {
border-color: var(--table-border-color) !important;
padding: 15px;
@include media-breakpoint-between(xs, md) {
@media (max-width: var(--md-width)) {
height: 300px;
width: 300px;
}
@include media-breakpoint-up(lg) {
@media (min-width: var(--lg-width)) {
height: 350px;
width: 350px;
}
@ -233,11 +223,12 @@ body.product-page {
}
.item-slideshow {
@include media-breakpoint-between(xs, md) {
@media (max-width: var(--md-width)) {
max-height: 320px;
}
@include media-breakpoint-up(lg) {
@media (min-width: var(--lg-width)) {
max-height: 430px;
}
@ -254,7 +245,7 @@ body.product-page {
cursor: pointer;
&:hover, &.active {
border-color: $primary;
border-color: var(--primary);
}
}
@ -316,12 +307,9 @@ body.product-page {
}
.item-group-slideshow {
.item-group-description {
// max-width: 900px;
}
.carousel-inner.rounded-carousel {
border-radius: $card-border-radius;
border-radius: var(--card-border-radius);
}
}

9
erpnext/public/scss/website.scss

@ -1,4 +1,3 @@
@import "frappe/public/scss/website/variables";
.filter-options {
max-height: 300px;
@ -14,7 +13,7 @@
}
&.active {
border-color: $primary;
border-color: var(--primary);
.check {
display: inline-flex;
@ -25,7 +24,7 @@
.check {
display: inline-flex;
padding: 0.25rem;
background: $primary;
background: var(--primary);
color: white;
border-radius: 50%;
font-size: 12px;
@ -38,12 +37,12 @@
}
.result {
border-bottom: 1px solid $border-color;
border-bottom: 1px solid var(--border-color);
}
.transaction-list-item {
padding: 1rem 0;
border-top: 1px solid $border-color;
border-top: 1px solid var(--border-color);
position: relative;
a.transaction-item-link {

Loading…
Cancel
Save