You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/src/app/my-team/details/details.component.scss

1137 lines
22 KiB
SCSS

ion-content {
--ion-background-color: whitesmoke;
}
ion-title {
color: white;
position: absolute;
top: 0;
text-align: center;
left: 15%;
right: 15%;
font-size: 0.5cm;
font-weight: bold;
height: 100%;
font-family: WorkSans-Regular;
}
.contentBg {
padding: 0px 20px;
}
.contentBg:before {
position: absolute;
content: "";
background: #024d71;
height: 140px;
width: 100%;
left: 0;
top: 0px;
z-index: 1;
}
.user-info {
text-align: center;
margin-bottom: 15px;
.user-image-container {
position: relative;
width: 100%;
height: 24px;
justify-content: space-between;
display: flex;
margin: 0 auto;
align-items: center;
}
// 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;
// }
}
@media screen and (min-width: 1px) and (max-width:767px) {
.user-image {
position: relative;
display: block;
width: 30%;
height: 100%;
border-radius: 80px;
/* border: 1px solid #ccc; */
margin-top: -125px;
}
}
@media screen and (min-width: 768px) and (max-width:1024px) {
.user-image {
position: relative;
display: block;
width: 30%;
height: 100%;
border-radius: 80px;
margin-bottom: 371px;
}
}
h1 {
margin: 0;
padding: 0;
font-family: WorkSans-Bold;
font-size: 18px;
margin-bottom: 4px;
}
span {
font-size: 12px;
display: block;
// color: #888
}
$actionBtnSize : 36px;
.user-actions {
text-align: center;
margin-left: 1px;
.action-button {
font-size: 11px;
font-weight: bold;
// white-space: nowrap;
// color: #888;
.action-button-icon {
width: $actionBtnSize;
height: $actionBtnSize;
border-radius: $actionBtnSize;
margin: 0 auto;
display: block;
background-color: #024d71;
line-height: $actionBtnSize;
margin-bottom: 3px;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
display: flex;
img {
margin: 0 auto;
vertical-align: middle;
}
.span {
font-size: 10px;
display: block;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
}
}
}
}
.employee-information-indetail {
background: #FFFFFF 0% 0% no-repeat padding-box;
box-shadow: 0px 0px 5px #00000029;
border-radius: 20px;
opacity: 1;
}
// .employee-information-indetail{
// background: white;
// margin-top: 15px;
// border-radius: 20px;
// margin-bottom: 15px;
// border-radius: 20px;
// border: 1px solid #ccc;
// ion-col{
// padding: 15px;
// // border-bottom: 1px solid #ccc;
// }
// h2{
// font-size: 13px;
// // font-family: WorkSans-Bold;
// margin: 0;
// font-weight: bold;
// color: rgb(128, 124, 124);
// }
// p{
// font-size: 13px;
// margin: 0;
// font-family: WorkSans-Bold;
// // margin-bottom: 10px;
// }
// }
.segments-container {
border-radius: 100px;
overflow: hidden;
margin-top: 15px;
background: white;
color: black;
}
@media screen and (min-width: 1px) and (max-width:767px) {
.active-Segment {
width: 11%;
max-width: 11%;
min-width: 39px;
height: 30% !important;
min-height: 39px;
padding-right: -10px;
border-radius: 50% !important;
// margin-right: 22px;
// margin-left: 22px;
margin-left: 30px;
margin-right: 30px;
background-color: #024d71;
display: flex;
}
}
@media screen and (min-width: 768px) and (max-width:1024px) {
.active-Segment {
background: #024d71 !important;
// padding-left: 17px;
// display: flex;
width: 11%;
max-width: 11%;
min-width: 39px;
height: 30% !important;
min-height: 39px;
padding-right: -10px;
border-radius: 50% !important;
padding-left: 6px;
margin-right: 10px;
margin-left: 57px;
// margin-left: 14px;
display: flex;
}
}
@media screen and (min-width: 1px) and (max-width:767px) {
.normal-Segment {
width: 11%;
max-width: 11%;
min-width: 39px;
height: 30% !important;
min-height: 39px;
padding-right: -10px;
border-radius: 50% !important;
// margin-right: 22px;
// margin-left: 22px;
margin-left: 30px;
background: #414040 !important;
display: flex;
margin-right: 30px;
}
}
@media screen and (min-width: 768px) and (max-width:1024px) {
.normal-Segment {
width: 11%;
max-width: 11%;
min-width: 39px;
height: 30% !important;
min-height: 39px;
padding-right: -10px;
border-radius: 50% !important;
padding-left: 6px;
margin-right: 10px;
margin-left: 57px;
// margin-left: 14px;
background: #414040 !important;
display: flex;
}
}
@media screen and (min-width: 1px) and (max-width:767px) {
.imgSize {
position: absolute;
/* right: 15px; */
top: 0;
bottom: 0;
// left: 7px;
margin: auto;
height: 18px;
display: flex;
}
}
@media screen and (min-width: 768px) and (max-width:1024px) {
.imgSize {
position: absolute;
top: 0;
bottom: 0;
left: 2px;
margin: auto;
height: 28px;
display: flex;
}
}
.colum-container {
padding: 15px;
border-bottom: 1px solid #ccc;
}
.img {
width: 100px;
height: 100px;
display: inline-flex;
overflow: hidden;
border-radius: 78% !important;
position: relative;
/* top: 34px; */
background: transparent;
margin-left: -3px;
}
///////////////////////// Team Members css //////////////////////@extend
.filters-row {
margin-top: 10px;
}
.search-dropdown {
background: #024d71;
ion-select {
.select-text {
margin-left: -10px;
}
.select-icon {
.select-icon-inner {
opacity: 1;
color: white;
margin-top: -1px;
}
}
}
}
.input-container {
background: white;
ion-input {
border-bottom-color: transparent;
}
}
.search-container {
margin-top: 15px;
ion-col {
background: white;
border-radius: 12px;
padding-right: 10px;
flex: none;
ion-icon {
margin-right: 3px;
font-size: 14px;
margin-left: 3px;
vertical-align: middle;
}
span {
font-size: 12px;
vertical-align: middle;
}
}
}
/////////////////////////////////////////////////////// Attendance ///////////////////////
.header {
// margin-top: 20px;
margin-top: 1px;
}
.slidPrev {
margin-left: 10px;
background: transparent;
}
.slidNext {
background: transparent;
margin-top: -1px;
margin-left: 43px;
}
.activeArrow {
height: 20px;
width: 20px;
color: #024d71;
}
.disabledArrow {
height: 20px;
width: 20px;
color: gray;
}
.activeArrow-ar {
height: 20px;
width: 20px;
color: #024d71;
margin-right: 275px;
}
.disabledArrow-ar {
height: 20px;
width: 20px;
color: gray;
/* margin-left: 136px; */
margin-right: -251px;
}
@media screen and (min-width: 1px) and (max-width:767px) {
.result-graph {
position: relative;
background: white;
// margin-top: 20px;
padding-bottom: 5px;
border-radius: 20px;
z-index: 1;
margin-bottom: 10px;
margin-top: 56px;
border-radius: 20px;
border: 1px solid #ccc;
padding-top: 12px;
}
}
@media screen and (min-width: 768px) and (max-width:1024px) {
.result-graph {
position: relative;
background: white;
// margin-top: 20px;
padding-bottom: 5px;
border-radius: 20px;
z-index: 1;
margin-bottom: 10px;
margin-top: 89px;
border-radius: 20px;
border: 1px solid #ccc;
padding-top: 114px !important;
}
}
.result-graph-attendence {
position: relative;
background: white;
// margin-top: 20px;
padding-bottom: 20px;
border-radius: 20px;
z-index: 1;
margin-bottom: 10px;
margin-top: 10px;
border-radius: 20px;
border: 1px solid #ccc;
}
.request-heading {
text-align: left;
display: block;
padding-top: 8px;
margin-bottom: 10px;
margin-left: 10px;
}
.request-heading-ar {
text-align: right;
display: block;
padding-top: 8px;
margin-bottom: 10px;
margin-right: 12px;
}
.result-text-container {
padding: 0;
margin: 0;
position: absolute;
left: 69%;
top: 50%;
display: block;
text-align: center;
transform: translate(-50%, -50%);
h2 {
font-size: 38px;
font-family: WorkSans-Bold;
margin: 0 auto;
line-height: 36px;
}
span {
width: 125px;
display: block;
margin: 0 auto;
font-size: 12px;
font-family: workSans-Regular;
}
}
@media screen and (min-width: 325px) {
.today-graph {
// width: 100%;
max-height: 4cm;
display: block;
height: 132px;
width: 264px;
margin-left: 154px;
}
}
@media screen and (min-width: 1px) and (max-width:320px) {
.today-graph {
// width: 100%;
max-height: 4cm;
display: block;
height: 132px;
width: 264px;
margin-left: 84px;
}
}
.today-graph-ar {
max-height: 4cm;
display: block;
height: 132px;
width: 264px;
margin-right: -74px;
}
.green-label {
font-size: 12px;
margin-top: -13px;
}
.green-amount {
font-size: 17px;
font-family: WorkSans-Bold;
margin-top: -3px;
}
.blue-label {
font-size: 12px;
margin-top: -13px;
}
.blue-amount {
font-size: 17px;
font-family: WorkSans-Bold;
margin-top: -4px;
}
.labelGrid {
background-color: white !important;
border-radius: 20px !important;
height: 88px !important;
border: 1px solid #d6d4d4;
position: relative;
padding: 10px;
label {
font-size: 9px;
line-height: 11px !important;
display: block;
}
h2 {
font-size: 25px;
font-weight: bold;
display: block;
text-align: right;
margin: 0;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 10px;
}
}
.bodyGrid {
margin-top: 7px !important;
margin-left: 15px !important;
margin-right: 15px !important;
background-color: white !important;
border-radius: 20px !important;
height: 321px !important;
border: 1px solid #d6d4d4 !important;
}
.attendance-information {
background: white;
border-radius: 20px;
padding: 9px;
font-weight: bolder;
// border-right: 1px solid rgb(221, 221, 221);
// @media screen and (min-width: 300px) and (max-width:359px) {
h2 {
padding: 0;
margin: 0;
font-size: 10px;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
}
span {
font-size: 10px;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
}
// }
// @media screen and (min-width: 360px) {
// h2{
// padding: 0;
// margin: 0;
// font-size: 10px;
// font-family: var(--fontFamilyPoppins-SemiBold, inherit);
// }
// span{
// font-size: 10px;
// font-family: var(--fontFamilyPoppins-SemiBold, inherit);
// margin-bottom: 3px;
// }
// }
}
@media screen and (min-width: 325px) {
.statsIcon {
background: white;
margin-left: 12px;
margin-top: 6px;
}
}
@media screen and (min-width: 1px) and (max-width:320px) {
.statsIcon {
background: white;
margin-left: -15px;
margin-top: 6px;
}
}
@media screen and (min-width: 325px) {
.statsIcon-ar {
background: white;
// margin-left: 12px;
margin-top: 6px;
}
}
@media screen and (min-width: 1px) and (max-width:320px) {
.statsIcon-ar {
background: white;
margin-right: -2px;
margin-top: 6px;
}
}
.month-year-span {
font-size: 16px;
// font-family: WorkSans-Bold;
font-weight: bold;
}
.green-label-container {
// border-top: 5px solid #024d71;
// padding: 1px 0px;
// margin: 15px 0px
width: 12px;
height: 12px;
padding-right: -10px;
border-radius: 100%;
background-color: #024d71;
}
.blue-label-container {
// border-top: 5px solid #292F42;
// padding: 1px 0px;
// margin: 15px 0px
width: 12px;
height: 12px;
padding-right: -10px;
border-radius: 100%;
background-color: #292F42;
margin-top: 30px;
}
.span-one {
// display: block;
// font-size: 12px;
// color: black;
display: block;
font-size: 12px;
color: black;
margin-left: 6px;
margin-top: -2px;
font-weight: bold;
}
.span-two {
// display: block;
// font-size: 22px;
display: block;
font-size: 12px;
color: black;
margin-left: 6px;
margin-top: -2px;
font-weight: bold;
font-family: WorkSans-Bold;
}
.spa-one {
// display: block;
// font-size: 12px;
// color: black;
display: block;
font-size: 12px;
color: black;
margin-left: 6px;
margin-top: 28px;
font-weight: bold;
}
.spa-two {
// display: block;
// font-size: 22px;
display: block;
font-size: 12px;
color: black;
margin-left: 6px;
margin-top: 28px;
font-weight: bold;
font-family: WorkSans-Bold;
}
.graph-container {
margin-left: -50px;
position: relative;
margin-right: 50px;
}
.graph-container-ar {
margin-right: -50px;
position: relative;
margin-left: 50px;
}
.label-container {
position: absolute;
// width: 20%;
// right: 30px;
top: 50%;
margin-top: -27px;
left: 20px;
}
@media screen and (min-width: 325px) {
.attendance-summary .attendance-information {
span {
height: 32px;
display: block;
line-height: 14px;
}
h2 {
// text-align: right;
// font-family: WorkSans-Bold;
font-weight: bolder;
font-size: 13px;
}
}
}
@media screen and (min-width: 1px) and (max-width:320px) {
.attendance-summary .attendance-information {
span {
height: 32px;
display: block;
line-height: 7px;
font-size: 7px;
}
h2 {
// text-align: right;
// font-family: WorkSans-Bold;
font-weight: bolder;
font-size: 13px;
}
}
}
.calendar-container {
background: white;
margin-bottom: 100px;
margin-top: 10px;
border-radius: 20px;
border: 1px solid #ccc;
padding-bottom: 25px;
span {
text-align: left;
display: block;
padding-top: 8px;
margin-bottom: 10px;
margin-left: 10px;
}
}
.calendar-container-ar {
background: white;
margin-bottom: 100px;
margin-top: 20px;
border-radius: 20px;
span {
text-align: right;
display: block;
padding-top: 8px;
margin-bottom: 6px;
margin-right: 12px;
}
}
.Boldtext {
// font-size: 13px;
// font-family: WorkSans-Bold;
// color: black !important;
// display: block !important;
text-align: center;
letter-spacing: -0.64px;
color: #2B353E;
opacity: 1;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
font-size: 16px;
line-height: 19px;
}
.attendence {
position: relative;
background: white;
border-radius: 20px;
border: 1px solid #ccc;
}
.attendence-text {
margin-bottom: 1px;
margin-left: 10px;
// font-family: WorkSans-Bold;
font-size: 16px;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
}
.stats {
color: #289DB8;
font-size: 9px;
margin-right: 5px;
font-family: 'WorkSans-Bold';
}
.stats-ar {
color: #289DB8;
font-size: 9px;
margin-left: 5px;
font-family: 'WorkSans-Bold';
}
.text {
font-size: 16px;
font-weight: bolder;
font-family: 'WorkSans-Bold';
margin-top: 27px;
}
.number {
width: 22px;
height: 20px;
border-radius: 100%;
background-color: #024d71;
z-index: 9;
margin-top: 25px;
padding-left: 4px;
}
.number-ar {
width: 22px;
height: 20px;
border-radius: 100%;
background-color: #024d71;
z-index: 9;
margin-top: 25px;
padding-right: 4px;
}
.numberEmp {
color: white;
font-size: 12px;
font-weight: bolder;
/* margin-left: 3px; */
padding-top: 2px;
}
.slider-container {
padding-bottom: 20px;
}
.filters-row {
margin-top: 10px;
margin-left: 20px;
}
.disable-filter {
pointer-events: none;
opacity: .3;
}
.favIcon {
height: 18px;
margin-left: 23px;
}
.favIcon-ar {
height: 18px;
margin-right: 23px;
}
.call {
margin-right: 16px;
}
.call-ar {
margin-left: 16px;
}
.name {
text-align: center;
letter-spacing: -0.84px;
color: #2B353E;
opacity: 1;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 21px;
font-size: 21px;
}
.email {
text-align: center;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
font-size: 13px;
line-height: 6px;
letter-spacing: -0.52px;
color: #A2A2A2;
opacity: 1;
padding-top: 3px;
}
.subTitle {
text-align: center;
letter-spacing: -0.52px;
color: #A2A2A2;
opacity: 1;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
font-size: 13px;
line-height: 0px;
}
.profile {
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 20px;
font-size: 20px;
letter-spacing: -0.8px;
color: #2B353E;
opacity: 1;
margin-top: 20px;
margin-bottom: 2px;
}
.label1 {
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 0px;
font-size: 13px;
letter-spacing: -0.52px;
color: #A2A2A2;
opacity: 1;
}
.label2 {
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 5px;
font-size: 16px;
letter-spacing: -0.64px;
color: #2B353E;
opacity: 1;
}
.profile-ar {
text-align: right;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 20px;
font-size: 20px;
letter-spacing: -0.8px;
color: #2B353E;
opacity: 1;
margin-top: 20px;
margin-bottom: 2px;
padding: 5px;
font-weight: bold;
}
.label1-ar {
text-align: right;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 0px;
font-size: 18px;
letter-spacing: -0.52px;
color: #A2A2A2;
opacity: 1;
padding: 1px 5px 1px 5px;
}
.label2-ar {
text-align: right;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 5px;
font-size: 18px;
letter-spacing: -0.64px;
color: #2B353E;
opacity: 1;
padding: 1px 5px 1px 5px;
}
@media screen and (min-width: 768px) and (max-width:1024px) {
.div {
position: relative;
display: flex;
margin-left: 48px;
}
}
@media screen and (min-width: 1px) and (max-width:767px) {
.div {
position: relative;
display: flex;
margin-left: -1px;
}
}
.MyTeamdiv {
position: relative;
display: flex;
margin-bottom: -12px;
}
.numberEmp {
color: white;
font-size: 12px;
font-weight: bolder;
/* padding-top: 5px; */
/* padding-right: 20px; */
margin-left: 13px;
width: 23px;
height: 23px;
border-radius: 100%;
background-color: #024d71;
z-index: 9;
margin-top: 25px;
/* padding-left: 4px; */
text-align: center;
padding-top: 3px;
}
.numberEmp-ar {
color: white;
font-size: 12px;
font-weight: bolder;
/* padding-top: 5px; */
/* padding-right: 20px; */
margin-right: 13px;
width: 23px;
height: 23px;
border-radius: 100%;
background-color: #024d71;
z-index: 9;
margin-top: 25px;
/* padding-left: 4px; */
text-align: center;
padding-top: 3px;
}
.MyTeamtext {
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 11px;
font-size: 20px;
letter-spacing: -0.8px;
color: #2B353E;
opacity: 1;
margin-top: 30px;
margin-bottom: 28px;
}
.btnTitle {
text-align: center;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 10px;
font-size: 12px;
color: #4D4D4D;
margin-top: -13px;
font-weight: bold;
}
.btnTitle_ar {
text-align: center;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 10px;
font-size: 16px;
color: #4D4D4D;
margin-top: -13px;
font-weight: bold;
}
.btnDiv {
position: relative;
display: flex;
justify-content: space-between;
margin-bottom: -15px;
margin-top: -12px;
}