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

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: 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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