custom cssHow to use custom css
modal overlay design override
.customModalOverly {
background: #000000cc;
width: "100%",
height: "100vh",
backdropFilter: "blur(2px)",
display: "flex",
justifyContent: "center",
alignItems: "center",
position: "fixed",
top: 0,
left: 0,
}
modal content design override
.customModalContent {
position: relative;
padding: 24px;
border-radius: 8px;
background: #fff;
max-height: 80vh;
overflow-y: auto;
}
modal title design override
.customModalTitle {
font-size: var(--title-font-size);
font-weight: 700;
color: black;
}
modal description design override
.customModalDescription {
font-size: 15px;
color: #000000cc;
padding: 20px 0px;
line-height: 18px;
max-height: 500px;
overflow-y: auto;
margin-bottom: 10px;
text-align: justify;
padding-right: 4px;
}
modal button override
.secondary {
background-color: var(--secondary-color);
color: black;
}
.error {
background-color: var(--error-color);
color: white;
}
.success {
background-color: var(--success-color);
color: white;
}
.warning {
background-color: var(--waring-color);
color: white;
}
.info {
background-color: var(--info-color);
color: white;
}
modal button color design override
.btn-sm {
padding: 12px 20px;
font-size: var(--btn-sm-font-size);
font-weight: 600;
border-radius: var(--btn-sm-border-radios);
}
.btn-md {
padding: 14px 22px;
font-size: var(--btn-md-font-size);
font-weight: 600;
border-radius: var(--btn-md-border-radios);
}
.btn-lg {
padding: 16px 24px;
font-size: var(--btn-lg-font-size);
font-weight: 600;
border-radius: var(--btn-lg-border-radios);
}
modal divider design override
.customModalDivider {
width: 100%;
height: 1px;
background-color: #e5e4e2;
margin: 8px 0px;
}