mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
refactor: undo card based look on detail views
This commit is contained in:
@@ -6,7 +6,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ion-card {
|
ion-card {
|
||||||
|
margin: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
ion-card-content {
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
padding-bottom: 8px;
|
||||||
|
}
|
||||||
ion-card-header {
|
ion-card-header {
|
||||||
|
color: var(--ion-color-dark);
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 4px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
ion-grid, ion-col {
|
ion-grid, ion-col {
|
||||||
@@ -15,4 +26,9 @@
|
|||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ion-grid, ion-col {
|
||||||
|
padding-inline-start: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
<ion-card>
|
<ion-card>
|
||||||
<ion-card-content>
|
<ion-card-content>
|
||||||
<h1>{{ 'name' | thingTranslate: item }}</h1>
|
<ion-text color="dark">
|
||||||
{{ 'description' | thingTranslate: item }}</ion-card-content
|
<h1>
|
||||||
>
|
{{ 'name' | thingTranslate: item }}
|
||||||
|
</h1>
|
||||||
|
</ion-text>
|
||||||
|
{{ 'description' | thingTranslate: item }}
|
||||||
|
</ion-card-content>
|
||||||
</ion-card>
|
</ion-card>
|
||||||
<ion-grid>
|
<ion-grid>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
@@ -41,7 +45,7 @@
|
|||||||
></stapps-offers-detail>
|
></stapps-offers-detail>
|
||||||
<stapps-simple-card
|
<stapps-simple-card
|
||||||
*ngIf="item.additives"
|
*ngIf="item.additives"
|
||||||
[title]="'additives' | propertyNameTranslate: item"
|
[title]="'additives' | propertyNameTranslate: item | titlecase"
|
||||||
[content]="'additives' | thingTranslate: item | join: ', '"
|
[content]="'additives' | thingTranslate: item | join: ', '"
|
||||||
>
|
>
|
||||||
</stapps-simple-card>
|
</stapps-simple-card>
|
||||||
|
|||||||
@@ -21,7 +21,11 @@
|
|||||||
</li>
|
</li>
|
||||||
<li *ngIf="distance">
|
<li *ngIf="distance">
|
||||||
<ion-icon name="walk"></ion-icon
|
<ion-icon name="walk"></ion-icon
|
||||||
>{{ distance | numberLocalized: 'style:unit,unit:meter,notation:compact' }}
|
>{{
|
||||||
|
distance
|
||||||
|
| numberLocalized
|
||||||
|
: 'style:unit,unit:meter,notation:compact'
|
||||||
|
}}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ion-note>
|
</ion-note>
|
||||||
@@ -34,7 +38,11 @@
|
|||||||
</li>
|
</li>
|
||||||
<li *ngIf="distance">
|
<li *ngIf="distance">
|
||||||
<ion-icon name="walk"></ion-icon
|
<ion-icon name="walk"></ion-icon
|
||||||
>{{ distance | numberLocalized: '1.0-0' }} m
|
>{{
|
||||||
|
distance
|
||||||
|
| numberLocalized
|
||||||
|
: 'style:unit,unit:meter,notation:compact'
|
||||||
|
}}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ion-note>
|
</ion-note>
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<ion-card>
|
<ion-card>
|
||||||
<ion-card-content>
|
<ion-card-content>
|
||||||
<h1>{{ 'name' | thingTranslate: item }}</h1>
|
<ion-text color="dark">
|
||||||
|
<h1>
|
||||||
|
{{ 'name' | thingTranslate: item }}
|
||||||
|
</h1>
|
||||||
|
</ion-text>
|
||||||
{{ 'description' | thingTranslate: item }}</ion-card-content
|
{{ 'description' | thingTranslate: item }}</ion-card-content
|
||||||
>
|
>
|
||||||
</ion-card>
|
</ion-card>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
<meta name="color-scheme" content="light dark" />
|
||||||
<title>StApps</title>
|
<title>StApps</title>
|
||||||
|
|
||||||
<base href="/" />
|
<base href="/" />
|
||||||
|
|||||||
Reference in New Issue
Block a user