| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 .bottom-strip { | 83 .bottom-strip { |
| 84 border-top: none; | 84 border-top: none; |
| 85 bottom: 0; | 85 bottom: 0; |
| 86 padding: 12px; | 86 padding: 12px; |
| 87 position: absolute; | 87 position: absolute; |
| 88 right: 0; | 88 right: 0; |
| 89 } | 89 } |
| 90 | 90 |
| 91 /* Omit top padding (currently only on #settings) whenever the search page is | 91 /* Omit top padding (currently only on #settings) whenever the search page is |
| 92 * showing. | 92 * showing. */ |
| 93 */ | |
| 94 #searchPage:not([hidden]) + #settings { | 93 #searchPage:not([hidden]) + #settings { |
| 95 padding-top: 0; | 94 padding-top: 0; |
| 96 } | 95 } |
| 97 | 96 |
| 98 .page list { | 97 .page list { |
| 99 /* Min height is a multiple of the list item height (32) */ | 98 /* Min height is a multiple of the list item height (32) */ |
| 100 min-height: 192px; | 99 min-height: 192px; |
| 101 } | 100 } |
| 102 | 101 |
| 103 .option { | 102 .option { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 } | 309 } |
| 311 | 310 |
| 312 list > :not([editing]) [displaymode='edit'] { | 311 list > :not([editing]) [displaymode='edit'] { |
| 313 display: none; | 312 display: none; |
| 314 } | 313 } |
| 315 | 314 |
| 316 list > [editing] [displaymode='static'] { | 315 list > [editing] [displaymode='static'] { |
| 317 /* Don't use display:none or visibility:hidden because we need to keep an | 316 /* Don't use display:none or visibility:hidden because we need to keep an |
| 318 * element focusable. | 317 * element focusable. |
| 319 * We shrink only height. We don't shrink width to avoid to change the size | 318 * We shrink only height. We don't shrink width to avoid to change the size |
| 320 * of containing boxes. | 319 * of containing boxes. */ |
| 321 */ | |
| 322 border-bottom: 0 !important; | 320 border-bottom: 0 !important; |
| 323 border-top: 0 !important; | 321 border-top: 0 !important; |
| 324 height: 0 !important; | 322 height: 0 !important; |
| 325 margin-bottom: 0 !important; | 323 margin-bottom: 0 !important; |
| 326 margin-top: 0 !important; | 324 margin-top: 0 !important; |
| 327 overflow: hidden; | 325 overflow: hidden; |
| 328 pointer-events: none; | 326 pointer-events: none; |
| 329 } | 327 } |
| 330 | 328 |
| 331 list > [editing] input:invalid { | 329 list > [editing] input:invalid { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 } | 424 } |
| 427 | 425 |
| 428 html:not(.focus-outline-visible) | 426 html:not(.focus-outline-visible) |
| 429 :enabled:focus:-webkit-any(input[type='checkbox'], input[type='radio']) { | 427 :enabled:focus:-webkit-any(input[type='checkbox'], input[type='radio']) { |
| 430 /* Cancel border-color for :focus specified in widgets.css. */ | 428 /* Cancel border-color for :focus specified in widgets.css. */ |
| 431 border-color: rgba(0, 0, 0, 0.25); | 429 border-color: rgba(0, 0, 0, 0.25); |
| 432 } | 430 } |
| 433 | 431 |
| 434 html:not([hasFlashPlugin]) .flash-plugin-area, | 432 html:not([hasFlashPlugin]) .flash-plugin-area, |
| 435 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to | 433 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to |
| 436 * show the link to the Flash storage settings manager: | 434 * show the link to the Flash storage settings manager: */ |
| 437 */ | |
| 438 html[flashPluginSupportsClearSiteData] .flash-plugin-area, | 435 html[flashPluginSupportsClearSiteData] .flash-plugin-area, |
| 439 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, | 436 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, |
| 440 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled, | 437 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled, |
| 441 html:not([enablePepperFlashSettings]) .pepper-flash-settings { | 438 html:not([enablePepperFlashSettings]) .pepper-flash-settings { |
| 442 display: none; | 439 display: none; |
| 443 } | 440 } |
| 444 | 441 |
| 445 .standalone-action-link { | 442 .standalone-action-link { |
| 446 padding: 0; | 443 padding: 0; |
| 447 } | 444 } |
| 448 | 445 |
| 449 :-webkit-any(.checkbox, .radio) label ~ a { | 446 :-webkit-any(.checkbox, .radio) label ~ a { |
| 450 display: inline-block; | 447 display: inline-block; |
| 451 /* Matches padding of -webkit-any(.checkbox, .radio) */ | 448 /* Matches padding of -webkit-any(.checkbox, .radio) */ |
| 452 padding-bottom: 7px; | 449 padding-bottom: 7px; |
| 453 vertical-align: bottom; | 450 vertical-align: bottom; |
| 454 } | 451 } |
| OLD | NEW |