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: linear-gradient
(
44 .overflow-right-mask {
45 background: linear-gradient
(
58 background-image: url
(images/breadcrumb_mdpi.png);
59 background-position: center
;
60 background-repeat: no-repeat
;
61 background-size: 8px 20px; /* this matches the background image size */
66 html
[dir
='rtl'] .bookmark-separator
{
67 -webkit-transform: scaleX
(-1);
70 #bookmarks_title_wrapper .title-crumb
{
75 #bookmarks_title_wrapper .title-crumb-active
{
81 /* Begin Bookmark Cell Items */
84 -webkit-tap-highlight-color: transparent
;
85 display: inline-block
;
93 .favicon-cell-active {
94 -webkit-tap-highlight-color: transparent
;
95 background: rgba
(51, 181, 229, .4);
99 -webkit-border-radius: 10px;
100 -webkit-box-orient: vertical
;
101 -webkit-box-pack: center
;
102 background-repeat: no-repeat
;
103 background-size: 100% 100%;
104 display: -webkit-box
;
105 height: 64px; /* icon container size */
106 margin: auto
; /* horizontally center */
109 width: 64px; /* icon container size */
112 .favicon-box.folder {
113 background-image: url
(images/bookmark_folder_mdpi.png);
116 .favicon-cell .title {
117 -webkit-box-orient: vertical
;
118 -webkit-line-clamp: 2;
119 display: -webkit-box
;
125 text-overflow: ellipsis
;
126 word-wrap: break-word
;
130 background-position: center
;
131 background-repeat: no-repeat
;
136 .favicon-icon.document {
143 background-image: url
(images/bookmark_border_mdpi.png);
144 background-size: 100%;
152 .favicon-box.document {
153 /* a 'document' favicon looks like a little web page with the favicon
154 in top left corner */
155 background-image: url
(images/bookmark_bg_mdpi.png);
156 margin: auto
; /* horizontally center */
161 .favicon-box.document .fold-container {
167 .favicon-box.document .fold {
168 box-shadow: 0 4px 2px -2px rgba
(0, 0, 0, 0.2);
173 .favicon-box.document .active-shade {
174 /* Shade overlay for favicon's when pressed */
175 background-color: #000;
184 .favicon-box.document .active-shade:active {
188 .favicon-box.document .color-strip {
189 /* the color strip is an overlay across the bottom of the icon */
190 border-bottom-left-radius: 2px;
191 border-bottom-right-radius: 2px;
199 .favicon-box.document .favicon-icon {
200 background-size: 16px 16px;
203 .favicon-icon.touch-icon {
204 background-size: 100%;
205 border-radius: 16px; /* remove any junk in the corners of the favicon */
206 height: 57px; /* touch-icon size */
207 margin: auto
; /* horizontally center */
209 margin-top: 3px; /* (64 - 57) / 2 = 3.5 */
210 width: 57px; /* touch-icon size */
213 @media screen and
(-webkit-min-device-pixel-ratio: 1.32) {
214 .favicon-box.document {
215 background-image: url
(images/bookmark_bg_tvdpi.png);
218 background-image: url
(images/bookmark_border_tvdpi.png);
220 .favicon-box.folder {
221 background-image: url
(images/bookmark_folder_tvdpi.png);
223 .bookmark-separator {
224 background-image: url
(images/breadcrumb_tvdpi.png);
227 /* tweaked spacing, presumably because of rounding error */
231 .favicon-box.document .fold-container {
234 .favicon-box.document .color-strip {
240 @media screen and
(-webkit-min-device-pixel-ratio: 1.5) {
241 .favicon-box.document {
242 background-image: url
(images/bookmark_bg_hdpi.png);
245 background-image: url
(images/bookmark_border_hdpi.png);
247 .favicon-box.folder {
248 background-image: url
(images/bookmark_folder_hdpi.png);
250 .bookmark-separator {
251 background-image: url
(images/breadcrumb_hdpi.png);
255 @media screen and
(-webkit-min-device-pixel-ratio: 2.0) {
256 .favicon-box.document {
257 background-image: url
(images/bookmark_bg_xhdpi.png);
260 background-image: url
(images/bookmark_border_xhdpi.png);
262 .favicon-box.folder {
263 background-image: url
(images/bookmark_folder_xhdpi.png);
265 .bookmark-separator {
266 background-image: url
(images/breadcrumb_xhdpi.png);