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

Side by Side Diff: chrome/browser/resources/ntp4/recently_closed.css

Issue 7541051: ntp4: recently closed RTL fix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« 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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 5
6 #recently-closed-menu-button { 6 #recently-closed-menu-button {
7 background: none; 7 background: none;
8 border: 0; 8 border: 0;
9 display: block; 9 display: block;
10 font-size: 9pt; 10 font-size: 9pt;
(...skipping 26 matching lines...) Expand all
37 background-size: 16px 16px; 37 background-size: 16px 16px;
38 box-sizing: border-box; 38 box-sizing: border-box;
39 display: block; 39 display: block;
40 font-size: 100%; 40 font-size: 100%;
41 line-height: 20px; 41 line-height: 20px;
42 margin: 4px; 42 margin: 4px;
43 max-width: 600px; 43 max-width: 600px;
44 overflow: hidden; 44 overflow: hidden;
45 text-overflow: ellipsis; 45 text-overflow: ellipsis;
46 white-space: nowrap; 46 white-space: nowrap;
47 -webkit-margin-start: 0;
47 -webkit-padding-end: 0; 48 -webkit-padding-end: 0;
48 -webkit-padding-start: 18px 49 -webkit-padding-start: 22px;
50 }
51
52 html[dir='rtl'] .recent-menu-item {
53 background: no-repeat 100% 50%;
49 } 54 }
50 55
51 .recent-window { 56 .recent-window {
52 background-image: url('../ntp/closed_window.png'); 57 background-image: url('../ntp/closed_window.png');
53 } 58 }
54 59
55 /* TODO(estade): find a better color for active. */ 60 /* TODO(estade): find a better color for active. */
56 .recent-menu-item:active, 61 .recent-menu-item:active,
57 .recent-menu-item:visited, 62 .recent-menu-item:visited,
58 .recent-menu-item:link { 63 .recent-menu-item:link {
59 color: hsl(213, 90%, 24%) !important; 64 color: hsl(213, 90%, 24%) !important;
60 } 65 }
61 66
62 .disclosure-triangle { 67 .disclosure-triangle {
63 display: inline-block; 68 display: inline-block;
64 height: 9px; 69 height: 9px;
65 width: 9px; 70 width: 9px;
66 -webkit-mask-image: url('./ntp4_disclosure_triangle_mask.png'); 71 -webkit-mask-image: url('./ntp4_disclosure_triangle_mask.png');
67 } 72 }
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