@import '../common'; .card { @extend %card; figure { background-color: var(--lighter-grey); width: 30%; max-width: 80px; padding: 10px; img { display: block; width: 100%; height: 100%; object-fit: contain; } } .contentHolder { flex-grow: 1; padding: 5px 10px; h6 { font-size: 11px; color: var(--dark-grey); font-weight: 500; margin-top: 5px; } h2 { color: var(--teal); font-size: 18px; font-weight: 400; margin: 15px 0px 5px 0px; } p { font-size: 11px; color: var(--grey); font-weight: 500; } } .status { display: flex; align-items: center; justify-content: center; padding: 15px; span { font-size: 12px; color: var(--grey); font-weight: 500; letter-spacing: 0.5px; text-transform: capitalize; &::before { content: ''; vertical-align: middle; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background-color: var(--grey); } &.due { color: var(--warning); &::before { background-color: var(--warning); } } &.overdue { color: var(--red); &::before { background-color: var(--red); } } &.paid { color: var(--teal); &::before { background-color: var(--teal); } } } } } .backdrop { position: fixed; left: 0; top: 0; z-index: 2; background-color: rgba(0, 0, 0, 0.6); width: 100%; height: 100vh; display: flex; align-items: flex-end; justify-content: stretch; overflow: auto; .cardDetails { border-top-right-radius: 30px; border-top-left-radius: 30px; background-color: white; padding: 15px; width: 100%; } header { position: relative; margin-bottom: 30px; ion-button { width: 30px; svg { width: 16px; height: 16px; color: var(--black); } } h4 { font-size: 16px; text-align: center; color: var(--black); font-weight: 500; width: calc(100% - 60px); margin-right: auto; } } ul { li { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; label { max-width: 50%; text-align: left; font-size: 11px; color: var(--grey); font-weight: 500; letter-spacing: 0.5px; } p { text-align: right; font-size: 13px; color: var(--dark-grey); font-weight: 500; } } } }