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

Side by Side Diff: chrome/browser/resources/bookmark_manager/css/bmm.css

Issue 2278413002: Make bookmark URLs not float left in RTL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrong block Created 4 years, 3 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 <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
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
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 }
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