From b16ef3c621649849127e5c2f17554c619282d49f Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Fri, 2 Jul 2021 13:56:34 -0600 Subject: [PATCH] more styling --- ui/src/app/app.component.html | 2 +- ui/src/app/app.component.scss | 2 +- ui/src/app/app.component.ts | 10 +- .../badge-menu.component.scss | 11 +- .../object-config.component.scss | 6 - .../app-config-value.page.html | 6 +- .../app-interfaces/app-interfaces.page.html | 76 +++++++------ .../apps-routes/app-list/app-list.page.html | 4 +- .../apps-routes/app-list/app-list.page.scss | 12 +- .../apps-routes/app-logs/app-logs.page.html | 2 +- .../app-properties/app-properties.page.html | 20 ++-- .../app-restore/app-restore.page.html | 85 +++++++------- .../apps-routes/app-show/app-show.page.html | 37 +++--- .../apps-routes/app-show/app-show.page.scss | 23 +--- .../apps-routes/app-show/app-show.page.ts | 4 +- .../app-release-notes.page.html | 2 +- .../app-release-notes.page.ts | 6 +- .../marketplace-show.page.html | 105 ++++++++++++++++-- .../marketplace-show.page.scss | 8 +- .../marketplace-routes/marketplace.service.ts | 1 + .../notifications/notifications.page.html | 2 +- .../pages/notifications/notifications.page.ts | 4 + .../dev-ssh-keys/dev-ssh-keys.page.html | 2 +- .../app/pages/server-routes/lan/lan.page.html | 4 +- .../app/pages/server-routes/lan/lan.page.scss | 3 - .../server-backup/server-backup.page.html | 80 ++++++------- .../server-logs/server-logs.page.html | 2 +- .../server-specs/server-specs.page.html | 4 +- .../pages/server-routes/wifi/wifi.page.html | 2 +- ui/src/app/services/api/mock-app-fixures.ts | 32 +++--- ui/src/global.scss | 26 +++-- ui/src/theme/variables.scss | 2 - 32 files changed, 314 insertions(+), 271 deletions(-) diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index f40fa527b..c51219840 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -3,7 +3,7 @@ - {{ serverName }} + Menu diff --git a/ui/src/app/app.component.scss b/ui/src/app/app.component.scss index e3d6ad8bc..ae0a824eb 100644 --- a/ui/src/app/app.component.scss +++ b/ui/src/app/app.component.scss @@ -1,5 +1,5 @@ .selected { - --background: linear-gradient(120deg, #1e1e1e -1%, var(--ion-color-start9) 100%); + --background: linear-gradient(120deg, #1e1e1e -1%, var(--ion-color-danger) 100%); } .menu-style { diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 482107643..bb9e718c9 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -113,12 +113,8 @@ export class AppComponent { } watchPatch (): void { - combineLatest([ - this.patch.watch$('ui', 'server-name'), - this.patch.watch$('server-info', 'unread-notification-count'), - ]) - .subscribe(([name, unread]) => { - this.serverName = name + this.patch.watch$('server-info', 'unread-notification-count') + .subscribe(unread => { this.unreadCount = unread }) } @@ -233,7 +229,7 @@ export class AppComponent { side: 'end', text: 'View', handler: () => { - this.router.navigate(['/notifications']) + this.router.navigate(['/notifications'], { queryParams: { toast: true } }) }, }, ], diff --git a/ui/src/app/components/badge-menu-button/badge-menu.component.scss b/ui/src/app/components/badge-menu-button/badge-menu.component.scss index 74b1d1001..32955e4a6 100644 --- a/ui/src/app/components/badge-menu-button/badge-menu.component.scss +++ b/ui/src/app/components/badge-menu-button/badge-menu.component.scss @@ -1,14 +1,5 @@ -// .ios-badge { -// background-color: var(--ion-color-start9); -// position: absolute; -// top: 1px; -// left: 62%; -// border-radius: 5px; -// z-index: 1; -// } - .md-badge { - background-color: var(--ion-color-start9); + background-color: var(--ion-color-danger); position: absolute; top: -8px; left: 56%; diff --git a/ui/src/app/components/object-config/object-config.component.scss b/ui/src/app/components/object-config/object-config.component.scss index 97beee453..62a262f47 100644 --- a/ui/src/app/components/object-config/object-config.component.scss +++ b/ui/src/app/components/object-config/object-config.component.scss @@ -2,12 +2,6 @@ margin: 0 16px; } -.help-button { - position: relative; - bottom: 7px; - right: 9px; -} - .new-tag { padding: 0px 5px; font-weight: bold; diff --git a/ui/src/app/modals/app-config-value/app-config-value.page.html b/ui/src/app/modals/app-config-value/app-config-value.page.html index 182c29ac0..8c2d95fb4 100644 --- a/ui/src/app/modals/app-config-value/app-config-value.page.html +++ b/ui/src/app/modals/app-config-value/app-config-value.page.html @@ -9,7 +9,7 @@ {{ spec.name }} - + Save @@ -22,7 +22,7 @@ - + @@ -73,7 +73,7 @@

-

Default: {{ defaultDescription }}

+

Default: {{ defaultDescription }}

Units: {{ spec.units }}

diff --git a/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html b/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html index b239172f3..a98d84ab4 100644 --- a/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html +++ b/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html @@ -7,41 +7,43 @@
- - - - - - - {{ interface.value.name }} - - - - - {{ interface.value.description }} - - - - - -

Tor Address

-

{{ 'http://' + int['tor-address'] }}

-
- - - -
- - -

LAN Address

-

{{ 'https://' + int['lan-address'] }}

-
- - - -
-
-
-
-
+ + + + + + + {{ interface.value.name }} + {{ interface.value.description }} + + Launch + + + + + + + +

Tor Address

+

{{ 'http://' + int['tor-address'] }}

+
+ + + +
+ + +

LAN Address

+

{{ 'https://' + int['lan-address'] }}

+
+ + + +
+
+
+
+
+
+
\ No newline at end of file diff --git a/ui/src/app/pages/apps-routes/app-list/app-list.page.html b/ui/src/app/pages/apps-routes/app-list/app-list.page.html index e0d3ba3c7..f3e50d01b 100644 --- a/ui/src/app/pages/apps-routes/app-list/app-list.page.html +++ b/ui/src/app/pages/apps-routes/app-list/app-list.page.html @@ -11,7 +11,7 @@
-

Welcome to your Embassy

+

Welcome to your Embassy

Get started by installing your first service.

@@ -24,7 +24,7 @@ - +
diff --git a/ui/src/app/pages/apps-routes/app-list/app-list.page.scss b/ui/src/app/pages/apps-routes/app-list/app-list.page.scss index 2649c9bc1..0fdfaa11e 100644 --- a/ui/src/app/pages/apps-routes/app-list/app-list.page.scss +++ b/ui/src/app/pages/apps-routes/app-list/app-list.page.scss @@ -1,5 +1,5 @@ .installed-card { - margin: 0; + margin: 2px; background: linear-gradient(37deg, #333333, #131313); border-radius: 10px; text-align: center; @@ -13,7 +13,7 @@ ion-card-title { font-size: calc(10px + .4vw); - color: white; + color: var(--ion-color-dark); margin: 10px 0; white-space: nowrap; overflow: hidden; @@ -24,8 +24,7 @@ .main-img { width: 50%; - margin: 9px; - color: white; + margin: 12px; border-radius: var(--icon-border-radius); } @@ -48,10 +47,7 @@ } .launch-button-triangle { - width: 0px; - height: 0px; right: 0px; - margin: 0px; border-style: solid; border-width: 22px; @@ -81,6 +77,4 @@ .launch-container { position: absolute; right: 0px; - top: 0px; - margin: 0px; } diff --git a/ui/src/app/pages/apps-routes/app-logs/app-logs.page.html b/ui/src/app/pages/apps-routes/app-logs/app-logs.page.html index 51e5aadec..2f7347c1e 100644 --- a/ui/src/app/pages/apps-routes/app-logs/app-logs.page.html +++ b/ui/src/app/pages/apps-routes/app-logs/app-logs.page.html @@ -4,7 +4,7 @@ Logs - + diff --git a/ui/src/app/pages/apps-routes/app-properties/app-properties.page.html b/ui/src/app/pages/apps-routes/app-properties/app-properties.page.html index f8f279d73..4fc2b1cdd 100644 --- a/ui/src/app/pages/apps-routes/app-properties/app-properties.page.html +++ b/ui/src/app/pages/apps-routes/app-properties/app-properties.page.html @@ -3,8 +3,8 @@ - Values - + Properties + @@ -30,7 +30,7 @@ -

No values.

+

No properties.

@@ -39,8 +39,8 @@
- - + +

{{ prop.key }}

@@ -48,8 +48,8 @@
- - + +

{{ prop.key }}

@@ -57,13 +57,13 @@
- + - + - +
diff --git a/ui/src/app/pages/apps-routes/app-restore/app-restore.page.html b/ui/src/app/pages/apps-routes/app-restore/app-restore.page.html index 874104c32..e4615d4f3 100644 --- a/ui/src/app/pages/apps-routes/app-restore/app-restore.page.html +++ b/ui/src/app/pages/apps-routes/app-restore/app-restore.page.html @@ -3,8 +3,8 @@ - Restore Backup - + Restore From Backup + @@ -27,49 +27,52 @@ {{ error }} - + -

About

-

- Select a location from which to restore {{ title }}. This will overwrite all current data. -

+

Warning

+

+ Restoring from backup will overwrite all current data for {{ title }} . +

- - - - - - - No partitions available. Insert the storage device containing the backup you intend to restore. - - - - - - {{ disk.value.size }} - - - {{ disk.key }} - - - - - - - -

{{ partition.value.label || partition.key }} ({{ partition.value.size || 'unknown size' }})

-

Available

- -

Unavailable

-
-
-
-
-
-
-
+ + Select Backup Drive + + + No partitions available. Insert the storage device containing the backup you intend to restore. + + + + + + + + + {{ disk.value.size }} + + + {{ disk.key }} + + + + + + + +

{{ partition.value.label || partition.key }} ({{ partition.value.size || 'unknown size' }})

+

Available

+ +

Unavailable

+
+
+
+
+
+
+
+
+
diff --git a/ui/src/app/pages/apps-routes/app-show/app-show.page.html b/ui/src/app/pages/apps-routes/app-show/app-show.page.html index 4678d0540..c6034f0b7 100644 --- a/ui/src/app/pages/apps-routes/app-show/app-show.page.html +++ b/ui/src/app/pages/apps-routes/app-show/app-show.page.html @@ -19,39 +19,30 @@
- - - - - -
- - {{ manifest.title }} - - - {{ manifest.version | displayEmver }} - -
+ + + + + +

+ {{ manifest.title }} +

+
{{ manifest.version | displayEmver }}
- - + + Configure - + Stop - + Fix - + Start
diff --git a/ui/src/app/pages/apps-routes/app-show/app-show.page.scss b/ui/src/app/pages/apps-routes/app-show/app-show.page.scss index 72cecb7d7..4eaf15be4 100644 --- a/ui/src/app/pages/apps-routes/app-show/app-show.page.scss +++ b/ui/src/app/pages/apps-routes/app-show/app-show.page.scss @@ -5,20 +5,24 @@ .top-plate { background: var(--ion-item-background); margin: 0 16px; + padding: 12px; border-radius: 10px; border-style: solid; border-color: #373737; + ion-item { + border-radius: 10px; + } } .status-readout { --background: transparent; display: flex; justify-content: space-between; - padding: 0 10px; + padding: 8px 16px; border-radius: 10px; align-items: center; background: var(--ion-background-color); - margin: 10px 10px 0px 10px; + margin: 10px; border-style: solid; border-width: 1px; border-color: #404040; @@ -39,18 +43,3 @@ border-style: solid; border-color: #404040; } - - -.dep-issue { - background: radial-gradient(var(--ion-color-warning) 40%, transparent) -} - -.dep-sat { - background: radial-gradient(var(--ion-color-success) 40%, transparent) -} - -ion-item-divider { - text-transform: uppercase; - margin-top: 22px; - font-weight: 400; -} \ No newline at end of file diff --git a/ui/src/app/pages/apps-routes/app-show/app-show.page.ts b/ui/src/app/pages/apps-routes/app-show/app-show.page.ts index 4208e21b2..c19352694 100644 --- a/ui/src/app/pages/apps-routes/app-show/app-show.page.ts +++ b/ui/src/app/pages/apps-routes/app-show/app-show.page.ts @@ -239,7 +239,7 @@ export class AppShowPage { }, { action: () => this.navCtrl.navigateForward(['properties'], { relativeTo: this.route }), - title: 'Values', + title: 'Properties', icon: 'briefcase-outline', color: 'danger', disabled: [], @@ -267,7 +267,7 @@ export class AppShowPage { }, { action: () => this.navCtrl.navigateForward(['restore'], { relativeTo: this.route }), - title: 'Restore Backup', + title: 'Restore From Backup', icon: 'color-wand-outline', color: 'danger', disabled: [FEStatus.Connecting, FEStatus.Installing, FEStatus.Updating, FEStatus.Stopping, FEStatus.Removing, FEStatus.BackingUp, FEStatus.Restoring], diff --git a/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.html b/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.html index 38ca00abd..443f84fff 100644 --- a/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.html +++ b/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.html @@ -3,7 +3,7 @@ - Version History + Release Notes diff --git a/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.ts b/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.ts index 83d21fc67..0e6dac0be 100644 --- a/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.ts +++ b/ui/src/app/pages/marketplace-routes/app-release-notes/app-release-notes.page.ts @@ -14,14 +14,14 @@ export class AppReleaseNotes { constructor ( private readonly route: ActivatedRoute, - public aaService: MarketplaceService, + public marketplaceService: MarketplaceService, ) { } ngOnInit () { this.pkgId = this.route.snapshot.paramMap.get('pkgId') const version = this.route.snapshot.paramMap.get('version') - if (!this.aaService.pkgs[this.pkgId]) { - this.aaService.setPkg(this.pkgId, version) + if (!this.marketplaceService.pkgs[this.pkgId]) { + this.marketplaceService.setPkg(this.pkgId, version) } } diff --git a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html index ea7f2714c..192f4ced2 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html +++ b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html @@ -96,7 +96,7 @@ New in {{ pkg.manifest.version | displayEmver }} - Release History + All Release Notes @@ -109,9 +109,7 @@ Description - -
{{ pkg.manifest.description.long }}
-
+
{{ pkg.manifest.description.long }}
@@ -137,14 +135,97 @@ - - - Additional Information - - - Other versions - + Additional Info + + + + + + + +

Service ID

+

{{ pkg.manifest.id }}

+
+
+ + +

Categories

+

{{ pkg.categories.join(', ') }}

+
+
+ + +

Other Versions

+

Click to view other versions

+
+ + + +
+ + +

License

+

{{ pkg.manifest.license }}

+
+ + + +
+
+
+ + + + +

Source Repository

+

{{ pkg.manifest['upstream-repo'] }}

+
+ + + +
+ + +

Wrapper Repository

+

{{ pkg.manifest['wrapper-repo'] }}

+
+ + + +
+ + +

Support Site

+

{{ pkg.manifest['support-site'] }}

+
+ + + +
+ + +

Marketing Site

+

{{ pkg.manifest['marketing-site'] }}

+
+ + + +
+ + +

Donation Site

+

{{ donationUrl }}

+
+ + + +
+
+
+
+
+
- \ No newline at end of file + diff --git a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.scss b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.scss index 0b5a89dc0..db758772c 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.scss +++ b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.scss @@ -35,13 +35,7 @@ color: var(--ion-color-danger); } -ion-item-divider { - text-transform: uppercase; - margin-top: 22px; - font-weight: 400; -} - #release-notes { overflow: auto; - max-height: 160px; + max-height: 120px; } diff --git a/ui/src/app/pages/marketplace-routes/marketplace.service.ts b/ui/src/app/pages/marketplace-routes/marketplace.service.ts index 0bc87d496..504b659b7 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace.service.ts +++ b/ui/src/app/pages/marketplace-routes/marketplace.service.ts @@ -7,6 +7,7 @@ import { ApiService } from 'src/app/services/api/api.service' }) export class MarketplaceService { pkgs: { [id: string]: AvailableShow } = { } + additionalInfo constructor ( private readonly apiService: ApiService, diff --git a/ui/src/app/pages/notifications/notifications.page.html b/ui/src/app/pages/notifications/notifications.page.html index 089829f4b..03ea404d9 100644 --- a/ui/src/app/pages/notifications/notifications.page.html +++ b/ui/src/app/pages/notifications/notifications.page.html @@ -1,6 +1,6 @@ - + Notifications diff --git a/ui/src/app/pages/notifications/notifications.page.ts b/ui/src/app/pages/notifications/notifications.page.ts index ddd5e6f4c..f39afcf28 100644 --- a/ui/src/app/pages/notifications/notifications.page.ts +++ b/ui/src/app/pages/notifications/notifications.page.ts @@ -3,6 +3,7 @@ import { ApiService } from 'src/app/services/api/api.service' import { LoaderService } from 'src/app/services/loader.service' import { ServerNotification, ServerNotifications } from 'src/app/services/api/api-types' import { AlertController } from '@ionic/angular' +import { ActivatedRoute } from '@angular/router' @Component({ selector: 'notifications', @@ -15,15 +16,18 @@ export class NotificationsPage { notifications: ServerNotifications = [] page = 1 needInfinite = false + fromToast = false readonly perPage = 20 constructor ( private readonly apiService: ApiService, private readonly loader: LoaderService, private readonly alertCtrl: AlertController, + private readonly route: ActivatedRoute, ) { } async ngOnInit () { + this.fromToast = !!this.route.snapshot.queryParamMap.get('toast') this.notifications = await this.getNotifications() this.loading = false } diff --git a/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html b/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html index 51765defa..45e1ad0f1 100644 --- a/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html +++ b/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html @@ -4,7 +4,7 @@ SSH Keys - + diff --git a/ui/src/app/pages/server-routes/lan/lan.page.html b/ui/src/app/pages/server-routes/lan/lan.page.html index cd9adcefe..35200aa65 100644 --- a/ui/src/app/pages/server-routes/lan/lan.page.html +++ b/ui/src/app/pages/server-routes/lan/lan.page.html @@ -13,7 +13,7 @@ -

About

+

About

You can connect to your Embassy over your Local Area Network (LAN). This can be useful for achieving a faster experience, as well as a fallback in case the Tor network is experiencing issues.

@@ -26,7 +26,7 @@ -

Setup

+

Setup

diff --git a/ui/src/app/pages/server-routes/lan/lan.page.scss b/ui/src/app/pages/server-routes/lan/lan.page.scss index ae8a60ab4..e69de29bb 100644 --- a/ui/src/app/pages/server-routes/lan/lan.page.scss +++ b/ui/src/app/pages/server-routes/lan/lan.page.scss @@ -1,3 +0,0 @@ -.tiny-icon { - font-size: 12px; -} \ No newline at end of file diff --git a/ui/src/app/pages/server-routes/server-backup/server-backup.page.html b/ui/src/app/pages/server-routes/server-backup/server-backup.page.html index fd976b01f..ce8fcdd85 100644 --- a/ui/src/app/pages/server-routes/server-backup/server-backup.page.html +++ b/ui/src/app/pages/server-routes/server-backup/server-backup.page.html @@ -4,7 +4,7 @@
Create Backup - + @@ -18,52 +18,56 @@ {{ error }}
- - -

About

-

- Select a location to back up your Embassy. Because are diff-based, so your first backup will likely take much longer than subsequent backups. -

-
-

- During backup, your Embassy will be unusable. -

-
-
- + + +

About

+

+ Create frequent backups of your Embassy to avoid loss of data. +

+
+
+ + Select Backup Drive + No partitions available. To begin a backup, insert a storage device into your Embassy. No partitions available. Insert the storage device containing the backup you wish to restore. - - - - {{ disk.value.size }} - - - {{ disk.key }} - - - - - - - -

{{ partition.value.label || partition.key }} ({{ partition.value.size || 'unknown size' }})

-

Available

- -

Unavailable

-
-
-
-
-
-
+ + + + + + + {{ disk.value.size }} + + + {{ disk.key }} + + + + + + + +

{{ partition.value.label || partition.key }} ({{ partition.value.size || 'unknown size' }})

+

Available

+ +

Unavailable

+
+
+
+
+
+
+
+
+
diff --git a/ui/src/app/pages/server-routes/server-logs/server-logs.page.html b/ui/src/app/pages/server-routes/server-logs/server-logs.page.html index f2cef6767..c1b8be35c 100644 --- a/ui/src/app/pages/server-routes/server-logs/server-logs.page.html +++ b/ui/src/app/pages/server-routes/server-logs/server-logs.page.html @@ -4,7 +4,7 @@ Logs - + diff --git a/ui/src/app/pages/server-routes/server-specs/server-specs.page.html b/ui/src/app/pages/server-routes/server-specs/server-specs.page.html index 2566c20ff..e6fb810c4 100644 --- a/ui/src/app/pages/server-routes/server-specs/server-specs.page.html +++ b/ui/src/app/pages/server-routes/server-specs/server-specs.page.html @@ -27,7 +27,7 @@

http://{{ server['tor-address'] }}

- + @@ -36,7 +36,7 @@

https://{{ server['lan-address'] }}

- +
diff --git a/ui/src/app/pages/server-routes/wifi/wifi.page.html b/ui/src/app/pages/server-routes/wifi/wifi.page.html index 800d8caf1..374bb9122 100644 --- a/ui/src/app/pages/server-routes/wifi/wifi.page.html +++ b/ui/src/app/pages/server-routes/wifi/wifi.page.html @@ -4,7 +4,7 @@
WiFi Settings - + diff --git a/ui/src/app/services/api/mock-app-fixures.ts b/ui/src/app/services/api/mock-app-fixures.ts index 52bec63c1..4677bafb8 100644 --- a/ui/src/app/services/api/mock-app-fixures.ts +++ b/ui/src/app/services/api/mock-app-fixures.ts @@ -410,9 +410,9 @@ export module Mock { versions: ['0.19.0', '0.20.0', '0.21.0'], 'dependency-metadata': { }, 'release-notes': { - '0.19.0': 'release notes for Bitcoin 0.19.0', - '0.19.1': 'release notes for Bitcoin 0.19.1', '0.19.2': 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.', + '0.19.1': 'release notes for Bitcoin 0.19.1', + '0.19.0': 'release notes for Bitcoin 0.19.0', }, }, '0.20.0': { @@ -425,9 +425,9 @@ export module Mock { versions: ['0.19.0', '0.20.0', '0.21.0'], 'dependency-metadata': { }, 'release-notes': { - '0.19.0': 'release notes for Bitcoin 0.19.0', - '0.19.1': 'release notes for Bitcoin 0.19.1', '0.19.2': 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.', + '0.19.1': 'release notes for Bitcoin 0.19.1', + '0.19.0': 'release notes for Bitcoin 0.19.0', }, }, '0.21.0': { @@ -441,9 +441,9 @@ export module Mock { versions: ['0.19.0', '0.20.0', '0.21.0'], 'dependency-metadata': { }, 'release-notes': { - '0.19.0': 'release notes for Bitcoin 0.19.0', - '0.19.1': 'release notes for Bitcoin 0.19.1', '0.19.2': 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.', + '0.19.1': 'release notes for Bitcoin 0.19.1', + '0.19.0': 'release notes for Bitcoin 0.19.0', }, }, 'latest': { @@ -456,9 +456,9 @@ export module Mock { versions: ['0.19.0', '0.20.0', '0.21.0'], 'dependency-metadata': { }, 'release-notes': { - '0.19.2': 'release notes for Bitcoin 0.19.2', - '0.20.0': 'release notes for Bitcoin 0.20.0', '0.21.0': 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.', + '0.20.0': 'release notes for Bitcoin 0.20.0', + '0.19.2': 'release notes for Bitcoin 0.19.2', }, }, }, @@ -483,9 +483,9 @@ export module Mock { }, }, 'release-notes': { - '0.19.0': 'release notes for LND 0.19.0', - '0.19.1': 'release notes for LND 0.19.1', '0.19.2': 'release notes for LND 0.19.2', + '0.19.1': 'release notes for LND 0.19.1', + '0.19.0': 'release notes for LND 0.19.0', }, }, '0.11.1': { @@ -508,9 +508,9 @@ export module Mock { }, }, 'release-notes': { - '0.19.0': 'release notes for LND 0.19.0', - '0.19.1': 'release notes for LND 0.19.1', '0.19.2': 'release notes for LND 0.19.2', + '0.19.1': 'release notes for LND 0.19.1', + '0.19.0': 'release notes for LND 0.19.0', }, }, 'latest': { @@ -529,9 +529,9 @@ export module Mock { }, }, 'release-notes': { - '0.19.0': 'release notes for LND 0.19.0', - '0.19.1': 'release notes for LND 0.19.1', '0.19.2': 'release notes for LND 0.19.2', + '0.19.1': 'release notes for LND 0.19.1', + '0.19.0': 'release notes for LND 0.19.0', }, }, }, @@ -548,9 +548,9 @@ export module Mock { }, }, 'release-notes': { - '0.19.0': 'release notes for btc proxy 0.19.0', - '0.19.1': 'release notes for btc proxy 0.19.1', '0.19.2': 'release notes for btc proxy 0.19.2', + '0.19.1': 'release notes for btc proxy 0.19.1', + '0.19.0': 'release notes for btc proxy 0.19.0', }, }, }, diff --git a/ui/src/global.scss b/ui/src/global.scss index 2f22ee4a3..458dfcd80 100644 --- a/ui/src/global.scss +++ b/ui/src/global.scss @@ -47,21 +47,10 @@ z-index: 40000 !important; } -.alert-danger { - color: var(--ion-color-danger) !important; - & ion-icon { - color: var(--ion-color-danger) !important; - } -} - .borderless { border-style: none; } -.help-button { - margin: 0 8px 0 0; -} - .item-interactive { --highlight-background: transparent !important; } @@ -95,6 +84,7 @@ } ion-card-title { + color: var(--ion-color-dark); font-family: 'Montserrat'; } @@ -120,6 +110,9 @@ ion-badge { ion-item-divider { --background: transparent; + text-transform: uppercase; + margin-top: 16px; + font-weight: 400; } ion-infinite-scroll ion-infinite-scroll-content { @@ -132,6 +125,13 @@ ion-action-sheet { ion-alert { --backdrop-opacity: 0.75 !important; + .alert-button { + color: var(--ion-color-dark) !important; + } +} + +ion-button { + --color: var(--ion-color-dark) !important; } ion-loading { @@ -292,3 +292,7 @@ ion-item-divider { width: 16px !important; height: 16px !important; } + +h2 { + line-height: unset; +} diff --git a/ui/src/theme/variables.scss b/ui/src/theme/variables.scss index d710b5ad7..10dedbcf3 100644 --- a/ui/src/theme/variables.scss +++ b/ui/src/theme/variables.scss @@ -142,8 +142,6 @@ body.dark { --ion-color-light-contrast-rgb: 255,255,255; --ion-color-light-shade: #1e2023; --ion-color-light-tint: #383a3e; - - --ion-color-start9: #FF4960; } /*