| OLD | NEW |
| 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 { |
| 26 --paper-button-flat-keyboard-focus: { | 24 --paper-button-flat-keyboard-focus: { |
| 27 background: rgb(58, 117, 215); | 25 background: rgb(58, 117, 215); |
| 28 }; | 26 }; |
| 29 background: var(--google-blue-500); | 27 background: var(--google-blue-500); |
| 30 color: white; | 28 color: white; |
| 31 } | 29 } |
| 32 | 30 |
| 33 paper-button.secondary-action { | 31 paper-button.secondary-action { |
| 34 --paper-button-flat-keyboard-focus: { | 32 --paper-button-flat-keyboard-focus: { |
| 35 background: rgba(0, 0, 0, .12); | 33 background: rgba(0, 0, 0, .12); |
| 36 }; | 34 }; |
| 37 color: var(--paper-grey-600); | 35 color: var(--paper-grey-600); |
| 38 } | 36 } |
| 39 | 37 |
| 40 .container { | 38 .container { |
| 41 background-color: white; | 39 background-color: white; |
| 42 color: #333; | 40 color: #333; |
| 43 /* Scrollbars are hidden as the sign-in dialogs are automatically | |
| 44 resized.*/ | |
| 45 overflow: hidden; | |
| 46 width: 448px; | 41 width: 448px; |
| 47 } | 42 } |
| 48 | 43 |
| 49 .top-title-bar { | 44 .top-title-bar { |
| 50 align-items: center; | 45 align-items: center; |
| 51 border-bottom: 1px solid var(--paper-grey-300); | 46 border-bottom: 1px solid var(--paper-grey-300); |
| 52 display: flex; | 47 display: flex; |
| 53 font-size: 16px; | 48 font-size: 16px; |
| 54 height: 52px; | 49 height: 52px; |
| 55 padding: 0 24px; | 50 padding: 0 24px; |
| 56 } | 51 } |
| 57 | 52 |
| 58 .action-container { | 53 .action-container { |
| 59 display: flex; | 54 display: flex; |
| 60 justify-content: flex-end; | 55 justify-content: flex-end; |
| 61 padding: 16px; | 56 padding: 16px; |
| 62 } | 57 } |
| 63 | 58 |
| 64 <if expr="is_macosx or is_linux"> | 59 <if expr="is_macosx or is_linux"> |
| 65 .action-container { | 60 .action-container { |
| 66 flex-flow: row-reverse; | 61 flex-flow: row-reverse; |
| 67 justify-content: flex-start; | 62 justify-content: flex-start; |
| 68 } | 63 } |
| 69 </if> | 64 </if> |
| 70 | 65 |
| 71 </style> | 66 </style> |
| 72 </template> | 67 </template> |
| 73 </dom-module> | 68 </dom-module> |
| OLD | NEW |