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

Side by Side Diff: chrome/browser/resources/shared/css/tree.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
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 5
6 tree { 6 tree {
7 display: block; 7 display: block;
8 outline: none; 8 outline: none;
9 overflow: auto; 9 overflow: auto;
10 } 10 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 background-repeat: no-repeat; 120 background-repeat: no-repeat;
121 white-space: pre; 121 white-space: pre;
122 } 122 }
123 123
124 html[dir=rtl] .tree-label { 124 html[dir=rtl] .tree-label {
125 background-position: 100% 50%; 125 background-position: 100% 50%;
126 } 126 }
127 127
128 html[dir=rtl] .tree-label, 128 html[dir=rtl] .tree-label,
129 html[dir=rtl] .tree-row[may-have-children] > .tree-label { 129 html[dir=rtl] .tree-row[may-have-children] > .tree-label {
130 background-image: 130 background-image: -webkit-image-set(
131 url('../../../../../ui/resources/default_100_percent/folder_closed_rtl.png'); 131 url('../../../../../ui/resources/default_100_percent/common/folder_closed_ rtl.png') 1x,
132 url('../../../../../ui/resources/default_200_percent/common/folder_closed_ rtl.png') 2x);
132 } 133 }
133 134
134 html[dir=rtl] .tree-item[expanded] > .tree-row > .tree-label { 135 html[dir=rtl] .tree-item[expanded] > .tree-row > .tree-label {
135 background-image: 136 background-image: -webkit-image-set(
136 url('../../../../../ui/resources/default_100_percent/folder_open_rtl.png'); 137 url('../../../../../ui/resources/default_100_percent/common/folder_open_rtl .png') 1x,
138 url('../../../../../ui/resources/default_200_percent/common/folder_open_rtl .png') 2x);
137 } 139 }
138 140
139 tree[icon-visibility=hidden] .tree-label { 141 tree[icon-visibility=hidden] .tree-label {
140 -webkit-padding-start: 0; 142 -webkit-padding-start: 0;
141 background-image: none !important; 143 background-image: none !important;
142 } 144 }
143 145
144 tree[icon-visibility=parent] .tree-label, 146 tree[icon-visibility=parent] .tree-label,
145 tree[icon-visibility=parent] .tree-row[has-children=false] > .tree-label { 147 tree[icon-visibility=parent] .tree-row[has-children=false] > .tree-label {
146 background-image: none; 148 background-image: none;
147 } 149 }
148 150
149 .tree-label, 151 .tree-label,
150 .tree-row[may-have-children] > .tree-label { 152 .tree-row[may-have-children] > .tree-label {
151 background-image: 153 background-image: -webkit-image-set(
152 url('../../../../../ui/resources/default_100_percent/folder_closed.png'); 154 url('../../../../../ui/resources/default_100_percent/common/folder_closed. png') 1x,
155 url('../../../../../ui/resources/default_200_percent/common/folder_closed. png') 2x);
153 } 156 }
154 157
155 .tree-item[expanded] > .tree-row > .tree-label { 158 .tree-item[expanded] > .tree-row > .tree-label {
156 background-image: 159 background-image: -webkit-image-set(
157 url('../../../../../ui/resources/default_100_percent/folder_open.png'); 160 url('../../../../../ui/resources/default_100_percent/common/folder_open.pn g') 1x,
161 url('../../../../../ui/resources/default_200_percent/common/folder_open.pn g') 2x);
158 } 162 }
159 163
160 /* We need to ensure that even empty labels take up space */ 164 /* We need to ensure that even empty labels take up space */
161 .tree-label:empty:after { 165 .tree-label:empty:after {
162 content: ' '; 166 content: ' ';
163 white-space: pre; 167 white-space: pre;
164 } 168 }
165 169
166 .tree-rename > .tree-row > .tree-label { 170 .tree-rename > .tree-row > .tree-label {
167 -webkit-user-modify: read-write-plaintext-only; 171 -webkit-user-modify: read-write-plaintext-only;
(...skipping 12 matching lines...) Expand all
180 <if expr="not is_macosx"> 184 <if expr="not is_macosx">
181 outline: none; 185 outline: none;
182 </if> 186 </if>
183 padding: 1px 7px 1px 1px; 187 padding: 1px 7px 1px 1px;
184 } 188 }
185 189
186 html[dir=rtl] .tree-item[editing] input { 190 html[dir=rtl] .tree-item[editing] input {
187 margin: -2px -3px -2px -8px; 191 margin: -2px -3px -2px -8px;
188 padding: 1px 1px 1px 7px; 192 padding: 1px 1px 1px 7px;
189 } 193 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/bookmark_manager/css/bmm.css ('k') | ui/resources/default_100_percent/common/folder_closed.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698