Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dex 19615 creators #170

Merged
merged 12 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 88 additions & 14 deletions _src/blocks/columns/columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
height: 200px;
}

.creators .columns-container .columns > div {
justify-content: space-between;
margin-bottom: 3em;
}

.columns.bg-image > div > div:first-child {
font-size: var(--heading-font-size-xl);
font-weight: bold;
Expand All @@ -120,6 +125,52 @@
display: block;
}

.columns.with-box-shadow > div > div:last-child {
border: none;
}

.creators .columns-container .columns > div:last-of-type {
margin-bottom: 0;
}

.creators .columns-container h3, .creators .columns-container h5 {
font-weight: bold;
}

.columns.new-v2 h3 {
font-family: "IBM Plex Sans" ,sans-serif;
font-size: 25px;
font-weight: 700;
line-height: 30px;
text-align: left;
color: #006EFF;
}

.creators .columns-container h5, .creators .columns-container.baby-blue-subtitles h3 {
color: #006DFF;
}

.creators .columns-container h5 {
font-weight: bold;
}

.creators .columns-container.baby-blue-subtitles h3 br {
display: block;
}

.creators .columns-container p.button-container {
text-align: center;
}

.creators .columns-container a.button {
height: auto;
background: #E72325 0% 0% no-repeat padding-box;
border-radius: 30px;
justify-content: center;
padding: 5px 10px;
font-size: 14px;
}

@media (min-width: 767px) {
.columns.benefits > div {
flex-direction: unset;
Expand Down Expand Up @@ -170,6 +221,43 @@
.columns.highlight-text.black.imageleft {
left: 10%;
}

.creators .columns-container .columns > div > div.columns-left-col, .creators .columns-container .columns > div > div.columns-right-col {
width: 45%;
flex: none;
}

.creators .columns-container .columns > div > div.columns-img-col {
width: 45%;
flex: none;
}

.creators .columns-container h5 {
color: #006DFF;
font: normal normal bold 32px/45px "IBM Plex Sans", sans-serif;
}

.creators .columns-container h3 {
font: normal normal bold 60px/70px "IBM Plex Sans", sans-serif;
}

.creators .columns-container p {
font: normal normal normal 24px/33px "Arial", sans-serif;
}

.creators .columns-container p.button-container {
text-align: left;
}

.creators .columns-container a.button {
min-width: 230px;
height: 48px;
padding: 10px 10px 10px 25px;
background: #E72325 0% 0% no-repeat padding-box;
border-radius: 40px;
justify-content: center;
font: normal normal 500 18px/24px "Roboto", sans-serif;
}
}

@media (min-width: 1200px) {
Expand Down Expand Up @@ -325,10 +413,6 @@
transition: all .4s ease-in-out;
}

.columns.with-box-shadow > div > div:last-child{
border: none;
}

.section.wide.light-sky-blue.columns-container {
height: auto;
}
Expand Down Expand Up @@ -542,7 +626,6 @@ main .section.two-columns .right-col .products.plans a.button:any-link {
opacity: .8;
}


.two-columns .left-col p a.info-button.modal::before {
content: url("/_src/icons/user-guide-white.svg");
color: white;
Expand All @@ -567,15 +650,6 @@ main .section.two-columns .right-col .products.plans a.button:any-link {
margin-bottom: 1em;
}

.columns.new-v2 h3 {
font-family: "IBM Plex Sans" ,sans-serif;
font-size: 25px;
font-weight: 700;
line-height: 30px;
text-align: left;
color: #006EFF;
}

.columns.new-v2 a {
color: #006EFF!important;
font-size: 18px;
Expand Down
59 changes: 43 additions & 16 deletions _src/blocks/new-prod-boxes/new-prod-boxes.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
/* stylelint-disable */
.creators .new-prod-boxes-container .new-prod-boxes .prod_box .inner_prod_box {
border: 1px solid #ECECEC;
}

.creators .new-prod-boxes-container .new-prod-boxes .prod_box .inner_prod_box .undeBuyLink {
text-align: center;
font-weight: bold;
}

.new-prod-boxes-container {
padding-bottom: 0;
font-family: 'Arial', sans-serif;
margin: clamp(10px, 25px, 15px) 0;
}

.new-prod-boxes-container div.default-content-wrapper:last-of-type {
padding: 0;
}

.new-prod-boxes-container div.default-content-wrapper:last-of-type * {
font: normal normal normal 12px/14px Arial;
color: black;
}

.new-prod-boxes-container div.default-content-wrapper:last-of-type a {
text-decoration: underline;
}

.new-prod-boxes-container.we-container {
max-width: 100%;
padding-left: 20px;
Expand Down Expand Up @@ -360,7 +382,7 @@
border: 2px solid #006EFF !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
text-overflow: ellipsis !important;
border-radius: 8px !important;
height: fit-content !important;
}
Expand All @@ -382,7 +404,7 @@
.new-prod-boxes-container .icon {
width: 12px;
height: 14px;
margin: 0;
margin: 0 5px 0 0;
}

.new-prod-boxes-container .icon svg {
Expand Down Expand Up @@ -421,7 +443,7 @@
padding-bottom: 35px;
}

.switch {
.switchBox .switch {
position: relative;
display: inline-flex;
align-items: center;
Expand All @@ -431,11 +453,11 @@
border-radius: 22px;
}

.switch input {
.switchBox .switch input {
display: none;
}

.slider {
.switchBox .slider {
position: absolute;
content: "";
height: 40px;
Expand All @@ -447,11 +469,11 @@
transition: all 0.4s;
}

.switch input:checked + .slider {
.switchBox .switch input:checked + .slider {
transform: translateX(149px);
}

.label {
.switchBox .label {
font-family: Arial, Helvetica, sans-serif;
width: 50%;
text-align: center;
Expand All @@ -460,47 +482,48 @@
font-size: 16px;
color: white;
transition: color 0.4s;
cursor: pointer;
}

.label.right {
.switchBox .label.right {
z-index: 10;
color: black;
}

.label.left {
.switchBox .label.left {
z-index: 10;
}

.switch input:checked ~ .label.right {
.switchBox .switch input:checked ~ .label.right {
transition: color 0.4s;
color: white !important;
}

.switch input ~ .label .icon {
.switchBox .switch input ~ .label .icon {
position: relative;
margin-right: 10px;
top: 2px;
}

.switch input ~ .label .icon svg {
.switchBox .switch input ~ .label .icon svg {
width: 14px;
height: 16px;
}

.switch input ~ .label.right .icon svg {
.switchBox .switch input ~ .label.right .icon svg {
fill: #026DFF;
}

.switch input:checked ~ .label.right .icon svg {
.switchBox .switch input:checked ~ .label.right .icon svg {
fill: white;
}

.switch input:checked ~ .label.left {
.switchBox .switch input:checked ~ .label.left {
transition: color 0.4s;
color: black;
}

.switch input:checked ~ .label.left .icon svg {
.switchBox .switch input:checked ~ .label.left .icon svg {
fill: #026DFF;
}

Expand Down Expand Up @@ -561,6 +584,10 @@
}

@media (min-width: 768px) {
.creators .new-prod-boxes-container .new-prod-boxes {
padding-bottom: 10px;
}

.new-prod-boxes-container .new-prod-boxes {
flex-direction: row;
padding-bottom: 60px;
Expand Down
26 changes: 26 additions & 0 deletions _src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,18 @@ header, main, footer {
margin: 0 auto;
}

body.creators {
background: linear-gradient(to bottom, #F6FCFF, white);
}

.creators * {
font-family: Arial, Helvetica, sans-serif;
}

.creators .default-content-wrapper h2 {
font-weight: bold;
}

@media (min-width: 768px) {
main .section.center .products .product-card {
min-width: 380px;
Expand Down Expand Up @@ -613,6 +625,20 @@ header, main, footer {
width: 540px;
font-size: 19px;
}

main .section.width-medium .block {
width: 940px;
margin: 0 auto;
}

main .section.width-smaller .block, main .section.width-smaller .default-content-wrapper {
width: 750px;
margin: 0 auto;
}

.creators .default-content-wrapper h2 {
font: normal normal bold 60px/69px Arial;
}
}

@media (min-width: 1065px) {
Expand Down
Loading