| OLD | NEW |
| 1 /* Copyright 2016 The Chromium Authors. All rights reserved. | 1 /* Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. */ | 3 found in the LICENSE file. */ |
| 4 | 4 |
| 5 #button { | 5 #button { |
| 6 --paper-button-flat-keyboard-focus: { | 6 --paper-button-flat-keyboard-focus: { |
| 7 border-color: rgba(66, 133, 244, 0.4); /* #4284f4 */ | 7 border-color: rgba(66, 133, 244, 0.4); /* #4284f4 */ |
| 8 border-radius: 2px; | 8 border-radius: 2px; |
| 9 border-style: solid; | 9 border-style: solid; |
| 10 border-width: 2px; | 10 border-width: 2px; |
| 11 }; | 11 }; |
| 12 color: var(--google-blue-500); | 12 color: var(--google-blue-500); |
| 13 font: var(--oobe-roboto-bold), sans-serif; | 13 font: var(--oobe-roboto-bold), sans-serif; |
| 14 font-size: 12px; | 14 font-size: 12px; |
| 15 height: 32px; /* = 28 + border (2px + 2px) */ | 15 height: 32px; /* = 28 + border (2px + 2px) */ |
| 16 margin: 0; | 16 margin: 0; |
| 17 min-width: 92px; /* = 88 + border (2px + 2px) */ | 17 min-width: 92px; /* = 88 + border (2px + 2px) */ |
| 18 padding: 0; | 18 padding: 0 16px; |
| 19 } | 19 } |
| 20 | 20 |
| 21 #button:not([focused]) { | 21 #button:not([focused]) { |
| 22 border-color: transparent; | 22 border-color: transparent; |
| 23 border-radius: 2px; | 23 border-radius: 2px; |
| 24 border-style: solid; | 24 border-style: solid; |
| 25 border-width: 2px; | 25 border-width: 2px; |
| 26 } | 26 } |
| 27 | 27 |
| 28 #text { | 28 #text { |
| 29 -webkit-padding-end: 16px; | |
| 30 text-transform: none; | 29 text-transform: none; |
| 31 } | 30 } |
| 32 | 31 |
| 33 iron-icon { | 32 iron-icon { |
| 34 --iron-icon-height: 12px; | 33 --iron-icon-height: 12px; |
| 35 --iron-icon-width: 12px; | 34 --iron-icon-width: 12px; |
| 36 -webkit-padding-end: 8px; | 35 padding: 0 8px; |
| 37 -webkit-padding-start: 16px; | |
| 38 } | 36 } |
| 39 | 37 |
| 40 #button[disabled] #text, | 38 #button[disabled] #text, |
| 41 #button[disabled] iron-icon { | 39 #button[disabled] iron-icon { |
| 42 color: rgba(0, 0, 0, 0.34); | 40 color: rgba(0, 0, 0, 0.34); |
| 43 } | 41 } |
| 44 | 42 |
| 43 paper-button[disabled] { |
| 44 background: transparent; |
| 45 } |
| OLD | NEW |