diff --git a/css/styles.scss b/css/styles.scss index 95392fe60..d9c3231fb 100644 --- a/css/styles.scss +++ b/css/styles.scss @@ -113,6 +113,11 @@ body { transition: color ease-in-out 0.2s; z-index: 10; + &:active { + background-color: $colour-link-highlight; + color: $colour-text1; + } + &.fixed { position: fixed; bottom: 1rem; @@ -357,7 +362,7 @@ body { font-size: 0.9em; color: $colour-text1; border-radius: $border-radius-input; - background: #7db2be; + background-color: #7db2be; z-index: 55; &:focus { @@ -368,6 +373,7 @@ body { } } + &:active, &:hover { background: $colour-bg2; } @@ -537,7 +543,7 @@ body { color: #fff; background: $colour-danger; padding: 0 0.5rem; - z-index: 20; + z-index: 60; border-radius: $border-radius-input; } @@ -708,6 +714,7 @@ body { line-height: 1.2rem; max-width: 99%; + &:active, &:hover, &:focus { cursor: pointer; @@ -734,7 +741,6 @@ body { } .tags-input-container { - @extend .btn-icon-container; border-radius: $border-radius-input; background-color: $colour-text1; overflow: hidden; diff --git a/js/app.js b/js/app.js index 282e79650..0c2f1d285 100644 --- a/js/app.js +++ b/js/app.js @@ -1029,6 +1029,7 @@ xBrowserSync.App.Controller = function ($q, $timeout, platform, globals, api, ut vm.sync.password = ''; vm.sync.passwordComplexity = {}; vm.sync.passwordConfirmation = null; + vm.sync.showPassword = false; vm.sync.upgradeConfirmed = false; if (vm.syncForm) { vm.syncForm.$setPristine(); diff --git a/platform/android/css/platform.scss b/platform/android/css/platform.scss index a89c5d476..b8b324694 100644 --- a/platform/android/css/platform.scss +++ b/platform/android/css/platform.scss @@ -92,36 +92,19 @@ body { } button.btn { - &.btn-default { - &:not([disabled]):active:hover { - background-color: $colour-text1; - color: $colour-link-highlight; - border-color: $colour-text1; - } - - &:not([disabled]):hover { + &.btn-default:not([disabled]) { + &:hover, + &:focus { background-color: transparent; color: $colour-text1; border-color: $colour-text1; - } - - &:not([disabled]):focus { text-decoration: none; } } - &.btn-default:not([disabled]):focus { - text-decoration: none; - } - &.btn-icon { - &:active:hover { - i { - opacity: 1; - } - } - - &:hover { + &:hover, + &:focus { i { opacity: 0.4; } @@ -148,6 +131,18 @@ body { height: 100vh; } + .form-group { + &.btn-icon-container { + .btn-icon { + &:focus, + &:hover { + background-color: #7db2be; + border: none; + } + } + } + } + .header-panel { font-size: 1.5rem; margin-bottom: 0.75rem; @@ -177,23 +172,17 @@ body { } .well { - .btn.btn-default { - color: $colour-text2; - border-color: $colour-text2; - font-weight: normal; - border-width: 1px; + button.btn.btn-default { font-size: 1rem; - &:not([disabled]):active:hover { - background-color: $colour-text2; - color: $colour-link-highlight; - border-color: $colour-text2; - } - - &:not([disabled]):hover { - background-color: transparent; - color: $colour-text2; - border-color: $colour-text2; + &:not([disabled]) { + &:hover, + &:focus { + background-color: transparent; + color: $colour-text2; + border-color: $colour-text2; + text-decoration: none; + } } } } @@ -215,6 +204,13 @@ body { .badge { font-size: 1rem; line-height: 1.3rem; + + &:focus, + &:hover { + i { + color: $colour-link; + } + } } .label { diff --git a/platform/android/js/platformImplementation.js b/platform/android/js/platformImplementation.js index a82a79437..07ba7b71c 100644 --- a/platform/android/js/platformImplementation.js +++ b/platform/android/js/platformImplementation.js @@ -637,7 +637,7 @@ xBrowserSync.App.PlatformImplementation = function ($interval, $q, $timeout, pla "message": "Local data has been refreshed, please redo previous unsynced changes." }, "error_OutOfSync_Title": { - "message": "Data out of sync" + "message": "Sync conflict detected" }, "error_OutOfSync_Message": { "message": "Local data was out of sync and has now been refreshed. Please redo previous unsynced changes." @@ -1570,7 +1570,10 @@ xBrowserSync.App.PlatformImplementation = function ($interval, $q, $timeout, pla var handleBackButton = function (event) { if (vm.view.current === vm.view.views.bookmark || vm.view.current === vm.view.views.settings || - vm.view.current === vm.view.views.about + vm.view.current === vm.view.views.help || + vm.view.current === vm.view.views.support || + vm.view.current === vm.view.views.updated || + vm.view.current === vm.view.views.scan ) { // Back to login/search panel event.preventDefault(); diff --git a/platform/chrome/_locales/de/messages.json b/platform/chrome/_locales/de/messages.json index ffc6881eb..473722be3 100644 --- a/platform/chrome/_locales/de/messages.json +++ b/platform/chrome/_locales/de/messages.json @@ -630,7 +630,7 @@ "message": "Local data has been refreshed, please redo previous unsynced changes." }, "error_OutOfSync_Title": { - "message": "Daten nicht mehr synchron" + "message": "Sync conflict detected" }, "error_OutOfSync_Message": { "message": "Local data was out of sync and has now been refreshed. Please redo previous unsynced changes." diff --git a/platform/chrome/_locales/en/messages.json b/platform/chrome/_locales/en/messages.json index 2df112cdc..e8ea9c7be 100644 --- a/platform/chrome/_locales/en/messages.json +++ b/platform/chrome/_locales/en/messages.json @@ -630,7 +630,7 @@ "message": "Local data has been refreshed, please redo previous unsynced changes." }, "error_OutOfSync_Title": { - "message": "Data out of sync" + "message": "Sync conflict detected" }, "error_OutOfSync_Message": { "message": "Local data was out of sync and has now been refreshed. Please redo previous unsynced changes." diff --git a/platform/chrome/_locales/fr/messages.json b/platform/chrome/_locales/fr/messages.json index aa2d2aad0..9e287216d 100644 --- a/platform/chrome/_locales/fr/messages.json +++ b/platform/chrome/_locales/fr/messages.json @@ -630,7 +630,7 @@ "message": "Local data has been refreshed, please redo previous unsynced changes." }, "error_OutOfSync_Title": { - "message": "Données non synchronisées" + "message": "Sync conflict detected" }, "error_OutOfSync_Message": { "message": "Local data was out of sync and has now been refreshed. Please redo previous unsynced changes." diff --git a/platform/firefox/_locales/en/messages.json b/platform/firefox/_locales/en/messages.json index 2856c9a03..6d5f08a43 100644 --- a/platform/firefox/_locales/en/messages.json +++ b/platform/firefox/_locales/en/messages.json @@ -630,7 +630,7 @@ "message": "Local data has been refreshed, please redo previous unsynced changes." }, "error_OutOfSync_Title": { - "message": "Data out of sync" + "message": "Sync conflict detected" }, "error_OutOfSync_Message": { "message": "Local data was out of sync and has now been refreshed. Please redo previous unsynced changes." diff --git a/views/bookmark.html b/views/bookmark.html index 4fb650752..62008b2ad 100644 --- a/views/bookmark.html +++ b/views/bookmark.html @@ -50,7 +50,7 @@

{{ vm.platform.GetConstant(vm.gl placeholder="{{ vm.platform.GetConstant(vm.globals.Constants.Bookmark_DescriptionField_Label) }}">
-
+
-
+
- + +
-
- +
{{ vm.sync.passwordComplexity.feedback.warning ? vm.sync.passwordComplexity.feedback.warning :