| OLD | NEW |
| (Empty) |
| 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 | |
| 3 found in the LICENSE file. */ | |
| 4 | |
| 5 #button { | |
| 6 --paper-button-flat-keyboard-focus: { | |
| 7 border-color: rgba(66, 133, 244, 0.4); /* #4284f4 */ | |
| 8 border-radius: 2px; | |
| 9 border-style: solid; | |
| 10 border-width: 2px; | |
| 11 }; | |
| 12 color: var(--google-blue-500); | |
| 13 font: var(--oobe-roboto-bold), sans-serif; | |
| 14 font-size: 12px; | |
| 15 height: 32px; /* = 28 + border (2px + 2px) */ | |
| 16 margin: 0; | |
| 17 min-width: 92px; /* = 88 + border (2px + 2px) */ | |
| 18 padding: 0; | |
| 19 } | |
| 20 | |
| 21 #button:not([focused]) { | |
| 22 border-color: transparent; | |
| 23 border-radius: 2px; | |
| 24 border-style: solid; | |
| 25 border-width: 2px; | |
| 26 } | |
| 27 | |
| 28 #text { | |
| 29 -webkit-padding-end: 16px; | |
| 30 text-transform: none; | |
| 31 } | |
| 32 | |
| 33 iron-icon { | |
| 34 --iron-icon-height: 12px; | |
| 35 --iron-icon-width: 12px; | |
| 36 -webkit-padding-end: 8px; | |
| 37 -webkit-padding-start: 16px; | |
| 38 } | |
| 39 | |
| 40 #button[disabled] #text, | |
| 41 #button[disabled] iron-icon { | |
| 42 color: rgba(0, 0, 0, 0.34); | |
| 43 } | |
| 44 | |
| OLD | NEW |