Skip to content

Commit

Permalink
Product page
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Sep 17, 2024
1 parent e69df65 commit 13d09c8
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 53 deletions.
2 changes: 0 additions & 2 deletions frontend/public/scss/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
@import "home-page/featured-product-cards";
@import "home-page/home-page-hero";
@import "home-page/home-page-video-component";
@import "product-page/user-menu";
@import "product-page/product-details";
@import "product-page/product-faculty-members";
@import "home-page/home-page-contact-row";
Expand All @@ -40,7 +39,6 @@
@import "banner";

body {
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
color: #000000;
background: $body-bg;
Expand Down
1 change: 0 additions & 1 deletion frontend/public/scss/meta-product-page.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import "variables";
@import "~bootstrap/scss/bootstrap-utilities";

@import "product-page/user-menu";
@import "product-page/product-details";
@import "product-page/product-faculty-members";

Expand Down
42 changes: 0 additions & 42 deletions frontend/public/scss/product-details.scss
Original file line number Diff line number Diff line change
@@ -1,47 +1,5 @@
// sass-lint:disable mixins-before-declarations

.product-page {

@include media-breakpoint-down(sm) {
h2 {
font-size: 20px;
line-height: 20px;
}

h3 {
font-size: 20px;
line-height: 26px;
}
}
}

.upgrade-enrollment-modal { // This should be renamed as it's used across different modals
max-width: 550px;

a {
text-decoration: underline;
}

.cancel-link {
margin: 20px 0;
}

.enroll-now-free {
text-decoration: underline;
box-shadow: none;
font-weight: bold;
border: none;
}

form {
margin-bottom: 20px;
}

.cancel-link button {
text-align: left;
}
}

.financial-assistance-link {
height: 22px;
font-size: 18px;
Expand Down
27 changes: 26 additions & 1 deletion frontend/public/scss/product-page/product-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

body.new-design {
font-family: Inter;
background: white;

h2 {
font-family: Poppins;
Expand All @@ -18,6 +19,18 @@ body.new-design {
margin-top: 1.5rem;
background-color: white;

@include media-breakpoint-down(sm) {
h2 {
font-size: 20px;
line-height: 20px;
}

h3 {
font-size: 20px;
line-height: 26px;
}
}

.row.align-center {
@include media-breakpoint-down(md) {
justify-content: center !important;
Expand Down Expand Up @@ -448,10 +461,18 @@ body.new-design {

.upgrade-enrollment-modal {
max-width: 750px;

.cancel-link {
margin: 20px 0;
}
.cancel-link button {
text-align: left;
}
.enroll-now-free {
font-size: 16px;
font-weight: 400;
text-decoration: underline;
box-shadow: none;
border: none;
}
.enroll-now-free:focus-visible {
border-radius: 0;
Expand Down Expand Up @@ -491,6 +512,10 @@ body.new-design {
padding-left: 33px;
line-height: 24px;
}
a {
text-decoration: underline;
}

}

div.date-selector-button-bar {
Expand Down
7 changes: 0 additions & 7 deletions frontend/public/scss/product-page/user-menu.scss

This file was deleted.

0 comments on commit 13d09c8

Please sign in to comment.