Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
fixed the theme look & feel
Browse files Browse the repository at this point in the history
  • Loading branch information
smukov committed Oct 1, 2016
1 parent 4edd124 commit dbc12a2
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 174 deletions.
2 changes: 1 addition & 1 deletion Ionic2/src/components/profileHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Component} from '@angular/core';
`
<div class="content-center-left">
<img src="{{profileImage}}" style="border-radius: 50%; width: 60px; height: 60px;">
<span class="profile-header">{{fullName}}</span>
<span class="profile-header-name">{{fullName}}</span>
</div>
`
})
Expand Down
11 changes: 0 additions & 11 deletions Ionic2/src/pages/about/about.html

This file was deleted.

3 changes: 0 additions & 3 deletions Ionic2/src/pages/about/about.scss

This file was deleted.

15 changes: 0 additions & 15 deletions Ionic2/src/pages/about/about.ts

This file was deleted.

17 changes: 0 additions & 17 deletions Ionic2/src/pages/contact/contact.html

This file was deleted.

3 changes: 0 additions & 3 deletions Ionic2/src/pages/contact/contact.scss

This file was deleted.

15 changes: 0 additions & 15 deletions Ionic2/src/pages/contact/contact.ts

This file was deleted.

2 changes: 1 addition & 1 deletion Ionic2/src/pages/contactPage/contactPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class ContactPage {
}

public ionViewWillEnter(){
this.header.setFullName("Dr. Gregory House");
//this.header.setFullName("Dr. Gregory House");
}

public openChat(){
Expand Down
17 changes: 0 additions & 17 deletions Ionic2/src/pages/home/home.html

This file was deleted.

3 changes: 0 additions & 3 deletions Ionic2/src/pages/home/home.scss

This file was deleted.

15 changes: 0 additions & 15 deletions Ionic2/src/pages/home/home.ts

This file was deleted.

5 changes: 5 additions & 0 deletions Ionic2/src/pages/profilePage/profilePage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ page-profile {
border-bottom-color: #dedede !important;
box-shadow: none !important;
}

.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus) .item-inner {
border-bottom-color: #dedede !important;
box-shadow: none !important;
}
}
5 changes: 0 additions & 5 deletions Ionic2/src/pages/tabs/tabs.html

This file was deleted.

20 changes: 0 additions & 20 deletions Ionic2/src/pages/tabs/tabs.ts

This file was deleted.

48 changes: 0 additions & 48 deletions Ionic2/src/theme/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,3 @@
// automatically applied to the <body> element in the app.
//
// App Shared Sass variables belong in app.variables.scss.

.profile-header {
font-size: $header-font-size;
font-weight: $header-font-weight;
margin-left: 10px;
line-height: 100%;
}

.content-center-center {
display: flex;
align-items: center;
justify-content: center;
}

.content-center-left {
display: flex;
align-items: center;
justify-content: flex-start;;
}

.content-center-right {
display: flex;
align-items: center;
justify-content: flex-end;
}

ion-item{
.text-input {
font-size: large;
}
}

//makes the paragraph properly wrap the text inside it in multiple lines
p {
word-wrap: break-word;
white-space: normal;
}

ion-menu{
ion-content{
ion-list{
ion-icon{
margin-right: 20px;
color: #595959;
}
}
}
}
48 changes: 48 additions & 0 deletions Ionic2/src/theme/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,54 @@ $text-input-wp-highlight-color: map-get($colors, secondary);

@import "ionic.theme.default";

.profile-header-name {
font-size: $header-font-size;
font-weight: $header-font-weight;
margin-left: 10px;
line-height: 100%;
}

.content-center-center {
display: flex;
align-items: center;
justify-content: center;
}

.content-center-left {
display: flex;
align-items: center;
justify-content: flex-start;;
}

.content-center-right {
display: flex;
align-items: center;
justify-content: flex-end;
}

ion-item{
.text-input {
font-size: large;
}
}

//makes the paragraph properly wrap the text inside it in multiple lines
p {
word-wrap: break-word;
white-space: normal;
}

ion-menu{
ion-content{
ion-list{
ion-icon{
margin-right: 20px;
color: #595959;
}
}
}
}


// Ionicons
// --------------------------------------------------
Expand Down

0 comments on commit dbc12a2

Please sign in to comment.