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 <include src="../search_header.css"> | 5 <include src="../search_header.css"> |
| 6 | 6 |
| 7 html, | 7 html, |
| 8 body { | 8 body { |
| 9 cursor: default; | 9 cursor: default; |
| 10 height: 100%; | 10 height: 100%; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 50 list > * > .label { | 50 list > * > .label { |
| 51 -webkit-transition: all 150ms; | 51 -webkit-transition: all 150ms; |
| 52 color: black; | 52 color: black; |
| 53 display: inline-block; /* We need to use inline-block here due to RTL. */ | 53 display: inline-block; /* We need to use inline-block here due to RTL. */ |
| 54 } | 54 } |
| 55 | 55 |
| 56 list > * > .url { | 56 list > * > .url { |
| 57 direction: ltr; /* URLs always read LTR */ | 57 direction: ltr; /* URLs always read LTR */ |
| 58 display: none; | 58 display: none; |
| 59 flex: 1; | 59 flex: 1; |
| 60 text-align: right; | |
|
Dan Beam
2016/08/29 16:35:47
shouldn't we only be setting this in RTL?
Peter Kasting
2016/08/30 05:58:55
Yes... I have no explanation for this.
| |
| 60 } | 61 } |
| 61 | 62 |
| 62 list > :hover > .url, | 63 list > :hover > .url, |
| 63 list > [selected] > .url { | 64 list > [selected] > .url { |
| 64 display: block; | 65 display: block; |
| 65 } | 66 } |
| 66 | 67 |
| 67 /* Handle proper padding for URL field in an RTL context, where field order is | 68 /* Handle proper padding for URL field in an RTL context, where field order is |
| 68 * |div.url||div.label| - so we need padding at the right of URL, not at the | 69 * |div.url||div.label| - so we need padding at the right of URL, not at the |
| 69 * left. And since url is always LTR, that is padding at the end, not the start. | 70 * left. And since url is always LTR, that is padding at the end, not the start. |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 382 | 383 |
| 383 list [editing] input, | 384 list [editing] input, |
| 384 .tree-item [editing] input { | 385 .tree-item [editing] input { |
| 385 padding: 3px 0; | 386 padding: 3px 0; |
| 386 } | 387 } |
| 387 | 388 |
| 388 .tree-row .expand-icon { | 389 .tree-row .expand-icon { |
| 389 top: 6px; | 390 top: 6px; |
| 390 } | 391 } |
| 391 } | 392 } |
| OLD | NEW |