Browse Source

flexi

master
ganga satish kumar 3 years ago
parent
commit
4a699c46f6
  1. 2
      src/app/app-routing.module.ts
  2. 1
      src/app/apply-leave/apply-leave.component.scss
  3. 1
      src/app/attendance/attendance.component.scss
  4. 6
      src/app/flexi-leave/flexi-leave.component.html
  5. 71
      src/app/flexi-leave/flexi-leave.component.scss
  6. 6
      src/app/home/home.component.scss
  7. 8
      src/app/odpnr/odpnr.component.scss
  8. 2
      src/styles/common.scss

2
src/app/app-routing.module.ts

@ -25,7 +25,7 @@ const routes: Routes = [
{path:'screen', component: CurrentScreenComponent}, {path:'screen', component: CurrentScreenComponent},
{path:'dashboard', component: DashboardComponent}, {path:'dashboard', component: DashboardComponent},
{path:'applyLeave', component: ApplyLeaveComponent}, {path:'applyLeave', component: ApplyLeaveComponent},
{path:'flexiLeave', component: FlexiLeaveComponent},
{path:'flexi', component: FlexiLeaveComponent},
{path:'attendance', component: AttendanceComponent}, {path:'attendance', component: AttendanceComponent},
{path:'odpnr', component: OdpnrComponent}, {path:'odpnr', component: OdpnrComponent},
{path:'notices', component: NoticesComponent}, {path:'notices', component: NoticesComponent},

1
src/app/apply-leave/apply-leave.component.scss

@ -22,6 +22,7 @@ button {
} }
.title { .title {
text-align: center; text-align: center;
color:#0b5fa4;
} }
.right-section { .right-section {
width: 48%; width: 48%;

1
src/app/attendance/attendance.component.scss

@ -43,4 +43,5 @@
.title { .title {
text-align: center; text-align: center;
margin:2%; margin:2%;
color:#0b5fa4;
} }

6
src/app/flexi-leave/flexi-leave.component.html

@ -1,8 +1,6 @@
<div class="page-container" id="flexi-leave"> <div class="page-container" id="flexi-leave">
<div class="align-middle">
<p class="txt-content font-body-xsmall-bold">{{languageConstants.april}}</p>
<p class="txt-content font-body-xsmall-bold">2021</p>
<p class="txt-content font-body-xsmall-bold number-txt">{{languageConstants.flexi}}</p>
<div class="align-middle title">
<p class="txt-content font-body-xsmall-bold">{{languageConstants.april}}<br/>2021<br/>{{languageConstants.flexi}}</p>
</div> </div>
<div class="flex-column leave-status"> <div class="flex-column leave-status">
<div class="width-90 margin-5"> <div class="width-90 margin-5">

71
src/app/flexi-leave/flexi-leave.component.scss

@ -1,18 +1,55 @@
@import '../../styles.scss';
#flexi-leave{
.align-middle{
@include flex-box(column, top);
text-align: center;
padding-bottom: 5px;
width: 90%;
margin: 0% auto;
padding: 5%;
}
.leave-status{
background-color: $clr-mania;
.width-90{
width: 90%;
margin: 5% auto;
}
}
.page-container {
height: 100%;
display: flex;
flex-direction: column;
background-color: #b4e8fd;
}
.font-body-xsmall-bold {
font-size: 0.812rem;
line-height: 1.125rem;
letter-spacing: 1px;
font-family: "Raleway VariableFont";
text-transform: uppercase;
}
.flex-row {
flex-direction: row;
display: flex;
width: 100%;
}
button {
border-radius: 10px;
font-size: 0.938rem;
width: 98%;
background: #0b5fa4 0 0 no-repeat padding-box !important;
margin: 2%;
}
.align-middle {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding-bottom: 5px;
width: 90%;
margin: 0% auto;
padding: 5%;
}
.leave-status {
background-color: #b4e8fd;
.width-90 {
width: 90%;
margin: 5% auto;
}
}
.title {
text-align: center;
color: #0b5fa4;
} }

6
src/app/home/home.component.scss

@ -1,8 +1,8 @@
@import '../../styles.scss'; @import '../../styles.scss';
#home-screen{ #home-screen{
background-color: $clr-mania;
background-color: #b4e8fd;
.main-container { .main-container {
background: $clr-mania;
background: #b4e8fd;
padding: 0%; padding: 0%;
margin-bottom: 20%; margin-bottom: 20%;
overflow-x: clip; overflow-x: clip;
@ -20,7 +20,7 @@
} }
.card { .card {
width: 100%; width: 100%;
background: $clr-mania;
background: #b4e8fd;
float: left; float: left;
ul{ ul{

8
src/app/odpnr/odpnr.component.scss

@ -1,11 +1,11 @@
@import '../../styles.scss'; @import '../../styles.scss';
.main-container { .main-container {
background: $clr-mania;
background: #b4e8fd;
padding: 0%; padding: 0%;
margin-bottom: 20%; margin-bottom: 20%;
height: 100%; height: 100%;
.content { .content {
background: $clr-mania;
background: #b4e8fd;
width: 100%; width: 100%;
@include flex-box(column, center, center); @include flex-box(column, center, center);
.clear-content{ .clear-content{
@ -18,7 +18,7 @@
} }
.card { .card {
width: 100%; width: 100%;
background: $clr-mania;
background: #b4e8fd;
float: left; float: left;
min-height: 250px; min-height: 250px;
.user-input{ .user-input{
@ -112,7 +112,7 @@
} }
} }
.leave-status{ .leave-status{
background-color: $clr-mania;
background-color: #b4e8fd;
// .width-90{ // .width-90{
// width: 100%; // width: 100%;
// margin: 5% auto; // margin: 5% auto;

2
src/styles/common.scss

@ -28,7 +28,7 @@ body {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: $clr-mania;
background-color: #b4e8fd;
} }
.main-container { .main-container {

Loading…
Cancel
Save