 Chromium Code Reviews
 Chromium Code Reviews Issue 1754473002:
  MD Settings: create a global "action button" style (blue, flat)  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1754473002:
  MD Settings: create a global "action button" style (blue, flat)  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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 /** | 5 /** | 
| 6 * @fileoverview | 6 * @fileoverview | 
| 7 * Common styles for Material Design settings. | 7 * Common styles for Material Design settings. | 
| 8 */ | 8 */ | 
| 9 | 9 | 
| 10 <dom-module id="settings-shared"> | 10 <dom-module id="settings-shared"> | 
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 | 33 | 
| 34 iron-icon[icon=done] { | 34 iron-icon[icon=done] { | 
| 35 color: var(--google-green-500); | 35 color: var(--google-green-500); | 
| 36 } | 36 } | 
| 37 | 37 | 
| 38 paper-button { | 38 paper-button { | 
| 39 margin: 0; | 39 margin: 0; | 
| 40 min-width: auto; | 40 min-width: auto; | 
| 41 } | 41 } | 
| 42 | 42 | 
| 43 paper-button.call-to-action { | |
| 
dpapad
2016/03/01 02:18:03
Can we keep the "action-button" name? Seems much m
 
Dan Beam
2016/03/01 17:44:04
Done. (though for future reference, I don't agree
 
dpapad
2016/03/01 17:56:11
For future reference, I think is better if we disc
 | |
| 44 background: var(--google-blue-500); | |
| 45 color: white; | |
| 46 font-weight: 500; | |
| 47 } | |
| 48 | |
| 49 paper-button.call-to-action[disabled] { | |
| 50 opacity: .25; /* TODO(dbeam): check this value with bettes. */ | |
| 51 } | |
| 52 | |
| 43 paper-button[toggles][active] { | 53 paper-button[toggles][active] { | 
| 44 background-color: var(--paper-grey-300); | 54 background-color: var(--paper-grey-300); | 
| 45 } | 55 } | 
| 46 | 56 | 
| 47 span ~ a { | 57 span ~ a { | 
| 48 -webkit-margin-start: 4px; | 58 -webkit-margin-start: 4px; | 
| 49 } | 59 } | 
| 50 | 60 | 
| 51 [is='action-link'], | 61 [is='action-link'], | 
| 52 [is='action-link']:active, | 62 [is='action-link']:active, | 
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 233 .vertical-list > div:first-of-type { | 243 .vertical-list > div:first-of-type { | 
| 234 border-top: none; | 244 border-top: none; | 
| 235 } | 245 } | 
| 236 | 246 | 
| 237 .vertical-list > div { | 247 .vertical-list > div { | 
| 238 border-top: 1px solid var(--paper-grey-300); | 248 border-top: 1px solid var(--paper-grey-300); | 
| 239 } | 249 } | 
| 240 </style> | 250 </style> | 
| 241 </template> | 251 </template> | 
| 242 </dom-module> | 252 </dom-module> | 
| OLD | NEW |