design updates

MOE_DEV_NEW_DESIGN
Sultan Khan 3 years ago
parent d581ff52a4
commit dc6f77ecd7

@ -40,37 +40,27 @@ ion-content {
margin-top: 10px; margin-top: 10px;
span { span {
// display: block;
// padding-top: 8px;
// padding-left: 15px;
// font-weight: bold;
// font-size: 12px;
// margin-top: 9px;
text-align: left; text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit); font-weight: bold;
line-height: 18px; line-height: 18px;
font-size: 12px; font-size: 14px;
letter-spacing: -0.48px; letter-spacing: -0.48px;
color: #2B353E; color: #004D71;
opacity: 1; opacity: 1;
margin: 10px;
} }
} }
.search-label { .search-label {
// border: 1px solid #ccc;
// margin-left: 15px; border: 1px solid #E8E8E8;
// margin-right: 15px;
// border-radius: 22px;
// margin-top: 24px;
// font-size: 11px;
// color: rgb(143, 141, 141);
border: 1px solid #ccc;
margin-left: 15px; margin-left: 15px;
margin-right: 15px; margin-right: 15px;
border-radius: 35px; border-radius: 35px;
margin-top: 24px; margin-top: 24px;
font-size: 11px; font-size: 11px;
color: #8f8d8d; color: #5C6F79;
margin-right: 15px !important; margin-right: 15px !important;
padding: 10px; padding: 10px;
} }
@ -97,7 +87,7 @@ ion-content {
h2 { h2 {
font-size: 38px; font-size: 38px;
font-family: WorkSans-Bold;
margin: 0 auto; margin: 0 auto;
line-height: 36px; line-height: 36px;
} }
@ -107,7 +97,7 @@ ion-content {
display: block; display: block;
margin: 0 auto; margin: 0 auto;
font-size: 12px; font-size: 12px;
font-family: workSans-Regular;
} }
} }
@ -228,12 +218,6 @@ ion-content {
} }
} }
// .myClass .toggle-icon {
// background-color: purple; // this changes the background, ie the grey stripe.
// .toggle-inner {
// background-color: yellow; // this changes the backgroundcolor of the toggle dot.
// }
// }
@media only screen and (max-width: 375px) { @media only screen and (max-width: 375px) {
.text-label { .text-label {
@ -255,21 +239,19 @@ ion-content {
// margin-right: 18px; // margin-right: 18px;
text-align: left; text-align: left;
// font: normal normal 600 12px/18px Poppins; // font: normal normal 600 12px/18px Poppins;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 18px; line-height: 18px;
font-size: 12px; font-size: 12px;
letter-spacing: -0.48px; letter-spacing: -0.48px;
color: #575757 !important; color: #5C6F79 !important;
opacity: 1; opacity: 1;
margin-left: 15px; margin-left: 5px;
margin-right: 18px; margin-right: 5px;
} }
.radio-list { .radio-list {
background: white; background: white;
// margin-left: 18px; width: 100%;
/* margin-right: 10px; */
// margin-top: 12px;
} }
// .selected .radio-icon { // .selected .radio-icon {
@ -296,7 +278,7 @@ ion-content {
// font-family: 'WorkSans-Bold'; // font-family: 'WorkSans-Bold';
// margin-top: 27px; // margin-top: 27px;
text-align: left; text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 11px; line-height: 11px;
font-size: 20px; font-size: 20px;
letter-spacing: -0.8px; letter-spacing: -0.8px;
@ -386,3 +368,7 @@ ion-content {
// justify-content: space-between; // justify-content: space-between;
margin-bottom: -12px; margin-bottom: -12px;
} }
ion-radio.radio-checked {
--ion-color-base: #004D71;
}

@ -670,6 +670,7 @@
}}</button> }}</button>
</div> </div>
</div> </div>
<div class="inline-button">
<ion-label <ion-label
[ngClass]="{'bg-blue-txt' : actionHistory.ACTION_CODE === 'SUBMIT' ,'bg-orange-txt' : actionHistory.ACTION_CODE === 'PENDING' ,'bg-red-txt' : actionHistory.ACTION_CODE === 'REJECT','bg-green-txt' : actionHistory.ACTION_CODE != 'PENDING' && actionHistory.ACTION_CODE != 'REJECT' && actionHistory.ACTION_CODE != 'SUBMIT'}" [ngClass]="{'bg-blue-txt' : actionHistory.ACTION_CODE === 'SUBMIT' ,'bg-orange-txt' : actionHistory.ACTION_CODE === 'PENDING' ,'bg-red-txt' : actionHistory.ACTION_CODE === 'REJECT','bg-green-txt' : actionHistory.ACTION_CODE != 'PENDING' && actionHistory.ACTION_CODE != 'REJECT' && actionHistory.ACTION_CODE != 'SUBMIT'}"
class=""> {{actionHistory.ACTION}}</ion-label> class=""> {{actionHistory.ACTION}}</ion-label>
@ -678,6 +679,7 @@
<ion-label *ngIf="actionHistory.NOTIFICATION_DATE != ''" <ion-label *ngIf="actionHistory.NOTIFICATION_DATE != ''"
class="dateActionHistory"> class="dateActionHistory">
{{returnDateTime(actionHistory.NOTIFICATION_DATE)}} </ion-label> {{returnDateTime(actionHistory.NOTIFICATION_DATE)}} </ion-label>
</div>
</ion-col> </ion-col>
<ion-col size="4"> <ion-col size="4">
<img class="req_info" src="assets/imgs/req info.svg" <img class="req_info" src="assets/imgs/req info.svg"

@ -107,6 +107,8 @@ button.actionBtn.button.button {
display: inline-block; display: inline-block;
margin-left: 5px; margin-left: 5px;
text-align: left; text-align: left;
font-size: 12px !important;
line-height: 1.6;
} }
.req_info { .req_info {
@ -179,6 +181,11 @@ button.actionBtn.button.button {
font-size: 14px; font-size: 14px;
} }
.inline-button ion-label:first-child {
font-size: 12px !important;
padding: 3px 8px;
}
// .succssfullMSG{ // .succssfullMSG{
// height: 100%; // height: 100%;
// width: 100%; // width: 100%;
@ -316,8 +323,10 @@ button.actionBtn.button.button {
.subjectNotification { .subjectNotification {
text-align: center; text-align: center;
padding-top: 10px; padding: 10px;
font-weight: bold; font-weight: bold;
font-size: 18px;
color: #004D71;
} }
.action-history ion-card-content { .action-history ion-card-content {
@ -356,21 +365,21 @@ ion-card {
.active-Segment { .active-Segment {
font-size: 0.3cm !important; font-size: 0.3cm !important;
background: #004D71 !important; background: #44A7A1 !important;
text-transform: none; text-transform: none;
--color-checked: none; --color-checked: none;
border-radius: 100px; border-radius: 6px !important;
border: 0; border: 0;
} }
.active-Segment ion-label { .active-Segment ion-label {
font-size: 11px; font-size: 14px;
color: white !important; color: white !important;
} }
.normal-Segment ion-label { .normal-Segment ion-label {
color: black !important; font-size: 14px;
font-size: 11px; color: #004D71 !important;
} }
.normal-Segment { .normal-Segment {
@ -386,8 +395,9 @@ ion-card {
} }
.name { .name {
color: black !important; color: #004D71 !important;
font-weight: bold; font-weight: bold;
font-size: 16px !important;
} }
.timeline-item { .timeline-item {
@ -395,3 +405,8 @@ ion-card {
white-space: nowrap; white-space: nowrap;
font-size: 10px; font-size: 10px;
} }
.inline-button {
display: inline-block;
position: relative;
}

@ -1260,9 +1260,9 @@ export class WorklistMainComponent implements OnInit {
returnDateTime(stringDate: string) { returnDateTime(stringDate: string) {
let allDateTime = stringDate.split(' '); let allDateTime = stringDate.split(' ');
let time = allDateTime[1].split(':', 2); // let time = allDateTime[1].split(':', 2);
let fullDate = this.transform(stringDate); return this.transform(stringDate);
return fullDate + ' ' + time[0] + ':' + time[1] + ' ' + allDateTime[2]; //return fullDate + ' ' + time[0] + ':' + time[1] + ' ' + allDateTime[2];
} }
locale = { locale = {

@ -1430,11 +1430,12 @@ div.no-dataDiv {
} }
.ion-segment-all { .ion-segment-all {
height: 50px !important; height: 67px !important;
background: white !important; background: #C7D8DF39 !important;
border-radius: 25px !important; border-radius: 6px !important;
border: 1px solid #cccccc; color: #004D71;
margin-top: 10px; width: 90%;
margin: 10px auto
} }
@ -1473,9 +1474,9 @@ div.no-dataDiv {
} }
.slideFullWidth .swiper-container .swiper-wrapper .swiper-slide:first-child { // .slideFullWidth .swiper-container .swiper-wrapper .swiper-slide:first-child {
margin-left: 15px; // margin-left: 15px;
} // }
.slideFullWidth .swiper-container .swiper-wrapper .swiper-slide { .slideFullWidth .swiper-container .swiper-wrapper .swiper-slide {
padding: 0px 10px 10px 0px; padding: 0px 10px 10px 0px;
@ -1887,9 +1888,6 @@ ion-app[dir="rtl"] {
margin-right: 10px !important; margin-right: 10px !important;
} }
.slideFullWidth .swiper-slide {
margin-right: 10px !important;
}
.iconBox img { .iconBox img {
margin: 5px !important; margin: 5px !important;

Loading…
Cancel
Save