From 67f450ba594afbb867c358b22f13241f673c8d6f Mon Sep 17 00:00:00 2001 From: Cezar Augusto Date: Wed, 15 Nov 2017 19:54:10 -0200 Subject: [PATCH] tweak TOS for ledger close #11942 Auditors: @bsclifton --- .../locales/en-US/preferences.properties | 1 + .../preferences/payment/disabledContent.js | 38 +++++++++++++------ .../preferences/payment/enabledContent.js | 12 ++++++ 3 files changed, 40 insertions(+), 11 deletions(-) diff --git a/app/extensions/brave/locales/en-US/preferences.properties b/app/extensions/brave/locales/en-US/preferences.properties index c8bfe82910d..004564144c5 100644 --- a/app/extensions/brave/locales/en-US/preferences.properties +++ b/app/extensions/brave/locales/en-US/preferences.properties @@ -353,6 +353,7 @@ tabs=Tabs tabSettings=Tab Settings tabsPerTabPage=Number of tabs per tab set: tabsSettings=Tabs Settings +termsOfService=Terms of Service timeSpent=Time Spent toolbarUserInterfaceScale=Toolbar and UI elements scale totalAmount=Total Amount diff --git a/app/renderer/components/preferences/payment/disabledContent.js b/app/renderer/components/preferences/payment/disabledContent.js index 9a041d5917a..9fb772f49e9 100644 --- a/app/renderer/components/preferences/payment/disabledContent.js +++ b/app/renderer/components/preferences/payment/disabledContent.js @@ -19,18 +19,25 @@ const uphold2 = require('../../../../extensions/brave/img/ledger/uphold_logo_med class DisabledContent extends ImmutableComponent { render () { return
-
-

-
-
-
-
-
-
-   -   - +
+
+

+
+
+
+

@@ -74,6 +81,15 @@ const styles = StyleSheet.create({ fontWeight: 'bold' }, + disabledContent__message__toc: { + display: 'flex', + flex: 1, + justifyContent: 'flex-end', + fontSize: '13px', + color: '#666', + padding: '20px 0' + }, + disabledContent__sidebar: { minWidth: '200px', marginLeft: '35px' diff --git a/app/renderer/components/preferences/payment/enabledContent.js b/app/renderer/components/preferences/payment/enabledContent.js index 1626122ece7..f8106077f5e 100644 --- a/app/renderer/components/preferences/payment/enabledContent.js +++ b/app/renderer/components/preferences/payment/enabledContent.js @@ -242,6 +242,11 @@ class EnabledContent extends ImmutableComponent { settings={this.props.settings} onChangeSetting={this.props.onChangeSetting} siteSettings={this.props.siteSettings} /> +

} } @@ -336,6 +341,13 @@ const styles = StyleSheet.create({ zIndex: 2 }, + enabledContent__tos: { + float: 'right', + fontSize: '13px', + color: '#666', + padding: '20px 60px' + }, + enabledContent__loader: { background: '#fafafa', zIndex: 3,