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

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

Issue 10855106: Add high dpi folder icons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 8 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 | chrome/browser/resources/shared/css/tree.css » ('j') | 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 html, 5 html,
6 body { 6 body {
7 cursor: default; 7 cursor: default;
8 height: 100%; 8 height: 100%;
9 margin: 0; 9 margin: 0;
10 overflow: hidden; 10 overflow: hidden;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 html[dir=rtl] .url { 61 html[dir=rtl] .url {
62 -webkit-padding-end: 20px; 62 -webkit-padding-end: 20px;
63 -webkit-padding-start: 0; 63 -webkit-padding-start: 0;
64 } 64 }
65 65
66 html[dir=rtl] list .label { 66 html[dir=rtl] list .label {
67 background-position: 100% 50%; 67 background-position: 100% 50%;
68 } 68 }
69 69
70 list > .folder > .label { 70 list > .folder > .label {
71 background-image: 71 background-image: -webkit-image-set(
72 url('../../../../../ui/resources/default_100_percent/folder_closed.png'); 72 url('../../../../../ui/resources/default_100_percent/common/folder_closed. png') 1x,
73 url('../../../../../ui/resources/default_200_percent/common/folder_closed. png') 2x);
73 } 74 }
74 75
75 /* We need to ensure that even empty labels take up space */ 76 /* We need to ensure that even empty labels take up space */
76 list > * > .label:empty:after, 77 list > * > .label:empty:after,
77 list > * > .url:empty:after { 78 list > * > .url:empty:after {
78 content: ' '; 79 content: ' ';
79 white-space: pre; 80 white-space: pre;
80 } 81 }
81 82
82 list > .folder > .url:empty:after { 83 list > .folder > .url:empty:after {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 overflow: visible; 166 overflow: visible;
166 } 167 }
167 168
168 list [editing] .url { 169 list [editing] .url {
169 -webkit-padding-start: 10px; 170 -webkit-padding-start: 10px;
170 } 171 }
171 172
172 /* end editing */ 173 /* end editing */
173 174
174 html[dir=rtl] list > .folder > .label { 175 html[dir=rtl] list > .folder > .label {
175 background-image: url( 176 background-image: -webkit-image-set(
176 '../../../../../ui/resources/default_100_percent/folder_closed_rtl.png'); 177 url('../../../../../ui/resources/default_100_percent/common/folder_closed_ rtl.png') 1x,
178 url('../../../../../ui/resources/default_200_percent/common/folder_closed_ rtl.png') 2x);
177 } 179 }
178 180
179 <if expr="is_macosx"> 181 <if expr="is_macosx">
180 list > .folder > .label, 182 list > .folder > .label,
181 .tree-label, 183 .tree-label,
182 .tree-row[may-have-children] > .tree-label, 184 .tree-row[may-have-children] > .tree-label,
183 .tree-item[expanded] > .tree-row > .tree-label { 185 .tree-item[expanded] > .tree-row > .tree-label {
184 background-image: -webkit-image-set( 186 background-image: -webkit-image-set(
185 url('../../../../app/theme/default_100_percent/bookmark_bar_folder_mac.png ') 1x, 187 url('../../../../app/theme/default_100_percent/bookmark_bar_folder_mac.png ') 1x,
186 url('../../../../app/theme/default_200_percent/bookmark_bar_folder_mac.png ') 2x); 188 url('../../../../app/theme/default_200_percent/bookmark_bar_folder_mac.png ') 2x);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 315
314 html[dir=rtl] .summary button { 316 html[dir=rtl] .summary button {
315 background-position: left center; 317 background-position: left center;
316 } 318 }
317 319
318 @media (pointer:coarse) { 320 @media (pointer:coarse) {
319 menu > button { 321 menu > button {
320 line-height: 40px; 322 line-height: 40px;
321 } 323 }
322 } 324 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/shared/css/tree.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698