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

Feature/comp creation new #461

Merged
merged 2 commits into from
Sep 16, 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
2 changes: 1 addition & 1 deletion blocks/cards/cards.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('./support-contact-us.css');
@import url('./support-contact-us-page.css');
.cards > ul {
list-style: none;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@
position: relative;
}

.section.contact-us-card-wrapper .cards-wrapper .cards ul li:first-child .cards-card-body ul li:last-child:has(p >a) {
display: none;
}
.section.contact-us-card-wrapper .cards-wrapper .cards ul li:first-child .cards-card-body ul li:last-child:has(p >a) p a{
border-radius: 8px;
padding: 8px 16px;
border: 1px solid #365069;
font: 700 12px 'nunito-bold', 'sans-serif';
line-height: 16px;
color: #365069;
background: #ffffff;
margin: 0;
text-decoration: none;
}
.section.contact-us-card-wrapper .cards-wrapper .cards ul li .cards-card-body ul {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -108,6 +122,10 @@
grid-template-columns: 1fr;
}

.section.contact-us-card-wrapper .cards-wrapper .cards ul li:first-child .cards-card-body ul li:last-child:has(p >a){
display: block;
}

.section.contact-us-card-wrapper .cards-wrapper>.cards>ul>li .cards-card-body {
align-items: start;
}
Expand Down Expand Up @@ -177,10 +195,12 @@
height: 81px;
width: 81px;
}

.section.contact-us-download-wrapper .default-content-wrapper p:last-child {
display: none;
}
.section.contact-us-download-wrapper .default-content-wrapper >p:last-child >a {

.section.contact-us-download-wrapper .default-content-wrapper>p:last-child>a {
position: absolute;
background: #f26841;
border-radius: 8px;
Expand All @@ -196,26 +216,25 @@
}

@media screen and (max-width: 768px) {
.section.download-piramal-wrapper div:nth-child(2){
.section.download-piramal-wrapper div:nth-child(2) {
display: block;
position: relative;
left: unset;
top: unset;
/* left: 66px;
bottom: 25px; */
}
.section.download-piramal-wrapper .default-content-wrapper > *:nth-child(n+1){

.section.download-piramal-wrapper .default-content-wrapper>*:nth-child(n+1) {
display: none;
}

.section.contact-us-download-wrapper .default-content-wrapper p:last-child {
display: block;
position: relative;
left: unset;
top: unset;
bottom: unset;
}
.section.download-piramal-wrapper .default-content-wrapper > *:nth-child(n+1):has(p>a){

.section.download-piramal-wrapper .default-content-wrapper>*:nth-child(n+1):has(p>a) {
display: block;
}
}
Expand Down
14 changes: 7 additions & 7 deletions styles/support-contact-us/support-contact-us.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
margin-bottom: 32px;
}

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .teaserv2-wrapper:first-child .teaserv2::after {
/* .section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .teaserv2-wrapper:first-child .teaserv2::after {
content: none;
}
} */

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns {
padding-bottom: 24px;
padding-left: 75pt;
/* padding-left: 75pt; */
position: relative;
}

Expand Down Expand Up @@ -227,7 +227,7 @@

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns div div:first-child p:nth-child(2),
.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns div div:last-child p:nth-child(3){
display: flex;
/* display: flex; */
flex-direction: column;
gap: 8px;
}
Expand All @@ -238,7 +238,7 @@

@media screen and (max-width: 1024px) {
.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns {
padding-left: 60px;
/* padding-left: 60px; */
}

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns div {
Expand All @@ -260,7 +260,7 @@
}

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns {
padding-left: 51px;
/* padding-left: 51px; */
}

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns div {
Expand Down Expand Up @@ -294,7 +294,7 @@
height: 24px;
width: 24px;
}

.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .teaserv2-wrapper:first-child .teaserv2 .bg-image .rte-text-description p strong em,
.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .teaserv2-wrapper .teaserv2 a .bg-image .rte-text-description p strong,
.section.support-contact-us-wrapper .wrappercreation-wrapper .wrappercreation .wrapper-creation-container .columns-wrapper .columns div div p>strong {
Expand Down
Loading