| OLD | NEW |
| 1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 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 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * Common styles for Material Design settings. | 7 * Common styles for Material Design settings. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 paper-button { | 10 paper-button { |
| 11 margin: 0; | 11 margin: 0; |
| 12 min-width: auto; | 12 min-width: auto; |
| 13 } | 13 } |
| 14 | 14 |
| 15 paper-button[toggles][active] { | 15 paper-button[toggles][active] { |
| 16 background-color: LightGray; | 16 background-color: LightGray; |
| 17 } | 17 } |
| 18 | 18 |
| 19 .text-elide { |
| 20 overflow: hidden; |
| 21 text-overflow: ellipsis; |
| 22 white-space: nowrap; |
| 23 } |
| 24 |
| 19 h2 { | 25 h2 { |
| 20 color: #9e9e9e; | 26 color: #9e9e9e; |
| 21 font-size: 100%; | 27 font-size: 100%; |
| 22 font-weight: normal; | 28 font-weight: normal; |
| 23 margin-bottom: 20px; | 29 margin-bottom: 20px; |
| 24 margin-top: 30px; | 30 margin-top: 30px; |
| 25 } | 31 } |
| 26 | 32 |
| 27 .button-row { | 33 .button-row { |
| 28 display: flex; | 34 display: flex; |
| 29 margin-top: 25px; | 35 margin-top: 25px; |
| 30 } | 36 } |
| 31 | 37 |
| 32 .button-strip { | 38 .button-strip { |
| 33 text-align: end; | 39 text-align: end; |
| 34 } | 40 } |
| 35 | 41 |
| 36 .list-frame { | 42 .list-frame { |
| 37 @apply(--layout-center); | 43 @apply(--layout-center); |
| 38 display: block; | 44 display: block; |
| 39 margin-left: 48px; | 45 margin-left: 48px; |
| 40 padding: 0; | 46 padding: 0; |
| 41 } | 47 } |
| 42 | 48 |
| 43 .list-item { | 49 .list-item { |
| 44 @apply(--layout-center); | 50 @apply(--layout-center); |
| 45 border-top: 1px solid #e0e0e0; | 51 border-top: 1px solid #e0e0e0; |
| 46 display: block; | 52 display: flex; |
| 47 padding: 0; | 53 padding: 0; |
| 48 } | 54 } |
| 49 | 55 |
| 50 .list-item:first-of-type { | 56 .list-item:first-of-type { |
| 51 border-top: none; | 57 border-top: none; |
| 52 } | 58 } |
| 53 | 59 |
| 60 .list-item .middle { |
| 61 flex: 1; |
| 62 margin: 8px 12px; |
| 63 overflow: hidden; |
| 64 white-space: nowrap; |
| 65 } |
| 66 |
| 67 .list-item .secondary { |
| 68 color: #969696; |
| 69 } |
| 70 |
| 54 .list-item > paper-icon-item { | 71 .list-item > paper-icon-item { |
| 55 padding: 0; | 72 padding: 0; |
| 56 } | 73 } |
| 57 | 74 |
| 58 .link-button { | 75 .link-button { |
| 59 color: rgb(61, 130, 243); | 76 color: rgb(61, 130, 243); |
| 60 padding-bottom: 6px; | 77 padding-bottom: 6px; |
| 61 padding-left: 0; | 78 padding-left: 0; |
| 62 padding-right: 0; | 79 padding-right: 0; |
| 63 padding-top: 6px; | 80 padding-top: 6px; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 81 } | 98 } |
| 82 | 99 |
| 83 .split .start { | 100 .split .start { |
| 84 flex: auto; | 101 flex: auto; |
| 85 } | 102 } |
| 86 | 103 |
| 87 .settings-box paper-item iron-icon { | 104 .settings-box paper-item iron-icon { |
| 88 /* Same padding as paper-icon-button. */ | 105 /* Same padding as paper-icon-button. */ |
| 89 padding: 8px; | 106 padding: 8px; |
| 90 } | 107 } |
| OLD | NEW |