ion-content { --ion-background-color: whitesmoke; } ion-title{ color: white; position: absolute; top: 0; text-align: center; left: 15%; right: 15%; font-size: 0.42cm; font-weight: bold; height: 100%; } .contentBg{ padding: 0px 20px; } .contentBg:before { position: absolute; content: ""; background: #22c6b3; height: 140px; width: 100%; left: 0; top: 0px; z-index: 1; } .result-graph { position: relative; background: white; margin-top: 20px; padding-bottom: 20px; border-radius: 20px; z-index: 1; padding: 20px; } .user-info{ text-align: center; margin-bottom: 15px; .user-image-container{ position: relative; width: 80px; height: 80px; display: block; margin: 0 auto; &:before{ position: absolute; content: ""; width: 20px; height: 20px; border-radius: 20px; border: 1px solid white; top: 0; right: 0; background-color: red; z-index: 9; } &.present:before{ background-color: green !important; } } .user-image{ overflow: hidden; position: relative; display: block; width: 100%; height: 100%; border-radius: 80px; border: 1px solid #ccc; margin: 0px auto 6px; } h1{ margin: 0; padding: 0; font-family: WorkSans-Bold; font-size: 18px; margin-bottom: 4px; } span{ font-size: 14px; display: block; color: #888 } } $actionBtnSize : 36px; .user-actions{ text-align: center; .action-button{ font-size: 11px; white-space: nowrap; color: #888; .action-button-icon{ width: $actionBtnSize; height: $actionBtnSize; border-radius: $actionBtnSize; margin: 0 auto; display: block; background-color: #22c6b3; line-height: $actionBtnSize; margin-bottom: 3px; img{ margin: 0 auto; vertical-align: middle; } } } } .emplyee-information-indetail{ background: white; margin-top: 50px; border-radius: 20px; }