Commit 138a72b4 by amalk

initial push

parents
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore
*~
*.sw[mnpcod]
*.log
*.tmp
*.tmp.*
log.txt
*.sublime-project
*.sublime-workspace
.vscode/
npm-debug.log*
.idea/
.ionic/
.sourcemaps/
.sass-cache/
.tmp/
.versions/
coverage/
www/
dist/
node_modules/
tmp/
temp/
platforms/
plugins/
plugins/android.json
plugins/ios.json
$RECYCLE.BIN/
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"defaultProject": "app",
"newProjectRoot": "projects",
"projects": {
"app": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "www",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
{
"glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./svg"
}
],
"styles": [
{
"input": "src/theme/variables.scss"
},
{
"input": "src/global.scss"
}
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
},
"ci": {
"progress": false
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
},
"ci": {
"progress": false
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "app:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"styles": [],
"scripts": [],
"assets": [
{
"glob": "favicon.ico",
"input": "src/",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
]
},
"configurations": {
"ci": {
"progress": false,
"watch": false
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"devServerTarget": "app:serve:production"
},
"ci": {
"devServerTarget": "app:serve:ci"
}
}
},
"ionic-cordova-build": {
"builder": "@ionic/angular-toolkit:cordova-build",
"options": {
"browserTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
}
}
},
"ionic-cordova-serve": {
"builder": "@ionic/angular-toolkit:cordova-serve",
"options": {
"cordovaBuildTarget": "app:ionic-cordova-build",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"cordovaBuildTarget": "app:ionic-cordova-build:production",
"devServerTarget": "app:serve:production"
}
}
}
}
}
},
"cli": {
"defaultCollection": "@ionic/angular-toolkit"
},
"schematics": {
"@ionic/angular-toolkit:component": {
"styleext": "scss"
},
"@ionic/angular-toolkit:page": {
"styleext": "scss"
}
}
}
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
onPrepare() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
};
import { AppPage } from './app.po';
describe('new App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should be blank', () => {
page.navigateTo();
expect(page.getParagraphText()).toContain('The world is your oyster.');
});
});
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.deepCss('app-root ion-content')).getText();
}
}
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}
{
"name": "getmeretailer",
"integrations": {},
"type": "angular"
}
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "getmeretailer",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@agm/core": "^1.0.0-beta.7",
"@angular/common": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/core": "~8.1.2",
"@angular/forms": "~8.1.2",
"@angular/platform-browser": "~8.1.2",
"@angular/platform-browser-dynamic": "~8.1.2",
"@angular/router": "~8.1.2",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.7.1",
"agm-direction": "^0.7.8",
"core-js": "^2.5.4",
"rxjs": "~6.5.1",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/architect": "~0.801.2",
"@angular-devkit/build-angular": "~0.801.2",
"@angular-devkit/core": "~8.1.2",
"@angular-devkit/schematics": "~8.1.2",
"@angular/cli": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/compiler-cli": "~8.1.2",
"@angular/language-service": "~8.1.2",
"@ionic/angular-toolkit": "~2.0.0",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "^5.0.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
},
"description": "An Ionic project"
}
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{ path: '', redirectTo: 'login', pathMatch: 'full' },
{ path: 'login', loadChildren: './login/login.module#LoginPageModule' },
{ path: 'signup', loadChildren: './signup/signup.module#SignupPageModule' },
{ path: 'verification', loadChildren: './verification/verification.module#VerificationPageModule' },
{ path: 'password', loadChildren: './password/password.module#PasswordPageModule' },
{ path: 'forgotpass', loadChildren: './forgotpass/forgotpass.module#ForgotpassPageModule' },
{ path: 'otp', loadChildren: './otp/otp.module#OtpPageModule' },
{ path: 'profile', loadChildren: './profile/profile.module#ProfilePageModule' },
{ path: 'general', loadChildren: './general/general.module#GeneralPageModule' },
{ path: 'chat', loadChildren: './chat/chat.module#ChatPageModule' },
{ path: 'home', loadChildren: './home/home.module#HomePageModule' },
{ path: 'pastsales', loadChildren: './pastsales/pastsales.module#PastsalesPageModule' },
{ path: 'trackorder', loadChildren: './trackorder/trackorder.module#TrackorderPageModule' }
];
@NgModule({
imports: [
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
],
exports: [RouterModule]
})
export class AppRoutingModule { }
<ion-app>
<ion-router-outlet></ion-router-outlet>
</ion-app>
@import url('https://fonts.googleapis.com/css?family=Abel&display=swap');
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
* {
font-family: 'Abel', sans-serif;
-webkit-font-smoothing: antialiased;
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { TestBed, async } from '@angular/core/testing';
import { Platform } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
let statusBarSpy, splashScreenSpy, platformReadySpy, platformSpy;
beforeEach(async(() => {
statusBarSpy = jasmine.createSpyObj('StatusBar', ['styleDefault']);
splashScreenSpy = jasmine.createSpyObj('SplashScreen', ['hide']);
platformReadySpy = Promise.resolve();
platformSpy = jasmine.createSpyObj('Platform', { ready: platformReadySpy });
TestBed.configureTestingModule({
declarations: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
providers: [
{ provide: StatusBar, useValue: statusBarSpy },
{ provide: SplashScreen, useValue: splashScreenSpy },
{ provide: Platform, useValue: platformSpy },
],
}).compileComponents();
}));
it('should create the app', () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
});
it('should initialize the app', async () => {
TestBed.createComponent(AppComponent);
expect(platformSpy.ready).toHaveBeenCalled();
await platformReadySpy;
expect(statusBarSpy.styleDefault).toHaveBeenCalled();
expect(splashScreenSpy.hide).toHaveBeenCalled();
});
// TODO: add more tests!
});
import { Component } from '@angular/core';
import { Platform } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
@Component({
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.scss']
})
export class AppComponent {
constructor(
private platform: Platform,
private splashScreen: SplashScreen,
private statusBar: StatusBar
) {
this.initializeApp();
}
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.styleDefault();
this.splashScreen.hide();
this.statusBar.overlaysWebView(false);
});
}
}
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouteReuseStrategy } from '@angular/router';
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule],
providers: [
StatusBar,
SplashScreen,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
],
bootstrap: [AppComponent]
})
export class AppModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { ChatPage } from './chat.page';
const routes: Routes = [
{
path: '',
component: ChatPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [ChatPage]
})
export class ChatPageModule {}
<ion-header>
<ion-toolbar>
<ion-title>chat</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ChatPage } from './chat.page';
describe('ChatPage', () => {
let component: ChatPage;
let fixture: ComponentFixture<ChatPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ChatPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ChatPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-chat',
templateUrl: './chat.page.html',
styleUrls: ['./chat.page.scss'],
})
export class ChatPage implements OnInit {
constructor() { }
ngOnInit() {
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { ForgotpassPage } from './forgotpass.page';
const routes: Routes = [
{
path: '',
component: ForgotpassPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [ForgotpassPage]
})
export class ForgotpassPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>FORGOT PASSWORD</h4>
</div>
<div class="clear"></div>
</div>
<div class="login_wrapper">
<div class="login_inner">
<div class="row">
<div class="log_label">Type your Rider ID / Phone Number</div>
<ion-input placeholder="Type here" type="text"></ion-input>
</div>
<div class="row">
<button class="login_btn" (click)="goToPage('verification')">
GET OTP
</button>
</div>
</div>
</div>
</ion-content>
\ No newline at end of file
.login_wrapper {
padding: 15px;
.logo_wrapper {
width: 100%;
text-align: center;
img {
width: 170px;
}
}
.login_inner {
width: 90%;
padding-top: 20px;
margin: 0 auto;
.row {
padding-bottom: 25px;
ion-input {
.native-input {
padding-left: 0px;
}
border: 1px solid rgba(215, 213, 228, 1);
text-align: center;
height: 45px;
border-radius: 8px;
color: rgba(176, 174, 199, 1);
font-size: 16px;
}
.login_btn {
height: 45px;
width: 100%;
border-radius: 8px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
font-size: 16px;
margin-bottom: 10%;
}
h4 {
color: rgba(41, 40, 91, 1);
text-align: center;
}
.log_label {
color: #3b394d;
font-weight: bolder;
margin-bottom: 10px;
}
h6 {
color: rgba(41, 40, 91, 1);
span {
position: relative;
top: 5px;
}
a {
color: rgba(41, 40, 91, 1);
text-decoration: none;
font-weight: 900;
}
.styled-checkbox {
position: absolute; // take it out of document flow
opacity: 0; // hide it
&+label {
position: relative;
cursor: pointer;
padding: 0;
}
// Box.
&+label:before {
content: '';
margin-right: 10px;
display: inline-block;
vertical-align: text-top;
width: 30px;
height: 30px;
border-radius: 10px;
background: white;
border: 1px solid rgba(215, 213, 228, 1);
}
// Box hover
// Box checked
&:checked+label:before {
background: #29285b;
}
// Disabled state label.
&:disabled+label {
color: #b8b8b8;
cursor: auto;
}
// Disabled box.
&:disabled+label:before {
box-shadow: none;
background: #ddd;
}
// Checkmark. Could be replaced with an image
&:checked+label:after {
content: '';
position: absolute;
left: 10px;
top: 15px;
background: white;
width: 2px;
height: 2px;
box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
transform: rotate(45deg);
}
}
}
}
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ForgotpassPage } from './forgotpass.page';
describe('ForgotpassPage', () => {
let component: ForgotpassPage;
let fixture: ComponentFixture<ForgotpassPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ForgotpassPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ForgotpassPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-forgotpass',
templateUrl: './forgotpass.page.html',
styleUrls: ['./forgotpass.page.scss'],
})
export class ForgotpassPage implements OnInit {
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { GeneralPage } from './general.page';
const routes: Routes = [
{
path: '',
component: GeneralPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [GeneralPage]
})
export class GeneralPageModule {}
<ion-header>
<ion-toolbar>
<ion-title>general</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { GeneralPage } from './general.page';
describe('GeneralPage', () => {
let component: GeneralPage;
let fixture: ComponentFixture<GeneralPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ GeneralPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(GeneralPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-general',
templateUrl: './general.page.html',
styleUrls: ['./general.page.scss'],
})
export class GeneralPage implements OnInit {
constructor() { }
ngOnInit() {
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { HomePage } from './home.page';
const routes: Routes = [
{
path: '',
component: HomePage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [HomePage]
})
export class HomePageModule {}
<ion-content>
<div class="home_header">
<div class="shop_image">
</div>
<div class="shop_detail">
<h4>LULU FASHION STORE</h4>
<p>860, Tasmania, Australia..</p>
</div>
<div class="shop_rating">
<span><img src="../assets/star.png"></span>
<span>4</span>
</div>
<div class="clear"></div>
</div>
<div class="notification new_order" [hidden]="currentIndex ==3">
YOU HAVE NEW ORDER
</div>
<div class="notification no_order" [hidden]="currentIndex !=3">
NO PENDING ORDERS
</div>
<div class="incoming_order">
<ion-slides pager="false" [options]="orderOptions" (ionSlideDidChange)="slideChanged()" [hidden]="currentIndex ==3">
<ion-slide>
<div class="incoming_order_wrapper">
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Women's Fashion</p>
<ul>
<li>Green</li>
<li>Small</li>
</ul>
<h6>
<span class="floatLeft">Quantity:</span>
<span class="floatLeft">
<div class="quality">1</div>
</span><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
</div>
</div>
<div class="btn_bay">
<button class="reject">REJECT</button>
<button class="accept" (click)="next()">ACCEPT</button>
</div>
</div>
</ion-slide>
<ion-slide>
<div class="incoming_order_wrapper">
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Women's Fashion</p>
<ul>
<li>Green</li>
<li>Small</li>
</ul>
<h6>
<span class="floatLeft">Quantity:</span>
<span class="floatLeft">
<div class="quality">1</div>
</span><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
</div>
</div>
<div class="order_status_banner">
<hr>
<ul>
<li class="textLeft green"><span>Order Accepted</span></li>
<li class="textCenter"><span>Product Packed</span></li>
<li class="textRight"><span>Rider Picked</span></li>
</ul>
</div>
<div class="btn_bay">
<button class="track" (click)="goToPage('trackorder')">03<span>Mnt</span> <strong>TRACK
RIDER</strong></button>
<button class="marked" (click)="next()">MARKED AS PACKED</button>
</div>
</div>
</ion-slide>
<ion-slide>
<div class="incoming_order_wrapper">
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Women's Fashion</p>
<ul>
<li>Green</li>
<li>Small</li>
</ul>
<h6>
<span class="floatLeft">Quantity:</span>
<span class="floatLeft">
<div class="quality">1</div>
</span><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
</div>
</div>
<div class="order_status_banner">
<hr>
<ul>
<li class="textLeft green"><span>Order Accepted</span></li>
<li class="textCenter green"><span>Product Packed</span></li>
<li class="textRight"><span>Rider Picked</span></li>
</ul>
</div>
<div class="btn_bay">
<button class="track" (click)="goToPage('trackorder')">03<span>Mnt</span> <strong>TRACK
RIDER</strong></button>
<button class="marked" (click)="next()">RIDER PICKED</button>
</div>
</div>
</ion-slide>
<ion-slide></ion-slide>
</ion-slides>
</div>
<div class="order_header">
<h5 class="floatLeft">PAST SALES</h5>
<button class="view_btn floatRight" (click)="goToPage('pastsales')"> SEE ALL</button>
<div class="clear"></div>
</div>
<div class="past_orders">
<ul>
<li>
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Green, small <strong>1</strong></p>
<h6><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
<ion-row>
<ion-col class="p0">
<h4>ORID00678</h4>
<p>Today, 07:00 PM</p>
</ion-col>
<ion-col class="p0 textRight">
<button class="finished">Finished</button>
</ion-col>
</ion-row>
</div>
</div>
</li>
<li>
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Green, small <strong>1</strong></p>
<h6><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
<ion-row>
<ion-col class="p0">
<h4>ORID00678</h4>
<p>Today, 07:00 PM</p>
</ion-col>
<ion-col class="p0 textRight">
<button class="cancelled">Cancelled</button>
</ion-col>
</ion-row>
</div>
</div>
</li>
</ul>
</div>
</ion-content>
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HomePage } from './home.page';
describe('HomePage', () => {
let component: HomePage;
let fixture: ComponentFixture<HomePage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ HomePage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(HomePage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit, ViewChild, } from '@angular/core';
import { IonSlides } from '@ionic/angular';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-home',
templateUrl: './home.page.html',
styleUrls: ['./home.page.scss'],
})
export class HomePage implements OnInit {
@ViewChild(IonSlides, { static: false }) slides: IonSlides;
currentIndex: any;
constructor(
private router: Router, private route: ActivatedRoute
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
orderOptions = {
initialSlide: 1,
speed: 500,
allowTouchMove: false
};
next() {
this.slides.slideNext();
}
prev() {
this.slides.slidePrev();
}
slideChanged() {
this.slides.getActiveIndex().then(index => {
this.currentIndex = index;
console.log(this.currentIndex);
});
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { LoginPage } from './login.page';
const routes: Routes = [
{
path: '',
component: LoginPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [LoginPage]
})
export class LoginPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn floatLeft">
</button>
<div class="nav_title floatLeft">
<h4>RETAILER LOGIN</h4>
</div>
<div class="clear"></div>
</div>
<div class="login_wrapper">
<div class="logo_wrapper">
<img src="../../assets/[email protected]">
</div>
<div class="login_inner">
<div class="row">
<ion-input placeholder="Retailer ID/Phone Number"></ion-input>
</div>
<div class="row">
<ion-input placeholder="Password" type="password "></ion-input>
</div>
<div class="row">
<button class="login_btn" (click)="goToPage('home')">
LOGIN
</button>
</div>
<div class="row">
<h4 (click)="goToPage('forgotpass')"><strong>FORGOT PASSWORD</strong></h4>
<h4>Don't have an Account ? <strong (click)="goToPage('signup')">SIGN UP</strong></h4>
</div>
</div>
</div>
</ion-content>
\ No newline at end of file
.login_wrapper {
padding: 15px;
.logo_wrapper {
width: 100%;
text-align: center;
padding-top: 15%;
img {
width: 170px;
}
}
.login_inner {
width: 90%;
padding-top: 20px;
margin: 0 auto;
.row {
padding-bottom: 25px;
ion-input {
.native-input {
padding-left: 0px;
}
border: 1px solid rgba(215, 213, 228, 1);
text-align: center;
height: 45px;
border-radius: 8px;
color: rgba(176, 174, 199, 1);
font-size: 16px;
}
.login_btn {
height: 45px;
width: 100%;
border-radius: 8px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
font-size: 16px;
margin-bottom: 10%;
}
h4 {
color: rgba(41, 40, 91, 1);
text-align: center;
}
}
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LoginPage } from './login.page';
describe('LoginPage', () => {
let component: LoginPage;
let fixture: ComponentFixture<LoginPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ LoginPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(LoginPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-login',
templateUrl: './login.page.html',
styleUrls: ['./login.page.scss'],
})
export class LoginPage implements OnInit {
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { OtpPage } from './otp.page';
const routes: Routes = [
{
path: '',
component: OtpPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [OtpPage]
})
export class OtpPageModule {}
<ion-header>
<ion-toolbar>
<ion-title>otp</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { OtpPage } from './otp.page';
describe('OtpPage', () => {
let component: OtpPage;
let fixture: ComponentFixture<OtpPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ OtpPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(OtpPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-otp',
templateUrl: './otp.page.html',
styleUrls: ['./otp.page.scss'],
})
export class OtpPage implements OnInit {
constructor() { }
ngOnInit() {
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { PasswordPage } from './password.page';
const routes: Routes = [
{
path: '',
component: PasswordPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [PasswordPage]
})
export class PasswordPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>PASSWORD</h4>
</div>
<div class="clear"></div>
</div>
<div class="login_wrapper">
<div class="login_inner">
<div class="row">
<div class="log_label">Create a Password</div>
<ion-input placeholder="Your Password" type="Password"></ion-input>
</div>
<div class="row">
<div class="log_label">Confirm Password</div>
<ion-input placeholder="Your Password" type="Password"></ion-input>
</div>
<div class="row">
<button class="login_btn" (click)="goToPage('login')">
SUBMIT
</button>
</div>
</div>
</div>
</ion-content>
\ No newline at end of file
.login_wrapper {
padding: 15px;
.logo_wrapper {
width: 100%;
text-align: center;
img {
width: 170px;
}
}
.login_inner {
width: 90%;
padding-top: 20px;
margin: 0 auto;
.row {
padding-bottom: 25px;
ion-input {
.native-input {
padding-left: 0px;
}
border: 1px solid rgba(215, 213, 228, 1);
text-align: center;
height: 45px;
border-radius: 8px;
color: rgba(176, 174, 199, 1);
font-size: 16px;
}
.login_btn {
height: 45px;
width: 100%;
border-radius: 8px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
font-size: 16px;
margin-bottom: 10%;
}
h4 {
color: rgba(41, 40, 91, 1);
text-align: center;
}
.log_label {
color: #3b394d;
font-weight: bolder;
margin-bottom: 10px;
}
h6 {
color: rgba(41, 40, 91, 1);
span {
position: relative;
top: 5px;
}
a {
color: rgba(41, 40, 91, 1);
text-decoration: none;
font-weight: 900;
}
.styled-checkbox {
position: absolute; // take it out of document flow
opacity: 0; // hide it
&+label {
position: relative;
cursor: pointer;
padding: 0;
}
// Box.
&+label:before {
content: '';
margin-right: 10px;
display: inline-block;
vertical-align: text-top;
width: 30px;
height: 30px;
border-radius: 10px;
background: white;
border: 1px solid rgba(215, 213, 228, 1);
}
// Box hover
// Box checked
&:checked+label:before {
background: #29285b;
}
// Disabled state label.
&:disabled+label {
color: #b8b8b8;
cursor: auto;
}
// Disabled box.
&:disabled+label:before {
box-shadow: none;
background: #ddd;
}
// Checkmark. Could be replaced with an image
&:checked+label:after {
content: '';
position: absolute;
left: 10px;
top: 15px;
background: white;
width: 2px;
height: 2px;
box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
transform: rotate(45deg);
}
}
}
}
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PasswordPage } from './password.page';
describe('PasswordPage', () => {
let component: PasswordPage;
let fixture: ComponentFixture<PasswordPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ PasswordPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PasswordPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-password',
templateUrl: './password.page.html',
styleUrls: ['./password.page.scss'],
})
export class PasswordPage implements OnInit {
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { PastsalesPage } from './pastsales.page';
const routes: Routes = [
{
path: '',
component: PastsalesPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [PastsalesPage]
})
export class PastsalesPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>PAST SALES</h4>
</div>
<div class="clear"></div>
</div>
<div class="past_orders">
<div class="date_head">
<div class="date_btn"></div>
<p>JUNE 12TH 2019</p>
<div class="clear"></div>
</div>
<ul>
<li>
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Green, small <strong>1</strong></p>
<h6><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
<ion-row>
<ion-col class="p0">
<h4>ORID00678</h4>
<p>Today, 07:00 PM</p>
</ion-col>
<ion-col class="p0 textRight">
<button class="finished">Finished</button>
</ion-col>
</ion-row>
</div>
</div>
</li>
<li>
<div class="incoming_detail">
<div class="image">
</div>
<div class="image_detail">
<h5>European Style V Neck</h5>
<p>Green, small <strong>1</strong></p>
<h6><strong class="floatLeft"> AU$88.00</strong>
<span class="payment floatLeft">Paid</span>
<div class="clear"></div>
</h6>
<ion-row>
<ion-col class="p0">
<h4>ORID00678</h4>
<p>Today, 07:00 PM</p>
</ion-col>
<ion-col class="p0 textRight">
<button class="cancelled">Cancelled</button>
</ion-col>
</ion-row>
</div>
</div>
</li>
</ul>
</div>
</ion-content>
\ No newline at end of file
.past_orders {
width: 100%;
.date_head {
width: 100%;
border-bottom: 1px solid rgba(215, 213, 228, 1);
position: fixed;
top: 55px;
left: 0px;
right: 0px;
background: #fff;
P {
margin: 0px;
padding: 0px;
width: calc(100% - 80px);
float: right;
text-align: center;
color: rgba(59, 57, 77, 1);
font-size: 18px;
padding: 10px;
}
.date_btn {
width: 40px;
height: 40px;
float: right;
background-position: center;
background-image: url("../../assets/subtraction.png");
background-size: 18px;
background-repeat: no-repeat;
}
}
ul {
margin: 0px;
padding: 15px;
padding-top: 60px;
li {
list-style: none;
margin-bottom: 20px;
.incoming_detail {
height: 170px;
padding: 15px;
border: 1px solid rgba(215, 213, 228, 1);
border-radius: 10px;
.image {
width: 85px;
height: 85px;
float: left;
background-color: #a8a8a8;
border-radius: 5px;
img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px;
object-position: center;
}
}
.image_detail {
width: calc(100% - 85px);
padding-left: 10px;
float: left;
h5 {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
text-align: left;
font-size: 20px;
font-weight: bolder;
}
p {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
text-align: left;
padding-top: 2px;
padding-bottom: 2px;
font-size: 18px;
}
ul {
margin: 0px;
padding: 0px;
text-align: left;
padding-top: 10px;
li {
list-style: none;
background-color: rgba(247, 246, 249, 1);
color: rgba(59, 57, 77, 1);
display: inline-block;
margin-right: 10px;
padding: 3px;
padding-left: 20px;
padding-right: 20px;
border-radius: 20px;
}
}
h6 {
text-align: left;
font-size: 20px;
margin: 0px;
padding-top: 5px;
span {
.quality {
width: 30px;
height: 30px;
background-color: rgba(247, 246, 249, 1);
color: rgba(59, 57, 77, 1);
border-radius: 50%;
text-align: center;
font-weight: 900;
padding: 5px;
margin-left: 5px;
margin-right: 5px;
position: relative;
bottom: 5px;
}
}
strong {
font-size: 22px;
font-weight: 400;
margin-right: 5px;
}
.payment {
color: rgba(206, 153, 76, 1);
margin-left: 5px;
}
}
h4 {
color: rgba(59, 57, 77, 1);
margin: 0px;
padding: 0px;
font-weight: 800;
font-size: 18px;
padding-top: 15px;
padding-bottom: 4px;
}
p {
color: rgba(176, 174, 199, 1);
margin: 0px;
padding: 0px;
}
.finished {
color: rgba(59, 57, 77, 1);
border: 1px solid rgba(46, 204, 113, 1);
background-color: transparent;
position: relative;
top: 10px;
background-image: url("../../assets/verify.png");
padding: 6px;
padding-left: 30px;
padding-right: 20px;
background-repeat: no-repeat;
background-size: 20px;
background-position: 7px;
border-radius: 20px;
font-size: 18px;
}
.cancelled {
color: fff;
border: 1px solid rgba(176, 174, 199, 1);
background-color: rgba(176, 174, 199, 1);
position: relative;
color: #fff;
top: 10px;
padding: 6px;
padding-left: 20px;
padding-right: 20px;
background-size: 20px;
background-position: 7px;
border-radius: 20px;
font-size: 18px;
}
}
}
}
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PastsalesPage } from './pastsales.page';
describe('PastsalesPage', () => {
let component: PastsalesPage;
let fixture: ComponentFixture<PastsalesPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ PastsalesPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PastsalesPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-pastsales',
templateUrl: './pastsales.page.html',
styleUrls: ['./pastsales.page.scss'],
})
export class PastsalesPage implements OnInit {
constructor(
private router: Router, private route: ActivatedRoute, private location: Location
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { ProfilePage } from './profile.page';
const routes: Routes = [
{
path: '',
component: ProfilePage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [ProfilePage]
})
export class ProfilePageModule {}
<ion-header>
<ion-toolbar>
<ion-title>profile</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ProfilePage } from './profile.page';
describe('ProfilePage', () => {
let component: ProfilePage;
let fixture: ComponentFixture<ProfilePage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ProfilePage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ProfilePage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-profile',
templateUrl: './profile.page.html',
styleUrls: ['./profile.page.scss'],
})
export class ProfilePage implements OnInit {
constructor() { }
ngOnInit() {
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { SignupPage } from './signup.page';
const routes: Routes = [
{
path: '',
component: SignupPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [SignupPage]
})
export class SignupPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>RETAILER SIGNUP</h4>
</div>
<div class="clear"></div>
</div>
<div class="login_wrapper">
<div class="login_inner">
<div class="row">
<div class="log_label">Name</div>
<ion-input placeholder="Your Full Name"></ion-input>
</div>
<div class="row">
<div class="log_label">Shop/Your Email Address</div>
<ion-input placeholder="Ex: [email protected]" type="mail"></ion-input>
</div>
<div class="row">
<div class="log_label">Phone Number</div>
<ion-input placeholder="+00 0000 0000 000" type="number"></ion-input>
</div>
<div class="row">
<div class="log_label">Country</div>
<ion-input placeholder="Australia" type=""></ion-input>
</div>
<div class="row">
<div class="log_label">State</div>
<ion-input placeholder="Queens Land" type=""></ion-input>
</div>
<div class="row">
<div class="log_label">District</div>
<ion-input placeholder="Type here" type=""></ion-input>
</div>
<div class="row">
<div class="log_label">City</div>
<ion-input placeholder="Type here" type=""></ion-input>
</div>
<div class="row">
<div class="log_label">Area</div>
<ion-input placeholder="Type here" type=""></ion-input>
</div>
<div class="row">
<div class="log_label">Landmark</div>
<ion-input placeholder="Type here" type=""></ion-input>
</div>
<div class="row">
<h6>
<input class="styled-checkbox" id="styled-checkbox-1" type="checkbox" value="value1">
<label for="styled-checkbox-1"><span>I agree with <a>Terms and Conditions</a></span></label></h6>
</div>
<div class="row">
<button class="login_btn" (click)="goToPage('verification')">
SIGN UP
</button>
</div>
</div>
</div>
</ion-content>
\ No newline at end of file
.login_wrapper {
padding: 15px;
.logo_wrapper {
width: 100%;
text-align: center;
img {
width: 170px;
}
}
.login_inner {
width: 90%;
padding-top: 20px;
margin: 0 auto;
.row {
padding-bottom: 25px;
ion-input {
.native-input {
padding-left: 0px;
}
border: 1px solid rgba(215, 213, 228, 1);
text-align: center;
height: 45px;
border-radius: 8px;
color: rgba(176, 174, 199, 1);
font-size: 16px;
}
.login_btn {
height: 45px;
width: 100%;
border-radius: 8px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
font-size: 16px;
margin-bottom: 10%;
}
h4 {
color: rgba(41, 40, 91, 1);
text-align: center;
}
.log_label {
color: #3b394d;
font-weight: bolder;
margin-bottom: 10px;
}
h6 {
color: rgba(41, 40, 91, 1);
span {
position: relative;
top: 5px;
}
a {
color: rgba(41, 40, 91, 1);
text-decoration: none;
font-weight: 900;
}
.styled-checkbox {
position: absolute; // take it out of document flow
opacity: 0; // hide it
&+label {
position: relative;
cursor: pointer;
padding: 0;
}
// Box.
&+label:before {
content: '';
margin-right: 10px;
display: inline-block;
vertical-align: text-top;
width: 30px;
height: 30px;
border-radius: 10px;
background: white;
border: 1px solid rgba(215, 213, 228, 1);
}
// Box hover
// Box checked
&:checked+label:before {
background: #29285b;
}
// Disabled state label.
&:disabled+label {
color: #b8b8b8;
cursor: auto;
}
// Disabled box.
&:disabled+label:before {
box-shadow: none;
background: #ddd;
}
// Checkmark. Could be replaced with an image
&:checked+label:after {
content: '';
position: absolute;
left: 10px;
top: 15px;
background: white;
width: 2px;
height: 2px;
box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
transform: rotate(45deg);
}
}
}
}
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SignupPage } from './signup.page';
describe('SignupPage', () => {
let component: SignupPage;
let fixture: ComponentFixture<SignupPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ SignupPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SignupPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-signup',
templateUrl: './signup.page.html',
styleUrls: ['./signup.page.scss'],
})
export class SignupPage implements OnInit {
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TrackorderPage } from './trackorder.page';
import { AgmCoreModule } from '@agm/core';
import { AgmDirectionModule } from 'agm-direction';
const routes: Routes = [
{
path: '',
component: TrackorderPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
AgmDirectionModule,
AgmCoreModule.forRoot({
apiKey: 'AIzaSyAK3Av2e2dunqInYEaAVJPmzK5HTi0gubw'
}),
RouterModule.forChild(routes)
],
declarations: [TrackorderPage]
})
export class TrackorderPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>TRACK ORDER</h4>
</div>
<div class="clear"></div>
</div>
<div class="trackmap_wrapper">
<agm-map [zoom]="20" [latitude]="lat" [longitude]="lng">
<agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" [markerOptions]="markerOptions">
</agm-direction>
</agm-map>
</div>
<div class="footer_bay">
<div class="rider_image "></div>
<div class="rider_detail ">
<h5>John Doe</h5>
<p>Rider</p>
</div>
<div class="rider_time ">
18<span>Mins</span>
</div>
<div class="rider_call ">Call Rider</div>
<div class="clear "></div>
</div>
</ion-content>
\ No newline at end of file
.trackmap_wrapper {
width: 100%;
height: calc(100vh - 50px);
agm-map {
width: 100%;
height: 100%;
}
}
.footer_bay {
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
bottom: 0px;
padding: 10px;
background: #fff;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
.rider_image {
width: 50px;
height: 50px;
border-radius: 50%;
float: left;
background-color: #a8a8a8;
img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
border-radius: 50%;
}
}
.rider_detail {
float: left;
padding: 5px;
padding-left: 10px;
width: calc(100% - 265px);
h5 {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
p {
margin: 0px;
padding: 0px;
color: rgba(176, 174, 199, 1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.rider_time {
float: left;
width: 110px;
font-size: 35px;
font-weight: 900;
color: rgba(59, 57, 77, 1);
padding: 5px;
padding-left: 15px;
span {
color: rgba(176, 174, 199, 1);
font-size: 16px;
padding-left: 5px;
font-weight: 400;
}
}
.rider_call {
background-color: rgba(53, 203, 171, 1);
color: #fff;
float: right;
height: 50px;
padding: 14px;
font-size: 16px;
width: 100px;
border-radius: 5px;
font-weight: 700;
padding-left: 20px;
padding-right: 20px;
text-align: center;
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TrackorderPage } from './trackorder.page';
describe('TrackorderPage', () => {
let component: TrackorderPage;
let fixture: ComponentFixture<TrackorderPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ TrackorderPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(TrackorderPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-trackorder',
templateUrl: './trackorder.page.html',
styleUrls: ['./trackorder.page.scss'],
})
export class TrackorderPage implements OnInit {
map: any;
address: string
public lat: number = 51.678418;
public lng: number = 7.809007;
public origin: any;
public destination: any;
public renderOptions: any;
public markerOptions: any;
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) { }
ngOnInit() {
this.getDirection();
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
window.history.back();
}
getDirection() {
this.origin = { lat: 51.678418, lng: 7.809007 };
this.destination = { lat: 51.678418, lng: 7.81900 };
this.renderOptions = { polylineOptions: { strokeColor: 'rgba(69, 67, 152,1)' }, suppressMarkers: true };
this.markerOptions = {
origin: {
icon: './assets/source.png',
},
destination: {
icon: './assets/destination.png',
}
};
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { UploadPage } from './upload.page';
const routes: Routes = [
{
path: '',
component: UploadPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [UploadPage]
})
export class UploadPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>DOCUMENTS</h4>
</div>
<div class="clear"></div>
</div>
<div class="document_upload_wrapper">
<div class="row">
<div class="document_upload_box">
<span>License</span>
<input type="file">
<!-- <div id="loadingProgressG" [hidden]="load == 0">
<div id="loadingProgressG_1" class="loadingProgressG"></div>
</div> -->
</div>
</div>
<div class="row">
<div class="document_upload_box">
<span>Vehicle Registration</span>
<input type="file">
<!-- <div id="loadingProgressG" [hidden]="load == 0">
<div id="loadingProgressG_1" class="loadingProgressG"></div>
</div> -->
</div>
</div>
<div class="row">
<div class="document_upload_box">
<span>Police check status</span>
<input type="file">
<!-- <div id="loadingProgressG" [hidden]="load == 0">
<div id="loadingProgressG_1" class="loadingProgressG"></div>
</div> -->
</div>
</div>
<div class="row">
<div class="document_upload_box">
<span>Current Insurance Policy</span>
<input type="file">
<!-- <div id="loadingProgressG" [hidden]="load == 0">
<div id="loadingProgressG_1" class="loadingProgressG"></div>
</div> -->
</div>
</div>
<div class="row">
<div class="document_upload_box">
<span>Certificate of currency</span>
<input type="file">
<!-- <div id="loadingProgressG" [hidden]="load == 0">
<div id="loadingProgressG_1" class="loadingProgressG"></div>
</div> -->
</div>
</div>
<div class="row">
<div class="document_upload_box">
<span>Emergency Contact Details</span>
<input type="file">
<!-- <div id="loadingProgressG" [hidden]="load == 0">
<div id="loadingProgressG_1" class="loadingProgressG"></div>
</div> -->
</div>
</div>
<div class="row">
<button class="upload_btn" (click)="goToPage('home')">UPLOAD SECURELY</button>
<p>You documents are safe with us. We will not share with anyone.</p>
</div>
</div>
</ion-content>
\ No newline at end of file
.document_upload_wrapper {
width: 100%;
padding: 20px;
.row {
padding-bottom: 25px;
.document_upload_box {
width: 100%;
height: 45px;
border: 2px solid rgba(215, 213, 228, 1);
border-radius: 10px;
text-align: center;
position: relative;
padding: 7px;
span {
font-size: 18px;
color: rgba(176, 174, 199, 1);
}
input {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
border-radius: 10px;
opacity: 0;
}
.loader {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
border-radius: 10px;
background-color: rgba(53, 203, 171, 1);
border: 2px solid rgba(53, 203, 171, 1);
}
}
.upload_btn {
width: 100%;
height: 45px;
margin-top: 30px;
color: #fff;
background-color: rgba(41, 40, 91, 1);
font-size: 16px;
border-radius: 10px;
}
p {
text-align: center;
color: rgba(176, 174, 199, 1);
font-size: 16px;
font-weight: 700;
}
}
}
#loadingProgressG {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
overflow: hidden;
background-color: rgba(53, 203, 171, 1);
margin: auto;
border-radius: 10px;
-o-border-radius: 10px;
-ms-border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}
.loadingProgressG {
background-color: rgb(255, 255, 255);
margin-top: 0;
margin-left: -250px;
animation-name: bounce_loadingProgressG;
-o-animation-name: bounce_loadingProgressG;
-ms-animation-name: bounce_loadingProgressG;
-webkit-animation-name: bounce_loadingProgressG;
-moz-animation-name: bounce_loadingProgressG;
animation-duration: 3s;
-o-animation-duration: 3s;
-ms-animation-duration: 3s;
-webkit-animation-duration: 3s;
-moz-animation-duration: 3s;
animation-iteration-count: infinite;
-o-animation-iteration-count: infinite;
-ms-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
animation-timing-function: linear;
-o-animation-timing-function: linear;
-ms-animation-timing-function: linear;
-webkit-animation-timing-function: linear;
-moz-animation-timing-function: linear;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
}
@keyframes bounce_loadingProgressG {
0% {
margin-left: -100%;
}
100% {
margin-left: 100%;
}
}
@-o-keyframes bounce_loadingProgressG {
0% {
margin-left: -100%;
}
100% {
margin-left: 100%;
}
}
@-ms-keyframes bounce_loadingProgressG {
0% {
margin-left: -100%;
}
100% {
margin-left: 100%;
}
}
@-webkit-keyframes bounce_loadingProgressG {
0% {
margin-left: -100%;
}
100% {
margin-left: 100%;
}
}
@-moz-keyframes bounce_loadingProgressG {
0% {
margin-left: -100%;
}
100% {
margin-left: 100%;
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { UploadPage } from './upload.page';
describe('UploadPage', () => {
let component: UploadPage;
let fixture: ComponentFixture<UploadPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ UploadPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(UploadPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-upload',
templateUrl: './upload.page.html',
styleUrls: ['./upload.page.scss'],
})
export class UploadPage implements OnInit {
load:any;
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) {
this.load = 0;
}
ngOnInit() {
}
onClickLoad(){
this.load = !this.load;
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { VerificationPage } from './verification.page';
const routes: Routes = [
{
path: '',
component: VerificationPage
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [VerificationPage]
})
export class VerificationPageModule {}
<ion-content>
<div class="nav_header">
<button class="nav_btn nav_back_white floatLeft" (click)="goBack()">
</button>
<div class="nav_title floatLeft">
<h4>VERIFICATION</h4>
</div>
<div class="clear"></div>
</div>
<div class="login_wrapper">
<div class="login_inner">
<div class="row">
<div class="log_label textCenter">We have send OTP to <strong>+1 1021 5447 983</strong></div>
<ion-input placeholder="Type OTP" type=""></ion-input>
</div>
<div class="row">
<button class="login_btn" (click)="goToPage('password')">
SUBMIT
</button>
</div>
</div>
</div>
</ion-content>
\ No newline at end of file
.login_wrapper {
padding: 15px;
.logo_wrapper {
width: 100%;
text-align: center;
img {
width: 170px;
}
}
.login_inner {
width: 90%;
padding-top: 20px;
margin: 0 auto;
.row {
padding-bottom: 25px;
ion-input {
.native-input {
padding-left: 0px;
}
border: 1px solid rgba(215, 213, 228, 1);
text-align: center;
height: 45px;
border-radius: 8px;
color: rgba(176, 174, 199, 1);
font-size: 16px;
}
.login_btn {
height: 45px;
width: 100%;
border-radius: 8px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
font-size: 16px;
margin-bottom: 10%;
}
h4 {
color: rgba(41, 40, 91, 1);
text-align: center;
}
.log_label {
color: rgba(59, 57, 77, 1);
margin-bottom: 10px;
font-size: 18px;
padding-bottom: 30px;
padding-top: 20px;
strong {
font-weight: bolder;
}
}
h6 {
color: rgba(41, 40, 91, 1);
span {
position: relative;
top: 5px;
}
a {
color: rgba(41, 40, 91, 1);
text-decoration: none;
font-weight: 900;
}
.styled-checkbox {
position: absolute; // take it out of document flow
opacity: 0; // hide it
&+label {
position: relative;
cursor: pointer;
padding: 0;
}
// Box.
&+label:before {
content: '';
margin-right: 10px;
display: inline-block;
vertical-align: text-top;
width: 30px;
height: 30px;
border-radius: 10px;
background: white;
border: 1px solid rgba(215, 213, 228, 1);
}
// Box hover
// Box checked
&:checked+label:before {
background: #29285b;
}
// Disabled state label.
&:disabled+label {
color: #b8b8b8;
cursor: auto;
}
// Disabled box.
&:disabled+label:before {
box-shadow: none;
background: #ddd;
}
// Checkmark. Could be replaced with an image
&:checked+label:after {
content: '';
position: absolute;
left: 10px;
top: 15px;
background: white;
width: 2px;
height: 2px;
box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
transform: rotate(45deg);
}
}
}
}
}
}
\ No newline at end of file
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { VerificationPage } from './verification.page';
describe('VerificationPage', () => {
let component: VerificationPage;
let fixture: ComponentFixture<VerificationPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ VerificationPage ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(VerificationPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-verification',
templateUrl: './verification.page.html',
styleUrls: ['./verification.page.scss'],
})
export class VerificationPage implements OnInit {
constructor(
private router: Router,
private route: ActivatedRoute,
private location: Location
) { }
ngOnInit() {
}
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
goBack() {
this.location.back();
}
}
<svg width="350" height="140" xmlns="http://www.w3.org/2000/svg" style="background:#f6f7f9"><g fill="none" fill-rule="evenodd"><path fill="#F04141" style="mix-blend-mode:multiply" d="M61.905-34.23l96.194 54.51-66.982 54.512L22 34.887z"/><circle fill="#10DC60" style="mix-blend-mode:multiply" cx="155.5" cy="135.5" r="57.5"/><path fill="#3880FF" style="mix-blend-mode:multiply" d="M208.538 9.513l84.417 15.392L223.93 93.93z"/><path fill="#FFCE00" style="mix-blend-mode:multiply" d="M268.625 106.557l46.332-26.75 46.332 26.75v53.5l-46.332 26.75-46.332-26.75z"/><circle fill="#7044FF" style="mix-blend-mode:multiply" cx="299.5" cy="9.5" r="38.5"/><rect fill="#11D3EA" style="mix-blend-mode:multiply" transform="rotate(-60 148.47 37.886)" x="143.372" y="-7.056" width="10.196" height="89.884" rx="5.098"/><path d="M-25.389 74.253l84.86 8.107c5.498.525 9.53 5.407 9.004 10.905a10 10 0 0 1-.057.477l-12.36 85.671a10.002 10.002 0 0 1-11.634 8.42l-86.351-15.226c-5.44-.959-9.07-6.145-8.112-11.584l13.851-78.551a10 10 0 0 1 10.799-8.219z" fill="#7044FF" style="mix-blend-mode:multiply"/><circle fill="#0CD1E8" style="mix-blend-mode:multiply" cx="273.5" cy="106.5" r="20.5"/></g></svg>
export const environment = {
production: true
};
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
/*
* App Global CSS
* ----------------------------------------------------------------------------
* Put style rules here that you want to apply globally. These styles are for
* the entire app and not just one component. Additionally, this file can be
* used as an entry point to import other CSS/Sass files to be included in the
* output CSS.
* For more information on global stylesheets, visit the documentation:
* https://ionicframework.com/docs/layout/global-stylesheets
*/
/* Core CSS required for Ionic components to work properly */
@import "~@ionic/angular/css/core.css";
/* Basic CSS for apps built with Ionic */
@import "~@ionic/angular/css/normalize.css";
@import "~@ionic/angular/css/structure.css";
@import "~@ionic/angular/css/typography.css";
@import '~@ionic/angular/css/display.css';
/* Optional CSS utils that can be commented out */
@import "~@ionic/angular/css/padding.css";
@import "~@ionic/angular/css/float-elements.css";
@import "~@ionic/angular/css/text-alignment.css";
@import "~@ionic/angular/css/text-transformation.css";
@import "~@ionic/angular/css/flex-utils.css";
/*
Site Name: GETME
URI: http:
Description: This is the theme scss for GETME
Version: 2.0
Author:
Author URI:
Tags:
---------------------------
THEME STYLES
---------------------------
TABLE OF CONTENTS
---------------------------
01. FONTS-N-SIZES
02. FONTS-COLOR
03. THEMES-N-BACKGROUNDS
04. SPACING-N-POSITIONS
05. ALIGMENTS
06. ALERTS-N-MESSAGES
*/
/*-------------------------------
01. FONTS-N-SIZES
--------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Abel&display=swap');
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
* {
font-family: 'Abel', sans-serif;
-webkit-font-smoothing: antialiased;
}
*::-webkit-scrollbar {
display: none;
}
.no-scroll .scroll-content {
overflow: hidden;
}
a {
text-decoration: none !important;
}
button {
outline: none;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
margin: 0;
}
button {
cursor: pointer;
}
/*-------------------------------
02. FONTS-SETTINGS
--------------------------------*/
.text_color_white {
color: #fff !important;
}
.font_size_xs {
font-size: 12px !important;
}
.font_size_sm {
font-size: 14px !important;
}
.font_size_md {
font-size: 16px !important;
}
.font_size_lg {
font-size: 18px !important;
}
.font_size_xl {
font-size: 20px !important;
}
.font_size_vl {
font-size: 35px !important;
}
.font_weight300 {
font-weight: 300 !important;
}
.font_weight400 {
font-weight: 400 !important;
}
.font_weight500 {
font-weight: 500 !important;
}
.font_weight600 {
font-weight: 600 !important;
}
/*-------------------------------
03. THEMES-N-BACKGROUNDS
--------------------------------*/
.theme_background {
background-size: cover !important;
background-position: center !important;
}
.theme_transparent {
background: transparent !important;
}
.theme_white {
background-color: #f7f8fd !important;
}
.theme_off_white {
background-color: #f4f4f4 !important;
}
.theme_dark_transparent {
background-color: rgba(0, 0, 0, 0.6) !important;
}
.theme_white_transparent {
background-color: rgba(243, 243, 243, 0.6) !important;
}
/*-------------------------------
04. SPACING-N-POSITIONS
--------------------------------*/
.width25 {
width: 25% !important;
}
.width50 {
width: 50% !important;
}
.width75 {
width: 75% !important;
}
.widthFull {
width: 100% !important;
}
.widthAuto {
width: auto !important;
}
.height25 {
height: 25% !important;
}
.height50 {
height: 50% !important;
}
.height75 {
width: 75% !important;
}
.heightFull {
height: 100% !important;
}
.heightAuto {
height: auto !important;
}
.p0 {
padding: 0px !important;
}
.pl0 {
padding-left: 0px !important;
}
.pr0 {
padding-right: 0px !important;
}
.pt0 {
padding-top: 0px !important;
}
.pb0 {
padding-bottom: 0px !important;
}
.p10 {
padding: 10px !important;
}
.pt10 {
padding-top: 10px !important;
}
.m0 {
margin: 0px !important;
}
.ml0 {
margin-left: 0px !important;
}
.mr0 {
margin-right: 0px !important;
}
.mt0 {
margin-top: 0px !important;
}
.mb0 {
margin-bottom: 0px !important;
}
.mAuto {
margin: 0 auto !important;
}
.clear {
clear: both !important;
}
.absolute {
position: absolute !important;
}
.relative {
position: relative !important;
}
.fixed {
position: fixed !important;
}
.borderNone {
border: none !important;
}
/*-------------------------------
05. ALIGMENTS
--------------------------------*/
.floatLeft {
float: left !important;
}
.floatRight {
float: right !important;
}
.textLeft {
text-align: left !important;
}
.textRight {
text-align: right !important;
}
.textCenter {
text-align: center !important;
}
.ion-page {
padding-top: 50px;
}
app-landing {
padding: 0px !important;
}
app-cart {
padding: 0px !important;
}
app-orderplaced {
padding: 0px !important;
}
app-ordercancelled {
padding: 0px !important;
}
app-complete {
padding: 0px !important;
}
.nav_header {
position: fixed;
top: 0px;
left: 0px;
right: 0px;
z-index: 9999;
background-color: rgba(41, 40, 91, 1);
-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}
.nav_btn {
width: 50px;
height: 50px;
background-color: transparent;
color: #282438;
font-size: 25px;
background-position: center;
background-repeat: no-repeat;
background-size: 25px;
}
.nav_title {
width: calc(100% - 100px);
color: rgba(59, 57, 77, 1);
padding: 12px;
padding-left: 5px;
padding-right: 5px;
font-weight: 400;
text-align: center;
img {
height: 30px;
}
h4 {
margin: 0px;
font-weight: 900;
padding: 0px;
font-size: 20px;
color: #fff;
text-align: center;
text-transform: uppercase;
span {
color: #39267f;
}
}
input {
width: 100%;
border: none;
padding-left: 10px;
padding-right: 10px;
&:focus {
outline: none;
}
&:hover {
outline: none;
}
}
}
.nav_back {
background-color: #fff !important;
img {
width: 25px;
display: none;
}
}
.nav_back_white {
background-color: transparent;
background-image: url("./assets/arrow_white.png");
img {
width: 25px !important;
display: none;
}
}
.nav_messenger {
background-image: url("./assets/messenger.png");
img {
width: 25px !important;
display: none;
}
}
.nav_menu {
img {
width: 25px;
display: none;
}
}
.nav_search {
img {
width: 25px;
display: none;
}
}
ion-header {
z-index: 9999 !important;
order: 0 !important;
}
ion-input {
.native-input {
padding-left: 0px !important;
}
}
app-home {
padding-top: 85px !important;
}
\ No newline at end of file
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment