GUI: Fix it so all platforms show same styling

This commit is contained in:
walljm 2017-01-26 01:35:41 -05:00
parent 7aa83dbd20
commit d0d597f78c
6 changed files with 13 additions and 13 deletions

View File

@ -15,7 +15,7 @@
// for the .md, .ios, or .wp mode classes. The mode class is
// automatically applied to the <body> element in the app.
.item-md {
.item {
padding: 0px !important;
padding-left: 16px !important;
}

View File

@ -1,4 +1,4 @@
passage .button-clear-md {
passage .button {
color: #3D5699;
}

View File

@ -1,4 +1,4 @@
strongs .button-clear-md{
strongs .button {
color: #307e4b;
}

View File

@ -1,5 +1,5 @@
words {
.button-clear-md {
.button {
color: #632761;
}

View File

@ -4,7 +4,7 @@
font-size: 1em;
}
.button-large-md {
.button-large {
height: 3.6rem !important;
}
@ -28,15 +28,15 @@ body {
}
}
.card-md h2 {
.card h2 {
font-size: 1.2em;
font-weight: bold;
}
.item-md.item-block .item-inner {
.item.item-block .item-inner {
padding: 0px;
}
.item-md ion-icon[item-left] + .item-inner {
.item ion-icon[item-left] + .item-inner {
margin-left: 6px;
}

View File

@ -166,7 +166,7 @@ export class SearchPage implements OnInit
}
getQuery(searchbar)
{
this.getItems(this.searchQuery, true);
this.updateUIwithItems(this.searchQuery, true);
}
isError(t: string)
@ -221,10 +221,10 @@ export class SearchPage implements OnInit
getItemsNextToCard(data: OpenData)
{
this.last = data.card;
this.getItems(data.qry, data.from_search_bar);
this.updateUIwithItems(data.qry, data.from_search_bar);
}
getItemsList(search: string): Promise<CardItem[]>
getItemList(search: string): Promise<CardItem[]>
{
return new Promise((resolve, reject) =>
{
@ -283,9 +283,9 @@ export class SearchPage implements OnInit
});
}
getItems(search: string, from_search_bar: boolean)
updateUIwithItems(search: string, from_search_bar: boolean)
{
this.getItemsList(search).then(lst =>
this.getItemList(search).then(lst =>
{
this.loader = this.loadingCtrl.create({ content: 'Looking up Query...' });
this.loader.present().then(