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; | |
| 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 { |
| 56 flex: 1; | |
|
dpapad
2016/01/12 00:43:47
As discussed in person, it looks better to me to r
dschuyler
2016/01/12 19:49:37
I like those suggestions. I've asked Alan for his
| |
| 54 margin-bottom: 35px; | 57 margin-bottom: 35px; |
| 55 } | 58 } |
| 56 | 59 |
| 57 paper-dialog .button-container { | 60 paper-dialog .button-container { |
| 58 display: flex; | 61 display: flex; |
| 59 flex: 1; | |
| 60 justify-content: flex-end; | 62 justify-content: flex-end; |
| 61 } | 63 } |
| 62 | 64 |
| 63 paper-dialog paper-button { | 65 paper-dialog paper-button { |
| 64 margin: 0; | 66 margin: 0; |
| 65 min-width: auto; | 67 min-width: auto; |
| 66 } | 68 } |
| 67 | 69 |
| 68 paper-dialog paper-button[toggles][active] { | 70 paper-dialog paper-button[toggles][active] { |
| 69 background-color: LightGray; | 71 background-color: LightGray; |
| 70 } | 72 } |
| OLD | NEW |