Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 body { | 5 body { |
| 6 position: relative; | 6 position: relative; |
| 7 } | 7 } |
| 8 | 8 |
| 9 #main-content { | 9 #main-content { |
| 10 bottom: 0; | 10 bottom: 0; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 304 white-space: nowrap; | 304 white-space: nowrap; |
| 305 } | 305 } |
| 306 | 306 |
| 307 list[type='text'][inlineeditable] input { | 307 list[type='text'][inlineeditable] input { |
| 308 box-sizing: border-box; | 308 box-sizing: border-box; |
| 309 margin: 0; | 309 margin: 0; |
| 310 width: 100%; | 310 width: 100%; |
| 311 } | 311 } |
| 312 | 312 |
| 313 list > :not([editing]) [displaymode='edit'] { | 313 list > :not([editing]) [displaymode='edit'] { |
| 314 display: none; | 314 border: none; |
| 315 } | 315 background-color: rgb(255, 255, 255); |
|
Dan Beam
2014/10/18 01:35:44
^ why is this necessary? also, why not "white"?
| |
| 316 | |
| 317 list > [editing] [displaymode='static'] { | |
| 318 /* Don't use display:none because we need to keep an element focusable. */ | |
| 319 left: 0; | |
| 320 pointer-events: none; | |
| 321 position: absolute; | |
| 322 visibility: hidden; | |
| 323 } | 316 } |
| 324 | 317 |
| 325 list > [editing] input:invalid { | 318 list > [editing] input:invalid { |
| 326 /* TODO(stuartmorgan): Replace with validity badge */ | 319 /* TODO(stuartmorgan): Replace with validity badge */ |
| 327 background-color: pink; | 320 background-color: pink; |
| 328 } | 321 } |
| 329 | 322 |
| 330 .list-inline-button { | 323 .list-inline-button { |
| 331 -webkit-appearance: none; | 324 -webkit-appearance: none; |
| 332 -webkit-transition: opacity 150ms; | 325 -webkit-transition: opacity 150ms; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 428 html:not([hasFlashPlugin]) .flash-plugin-area, | 421 html:not([hasFlashPlugin]) .flash-plugin-area, |
| 429 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to | 422 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to |
| 430 * show the link to the Flash storage settings manager: | 423 * show the link to the Flash storage settings manager: |
| 431 */ | 424 */ |
| 432 html[flashPluginSupportsClearSiteData] .flash-plugin-area, | 425 html[flashPluginSupportsClearSiteData] .flash-plugin-area, |
| 433 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, | 426 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, |
| 434 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled, | 427 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled, |
| 435 html:not([enablePepperFlashSettings]) .pepper-flash-settings { | 428 html:not([enablePepperFlashSettings]) .pepper-flash-settings { |
| 436 display: none; | 429 display: none; |
| 437 } | 430 } |
| OLD | NEW |