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

Side by Side Diff: chrome/browser/resources/signin/signin_shared_css.html

Issue 2665113007: Fix layout of the sync and sign-in error dialogs when the page zoom is increased. (Closed)
Patch Set: Created 3 years, 10 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
1 <!-- Common styles for signin-related tab modal dialogs. --> 1 <!-- Common styles for signin-related tab modal dialogs. -->
2 <dom-module id="signin-dialog-shared"> 2 <dom-module id="signin-dialog-shared">
3 <template> 3 <template>
4 <style> 4 <style>
5 a { 5 a {
6 color: var(--google-blue-700); 6 color: var(--google-blue-700);
7 text-decoration: none; 7 text-decoration: none;
8 } 8 }
9 9
10 body { 10 body {
11 margin: 0; 11 margin: 0;
12 /* Scrollbars are hidden as the sign-in dialogs are automatically
13 * resized. */
14 overflow: hidden;
15 padding: 0; 12 padding: 0;
13 zoom: reset;
16 } 14 }
17 15
18 paper-button { 16 paper-button {
19 font-weight: 500; 17 font-weight: 500;
20 line-height: 16px; 18 line-height: 16px;
21 margin: 0; 19 margin: 0;
22 padding: 8px 16px; 20 padding: 8px 16px;
23 } 21 }
24 22
25 paper-button.primary-action { 23 paper-button.primary-action {
(...skipping 14 matching lines...) Expand all
40 paper-radio-button { 38 paper-radio-button {
41 --paper-radio-button-checked-color: var(--google-blue-500); 39 --paper-radio-button-checked-color: var(--google-blue-500);
42 --paper-radio-button-ink-size: 40px; 40 --paper-radio-button-ink-size: 40px;
43 --paper-radio-button-label-spacing: 16px; 41 --paper-radio-button-label-spacing: 16px;
44 --paper-radio-button-unchecked-color: var(--paper-grey-600); 42 --paper-radio-button-unchecked-color: var(--paper-grey-600);
45 } 43 }
46 44
47 .container { 45 .container {
48 background-color: white; 46 background-color: white;
49 color: #333; 47 color: #333;
50 /* Scrollbars are hidden as the sign-in dialogs are automatically
51 * resized. */
52 overflow: hidden;
53 width: 448px; 48 width: 448px;
54 } 49 }
55 50
56 .top-title-bar { 51 .top-title-bar {
57 align-items: center; 52 align-items: center;
58 border-bottom: 1px solid var(--paper-grey-300); 53 border-bottom: 1px solid var(--paper-grey-300);
59 display: flex; 54 display: flex;
60 font-size: 16px; 55 font-size: 16px;
61 height: 52px; 56 height: 52px;
62 padding: 0 24px; 57 padding: 0 24px;
63 } 58 }
64 59
65 .action-container { 60 .action-container {
66 display: flex; 61 display: flex;
67 justify-content: flex-end; 62 justify-content: flex-end;
68 padding: 16px; 63 padding: 16px;
69 } 64 }
70 65
71 <if expr="is_macosx or is_linux"> 66 <if expr="is_macosx or is_linux">
72 .action-container { 67 .action-container {
73 flex-flow: row-reverse; 68 flex-flow: row-reverse;
74 justify-content: flex-start; 69 justify-content: flex-start;
75 } 70 }
76 </if> 71 </if>
77 72
78 </style> 73 </style>
79 </template> 74 </template>
80 </dom-module> 75 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698