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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 display: block; | 64 display: block; |
| 65 } | 65 } |
| 66 | 66 |
| 67 /* Handle proper padding for URL field in an RTL context, where field order is | 67 /* 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 | 68 * |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. | 69 * left. And since url is always LTR, that is padding at the end, not the start. |
| 70 */ | 70 */ |
| 71 html[dir=rtl] .url { | 71 html[dir=rtl] .url { |
| 72 -webkit-padding-end: 20px; | 72 -webkit-padding-end: 20px; |
| 73 -webkit-padding-start: 0; | 73 -webkit-padding-start: 0; |
| 74 text-align: right; | |
|
Dan Beam
2016/08/30 22:25:31
fun fact: there's an directionally adaptive, non-s
| |
| 74 } | 75 } |
| 75 | 76 |
| 76 html[dir=rtl] list .label { | 77 html[dir=rtl] list .label { |
| 77 background-position: 100% 50%; | 78 background-position: 100% 50%; |
| 78 } | 79 } |
| 79 | 80 |
| 80 list > .folder > .label { | 81 list > .folder > .label { |
| 81 background-image: -webkit-image-set( | 82 background-image: -webkit-image-set( |
| 82 url(../../../../../ui/resources/default_100_percent/common/folder_closed.p ng) 1x, | 83 url(../../../../../ui/resources/default_100_percent/common/folder_closed.p ng) 1x, |
| 83 url(../../../../../ui/resources/default_200_percent/common/folder_closed.p ng) 2x); | 84 url(../../../../../ui/resources/default_200_percent/common/folder_closed.p ng) 2x); |
| (...skipping 298 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 |