diff --git a/src/app/clients/clients.component.html b/src/app/clients/clients.component.html
index b3508f992..cb547a87c 100644
--- a/src/app/clients/clients.component.html
+++ b/src/app/clients/clients.component.html
@@ -1,95 +1,46 @@
-
+
+ | ID |
+ {{row.id}} |
+
+
+
+
+ Progress |
+ {{row.progress}}% |
+
+
+
+
+ Name |
+ {{row.name}} |
+
+
+
+
+ Color |
+ {{row.color}} |
+
+
+
+
+
+
+
+
- -->
+
+
+
+
\ No newline at end of file
diff --git a/src/app/clients/clients.component.scss b/src/app/clients/clients.component.scss
index b4ca1aa75..6cc1fb5cc 100644
--- a/src/app/clients/clients.component.scss
+++ b/src/app/clients/clients.component.scss
@@ -1,4 +1,17 @@
-// .table-fixed {
-// table-layout: fixed;
-// overflow: hidden;
-// }
+
+ table {
+ width: 100%;
+}
+
+.mat-form-field {
+ font-size: 14px;
+ width: 100%;
+}
+
+td, th {
+ width: 25%;
+}
+
+.filter{
+ width: 50%;
+}
\ No newline at end of file
diff --git a/src/app/clients/clients.component.ts b/src/app/clients/clients.component.ts
index 669f242ba..4a6392e13 100644
--- a/src/app/clients/clients.component.ts
+++ b/src/app/clients/clients.component.ts
@@ -1,4 +1,5 @@
-import { Component, OnInit } from '@angular/core';
+import {Component, OnInit, ViewChild} from '@angular/core';
+import {MatPaginator, MatSort, MatTableDataSource} from '@angular/material';
@Component({
selector: 'mifosx-clients',
@@ -7,9 +8,62 @@ import { Component, OnInit } from '@angular/core';
})
export class ClientsComponent implements OnInit {
- constructor() { }
+ displayedColumns = ['id', 'name', 'progress', 'color'];
+ dataSource: MatTableDataSource;
+
+ @ViewChild(MatPaginator) paginator: MatPaginator;
+ @ViewChild(MatSort) sort: MatSort;
+
+ constructor() {
+ // Create 100 users
+ const users: UserData[] = [];
+ for (let i = 1; i <= 100; i++) { users.push(createNewUser(i)); }
+
+ // Assign the data to the data source for the table to render
+ this.dataSource = new MatTableDataSource(users);
+ }
ngOnInit() {
+ this.dataSource.paginator = this.paginator;
+ this.dataSource.sort = this.sort;
+ }
+
+ applyFilter(filterValue: string) {
+ filterValue = filterValue.trim(); // Remove whitespace
+ filterValue = filterValue.toLowerCase(); // Datasource defaults to lowercase matches
+ this.dataSource.filter = filterValue;
+ if (this.dataSource.paginator) {
+ this.dataSource.paginator.firstPage();
+ }
}
}
+/** Constants used to fill up our data base. */
+const COLORS = ['maroon', 'red', 'orange', 'yellow', 'olive', 'green', 'purple',
+ 'fuchsia', 'lime', 'teal', 'aqua', 'blue', 'navy', 'black', 'gray'];
+const NAMES = ['Maia', 'Asher', 'Olivia', 'Atticus', 'Amelia', 'Jack',
+ 'Charlotte', 'Theodore', 'Isla', 'Oliver', 'Isabella', 'Jasper',
+ 'Cora', 'Levi', 'Violet', 'Arthur', 'Mia', 'Thomas', 'Elizabeth'];
+/** Builds and returns a new User. */
+function createNewUser(id: number): UserData {
+ const name =
+ NAMES[Math.round(Math.random() * (NAMES.length - 1))] + ' ' +
+ NAMES[Math.round(Math.random() * (NAMES.length - 1))].charAt(0) + '.';
+
+ return {
+ id: id.toString(),
+ name: name,
+ progress: Math.round(Math.random() * 100).toString(),
+ color: COLORS[Math.round(Math.random() * (COLORS.length - 1))]
+ };
+}
+
+
+
+export interface UserData {
+ id: string;
+ name: string;
+ progress: string;
+ color: string;
+}
+
diff --git a/src/app/clients/clients.module.ts b/src/app/clients/clients.module.ts
index f26c8824c..b9effce08 100644
--- a/src/app/clients/clients.module.ts
+++ b/src/app/clients/clients.module.ts
@@ -1,7 +1,10 @@
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
+import {Component, OnInit, ViewChild} from '@angular/core';
import { ArchwizardModule } from 'angular-archwizard';
+import { CoreModule } from '../core/core.module';
+import {MatTableModule} from '@angular/material/table';
import { ClientsRoutingModule } from './clients-routing.module';
import { ClientsComponent } from './clients.component';
@@ -11,9 +14,10 @@ import { ViewLoanComponent } from './view-loan/view-loan.component';
@NgModule({
imports: [
+ CoreModule,
CommonModule,
ClientsRoutingModule,
- ArchwizardModule
+ ArchwizardModule,
],
declarations: [
ClientsComponent,
diff --git a/src/app/core/core.module.ts b/src/app/core/core.module.ts
index 1fc95a4e5..0467ce164 100644
--- a/src/app/core/core.module.ts
+++ b/src/app/core/core.module.ts
@@ -5,21 +5,37 @@ import { RouteReuseStrategy, RouterModule } from '@angular/router';
import { LayoutModule } from '@angular/cdk/layout';
import { FlexLayoutModule } from '@angular/flex-layout';
-import { MatToolbarModule,
+import { MatCheckboxModule,
MatButtonModule,
+ MatInputModule,
+ MatAutocompleteModule,
+ MatDatepickerModule,
+ MatFormFieldModule,
+ MatRadioModule,
+ MatSelectModule,
+ MatSliderModule,
+ MatSlideToggleModule,
+ MatMenuModule,
MatSidenavModule,
- MatIconModule,
+ MatToolbarModule,
MatListModule,
MatGridListModule,
MatCardModule,
- MatMenuModule,
- MatCheckboxModule,
+ MatStepperModule,
+ MatTabsModule,
+ MatExpansionModule,
+ MatButtonToggleModule,
+ MatChipsModule,
+ MatIconModule,
+ MatProgressSpinnerModule,
+ MatProgressBarModule,
+ MatDialogModule,
MatTooltipModule,
- MatDividerModule,
- MatSelectModule,
- MatInputModule,
- MatFormFieldModule,
- MatTabsModule } from '@angular/material';
+ MatSnackBarModule,
+ MatTableModule,
+ MatSortModule,
+ MatPaginatorModule,
+ MatDividerModule, } from '@angular/material';
import { TranslateModule } from '@ngx-translate/core';
@@ -46,21 +62,39 @@ import { ContentComponent } from './shell/content/content.component';
RouterModule,
LayoutModule,
FlexLayoutModule,
- MatSidenavModule,
- MatGridListModule,
- MatToolbarModule,
- MatTabsModule,
- MatButtonModule,
- MatIconModule,
- MatListModule,
- MatCardModule,
- MatMenuModule,
MatCheckboxModule,
- MatTooltipModule,
- MatDividerModule,
- MatSelectModule,
+ MatCheckboxModule,
+ MatButtonModule,
+ MatInputModule,
+ MatAutocompleteModule,
+ MatDatepickerModule,
MatFormFieldModule,
- MatInputModule
+ MatRadioModule,
+ MatSelectModule,
+ MatSliderModule,
+ MatSlideToggleModule,
+ MatMenuModule,
+ MatSidenavModule,
+ MatToolbarModule,
+ MatListModule,
+ MatGridListModule,
+ MatCardModule,
+ MatStepperModule,
+ MatTabsModule,
+ MatExpansionModule,
+ MatButtonToggleModule,
+ MatChipsModule,
+ MatIconModule,
+ MatProgressSpinnerModule,
+ MatProgressBarModule,
+ MatDialogModule,
+ MatTooltipModule,
+ MatSnackBarModule,
+ MatTableModule,
+ MatSortModule,
+ MatPaginatorModule,
+ MatDividerModule,
+
],
declarations: [
ShellComponent,
@@ -69,6 +103,40 @@ import { ContentComponent } from './shell/content/content.component';
ContentComponent
],
exports: [
+ LayoutModule,
+ FlexLayoutModule,
+ MatCheckboxModule,
+ MatCheckboxModule,
+ MatButtonModule,
+ MatInputModule,
+ MatAutocompleteModule,
+ MatDatepickerModule,
+ MatFormFieldModule,
+ MatRadioModule,
+ MatSelectModule,
+ MatSliderModule,
+ MatSlideToggleModule,
+ MatMenuModule,
+ MatSidenavModule,
+ MatToolbarModule,
+ MatListModule,
+ MatGridListModule,
+ MatCardModule,
+ MatStepperModule,
+ MatTabsModule,
+ MatExpansionModule,
+ MatButtonToggleModule,
+ MatChipsModule,
+ MatIconModule,
+ MatProgressSpinnerModule,
+ MatProgressBarModule,
+ MatDialogModule,
+ MatTooltipModule,
+ MatSnackBarModule,
+ MatTableModule,
+ MatSortModule,
+ MatPaginatorModule,
+ MatDividerModule,
],
providers: [
AuthenticationService,
diff --git a/src/assets/styles/_colours.scss b/src/assets/styles/_colours.scss
new file mode 100644
index 000000000..e6efea537
--- /dev/null
+++ b/src/assets/styles/_colours.scss
@@ -0,0 +1,63 @@
+// Application Color Profiles
+// Description: Set all application-wide color definitions here
+// To see examples, see the Color Swatches PNG
+
+// Endpoints
+$white: #fff;
+$black: #000;
+
+// Greys
+$light-grey: #f5f5f5;
+$mid-grey: #d7dada;
+$dark-grey: #353b3b;
+
+// Default Color
+$default: $dark-grey;
+
+// Flat UI Color Swatches (http://designmodo.github.io/Flat-UI) see the color-swatchs.png
+$turquoise: #1abc9c;
+$green-sea: #16a085;
+$emerald: #2ecc71;
+$nephritis: #27ae60;
+$peter-river: #3498db;
+$belize-hole: #2980b9;
+$amethyst: #9b59b6;
+$wisteria: #8e44ad;
+$wet-asphalt: #34495e;
+$midnight-blue: #2c3e50;
+$sunflower: #f1c40f;
+$orange: #f39c12;
+$carrot: #e67e22;
+$pumpkin: #d35400;
+$alizarin: #e74c3c;
+$pomegranate: #c0392b;
+$clouds: #ecf0f1;
+$silver: #bdc3c7;
+$concrete: #95a5a6;
+$asbestos: #7f8c8d;
+
+// Message Colors
+$msg-default: #999;
+$msg-success: #5cb85c;
+$msg-warning: #f0ad4e;
+$msg-danger: #d9534f;
+$msg-info: #5bc0de;
+
+//Social Colors
+$dailymile: #FFAA25;
+$facebook: #3B5998;
+$flickr: #f80082;
+$github: #F7F7F7;
+$google: #d7473d;
+$instagram: #37658D;
+$linkedin: #2C8CC0;
+$pinterest: #c5142b;
+$runkeeper: #3193d3;
+$skype: #00abee;
+$spotify: #7AB800;
+$twitter: #3B8ACA;
+
+// Set Site Specific Base, Highlight and Accent Colors Here for easy switching between themes
+$base: $dark-grey;
+$highlight: $belize-hole;
+$accent: $peter-river;
\ No newline at end of file
diff --git a/src/assets/styles/_helper.scss b/src/assets/styles/_helper.scss
new file mode 100644
index 000000000..2cec2f698
--- /dev/null
+++ b/src/assets/styles/_helper.scss
@@ -0,0 +1,1651 @@
+@import "_colours.scss";
+@import "_loader.scss";
+
+body, html {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ overflow: hidden;
+ -webkit-tap-highlight-color: transparent;
+ min-height: 100%;
+ -webkit-font-smoothing: antialiased;
+ }
+
+ html {
+ font-size: 16px;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ font-weight: 400;
+ font-size: .875rem;
+ color: rgba(0,0,0,.87);
+ line-height: 1.5;
+ font-family: Roboto, Helvetica Neue, sans-serif;
+ }
+
+ div {
+ box-sizing: border-box;
+ }
+
+ .container {
+ margin: 0 auto;
+ max-width: 68rem;
+ width: 90%;
+ }
+
+ .mat-icon-button.xs-button {
+ height: 20px;
+ width: 20px;
+ line-height: 20px;
+ }
+
+ .mat-icon-button.xs-button .mat-icon {
+ font-size: 16px;
+ line-height: 20px;
+ height: 20px;
+ width: 20px;
+ }
+
+ .text-muted {
+ color: rgba(0, 0, 0, .54);
+ }
+
+ .mb-05 {
+ margin-bottom: .5rem;
+ }
+
+ .mr-05 {
+ margin-right: .5rem;
+ }
+
+ .mb-1 {
+ margin-bottom: 1rem;
+ }
+
+ .mt-1 {
+ margin-top: 1rem;
+ }
+
+ .no-p {
+ padding: 0px !important
+ }
+
+ .no-p-t {
+ padding-top: 0px !important
+ }
+
+ .no-p-r {
+ padding-right: 0px !important
+ }
+
+ .no-p-b {
+ padding-bottom: 0px !important
+ }
+
+ .no-p-l {
+ padding-left: 0px !important
+ }
+
+ .no-p-v {
+ padding: 0px 0 !important
+ }
+
+ .no-p-h {
+ padding: 0 0px !important
+ }
+
+ .p-5 {
+ padding: 5px
+ }
+
+ .p-t-5 {
+ padding-top: 5px
+ }
+
+ .p-r-5 {
+ padding-right: 5px
+ }
+
+ .p-b-5 {
+ padding-bottom: 5px
+ }
+
+ .p-l-5 {
+ padding-left: 5px
+ }
+
+ .p-v-5 {
+ padding: 5px 0
+ }
+
+ .p-h-5 {
+ padding: 0 5px
+ }
+
+ .p-10 {
+ padding: 10px
+ }
+
+ .p-t-10 {
+ padding-top: 10px
+ }
+
+ .p-r-10 {
+ padding-right: 10px
+ }
+
+ .p-b-10 {
+ padding-bottom: 10px
+ }
+
+ .p-l-10 {
+ padding-left: 10px
+ }
+
+ .p-v-10 {
+ padding: 10px 0
+ }
+
+ .p-h-10 {
+ padding: 0 10px
+ }
+
+ .p-15 {
+ padding: 15px
+ }
+
+ .p-t-15 {
+ padding-top: 15px
+ }
+
+ .p-r-15 {
+ padding-right: 15px
+ }
+
+ .p-b-15 {
+ padding-bottom: 15px
+ }
+
+ .p-l-15 {
+ padding-left: 15px
+ }
+
+ .p-v-15 {
+ padding: 15px 0
+ }
+
+ .p-h-15 {
+ padding: 0 15px
+ }
+
+ .p-20 {
+ padding: 20px
+ }
+
+ .p-t-20 {
+ padding-top: 20px
+ }
+
+ .p-r-20 {
+ padding-right: 20px
+ }
+
+ .p-b-20 {
+ padding-bottom: 20px
+ }
+
+ .p-l-20 {
+ padding-left: 20px
+ }
+
+ .p-v-20 {
+ padding: 20px 0
+ }
+
+ .p-h-20 {
+ padding: 0 20px
+ }
+
+ .p-25 {
+ padding: 25px
+ }
+
+ .p-t-25 {
+ padding-top: 25px
+ }
+
+ .p-r-25 {
+ padding-right: 25px
+ }
+
+ .p-b-25 {
+ padding-bottom: 25px
+ }
+
+ .p-l-25 {
+ padding-left: 25px
+ }
+
+ .p-v-25 {
+ padding: 25px 0
+ }
+
+ .p-h-25 {
+ padding: 0 25px
+ }
+
+ .p-30 {
+ padding: 30px
+ }
+
+ .p-t-30 {
+ padding-top: 30px
+ }
+
+ .p-r-30 {
+ padding-right: 30px
+ }
+
+ .p-b-30 {
+ padding-bottom: 30px
+ }
+
+ .p-l-30 {
+ padding-left: 30px
+ }
+
+ .p-v-30 {
+ padding: 30px 0
+ }
+
+ .p-h-30 {
+ padding: 0 30px
+ }
+
+ .p-35 {
+ padding: 35px
+ }
+
+ .p-t-35 {
+ padding-top: 35px
+ }
+
+ .p-r-35 {
+ padding-right: 35px
+ }
+
+ .p-b-35 {
+ padding-bottom: 35px
+ }
+
+ .p-l-35 {
+ padding-left: 35px
+ }
+
+ .p-v-35 {
+ padding: 35px 0
+ }
+
+ .p-h-35 {
+ padding: 0 35px
+ }
+
+ .p-40 {
+ padding: 40px
+ }
+
+ .p-t-40 {
+ padding-top: 40px
+ }
+
+ .p-r-40 {
+ padding-right: 40px
+ }
+
+ .p-b-40 {
+ padding-bottom: 40px
+ }
+
+ .p-l-40 {
+ padding-left: 40px
+ }
+
+ .p-v-40 {
+ padding-top: 40px;
+ padding-bottom: 40px
+ }
+
+ .p-h-40 {
+ padding: 0 40px
+ }
+
+ .p-45 {
+ padding: 45px
+ }
+
+ .p-t-45 {
+ padding-top: 45px
+ }
+
+ .p-r-45 {
+ padding-right: 45px
+ }
+
+ .p-b-45 {
+ padding-bottom: 45px
+ }
+
+ .p-l-45 {
+ padding-left: 45px
+ }
+
+ .p-v-45 {
+ padding: 45px 0
+ }
+
+ .p-h-45 {
+ padding: 0 45px
+ }
+
+ .p-50 {
+ padding: 50px
+ }
+
+ .p-t-50 {
+ padding-top: 50px
+ }
+
+ .p-r-50 {
+ padding-right: 50px
+ }
+
+ .p-b-50 {
+ padding-bottom: 50px
+ }
+
+ .p-l-50 {
+ padding-left: 50px
+ }
+
+ .p-v-50 {
+ padding: 50px 0
+ }
+
+ .p-h-50 {
+ padding: 0 50px
+ }
+
+ .p-55 {
+ padding: 55px
+ }
+
+ .p-t-55 {
+ padding-top: 55px
+ }
+
+ .p-r-55 {
+ padding-right: 55px
+ }
+
+ .p-b-55 {
+ padding-bottom: 55px
+ }
+
+ .p-l-55 {
+ padding-left: 55px
+ }
+
+ .p-v-55 {
+ padding: 55px 0
+ }
+
+ .p-h-55 {
+ padding: 0 55px
+ }
+
+ .p-60 {
+ padding: 60px
+ }
+
+ .p-t-60 {
+ padding-top: 60px
+ }
+
+ .p-r-60 {
+ padding-right: 60px
+ }
+
+ .p-b-60 {
+ padding-bottom: 60px
+ }
+
+ .p-l-60 {
+ padding-left: 60px
+ }
+
+ .p-v-60 {
+ padding: 60px 0
+ }
+
+ .p-h-60 {
+ padding: 0 60px
+ }
+
+ .p-65 {
+ padding: 65px
+ }
+
+ .p-t-65 {
+ padding-top: 65px
+ }
+
+ .p-r-65 {
+ padding-right: 65px
+ }
+
+ .p-b-65 {
+ padding-bottom: 65px
+ }
+
+ .p-l-65 {
+ padding-left: 65px
+ }
+
+ .p-v-65 {
+ padding: 65px 0
+ }
+
+ .p-h-65 {
+ padding: 0 65px
+ }
+
+ .p-70 {
+ padding: 70px
+ }
+
+ .p-t-70 {
+ padding-top: 70px
+ }
+
+ .p-r-70 {
+ padding-right: 70px
+ }
+
+ .p-b-70 {
+ padding-bottom: 70px
+ }
+
+ .p-l-70 {
+ padding-left: 70px
+ }
+
+ .p-v-70 {
+ padding: 70px 0
+ }
+
+ .p-h-70 {
+ padding: 0 70px
+ }
+
+ .p-75 {
+ padding: 75px
+ }
+
+ .p-t-75 {
+ padding-top: 75px
+ }
+
+ .p-r-75 {
+ padding-right: 75px
+ }
+
+ .p-b-75 {
+ padding-bottom: 75px
+ }
+
+ .p-l-75 {
+ padding-left: 75px
+ }
+
+ .p-v-75 {
+ padding: 75px 0
+ }
+
+ .p-h-75 {
+ padding: 0 75px
+ }
+
+ .p-80 {
+ padding: 80px
+ }
+
+ .p-t-80 {
+ padding-top: 80px
+ }
+
+ .p-r-80 {
+ padding-right: 80px
+ }
+
+ .p-b-80 {
+ padding-bottom: 80px
+ }
+
+ .p-l-80 {
+ padding-left: 80px
+ }
+
+ .p-v-80 {
+ padding: 80px 0
+ }
+
+ .p-h-80 {
+ padding: 0 80px
+ }
+
+ .no-p {
+ padding: 0px
+ }
+
+ .no-p-t {
+ padding-top: 0px
+ }
+
+ .no-p-r {
+ padding-right: 0px
+ }
+
+ .no-p-b {
+ padding-bottom: 0px
+ }
+
+ .no-p-l {
+ padding-left: 0px
+ }
+
+ .no-p-v {
+ padding: 0px 0
+ }
+
+ .no-p-h {
+ padding: 0 0px
+ }
+
+ .m-5 {
+ margin: 5px
+ }
+
+ .m-t-5 {
+ margin-top: 5px
+ }
+
+ .m-r-5 {
+ margin-right: 5px
+ }
+
+ .m-b-5 {
+ margin-bottom: 5px
+ }
+
+ .m-l-5 {
+ margin-left: 5px
+ }
+
+ .m-v-5 {
+ margin: 5px 0
+ }
+
+ .m-h-5 {
+ margin: 0 5px
+ }
+
+ .m-10 {
+ margin: 10px
+ }
+
+ .m-t-10 {
+ margin-top: 10px
+ }
+
+ .m-r-10 {
+ margin-right: 10px
+ }
+
+ .m-b-10 {
+ margin-bottom: 10px
+ }
+
+ .m-l-10 {
+ margin-left: 10px
+ }
+
+ .m-v-10 {
+ margin: 10px 0
+ }
+
+ .m-h-10 {
+ margin: 0 10px
+ }
+
+ .m-15 {
+ margin: 15px
+ }
+
+ .m-t-15 {
+ margin-top: 15px
+ }
+
+ .m-r-15 {
+ margin-right: 15px
+ }
+
+ .m-b-15 {
+ margin-bottom: 15px
+ }
+
+ .m-l-15 {
+ margin-left: 15px
+ }
+
+ .m-v-15 {
+ margin: 15px 0
+ }
+
+ .m-h-15 {
+ margin: 0 15px
+ }
+
+ .m-20 {
+ margin: 20px
+ }
+
+ .m-t-20 {
+ margin-top: 20px
+ }
+
+ .m-r-20 {
+ margin-right: 20px
+ }
+
+ .m-b-20 {
+ margin-bottom: 20px
+ }
+
+ .m-l-20 {
+ margin-left: 20px
+ }
+
+ .m-v-20 {
+ margin: 20px 0
+ }
+
+ .m-h-20 {
+ margin: 0 20px
+ }
+
+ .m-25 {
+ margin: 25px
+ }
+
+ .m-t-25 {
+ margin-top: 25px
+ }
+
+ .m-r-25 {
+ margin-right: 25px
+ }
+
+ .m-b-25 {
+ margin-bottom: 25px
+ }
+
+ .m-l-25 {
+ margin-left: 25px
+ }
+
+ .m-v-25 {
+ margin: 25px 0
+ }
+
+ .m-h-25 {
+ margin: 0 25px
+ }
+
+ .m-30 {
+ margin: 30px
+ }
+
+ .m-t-30 {
+ margin-top: 30px
+ }
+
+ .m-r-30 {
+ margin-right: 30px
+ }
+
+ .m-b-30 {
+ margin-bottom: 30px
+ }
+
+ .m-l-30 {
+ margin-left: 30px
+ }
+
+ .m-v-30 {
+ margin: 30px 0
+ }
+
+ .m-h-30 {
+ margin: 0 30px
+ }
+
+ .m-35 {
+ margin: 35px
+ }
+
+ .m-t-35 {
+ margin-top: 35px
+ }
+
+ .m-r-35 {
+ margin-right: 35px
+ }
+
+ .m-b-35 {
+ margin-bottom: 35px
+ }
+
+ .m-l-35 {
+ margin-left: 35px
+ }
+
+ .m-v-35 {
+ margin: 35px 0
+ }
+
+ .m-h-35 {
+ margin: 0 35px
+ }
+
+ .m-40 {
+ margin: 40px
+ }
+
+ .m-t-40 {
+ margin-top: 40px
+ }
+
+ .m-r-40 {
+ margin-right: 40px
+ }
+
+ .m-b-40 {
+ margin-bottom: 40px
+ }
+
+ .m-l-40 {
+ margin-left: 40px
+ }
+
+ .m-v-40 {
+ margin: 40px 0
+ }
+
+ .m-h-40 {
+ margin: 0 40px
+ }
+
+ .m-45 {
+ margin: 45px
+ }
+
+ .m-t-45 {
+ margin-top: 45px
+ }
+
+ .m-r-45 {
+ margin-right: 45px
+ }
+
+ .m-b-45 {
+ margin-bottom: 45px
+ }
+
+ .m-l-45 {
+ margin-left: 45px
+ }
+
+ .m-v-45 {
+ margin: 45px 0
+ }
+
+ .m-h-45 {
+ margin: 0 45px
+ }
+
+ .m-50 {
+ margin: 50px
+ }
+
+ .m-t-50 {
+ margin-top: 50px
+ }
+
+ .m-r-50 {
+ margin-right: 50px
+ }
+
+ .m-b-50 {
+ margin-bottom: 50px
+ }
+
+ .m-l-50 {
+ margin-left: 50px
+ }
+
+ .m-v-50 {
+ margin: 50px 0
+ }
+
+ .m-h-50 {
+ margin: 0 50px
+ }
+
+ .m-55 {
+ margin: 55px
+ }
+
+ .m-t-55 {
+ margin-top: 55px
+ }
+
+ .m-r-55 {
+ margin-right: 55px
+ }
+
+ .m-b-55 {
+ margin-bottom: 55px
+ }
+
+ .m-l-55 {
+ margin-left: 55px
+ }
+
+ .m-v-55 {
+ margin: 55px 0
+ }
+
+ .m-h-55 {
+ margin: 0 55px
+ }
+
+ .m-60 {
+ margin: 60px
+ }
+
+ .m-t-60 {
+ margin-top: 60px
+ }
+
+ .m-r-60 {
+ margin-right: 60px
+ }
+
+ .m-b-60 {
+ margin-bottom: 60px
+ }
+
+ .m-l-60 {
+ margin-left: 60px
+ }
+
+ .m-v-60 {
+ margin: 60px 0
+ }
+
+ .m-h-60 {
+ margin: 0 60px
+ }
+
+ .m-65 {
+ margin: 65px
+ }
+
+ .m-t-65 {
+ margin-top: 65px
+ }
+
+ .m-r-65 {
+ margin-right: 65px
+ }
+
+ .m-b-65 {
+ margin-bottom: 65px
+ }
+
+ .m-l-65 {
+ margin-left: 65px
+ }
+
+ .m-v-65 {
+ margin: 65px 0
+ }
+
+ .m-h-65 {
+ margin: 0 65px
+ }
+
+ .m-70 {
+ margin: 70px
+ }
+
+ .m-t-70 {
+ margin-top: 70px
+ }
+
+ .m-r-70 {
+ margin-right: 70px
+ }
+
+ .m-b-70 {
+ margin-bottom: 70px
+ }
+
+ .m-l-70 {
+ margin-left: 70px
+ }
+
+ .m-v-70 {
+ margin: 70px 0
+ }
+
+ .m-h-70 {
+ margin: 0 70px
+ }
+
+ .m-75 {
+ margin: 75px
+ }
+
+ .m-t-75 {
+ margin-top: 75px
+ }
+
+ .m-r-75 {
+ margin-right: 75px
+ }
+
+ .m-b-75 {
+ margin-bottom: 75px
+ }
+
+ .m-l-75 {
+ margin-left: 75px
+ }
+
+ .m-v-75 {
+ margin: 75px 0
+ }
+
+ .m-h-75 {
+ margin: 0 75px
+ }
+
+ .m-80 {
+ margin: 80px
+ }
+
+ .m-t-80 {
+ margin-top: 80px
+ }
+
+ .m-r-80 {
+ margin-right: 80px
+ }
+
+ .m-b-80 {
+ margin-bottom: 80px
+ }
+
+ .m-l-80 {
+ margin-left: 80px
+ }
+
+ .m-v-80 {
+ margin: 80px 0
+ }
+
+ .m-h-80 {
+ margin: 0 80px
+ }
+
+ .no-m {
+ margin: 0px
+ }
+
+ .no-m-t {
+ margin-top: 0px
+ }
+
+ .no-m-r {
+ margin-right: 0px
+ }
+
+ .no-m-b {
+ margin-bottom: 0px
+ }
+
+ .no-m-l {
+ margin-left: 0px
+ }
+
+ .no-m-v {
+ margin: 0px 0
+ }
+
+ .no-m-h {
+ margin: 0 0px
+ }
+
+ .no-margin {
+ margin: 0 !important
+ }
+
+ .no-m-lr,.no-m-rl {
+ margin-left: 0 !important;
+ margin-right: 0 !important
+ }
+
+ .no-m-tb,.no-m-bt {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important
+ }
+
+ .m-t-only {
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+ margin-bottom: 0 !important
+ }
+
+ .m-b-only {
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+ margin-top: 0 !important
+ }
+
+ .m-l-only {
+ margin-right: 0 !important;
+ margin-top: 0 !important;
+ margin-bottom: 0 !important
+ }
+
+ .m-r-only {
+ margin-left: 0 !important;
+ margin-top: 0 !important;
+ margin-bottom: 0 !important
+ }
+
+ .m-auto {
+ margin-left: auto;
+ margin-right: auto
+ }
+
+ .no-padding {
+ padding: 0 !important
+ }
+
+ .no-pad-lr,.no-pad-rl {
+ padding-left: 0 !important;
+ padding-right: 0 !important
+ }
+
+ .no-pad-tb,.no-pad-bt {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important
+ }
+
+ .pad-t-only {
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+ padding-bottom: 0 !important
+ }
+
+ .pad-b-only {
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+ padding-top: 0 !important
+ }
+
+ .pad-l-only {
+ padding-right: 0 !important;
+ padding-top: 0 !important;
+ padding-bottom: 0 !important
+ }
+
+ .pad-r-only {
+ padding-left: 0 !important;
+ padding-top: 0 !important;
+ padding-bottom: 0 !important
+ }
+
+ .no-border {
+ border: none !important
+ }
+
+ .no-border-t {
+ border-top: none !important
+ }
+
+ .no-border-r {
+ border-right: none !important
+ }
+
+ .no-border-b {
+ border-bottom: none !important
+ }
+
+ .no-border-l {
+ border-left: none !important
+ }
+
+ .no-border-lr,.no-border-rl {
+ border-left: none !important;
+ border-right: none !important
+ }
+
+ .no-border-tb,.no-border-bt {
+ border-top: none !important;
+ border-bottom: none !important
+ }
+
+ .no-border-tl,.no-border-lt {
+ border-top: none !important;
+ border-left: none !important
+ }
+
+ .no-border-tr,.no-border-rt {
+ border-top: none !important;
+ border-right: none !important
+ }
+
+ .no-border-bl,.no-border-lb {
+ border-bottom: none !important;
+ border-left: none !important
+ }
+
+ .no-border-br,.no-border-rb {
+ border-bottom: none !important;
+ border-right: none !important
+ }
+
+ .border-dashed {
+ border-style: dashed !important
+ }
+
+ .border-dotted {
+ border-style: dashed !important
+ }
+
+ .border-black {
+ border-color: black
+ }
+
+ .border-light-grey {
+ border-color: #e5e5e5
+ }
+
+ .border-medium-grey {
+ border-color: #cccccc
+ }
+
+ .border-grey {
+ border-color: #999999
+ }
+
+ .border-dark-grey {
+ border-color: #222222
+ }
+
+ .border-white,.border-fff {
+ border-color: #fff
+ }
+
+ .bg-black {
+ background-color: #000
+ }
+
+ .bg-light-grey {
+ background-color: #e5e5e5
+ }
+
+ .bg-medium-grey {
+ background-color: #cccccc
+ }
+
+ .bg-grey {
+ background-color: #999999
+ }
+
+ .bg-dark-grey {
+ background-color: #222222
+ }
+
+ .bg-white,.bg-fff {
+ background-color: white
+ }
+
+ .bg-none,.no-bg {
+ background: none;
+ background-image: none;
+ background-color: transparent
+ }
+
+ .bg-facebook {
+ background-color: #47639E
+ }
+
+ .bg-twitter {
+ background-color: #02A8F3
+ }
+
+ .lh-1 {
+ line-height: 1 !important
+ }
+
+ .lh-13 {
+ line-height: 1.3 !important
+ }
+
+ .lh-15 {
+ line-height: 1.5 !important
+ }
+
+ .bold,.strong {
+ font-weight: bold
+ }
+
+ .no-bold {
+ font-weight: normal
+ }
+
+ .italic,.em {
+ font-style: italic
+ }
+
+ .strike {
+ text-decoration: line-through
+ }
+
+ .normal {
+ font-weight: normal;
+ font-style: normal
+ }
+
+ .uppercase {
+ text-transform: uppercase
+ }
+
+ .text-left {
+ text-align: left !important
+ }
+
+ .text-center {
+ text-align: center !important
+ }
+
+ .text-right {
+ text-align: right !important
+ }
+
+ .mw400 {
+ max-width: 400px
+ }
+
+ .mw500 {
+ max-width: 500px
+ }
+
+ .mw600 {
+ max-width: 600px
+ }
+
+ .w100 {
+ font-weight: 100
+ }
+
+ .w200 {
+ font-weight: 200
+ }
+
+ .w300 {
+ font-weight: 300
+ }
+
+ .w400 {
+ font-weight: 400
+ }
+
+ .w500 {
+ font-weight: 500
+ }
+
+ .w600 {
+ font-weight: 600
+ }
+
+ .w700 {
+ font-weight: 700
+ }
+
+ .w800 {
+ font-weight: 800
+ }
+
+ .w900 {
+ font-weight: 900
+ }
+
+ .f9 {
+ font-size: 9px
+ }
+
+ .f10 {
+ font-size: 10px
+ }
+
+ .f11 {
+ font-size: 11px
+ }
+
+ .f12 {
+ font-size: 12px
+ }
+
+ .f13 {
+ font-size: 13px
+ }
+
+ .f14 {
+ font-size: 14px
+ }
+
+ .f15 {
+ font-size: 15px
+ }
+
+ .f16 {
+ font-size: 16px
+ }
+
+ .f17 {
+ font-size: 17px
+ }
+
+ .f18 {
+ font-size: 18px;
+ line-height: 30px
+ }
+
+ .f19 {
+ font-size: 19px
+ }
+
+ .f20 {
+ font-size: 20px
+ }
+
+ .f30 {
+ font-size: 30px
+ }
+
+ .f40 {
+ font-size: 40px
+ }
+
+ .f50 {
+ font-size: 50px
+ }
+
+ .f60 {
+ font-size: 60px
+ }
+
+ .size-small {
+ font-size: 75% !important
+ }
+
+ .size-normal {
+ font-size: 100% !important
+ }
+
+ .size-medium {
+ font-size: 125% !important
+ }
+
+ .size-big,.size-large {
+ font-size: 150% !important
+ }
+
+ .size-huge {
+ font-size: 200% !important
+ }
+
+ .inherit {
+ font: inherit
+ }
+
+ .no-wrap {
+ white-space: nowrap
+ }
+
+ .auto-cell-size {
+ white-space: nowrap;
+ width: 1%
+ }
+
+ .ls-0 {
+ letter-spacing: -3px;
+ margin-left: 10px;
+ margin-right: 10px;
+ white-space: nowrap
+ }
+
+ .no-ul,.no-ul:hover,.no-ul a,.no-ul a:hover {
+ text-decoration: none
+ }
+
+ .color-inherit {
+ color: inherit
+ }
+
+ .clear {
+ clear: both
+ }
+
+ .clear:after {
+ display: table;
+ content: " ";
+ clear: both
+ }
+
+ .f-left {
+ float: left
+ }
+
+ .f-right {
+ float: right
+ }
+
+ .f-none {
+ float: none
+ }
+
+ .block {
+ display: block !important
+ }
+
+ .inline {
+ display: inline !important
+ }
+
+ .in-block {
+ display: inline-block !important;
+ *display: inline !important;
+ zoom:1}
+
+ .d-none,.hide,.hidden {
+ display: none !important
+ }
+
+ .rel,.relative {
+ position: relative !important
+ }
+
+ .abs,.absolute {
+ position: absolute
+ }
+
+ .fixed {
+ position: fixed
+ }
+
+ .t-0 {
+ top: 0
+ }
+
+ .b-0 {
+ bottom: 0
+ }
+
+ .l-0 {
+ left: 0
+ }
+
+ .r-0 {
+ right: 0
+ }
+
+ .tb-0 {
+ top: 0;
+ bottom: 0
+ }
+
+ .lr-0 {
+ left: 0;
+ right: 0
+ }
+
+ .v-mid,.v-m {
+ vertical-align: middle !important
+ }
+
+ .v-top,.v-t {
+ vertical-align: top !important
+ }
+
+ .v-bottom,.v-b {
+ vertical-align: bottom !important
+ }
+
+ .v-super {
+ vertical-align: super !important
+ }
+
+ .full-input input,.full-input select,.full-input textarea {
+ width: 100%
+ }
+
+ .normal input,.normal select,.normal textarea,.full-input input[type=checkbox],.full-input input[type=radio] {
+ width: auto
+ }
+
+ .no-shadow {
+ box-shadow: none !important
+ }
+
+ .no-border-radius {
+ border-radius: 0 !important
+ }
+
+ .overflow-x-scroll {
+ max-width: 100%;
+ overflow-x: auto
+ }
+
+ .overflow-no {
+ overflow: hidden
+ }
+
+ .overflow-auto {
+ overflow: auto
+ }
+
+ .overflow-scroll {
+ overflow: scroll
+ }
+
+ .relative {
+ position: relative
+ }
+
+ .pointer {
+ cursor: pointer
+ }
+
+ .fullwidth {
+ width: 100%
+ }
+
+ .nolist {
+ list-style: none
+ }
+
+ .text-shadow {
+ text-shadow: 1px 1px 1px rgba(0,0,0,0.4)
+ }
+
+ .radius3 {
+ border-radius: 3px
+ }
+
+ .radius5 {
+ border-radius: 5px
+ }
+
+ .radius10 {
+ border-radius: 10px
+ }
+
+ .text-rgb-2 {
+ color: rgba(0,0,0,0.2)
+ }
+
+ .text-rgb-3 {
+ color: rgba(0,0,0,0.3)
+ }
+
+ .text-rgb-4 {
+ color: rgba(0,0,0,0.4)
+ }
+
+ .text-rgb-5 {
+ color: rgba(0,0,0,0.5)
+ }
+
+ textarea {
+ resize: both
+ }
+
+ textarea.vertical {
+ resize: vertical
+ }
+
+ textarea.horizontal {
+ resize: vertical
+ }
+
+ textarea.noresize {
+ resize: none
+ }
\ No newline at end of file
diff --git a/src/main.scss b/src/main.scss
index 2c40e0808..be84905c0 100644
--- a/src/main.scss
+++ b/src/main.scss
@@ -8,67 +8,6 @@
// 3rd party libraries
-// Other imports
-
+// Global Imports
/* You can add global styles to this file, and also import other style files */
-body, html {
- width: 100%;
- height: 100%;
- position: relative;
- overflow: hidden;
- -webkit-tap-highlight-color: transparent;
- min-height: 100%;
- -webkit-font-smoothing: antialiased;
-}
-
-html {
- font-size: 16px;
-}
-
-body {
- margin: 0;
- padding: 0;
- font-weight: 400;
- font-size: .875rem;
- color: rgba(0,0,0,.87);
- line-height: 1.5;
- font-family: Roboto, Helvetica Neue, sans-serif;
-}
-
-div {
- box-sizing: border-box;
-}
-
-.mat-icon-button.xs-button {
- height: 20px;
- width: 20px;
- line-height: 20px;
-}
-
-.mat-icon-button.xs-button .mat-icon {
- font-size: 16px;
- line-height: 20px;
- height: 20px;
- width: 20px;
-}
-
-.text-muted {
- color: rgba(0, 0, 0, .54);
-}
-
-.mb-05 {
- margin-bottom: .5rem;
-}
-
-.mr-05 {
- margin-right: .5rem;
-}
-
-.mb-1 {
- margin-bottom: 1rem;
-}
-
-.mt-1 {
- margin-top: 1rem;
-}
-
+@import "assets/styles/_helper.scss";