Skip to content

Commit

Permalink
risk gradation css added
Browse files Browse the repository at this point in the history
  • Loading branch information
pashtepooja18 committed Sep 27, 2024
1 parent 59c3fb4 commit ac985b9
Showing 1 changed file with 63 additions and 168 deletions.
231 changes: 63 additions & 168 deletions styles/risk-gradation-popup/risk-gradation-popup.css
Original file line number Diff line number Diff line change
@@ -1,211 +1,106 @@
/* .section.risk-gradation .default-content-wrapper #risk-gradation strong {
color: #000;
display: block;
font-family: Nunito-Extrabold, sans-serif;
font-size: 2rem;
font-weight: 800;
line-height: 40px;
margin-bottom: 8px;
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup){
max-height: calc(100% - 100px);
border-radius: 16px;
}

.section.risk-gradation .default-content-wrapper>p {
color: #000;
font-family: Nunito-Regular, sans-serif;
font-size: 1.125rem;
font-weight: 400;
line-height: 24px;
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup) .modal-content {
padding: 20px 100px 0px 85px;
}

.section.risk-gradation .default-content-wrapper>ul>li::marker {
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper h3 {
font-size: 2rem;
line-height: 2.5rem;
margin-bottom: .5rem;
font-family: Nunito-Extrabold, sans-serif;
font-weight: 800;
color: #000;
font-family: Nunito-Regular, sans-serif;
font-size: 1.125rem;
font-weight: 400;
line-height: 28px;
}

.section.risk-gradation .default-content-wrapper>ul>li>p {
color: #000;
font-family: Nunito-Regular, sans-serif;
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper > p {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: Nunito-Regular, sans-serif;
font-weight: 400;
line-height: 24px;
}

.section.risk-gradation .default-content-wrapper>ul {
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper ul {
margin-top: 1rem;
margin-left: 1.5rem;
padding: unset;
border: unset;
border-radius: unset;
list-style-type: disc;
margin-left: 24px;
margin-top: 16px;
}

.section.risk-gradation .default-content-wrapper>ul>li{
color: #000;
font-family: Nunito-Regular, sans-serif;
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper ul> li {
font-size: 1.125rem;
line-height: 1.75rem;
font-family: Nunito-Regular, sans-serif;
font-weight: 400;
line-height: 28px;
padding: 5px 0;
}
.section.risk-gradation>.default-content-wrapper {
background-color: #fff;
border-radius: 16px;
box-shadow: 0 11px 15px -7px rgba(0, 0, 0, .2), 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12);
color: rgba(0, 0, 0, .87);
display: flex;
flex-direction: column;
max-height: calc(100% - 4pc);
max-width: 60pc;
overflow-y: scroll;
transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1) 0ms;
width: calc(100% - 4pc);
z-index: 1001;
padding: 40px 77px 12px 91px;
position: relative;
left: 50%;
top: 50%;
translate: -50% -50%;
color: #000;
margin: 0;
}

.section.risk-gradation {
align-items: center;
height: 100%;
justify-content: center;
left: 0;
margin-bottom: 0;
margin-top: 0;
opacity: 1;
top: 0;
transition: opacity 225ms cubic-bezier(.4, 0, .2, 1) 0ms;
width: 100%;
z-index: 1210;
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup) .close-button {
display: block;
padding-right: 30px;
color: rgba(0, 0, 0, 0.87);
}

.section.risk-gradation .default-content-wrapper>p>em {
content: '';
cursor: pointer;
height: 20px;
width: 20px;
background-size: 100%;
top: 16px;
right: 10px;
position: absolute;
background-image: url('/content/dam/piramalfinance/company/about-us/partnership/close.png');
} */

/* @media screen and (max-width:767px) {
.section.risk-gradation>.default-content-wrapper {
padding: 46px 16px 16px 16px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin: 0 auto;
width: 100%;
height: 100%;
transform: unset;
left: unset;
top: auto;
translate: unset;
bottom: 0;
max-height: 92vh;
position: fixed;
@media screen and (max-width:767px) {
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup){
padding-top: 45px;
padding-bottom: 20px;
max-height: unset;
margin-top: 52px;
max-height: calc(100% - 40px);
border-radius: 12px;
}

.section.risk-gradation .default-content-wrapper #risk-gradation strong {
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper h3 {
font-size: 1.125rem;
line-height: 24px;
line-height: 1.5rem;
margin-bottom: .5rem;
}

.section.risk-gradation .default-content-wrapper>p {
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper > p {
font-size: 0.875rem;
line-height: 20px;
line-height: 1.25rem;
}

.section.risk-gradation .default-content-wrapper>ul {
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper ul {
margin-top: 0;
margin-left: 1.5rem;
list-style-type: disc;
overflow-y: unset;
height: unset;
}

.section.risk-gradation .default-content-wrapper>ul>li>p {
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper ul> li {
font-size: 0.875rem;
line-height: 20px;
padding: 0;
line-height: 1.5rem;
margin: 0;
}

.section.risk-gradation .default-content-wrapper>ul>li::marker {
font-size: 0.875rem;
line-height: 24px;
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup) .close-button {
padding-right: 45px;
padding-top: 25px;
}
}

.section.risk-gradation .default-content-wrapper>p>em {
top: 22px;
@media screen and (max-width:1024px) {
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup) .modal-content {
padding: 0;
overflow-y: unset;
}

.section.risk-gradation .default-content-wrapper::after {
position: absolute;
background-color: #c4c4c4;
border-radius: 6px;
content: "";
dialog[open]:has(.modal-content .section.support-contact-us-popup.risk-gradation-popup) .close-button {
display: block;
height: 6px;
left: 50%;
margin: 8px auto auto;
position: absolute;
top: 0;
transform: translate(-50%);
width: 30px;
}
} */

/* @media screen and (min-width:768px) and (max-width:1024px) {
.section.risk-gradation>.default-content-wrapper {
padding: 40px 16px 12px;
}
.section.risk-gradation .default-content-wrapper>p>em {
right: 24px;
top: 16px;
.section.support-contact-us-popup.risk-gradation-popup .default-content-wrapper::before {
width: 30px;
height: 6px;
background-color: rgb(196, 196, 196);
}
} */

.dialog[open]:has(.modal-content .section.risk-gradation-popup) {
max-height: calc(100% - 100px);
border-radius: 16px;
}

.dialog[open] .modal-content:has(.section.risk-gradation-popup) {
/* overflow: unset; */
padding: 10px 85px;
}

.dialog[open] .modal-content .section.risk-gradation-popup .default-content-wrapper h3 {
font-size: 2rem;
line-height: 2.5rem;
margin-bottom: .5rem;
font-family: Nunito-Extrabold, sans-serif;
font-weight: 800;
color: #000;
}

.dialog[open] .modal-content .section.risk-gradation-popup .default-content-wrapper > p {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: Nunito-Regular, sans-serif;
font-weight: 400;
}

.dialog[open] .modal-content .section.risk-gradation-popup .default-content-wrapper ul {
margin-top: 1rem;
margin-left: 1.5rem;
padding: unset;
border: unset;
border-radius: unset;
list-style-type: disc;
}

.dialog[open] .modal-content .section.risk-gradation-popup .default-content-wrapper ul> li {
font-size: 1.125rem;
line-height: 1.75rem;
font-family: Nunito-Regular, sans-serif;
font-weight: 400;
color: #000;
margin: 0;
}

0 comments on commit ac985b9

Please sign in to comment.