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

Side by Side Diff: chrome/browser/resources/signin_error/signin_error.html

Issue 2274013002: [Signin Error Dialog] (1/3) Added necessary web components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
(Empty)
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <head>
4 <meta charset="utf-8">
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">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color. html">
8 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
9 <style is="custom-style">
tommycli 2016/08/24 17:22:52 I've noticed a variety of rules duplicated here wi
Jane 2016/08/25 16:35:28 Done. Factored a lot of it into signin_shared_css.
10 a {
11 color: var(--google-blue-700);
12 text-decoration: none;
13 }
14
15 body {
16 margin: 0;
17 padding: 0;
18 }
19
20 paper-button {
21 font-weight: 500
22 }
23
24 paper-button.primary-action {
25 background: var(--google-blue-500);
26 color: white;
27 --paper-button-flat-keyboard-focus: {
28 background: rgb(58, 117, 215);
29 };
30 }
31
32 paper-button.secondary-action {
33 color: var(--paper-grey-600);
34 --paper-button-flat-keyboard-focus: {
35 background: rgba(0, 0, 0, .12);
36 };
37 }
38
39 .container {
40 background-color: white;
41 color: #333;
42 overflow: hidden;
43 width: 448px;
44 }
45
46 .top-title-bar {
47 align-items: center;
48 border-bottom: 1px solid var(--paper-grey-300);
49 display: flex;
50 font-size: 16px;
51 height: 52px;
52 padding: 0 24px;
53 }
54
55 .details {
56 margin-bottom: 8px;
57 margin-top: 16px;
58 padding: 0 24px;
59 }
60
61 .action-container {
62 display: flex;
63 justify-content: flex-end;
64 padding: 16px;
65 }
66
67 #switchButton,
68 #secondaryConfirmButton,
69 #primaryConfirmButton {
70 line-height: 16px;
71 margin: 0;
72 padding: 8px 16px;
73 }
74
75 #switchButton {
76 -webkit-margin-start: 8px;
77 }
78
79 #primaryConfirmButton {
80 display: none;
81 }
82
83 <if expr="is_macosx or is_linux">
84 .action-container {
85 flex-flow: row-reverse;
86 justify-content: flex-start;
87 }
88 </if>
89 </style>
90 </head>
91 <body>
92 <div class="container">
93 <div class="top-title-bar">$i18n{signinErrorTitle}</div>
94 <div class="details">$i18nRaw{signinErrorMessage}</div>
95 <div class="action-container">
96 <paper-button class="primary-action" id="switchButton">
97 $i18n{signinErrorSwitchLabel}
98 </paper-button>
99 <paper-button class="secondary-action" id="secondaryConfirmButton">
100 $i18n{signinErrorOkLabel}
101 </paper-button>
102 <paper-button class="primary-action" id="primaryConfirmButton">
103 $i18n{signinErrorOkLabel}
104 </paper-button>
105 </div>
106 </div>
107 </body>
108 <script src="chrome://resources/js/cr.js"></script>
109 <script src="chrome://resources/js/load_time_data.js"></script>
110 <script src="chrome://resources/js/util.js"></script>
111 <script src="signin_error.js"></script>
112 <script src="chrome://signin-error/strings.js"></script>
113 <script src="chrome://resources/js/i18n_template.js"></script>
tommycli 2016/08/24 17:22:52 I suspect this is no longer needed.
Jane 2016/08/25 16:35:29 Done.
114 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698