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

Side by Side 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, 7 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/sync_confirmation/sync_confirmation.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language"> 2 <html i18n-values="dir:textdirection;lang:language">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 5 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper- button.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper- button.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color. html">
7 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> 8 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
8 <link rel="stylesheet" href="sync_confirmation.css"></link> 9 <link rel="stylesheet" href="sync_confirmation.css"></link>
9 <style is="custom-style"> 10 <style is="custom-style">
10 a { 11 a {
11 color: var(--google-blue-700); 12 color: var(--google-blue-700);
12 text-decoration: none; 13 text-decoration: none;
13 } 14 }
14 15
16 #confirmButton {
17 --paper-button: {
18 background: var(--google-blue-500);
19 color: white;
20 };
21 --paper-button-flat-keyboard-focus: {
22 background: rgb(58, 117, 215);
23 font-weight: 500;
24 };
25 }
26
27 #undoButton {
28 --paper-button: {
29 color: var(--paper-grey-600);
30 };
31 --paper-button-flat-keyboard-focus: {
32 background: rgba(0, 0, 0, .12);
33 font-weight: 500;
34 };
35 }
36
15 .action-container { 37 .action-container {
16 <if expr="is_macosx or is_linux"> 38 <if expr="is_macosx or is_linux">
17 flex-flow: row-reverse; 39 flex-flow: row-reverse;
18 justify-content: flex-start; 40 justify-content: flex-start;
19 </if> 41 </if>
20 } 42 }
21 </style> 43 </style>
22 </head> 44 </head>
23 <body> 45 <body>
24 <div class="container"> 46 <div class="container">
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 </div> 108 </div>
87 </div> 109 </div>
88 </body> 110 </body>
89 <script src="chrome://resources/js/cr.js"></script> 111 <script src="chrome://resources/js/cr.js"></script>
90 <script src="chrome://resources/js/load_time_data.js"></script> 112 <script src="chrome://resources/js/load_time_data.js"></script>
91 <script src="chrome://resources/js/util.js"></script> 113 <script src="chrome://resources/js/util.js"></script>
92 <script src="sync_confirmation.js"></script> 114 <script src="sync_confirmation.js"></script>
93 <script src="chrome://sync-confirmation/strings.js"></script> 115 <script src="chrome://sync-confirmation/strings.js"></script>
94 <script src="chrome://resources/js/i18n_template.js"></script> 116 <script src="chrome://resources/js/i18n_template.js"></script>
95 </html> 117 </html>
OLDNEW
« 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