Chromium Code Reviews| 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 dialog styles for Material Design settings. | 7 * Common dialog styles for Material Design settings. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 #dialog-content { | 10 #dialog-content { |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 padding-bottom: 5px; | 21 padding-bottom: 5px; |
| 22 padding-top: 5px; | 22 padding-top: 5px; |
| 23 } | 23 } |
| 24 | 24 |
| 25 paper-dialog .title { | 25 paper-dialog .title { |
| 26 flex: 1; | 26 flex: 1; |
| 27 font-size: 1.13em; | 27 font-size: 1.13em; |
| 28 } | 28 } |
| 29 | 29 |
| 30 paper-dialog .body { | 30 paper-dialog .body { |
| 31 display: flex; | |
| 32 flex-flow: column; | |
|
dpapad
2016/01/12 20:11:27
Nit: I don't think these make any visual differenc
dschuyler
2016/01/12 20:27:02
Ah, I believe they did in Patch 1 of this CL and t
| |
| 31 font-size: 1em; | 33 font-size: 1em; |
| 32 margin: 20px 0; | 34 margin: 20px 0; |
| 33 } | 35 } |
| 34 | 36 |
| 35 paper-dialog .title, | 37 paper-dialog .title, |
| 36 paper-dialog .body { | 38 paper-dialog .body { |
| 37 -webkit-padding-end: 24px; | 39 -webkit-padding-end: 24px; |
| 38 -webkit-padding-start: 24px; | 40 -webkit-padding-start: 24px; |
| 39 } | 41 } |
| 40 | 42 |
| 41 paper-dialog .action-button { | 43 paper-dialog .action-button { |
| 42 -webkit-margin-start: 10px; | 44 -webkit-margin-start: 10px; |
| 43 background-color: rgb(66, 133, 244); | 45 background-color: rgb(66, 133, 244); |
| 44 color: white; | 46 color: white; |
| 45 font-weight: 500; | 47 font-weight: 500; |
| 46 } | 48 } |
| 47 | 49 |
| 48 paper-dialog .cancel-button { | 50 paper-dialog .cancel-button { |
| 49 color: rgb(109, 109, 109); | 51 color: rgb(109, 109, 109); |
| 50 font-weight: 500; | 52 font-weight: 500; |
| 51 } | 53 } |
| 52 | 54 |
| 53 paper-dialog .explanation { | 55 paper-dialog .explanation { |
| 54 margin-bottom: 35px; | 56 margin-bottom: 35px; |
| 55 } | 57 } |
| 56 | 58 |
| 57 paper-dialog .button-container { | 59 paper-dialog .button-container { |
| 58 display: flex; | 60 display: flex; |
| 59 flex: 1; | |
| 60 justify-content: flex-end; | 61 justify-content: flex-end; |
| 61 } | 62 } |
| 62 | 63 |
| 63 paper-dialog paper-button { | 64 paper-dialog paper-button { |
| 64 margin: 0; | 65 margin: 0; |
| 65 min-width: auto; | 66 min-width: auto; |
| 66 } | 67 } |
| 67 | 68 |
| 68 paper-dialog paper-button[toggles][active] { | 69 paper-dialog paper-button[toggles][active] { |
| 69 background-color: LightGray; | 70 background-color: LightGray; |
| 70 } | 71 } |
| OLD | NEW |