From 4f8758c6d7ca111df8ec85d0d11340dc2db88fc9 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Wed, 12 Oct 2016 22:01:48 -0400 Subject: [PATCH] feat(design): polish all settings views Closes #424 --- src/sass/icons.scss | 8 ++++---- src/sass/views/advancedSettings.scss | 12 +++--------- src/sass/views/tab-settings.scss | 24 ++++++++++++++---------- www/img/icon-link.svg | 4 ++-- www/views/advancedSettings.html | 12 +++++++----- www/views/paperWallet.html | 20 ++++++-------------- www/views/preferences.html | 4 ++-- www/views/preferencesAdvanced.html | 2 +- www/views/preferencesAlias.html | 2 +- www/views/preferencesEmail.html | 11 ++++++++--- www/views/preferencesInformation.html | 14 ++++++++++---- www/views/tab-settings.html | 4 ++-- 12 files changed, 60 insertions(+), 57 deletions(-) diff --git a/src/sass/icons.scss b/src/sass/icons.scss index 65e4e7f1a..0e7c431a5 100644 --- a/src/sass/icons.scss +++ b/src/sass/icons.scss @@ -1,19 +1,19 @@ .icon.bp-arrow-right { @extend .ion-ios-arrow-right; - @extend %just-a-hint; + @extend .just-a-hint; } .icon.bp-arrow-down { @extend .ion-ios-arrow-down; - @extend %just-a-hint; + @extend .just-a-hint; } .icon.bp-arrow-up { @extend .ion-ios-arrow-up; - @extend %just-a-hint; + @extend .just-a-hint; } -%just-a-hint { +.just-a-hint { opacity: 0.2; } diff --git a/src/sass/views/advancedSettings.scss b/src/sass/views/advancedSettings.scss index d3da674d9..85dee4e55 100644 --- a/src/sass/views/advancedSettings.scss +++ b/src/sass/views/advancedSettings.scss @@ -8,10 +8,6 @@ #advanced-settings { .list { .item { - color: #444; - border-top: none; - padding-top: 1.5rem; - padding-bottom: 1.5rem; &:before { display: block; position: absolute; @@ -39,15 +35,13 @@ color: rgb(58, 58, 58); } } + .has-comment { + border-bottom: 0 none; + } .comment { padding: 15px; background-color: #fff; color: rgba(74, 74, 74, 0.8); } - .divider-comment { - padding: 15px; - color: rgba(74, 74, 74, 0.8); - font-size: 15px; - } } } diff --git a/src/sass/views/tab-settings.scss b/src/sass/views/tab-settings.scss index 309cb6119..a4bedf400 100644 --- a/src/sass/views/tab-settings.scss +++ b/src/sass/views/tab-settings.scss @@ -27,7 +27,7 @@ color: $light-gray; font-size: 14px; } - .settings-list { + .settings-input-group { background-color: #fff; .item-stacked-label { padding: 1rem; @@ -37,16 +37,25 @@ font-size: 12px; font-weight: bold; } + } + .settings-list { + .item { + color: $dark-gray; + border-top: none; + padding-top: 1.3rem; + padding-bottom: 1.3rem; + &.item-divider { + color: $mid-gray; + padding-bottom: .5rem; + font-size: .9rem; + } + } } } #tab-settings { .list { .item { - color: $dark-gray; - border-top: none; - padding-top: 1.3rem; - padding-bottom: 1.3rem; .big-icon-svg { & > .bg{ width:20px; @@ -75,11 +84,6 @@ right: 0; content: ''; } - &.item-divider { - color: $mid-gray; - padding-bottom: .5rem; - font-size: .9rem; - } &.item-heading { &:before { top: 99% diff --git a/www/img/icon-link.svg b/www/img/icon-link.svg index 38d3e8cb0..eba22bf4e 100644 --- a/www/img/icon-link.svg +++ b/www/img/icon-link.svg @@ -5,7 +5,7 @@ Created with sketchtool. - + @@ -15,4 +15,4 @@ - \ No newline at end of file + diff --git a/www/views/advancedSettings.html b/www/views/advancedSettings.html index e0a2d0e5d..505ea7dc6 100644 --- a/www/views/advancedSettings.html +++ b/www/views/advancedSettings.html @@ -6,7 +6,7 @@ -
+
Enabled Integrations
@@ -30,7 +30,7 @@
Wallet Operation
- + Use Unconfirmed Funds
@@ -38,11 +38,13 @@
Experimental Features
-
- These features aren't quite ready for primetime. They may change, stop working, or disappear at any time. +
+
+ These features aren't quite ready for primetime. They may change, stop working, or disappear at any time. +
- + Recent Transaction Card
diff --git a/www/views/paperWallet.html b/www/views/paperWallet.html index 08b198155..43c9754fc 100644 --- a/www/views/paperWallet.html +++ b/www/views/paperWallet.html @@ -6,21 +6,13 @@ -
-
-

-
- - Backup Needed. - - Before receiving funds, you must backup your wallet. If this device is lost, it is impossible to access your funds without a backup. - -
-
- - Preferences - +
+
+
Backup Needed
+
+ Before receiving funds, you must backup your wallet. If this device is lost, it is impossible to access your funds without a backup.
+ Preferences
diff --git a/www/views/preferences.html b/www/views/preferences.html index 410b93119..54e38ccd2 100644 --- a/www/views/preferences.html +++ b/www/views/preferences.html @@ -7,7 +7,7 @@ - diff --git a/www/views/preferencesAdvanced.html b/www/views/preferencesAdvanced.html index 4f307ebc6..ee1c3b859 100644 --- a/www/views/preferencesAdvanced.html +++ b/www/views/preferencesAdvanced.html @@ -1,6 +1,6 @@ - {{'Advanced Preferences' | translate}} + {{'More Options' | translate}} diff --git a/www/views/preferencesAlias.html b/www/views/preferencesAlias.html index 8471af6f5..ed052c03f 100644 --- a/www/views/preferencesAlias.html +++ b/www/views/preferencesAlias.html @@ -12,7 +12,7 @@
When this wallet was created, it was called “{{walletName}}”. You can change the name displayed on this device below.
-
+