Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: chrome/browser/resources/options/options_page.css

Issue 655403002: Settings: Set 0 height to border and magin of hidden static text (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698