design updates

MOE_DEV_NEW_DESIGN
Sultan Khan 3 years ago
parent d581ff52a4
commit dc6f77ecd7

@ -40,37 +40,27 @@ ion-content {
margin-top: 10px;
span {
// display: block;
// padding-top: 8px;
// padding-left: 15px;
// font-weight: bold;
// font-size: 12px;
// margin-top: 9px;
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
font-weight: bold;
line-height: 18px;
font-size: 12px;
font-size: 14px;
letter-spacing: -0.48px;
color: #2B353E;
color: #004D71;
opacity: 1;
margin: 10px;
}
}
.search-label {
// border: 1px solid #ccc;
// margin-left: 15px;
// margin-right: 15px;
// border-radius: 22px;
// margin-top: 24px;
// font-size: 11px;
// color: rgb(143, 141, 141);
border: 1px solid #ccc;
border: 1px solid #E8E8E8;
margin-left: 15px;
margin-right: 15px;
border-radius: 35px;
margin-top: 24px;
font-size: 11px;
color: #8f8d8d;
color: #5C6F79;
margin-right: 15px !important;
padding: 10px;
}
@ -97,7 +87,7 @@ ion-content {
h2 {
font-size: 38px;
font-family: WorkSans-Bold;
margin: 0 auto;
line-height: 36px;
}
@ -107,7 +97,7 @@ ion-content {
display: block;
margin: 0 auto;
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) {
.text-label {
@ -255,21 +239,19 @@ ion-content {
// margin-right: 18px;
text-align: left;
// font: normal normal 600 12px/18px Poppins;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 18px;
font-size: 12px;
letter-spacing: -0.48px;
color: #575757 !important;
color: #5C6F79 !important;
opacity: 1;
margin-left: 15px;
margin-right: 18px;
margin-left: 5px;
margin-right: 5px;
}
.radio-list {
background: white;
// margin-left: 18px;
/* margin-right: 10px; */
// margin-top: 12px;
width: 100%;
}
// .selected .radio-icon {
@ -296,7 +278,7 @@ ion-content {
// font-family: 'WorkSans-Bold';
// margin-top: 27px;
text-align: left;
font-family: var(--fontFamilyPoppins-SemiBold, inherit);
line-height: 11px;
font-size: 20px;
letter-spacing: -0.8px;
@ -385,4 +367,8 @@ ion-content {
display: flex;
// justify-content: space-between;
margin-bottom: -12px;
}
ion-radio.radio-checked {
--ion-color-base: #004D71;
}

@ -670,6 +670,7 @@
}}</button>
</div>
</div>
<div class="inline-button">
<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'}"
class=""> {{actionHistory.ACTION}}</ion-label>
@ -678,6 +679,7 @@
<ion-label *ngIf="actionHistory.NOTIFICATION_DATE != ''"
class="dateActionHistory">
{{returnDateTime(actionHistory.NOTIFICATION_DATE)}} </ion-label>
</div>
</ion-col>
<ion-col size="4">
<img class="req_info" src="assets/imgs/req info.svg"

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

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

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

Loading…
Cancel
Save