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 html, | 5 html, |
| 6 body { | 6 body { |
| 7 cursor: default; | 7 cursor: default; |
| 8 height: 100%; | 8 height: 100%; |
| 9 margin: 0; | 9 margin: 0; |
| 10 overflow: hidden; | 10 overflow: hidden; |
| 11 width: 100%; | 11 width: 100%; |
| 12 } | 12 } |
| 13 | 13 |
| 14 list { | 14 list { |
| 15 display: block; | 15 display: block; |
| 16 overflow-x: hidden; | 16 overflow-x: hidden; |
| 17 overflow-y: visible; /* let the container do the scrolling */ | 17 overflow-y: visible; /* let the container do the scrolling */ |
| 18 } | 18 } |
| 19 | 19 |
| 20 list > * { | 20 list > * { |
| 21 -webkit-padding-end: 20px; | 21 -webkit-padding-end: 20px; |
| 22 -webkit-padding-start: 3px; | 22 -webkit-padding-start: 3px; |
| 23 color: hsl(0, 0%, 70%); | 23 color: hsl(0, 0%, 70%); |
| 24 display: -webkit-box; | 24 display: -webkit-box; |
| 25 line-height: 30px; | |
|
Evan Stade
2012/08/14 18:38:01
should this be in em?
kevers
2012/08/14 20:26:53
Used 30px to be same height as element in the tree
Evan Stade
2012/08/14 22:06:39
that seems like a valid reason. Although you can a
| |
| 25 padding-bottom: 0; | 26 padding-bottom: 0; |
| 26 padding-top: 0; | 27 padding-top: 0; |
| 27 text-decoration: none; | 28 text-decoration: none; |
| 28 white-space: nowrap; | 29 white-space: nowrap; |
| 29 } | 30 } |
| 30 | 31 |
| 31 list > * > * { | 32 list > * > * { |
| 32 -webkit-padding-start: 20px; | 33 -webkit-padding-start: 20px; |
| 33 background: 0 50% no-repeat; | 34 background: 0 50% no-repeat; |
| 34 box-sizing: border-box; | 35 box-sizing: border-box; |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 315 | 316 |
| 316 html[dir=rtl] .summary button { | 317 html[dir=rtl] .summary button { |
| 317 background-position: left center; | 318 background-position: left center; |
| 318 } | 319 } |
| 319 | 320 |
| 320 @media (pointer:coarse) { | 321 @media (pointer:coarse) { |
| 321 menu > button { | 322 menu > button { |
| 322 line-height: 40px; | 323 line-height: 40px; |
| 323 } | 324 } |
| 324 } | 325 } |
| OLD | NEW |