Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1835)

Unified Diff: chrome/browser/resources/sync_confirmation/sync_confirmation.html

Issue 1910953003: Fixes the broken focus issue of 'OK, GOT IT' and 'UNDO' in the sync confirmation dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Michael's comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/sync_confirmation/sync_confirmation.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/sync_confirmation/sync_confirmation.html
diff --git a/chrome/browser/resources/sync_confirmation/sync_confirmation.html b/chrome/browser/resources/sync_confirmation/sync_confirmation.html
index 8111fa4f914b720f5d69b28f5b2a555025ec6143..91f8d5b066fc862d9852db9c5d3f75315ec257fc 100644
--- a/chrome/browser/resources/sync_confirmation/sync_confirmation.html
+++ b/chrome/browser/resources/sync_confirmation/sync_confirmation.html
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
+ <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
<link rel="stylesheet" href="sync_confirmation.css"></link>
<style is="custom-style">
@@ -12,6 +13,27 @@
text-decoration: none;
}
+ #confirmButton {
+ --paper-button: {
+ background: var(--google-blue-500);
+ color: white;
+ };
+ --paper-button-flat-keyboard-focus: {
+ background: rgb(58, 117, 215);
+ font-weight: 500;
+ };
+ }
+
+ #undoButton {
+ --paper-button: {
+ color: var(--paper-grey-600);
+ };
+ --paper-button-flat-keyboard-focus: {
+ background: rgba(0, 0, 0, .12);
+ font-weight: 500;
+ };
+ }
+
.action-container {
<if expr="is_macosx or is_linux">
flex-flow: row-reverse;
« no previous file with comments | « chrome/browser/resources/sync_confirmation/sync_confirmation.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698