fixed moe css issues

MOE_DEV_NEW_TEMPORARY_DESIGN
Sultan Khan 3 years ago
parent e96c0d0e10
commit a78efed0d1

@ -313,6 +313,7 @@ button.menu-item.item.item-block.item-ios {
text-align: center;
margin: auto;
width: 100%;
position: absolute;
}
@ -330,8 +331,8 @@ button.menu-item.item.item-block.item-ios {
.menuFooter .CompanyImg {
width: 80%;
height: 80%;
width: 65%;
height: 60%;
margin-bottom: -21px;
}
@ -341,8 +342,9 @@ button.menu-item.item.item-block.item-ios {
// }
.logoImgWithMyTeam {
margin-bottom: 70px;
width: 250px;
width: 225px;
margin: auto;
}
.logoImg {

@ -1,7 +1,7 @@
<ion-content padding>
<ion-grid class="customGrid">
<ion-row *ngIf="!user">
<div class="content">
<div class="content" dir="ltr">
<div class="first-circle"></div>
<div class="middle-circle"></div>
<div class="last-circle"></div>

@ -15,7 +15,8 @@
width: 100%;
position: static;
}
.iconBox img{
.iconBox img {
margin: 0px auto 10px !important;
display: block;
width: 35px;
@ -27,9 +28,10 @@
}
.pClass {
font-size: 9px;
font-size: 11px;
text-align: center;
margin-top: 10px;
color: black;
font-weight: bold;
font-weight: 600;
}

@ -44,7 +44,7 @@ ion-title {
ion-label {
display: block;
color: black !important;
font-size: 14px;
font-size: 16px;
font-weight: bold;
}
@ -72,7 +72,7 @@ ion-label {
padding-bottom: 130px;
}
.attendance-module{
.attendance-module {
border-radius: 20px;
background-color: #387c84;
padding: 10px;
@ -80,24 +80,28 @@ ion-label {
width: 100%;
margin-top: 25px;
margin-bottom: 0px;
h3{
h3 {
font-size: 18px;
font-weight: bold;
margin: 0;
}
span{
span {
font-size: 13px;
display: block;
}
img{
img {
display: block;
margin: 10px auto;
width: 80%;
}
ion-button{
ion-button {
border-radius: 10px;
padding: 10px;
background: rgba(0,0,0,.3);
background: rgba(0, 0, 0, .3);
--background: transparent;
--box-shadow: none !important;
height: auto;

@ -192,7 +192,7 @@ export class HomePage implements OnInit {
public slideSettingsTwo() {
const width = this.platform.width();
this.slideOptsOne = {
slidesPerView: width > 320 ? 3.5 : 3,
slidesPerView: width > 320 ? 3.2 : 3,
spaceBetween: 10
};
this.slideOptsTwo = {
@ -786,7 +786,7 @@ export class HomePage implements OnInit {
// if (subMenu.REQUEST_TYPE === 'EIT' && subMenu.FUNCTION_NAME === 'XXX_HR_EIT_LOA_CREATE_SS') {
if (subMenu.REQUEST_TYPE === 'EIT') {
// this.common.openAbsencePage();
this.common.openEitListPage();
this.common.openEitListPage();
} else if (subMenu.REQUEST_TYPE === 'EIT') {
this.common.openEitListPage();
} else if (subMenu.REQUEST_TYPE === 'PAYSLIP') {

File diff suppressed because it is too large Load Diff

@ -1,4 +1,4 @@
ion-title{
ion-title {
color: white;
position: absolute;
top: 0;
@ -11,31 +11,35 @@ ion-title{
}
@media only screen and (max-width: 360px) {
.contentBg{
.contentBg {
padding: 0px 15px !important;
}
}
.contentBg{
.contentBg {
padding: 0px 20px;
}
.contentBg:before {
position: absolute;
content: "";
background: #024d71;
height: 140px;
width: 100%;
left: 0;
top: 0px;
z-index: 1;
content: "";
background: #024d71;
height: 140px;
width: 100%;
left: 0;
top: 0px;
z-index: 1;
}
ion-content {
--ion-background-color: whitesmoke;
}
.request-heading {
padding-left: 15px;
padding-left: 20px;
margin-top: 10px;
padding-right: 20px;
span {
// display: block;
// padding-top: 8px;
@ -46,14 +50,14 @@ ion-content {
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 18px;
font-size: 12px;
letter-spacing: -0.48px;
color: #2B353E;
opacity: 1;
}
}
.search-label{
.search-label {
// border: 1px solid #ccc;
// margin-left: 15px;
// margin-right: 15px;
@ -80,8 +84,9 @@ ion-content {
border-radius: 20px;
z-index: 1;
border: 1px solid #ccc;
}
.result-text-container {
}
.result-text-container {
padding: 0;
margin: 0;
position: absolute;
@ -90,12 +95,14 @@ ion-content {
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;
@ -103,35 +110,42 @@ ion-content {
font-size: 12px;
font-family: workSans-Regular;
}
}
.today-graph {
}
.today-graph {
width: 100%;
max-height: 4cm;
}
}
.swiper-container {
margin: 0 !important;
width: 100% !important;
}
.filters-row {
margin-top: 10px;
}
.search-input {
margin-top: 15px;
background: white;
border-radius: 15px;
ion-input {
border-bottom-color: transparent;
}
}
.search-dropdown{
.search-dropdown {
background: #024d71;
ion-select {
.select-text{
.select-text {
margin-left: -10px;
}
.select-icon{
.select-icon-inner{
.select-icon {
.select-icon-inner {
opacity: 1;
color: white;
margin-top: -1px;
@ -139,36 +153,41 @@ ion-content {
}
}
}
.input-container{
.input-container {
background: white;
ion-input{
ion-input {
border-bottom-color: transparent;
}
}
.user-image-container{
.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;
}
&: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{
.user-image {
overflow: hidden;
position: relative;
display: block;
@ -179,7 +198,7 @@ ion-content {
margin: 0px auto 6px;
}
.search-container{
.search-container {
// margin-top: 15px;
// margin-top: -35px;
// margin-left: 262px;
@ -189,18 +208,21 @@ ion-content {
top: 45px;
right: 38px;
z-index: 999999;
ion-col{
ion-col {
// background: white;
// border-radius: 12px;
// padding-right: 10px;
flex: none;
ion-icon{
ion-icon {
margin-right: 3px;
font-size: 14px;
margin-left: 3px;
vertical-align: middle;
}
span{
span {
font-size: 12px;
vertical-align: middle;
}
@ -215,19 +237,19 @@ ion-content {
// }
@media only screen and (max-width: 375px) {
.text-label{
.text-label {
margin-left: 6px !important;
}
}
}
@media only screen and (max-width: 320px) {
.text-label{
.text-label {
margin-left: 2px !important;
}
}
}
.text-label{
.text-label {
// --color: black !important;
// font-size: 13px;
// margin-left: 15px;
@ -236,15 +258,15 @@ ion-content {
// font: normal normal 600 12px/18px Poppins;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 18px;
font-size: 12px;
font-size: 14px;
letter-spacing: -0.48px;
color: #575757 !important;
opacity: 1;
margin-left: 15px;
margin-right: 18px;
}
}
.radio-list{
.radio-list {
background: white;
// margin-left: 18px;
/* margin-right: 10px; */
@ -256,18 +278,20 @@ ion-content {
// color: red;
// }
.radio-icon{
.custom-radio .radio-icon {
margin: 0px;
border-radius: 50%;
border-width: var(--border-width);
border-style: var(--border-style);
border-color: #dcdcdc;
margin-top: 6px !important;
border-color: #d8d4d4 !important;}
.radio-icon {
.custom-radio .radio-icon {
margin: 0px;
border-radius: 50%;
border-width: var(--border-width);
border-style: var(--border-style);
border-color: #dcdcdc;
margin-top: 6px !important;
border-color: #d8d4d4 !important;
}
}
.text{
.text {
// font-size: 16px;
// font-weight: bolder;
// font-family: 'WorkSans-Bold';
@ -301,7 +325,7 @@ ion-content {
// margin-left: 3px;
// padding-top: 2px;
// }
.number{
.number {
width: 22px;
height: 20px;
border-radius: 100%;
@ -310,7 +334,8 @@ ion-content {
margin-top: 25px;
padding-left: 4px;
}
.number-ar{
.number-ar {
width: 22px;
height: 20px;
border-radius: 100%;
@ -319,7 +344,8 @@ ion-content {
margin-top: 25px;
padding-right: 4px;
}
.numberEmp{
.numberEmp {
color: white;
font-size: 12px;
font-weight: bolder;
@ -336,7 +362,8 @@ ion-content {
text-align: center;
padding-top: 3px;
}
.numberEmp-ar{
.numberEmp-ar {
color: white;
font-size: 12px;
font-weight: bolder;
@ -353,9 +380,10 @@ ion-content {
text-align: center;
padding-top: 3px;
}
.div{
.div {
position: relative;
display: flex;
// justify-content: space-between;
margin-bottom: -12px;
}
}

@ -14,7 +14,7 @@
<ion-grid>
<ion-row>
<ion-col size='6'>
<ion-label position='floating' style="margin-left: 15px;" class="colBold">{{ts.trPK('general','from')}} </ion-label>
<ion-label position='floating' style="margin: 15px;" class="colBold">{{ts.trPK('general','from')}} </ion-label>
<ion-item class='dynamicField' lines='none'>
<ion-datetime style="padding: 0px" [(ngModel)]="startDate" min="1900" max="2100" displayFormat="MMM/DD/YYYY" placeholder="MM/DD/YYYY" required
@ -24,7 +24,7 @@
</ion-item>
</ion-col>
<ion-col size='6'>
<ion-label position='floating' style="margin-left: 15px;" class="colBold">{{ts.trPK('general','to')}} </ion-label>
<ion-label position='floating' style="margin: 15px;" class="colBold">{{ts.trPK('general','to')}} </ion-label>
<ion-item class='dynamicField' lines='none'>
<ion-datetime style="padding: 0px" [(ngModel)]="endDate" min="1900" max="2100" displayFormat="MMM/DD/YYYY" placeholder="MM/DD/YYYY" required
cancelText="{{ts.trPK('general','cancel')}}"

@ -1,36 +1,42 @@
.search-header{
.search-header {
display: inline-block;
h2 {
display: inline-block;
margin-left: 20px;
font-family: WorkSans-Regular;
font-size: 18px;
margin-top: 12px;
margin-right: 20px;
}
ion-icon {
display: inline-block;
font-size: 23px;
position: absolute;
right: 15px;
top: 8px;
left: 15px;
top: 10px;
}
}
.search-container {
margin-right: 15px;
margin-left: 15px;
// padding-bottom: 100px;
margin-top: 5px;
ion-item{
ion-item {
border: 2px solid #eaeaea;
border-radius: 25px;
margin-bottom: 20px;
}
}
.cancel-ar{
.cancel-ar {
margin-right: 239px;
}
.search-button{
.search-button {
background: #3dcab3;
height: 50px;
text-align: center;
@ -38,13 +44,16 @@
border-radius: 22px;
margin-top: 20px;
line-height: 50px;
span{
span {
color: white;
}
}
.custom-width{
.custom-width {
max-width: 100% !important;
}
.enable-overflow{
.enable-overflow {
overflow: visible !important;
}

@ -1,264 +1,281 @@
.actionBtn {
.actionBtn{
height: auto;
min-height: 35px !important;
padding: 10px;
font-size: 12px;
white-space: normal;
}
button.actionBtn.button.button-md,
button.actionBtn.button.button-ios,
button.actionBtn.button.button
{
width: 90%;
height: auto;
min-height: 35px !important;
padding: 10px;
font-size: 12px;
white-space: normal;
}
button.actionBtn.button.button-md,
button.actionBtn.button.button-ios,
button.actionBtn.button.button {
width: 90%;
}
.actionBtnCol {
text-align: center;
}
.actionBtnGrid {
padding: 0px;
}
.notColBtn {
min-height: 150px !important;
padding: 0px;
background: transparent;
border: 2px solid #e4e5e7;
p {
color: var(--secondary);
margin-top: 0px;
margin-bottom: 0px;
font-weight: normal;
font-size: 14px;
white-space: normal;
padding: 3px 0px;
min-height: 50px;
}
.actionBtnCol{
text-align: center;
span {
display: block;
}
.actionBtnGrid{
padding:0px;
.serviceItemImg {
min-width: 60px !important;
min-height: 70px !important;
width: 70px;
height: 70px;
margin: 10px auto;
background: transparent !important;
}
.notColBtn {
min-height: 150px !important;
padding: 0px;
background: transparent;
border: 2px solid #e4e5e7;
p{
color: var(--secondary);
margin-top: 0px; margin-bottom:0px;
font-weight: normal;
font-size: 14px;
white-space: normal;
padding: 3px 0px;
min-height: 50px;
}
span {
display: block;
}
.serviceItemImg {
min-width: 60px !important;
min-height: 70px !important;
width: 70px;
height: 70px;
margin: 10px auto;
background: transparent !important;
}
}
.notColBtn.button,.notColBtn.button-md, .notColBtn.button-ios{
background: transparent !important;
color: var(--dark);
box-shadow: none;
-webkit-box-shadow:none;
-moz-box-shadow: none;
padding: 0px;
color: var(--secondary);
border: 2px solid var(--gray);
min-width: auto;
}
}
.notColBtn.button,
.notColBtn.button-md,
.notColBtn.button-ios {
background: transparent !important;
color: var(--dark);
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
padding: 0px;
color: var(--secondary);
border: 2px solid var(--gray);
min-width: auto;
}
////////////////////////
.itemHISBtn{
padding: 5px;
color: var(--light);
background: var(--darkgray);
border-radius: 3px;
width: 85%;
height: 40px;
}
.rowBtn{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: white;
}
.rowBorder{
border-bottom: solid 0.02cm var(--grayBG);
}
.colBorder{
border-right: solid 0.02cm var(--grayBG);
}
.dateActionHistory{
display: inline-block;
margin-left: 5px;
text-align: left;
}
.req_info{
width: 25px;
height: 25px;
display: inline-block;
margin: 0;
}
.deligate{
margin-left: 25px;
}
.actionBtn{
--border-radius: 50% !important;
height: 55px;
width: 55px;
--background: var(--newgreen); // will be dynamic
background: transparent;
margin:10px;
}
.itemAttch{
border-radius: 11px;
margin: 8px;
--min-height: 60px;
--max-height: 60px;
}
.less {
max-height: 54px;
}
.noDataDiv{
background: #ffffff;
height: 11%;
text-align: center;
padding-top: 1px;
border-radius: 10px;
margin: 10px;
}
.no-data-div{
background: #ffffff;
height: 100%;
text-align: center;
padding-top: 1px;
border-radius: 10px;
margin: 10px;
}
.container {
font-size: 14px;
line-height: 14px;
height: 15px;
overflow: hidden;
text-align: justify;
}
.show {
overflow: visible;
height: auto;
}
.showMore{
padding: 0px;
background: transparent;
color: blue;
text-decoration: underline;
font-size: 14px;
}
// .succssfullMSG{
// height: 100%;
// width: 100%;
// background: var(--newgreen);
// color: white;
// font-weight: bold;
// font-size: 20px;
// text-align: center;
// vertical-align: middle;
// padding-top: 30px;
// }
// .succssfullIcon{
// width: 60%;
// text-align: center;
// height: 36%;
// padding-top: 100px;
// }
////////////////////////////////
.subOrdinateList{
// margin: 10px;
// border-top-left-radius: 45px;
// border-bottom-left-radius: 45px;
// border: var(--cusgray) 1px solid !important;
--background: transparent;
margin-left: -15px;
margin-right: 6px;
margin-bottom:8px;
}
.status{
.itemHISBtn {
padding: 5px;
color: var(--light);
background: var(--darkgray);
border-radius: 3px;
width: 85%;
height: 40px;
}
.rowBtn {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: white;
}
.rowBorder {
border-bottom: solid 0.02cm var(--grayBG);
}
.colBorder {
border-right: solid 0.02cm var(--grayBG);
}
.dateActionHistory {
display: inline-block;
margin-left: 5px;
text-align: left;
}
.req_info {
width: 22px;
height: 22px;
display: inline-block;
margin: 0px 5px 0px 5px;
}
.deligate {
margin-left: 25px;
}
.actionBtn {
--border-radius: 50% !important;
height: 55px;
width: 55px;
--background: var(--newgreen); // will be dynamic
background: transparent;
margin: 10px;
}
.itemAttch {
border-radius: 11px;
margin: 8px;
--min-height: 60px;
--max-height: 60px;
}
.less {
max-height: 54px;
}
.noDataDiv {
background: #ffffff;
height: 11%;
text-align: center;
padding-top: 1px;
border-radius: 10px;
margin: 10px;
}
.no-data-div {
background: #ffffff;
height: 100%;
text-align: center;
padding-top: 1px;
border-radius: 10px;
margin: 10px;
}
.container {
font-size: 14px;
line-height: 14px;
height: 15px;
overflow: hidden;
text-align: justify;
}
.show {
overflow: visible;
height: auto;
}
.showMore {
padding: 0px;
background: transparent;
color: blue;
text-decoration: underline;
font-size: 14px;
}
// .succssfullMSG{
// height: 100%;
// width: 100%;
// background: var(--newgreen);
// color: white;
// font-weight: bold;
// font-size: 20px;
// text-align: center;
// vertical-align: middle;
// padding-top: 30px;
// }
// .succssfullIcon{
// width: 60%;
// text-align: center;
// height: 36%;
// padding-top: 100px;
// }
////////////////////////////////
.subOrdinateList {
// margin: 10px;
// border-top-left-radius: 45px;
// border-bottom-left-radius: 45px;
// border: var(--cusgray) 1px solid !important;
--background: transparent;
margin-left: -15px;
margin-right: 6px;
margin-bottom: 8px;
}
.status {
text-align: center;
// background: green;
border-radius: 10px;
font-size: 10px !important;
height: 40px;
color: white;
position: relative;
}
.rowHeader{
// background: green;
border-radius: 10px;
font-size: 10px !important;
height: 40px;
color: white;
position: relative;
}
.rowHeader {
border-bottom: 1px solid var(--cusgray);
padding-bottom: 10px;
margin-bottom: -17px;
}
.container{
position:relative;
.container {
position: relative;
}
.overflow-hid-div{
overflow:hidden;
margin-left:50px;
width:200px;
.overflow-hid-div {
overflow: hidden;
margin-left: 50px;
width: 200px;
height: 200px;
background-color:red;
background-color: red;
}
.inner{
width:50px;
.inner {
width: 50px;
height: 50px;
background-color:green;
background-color: green;
position: absolute;
left:25px;
top:25px;
left: 25px;
top: 25px;
}
.gridSubordinates{
margin-left: 3%;//38px;
border-top-left-radius: 16px;//28px;
border-bottom-left-radius: 16px;//40px;
// padding-left: 8px;
background:var(--light);
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
.gridSubordinates {
margin-left: 3%; //38px;
border-top-left-radius: 16px; //28px;
border-bottom-left-radius: 16px; //40px;
// padding-left: 8px;
background: var(--light);
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
}
.subOrdinateDiv{
.subOrdinateDiv {
z-index: 4;
margin-left: 0px;//-32px;
margin-left: 0px; //-32px;
// position: absolute;
top: 5px;//-2px;
top: 5px; //-2px;
float: left;
margin-right: 10px;
}
.subOrdinateImg{
width: 85px;
border: #e4e4e4 solid 2px;
-moz-border-radius: 50%;
border-radius: 50%;
border: 3px solid #f0efef;
.subOrdinateImg {
width: 85px;
border: #e4e4e4 solid 2px;
-moz-border-radius: 50%;
border-radius: 50%;
border: 3px solid #f0efef;
}
.subOrdinateRow{
.subOrdinateRow {
margin-left: 55px;
}
@ -270,7 +287,8 @@ position: relative;
margin-right: -13px;
margin-bottom: 8px;
}
.gridSubordinates-Ar{
.gridSubordinates-Ar {
border-top-right-radius: 28px;
border-bottom-right-radius: 40px;
background: var(--light);
@ -289,39 +307,46 @@ position: relative;
position: absolute;
top: -2px;
}
///////////////////////////////////////////////
.label{
font-size: 14px;
.label {
font-size: 14px;
}
.subjectNotification{
.subjectNotification {
text-align: center;
padding-top: 10px;
font-weight: bold;
}
.action-history ion-card-content{
padding:0;
.action-history ion-card-content {
padding: 0;
}
ion-card.action-history {
margin:10px
margin: 10px
}
.submitterInfo{
.submitterInfo {
padding-top: 10px;
padding-bottom: 10px;
}
ion-card{
ion-card {
color: black !important;
}
////
.tabBar{
height:70px
.tabBar {
height: 70px
}
.cardAlignTextEn{
.cardAlignTextEn {
text-align: left;
}
.cardAlignTextAr{
.cardAlignTextAr {
text-align: right;
}
@ -335,30 +360,37 @@ ion-card{
text-transform: none;
--color-checked: none;
border-radius: 100px;
border:0;
border: 0;
}
.active-Segment ion-label{
.active-Segment ion-label {
font-size: 11px;
color: white !important;
}
.normal-Segment ion-label{
.normal-Segment ion-label {
color: black !important;
font-size: 11px;
}
.normal-Segment {
font-size: 0.3cm !important;
text-transform: none;
--color-checked: none;
border: 0;
}
.action-btn {
white-space: pre-wrap;
font-size: 11px;
}
.name{
color:black !important ;font-weight: bold;
.name {
color: black !important;
font-weight: bold;
}
.timeline-item{
.timeline-item {
margin: 0;
white-space: nowrap;
font-size: 10px;

@ -1839,11 +1839,10 @@ ion-app[dir="rtl"] {
margin-right: 10px !important;
}
.slideFullWidth .swiper-slide {
margin-right: 10px !important;
}
.iconBox img {
margin: 5px !important;
}
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save