SyncMadeEasy/force-app/main/default/lwc/regularModal/regularModal.css

151 lines
3.0 KiB
CSS

/* Modal Overlay */
.modal-overlay {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
z-index: 10000;
}
/* Modal Container - Reduced by 25% */
.modal-container {
-ms-overflow-style: none;
scrollbar-width: none;
background: white;
width: 19.5rem;
max-width: 60vw;
max-height: 90vh;
border-radius: 0.9375rem;
overflow: auto;
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.15);
text-align: center;
font-family: 'Inter', sans-serif;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.modal-container::-webkit-scrollbar {
display: none;
}
/* Green Header - Reduced by 25% */
.modal-header {
background-color: #95BE45;
height: 8.25rem;
width: 100%;
position: relative;
}
/* Certificate Icon Circle - Reduced by 25% */
.icon-circle {
position: absolute;
top: 1.125rem;
left: 50%;
background: #F8F8F8;
border-radius: 50%;
height: 7.125rem;
width: 7.125rem;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 1.5px 4.5px rgba(0, 0, 0, 0.1);
transform: translate(-50%, 50%);
}
/* Logo Image */
.sync-logo {
width: 100%;
height: 100%;
object-fit: contain;
}
/* Body Content - Reduced by 25% */
.modal-body {
padding: 3rem 1.5rem 0rem;
margin-top: 0.75rem;
}
/* Title - Reduced by 25% */
.modal-title {
font-size: 1.22rem;
font-weight: 600;
margin-top: 0.75rem;
margin-bottom: 0.5625rem;
color: #000;
}
/* Description Container - Reduced by 25% */
.modal-description {
font-size: 0.75rem;
color: #000000;
margin-top: 0.5625rem;
}
/* Description Text - Reduced by 25% */
.description-text {
font-size: 0.675rem;
text-align: justify;
}
/* Checkbox Group - Reduced by 25% */
.checkbox-container {
margin-top: 0.75rem;
font-weight: 500;
font-size: 12px;
color: #000000;
text-align: left;
}
/* Footer Buttons - Reduced by 25% */
.modal-footer {
display: flex;
justify-content: center;
gap: 0.75rem;
padding: 1.125rem 0;
}
/* Cancel Button - Reduced by 25% */
.btn-cancel {
font-family: 'Inter', sans-serif;
font-weight: 500;
font-size: 0.75rem;
width: 115.5px; /* Match Start button width */
height: 33px;
border-radius: 0.46875rem;
border: 1px solid #ccc;
background-color: #EAEAEA;
color: #000000;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-cancel:hover {
background-color: #d5d5d5;
}
/* Start Button - Reduced by 25% */
.btn-start {
font-family: 'Inter', sans-serif;
font-weight: 500;
font-size: 0.75rem;
width: 115.5px;
height: 33px;
border: none;
border-radius: 0.46875rem;
background-color: #536E1E;
color: #ffffff;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-start:hover:not(:disabled) {
background-color: #445812;
}
.btn-start:disabled {
opacity: 0.6;
cursor: not-allowed;
}