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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
313 list > :not([editing]) [displaymode='edit'] { | 313 list > :not([editing]) [displaymode='edit'] { |
314 display: none; | 314 display: none; |
315 } | 315 } |
316 | 316 |
317 list > [editing] [displaymode='static'] { | 317 list > [editing] [displaymode='static'] { |
318 /* Don't use display:none or visibility:hidden because we need to keep an | 318 /* Don't use display:none or visibility:hidden because we need to keep an |
319 * element focusable. | 319 * element focusable. |
320 * We shrink only height. We don't shrink width to avoid to change the size | 320 * We shrink only height. We don't shrink width to avoid to change the size |
321 * of containing boxes. | 321 * of containing boxes. |
322 */ | 322 */ |
323 border-bottom: 0 !important; | |
arv (Not doing code reviews)
2014/10/16 17:10:13
Let the !important race begin!
| |
324 border-top: 0 !important; | |
323 height: 0 !important; | 325 height: 0 !important; |
326 margin-bottom: 0 !important; | |
327 margin-top: 0 !important; | |
324 overflow: hidden; | 328 overflow: hidden; |
325 pointer-events: none; | 329 pointer-events: none; |
326 } | 330 } |
327 | 331 |
328 list > [editing] input:invalid { | 332 list > [editing] input:invalid { |
329 /* TODO(stuartmorgan): Replace with validity badge */ | 333 /* TODO(stuartmorgan): Replace with validity badge */ |
330 background-color: pink; | 334 background-color: pink; |
331 } | 335 } |
332 | 336 |
333 .list-inline-button { | 337 .list-inline-button { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
432 html:not([hasFlashPlugin]) .flash-plugin-area, | 436 html:not([hasFlashPlugin]) .flash-plugin-area, |
433 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to | 437 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to |
434 * show the link to the Flash storage settings manager: | 438 * show the link to the Flash storage settings manager: |
435 */ | 439 */ |
436 html[flashPluginSupportsClearSiteData] .flash-plugin-area, | 440 html[flashPluginSupportsClearSiteData] .flash-plugin-area, |
437 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, | 441 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, |
438 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled, | 442 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled, |
439 html:not([enablePepperFlashSettings]) .pepper-flash-settings { | 443 html:not([enablePepperFlashSettings]) .pepper-flash-settings { |
440 display: none; | 444 display: none; |
441 } | 445 } |
OLD | NEW |