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
3 * found in the LICENSE file. */
7 #bookmarks_title_wrapper {
8 border-bottom: 1px solid
#d0d0d0;
19 -webkit-box-orient: horizontal
;
32 background: -webkit-gradient
(
36 from
(rgba
(50,50,50,0.3)),
46 .overflow-right-mask {
47 background: -webkit-gradient
(
52 to
(rgba
(50,50,50,0.2))
62 background-image: url
(images/breadcrumb_mdpi.png);
63 background-position: center
;
64 background-repeat: no-repeat
;
65 background-size: 8px 20px; /* this matches the background image size */
70 html
[dir
='rtl'] .bookmark-separator
{
71 -webkit-transform: scaleX
(-1);
74 #bookmarks_title_wrapper .title-crumb
{
79 #bookmarks_title_wrapper .title-crumb-active
{
85 /* Begin Bookmark Cell Items */
88 -webkit-tap-highlight-color: transparent
;
89 display: inline-block
;
97 .favicon-cell-active {
98 -webkit-tap-highlight-color: transparent
;
99 background: rgba
(51, 181, 229, .4);
103 -webkit-border-radius: 10px;
104 -webkit-box-orient: vertical
;
105 -webkit-box-pack: center
;
106 background-repeat: no-repeat
;
107 background-size: 100% 100%;
108 display: -webkit-box
;
109 height: 64px; /* icon container size */
110 margin: auto
; /* horizontally center */
113 width: 64px; /* icon container size */
116 .favicon-box.folder {
117 background-image: url
(images/bookmark_folder_mdpi.png);
120 .favicon-cell .title {
121 -webkit-box-orient: vertical
;
122 -webkit-line-clamp: 2;
123 display: -webkit-box
;
129 text-overflow: ellipsis
;
130 word-wrap: break-word
;
134 background-position: center
;
135 background-repeat: no-repeat
;
140 .favicon-icon.document {
147 background-image: url
(images/bookmark_border_mdpi.png);
148 background-size: 100%;
156 .favicon-box.document {
157 /* a 'document' favicon looks like a little web page with the favicon
158 in top left corner */
159 background-image: url
(images/bookmark_bg_mdpi.png);
160 margin: auto
; /* horizontally center */
165 .favicon-box.document .fold-container {
171 .favicon-box.document .fold {
172 box-shadow: 0 4px 2px -2px rgba
(0, 0, 0, 0.2);
177 .favicon-box.document .active-shade {
178 /* Shade overlay for favicon's when pressed */
179 background-color: #000;
188 .favicon-box.document .active-shade:active {
192 .favicon-box.document .color-strip {
193 /* the color strip is an overlay across the bottom of the icon */
194 border-bottom-left-radius: 2px;
195 border-bottom-right-radius: 2px;
203 .favicon-box.document .favicon-icon {
204 background-size: 16px 16px;
207 .favicon-icon.touch-icon {
208 background-size: 100%;
209 border-radius: 16px; /* remove any junk in the corners of the favicon */
210 height: 57px; /* touch-icon size */
211 margin: auto
; /* horizontally center */
213 margin-top: 3px; /* (64 - 57) / 2 = 3.5 */
214 width: 57px; /* touch-icon size */
217 @media screen and
(-webkit-min-device-pixel-ratio: 1.32) {
218 .favicon-box.document {
219 background-image: url
(images/bookmark_bg_tvdpi.png);
222 background-image: url
(images/bookmark_border_tvdpi.png);
224 .favicon-box.folder {
225 background-image: url
(images/bookmark_folder_tvdpi.png);
227 .bookmark-separator {
228 background-image: url
(images/breadcrumb_tvdpi.png);
231 /* tweaked spacing, presumably because of rounding error */
235 .favicon-box.document .fold-container {
238 .favicon-box.document .color-strip {
244 @media screen and
(-webkit-min-device-pixel-ratio: 1.5) {
245 .favicon-box.document {
246 background-image: url
(images/bookmark_bg_hdpi.png);
249 background-image: url
(images/bookmark_border_hdpi.png);
251 .favicon-box.folder {
252 background-image: url
(images/bookmark_folder_hdpi.png);
254 .bookmark-separator {
255 background-image: url
(images/breadcrumb_hdpi.png);
259 @media screen and
(-webkit-min-device-pixel-ratio: 2.0) {
260 .favicon-box.document {
261 background-image: url
(images/bookmark_bg_xhdpi.png);
264 background-image: url
(images/bookmark_border_xhdpi.png);
266 .favicon-box.folder {
267 background-image: url
(images/bookmark_folder_xhdpi.png);
269 .bookmark-separator {
270 background-image: url
(images/breadcrumb_xhdpi.png);