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. */
6 -webkit-tap-highlight-color: transparent
;
7 -webkit-transition: 300ms linear
;
8 -webkit-transition-property: background
;
9 background: transparent
;
13 position: relative
; /* So the fader can be positioned at the end */
17 .session-header .list-item.list-item-active {
18 -webkit-tap-highlight-color: transparent
;
19 background: rgba
(51, 181, 229, 0.4);
22 .list-item-active.no-active-delay {
23 -webkit-transition: none
;
26 .list-item.standard-divider {
27 border-bottom: 1px solid
#c1c1c1;
30 .list-item .section-divider {
31 background-color: #777;
39 background-position: center center
;
40 background-repeat: no-repeat
;
41 background-size: 24px;
47 html
[dir
='ltr'] .list-item
.icon
{
51 html
[dir
='rtl'] .list-item
.icon
{
56 -webkit-box-align: center
;
67 html
[dir
='ltr'] .list-item
.title
{
68 -webkit-mask-image: -webkit-gradient
(
73 color-stop
(0.85, rgba
(0,0,0,1)),
74 color-stop
(0.95, rgba
(0,0,0,0)),
81 html
[dir
='rtl'] .list-item
.title
{
82 -webkit-mask-image: -webkit-gradient
(
87 color-stop
(0.15, rgba
(0,0,0,1)),
88 color-stop
(0.05, rgba
(0,0,0,0)),
95 .list-item .session_container {
99 .list-item .session_title {
100 display: inline-block
;
104 .session-header .list-item {
108 .title .session-name {
113 .title .session-last-synced {
118 .session-children-container {
119 -webkit-transition: height
200ms ease-in-out
;
120 height: 100%; /* needed for collapse animation */
129 background-size: 100%;
137 html
[dir
='ltr'] .expando
{
141 html
[dir
='rtl'] .expando
{
146 background-image: url
(images/disclosure_open_mdpi.png);
149 html
[dir
='rtl'] .expando
.open
{
150 -webkit-transform: scaleX
(-1);
154 background-image: url
(images/disclosure_closed_mdpi.png);
157 html
[dir
='rtl'] .expando
.closed
{
158 -webkit-transform: scaleX
(-1);
161 .session-icon.laptop {
162 background-image: url
(../../../../ui/webui/resources/images/laptop.png);
165 html
[dir
='rtl'] .session-icon
.laptop
{
166 -webkit-transform: scaleX
(-1);
169 .session-icon.tablet {
170 background-image: url
(../../../../ui/webui/resources/images/tablet.png);
173 html
[dir
='rtl'] .session-icon
.tablet
{
174 -webkit-transform: scaleX
(-1);
177 .session-icon.phone {
178 background-image: url
(../../../../ui/webui/resources/images/phone.png);
181 html
[dir
='rtl'] .session-icon
.phone
{
182 -webkit-transform: scaleX
(-1);
185 .session-icon.documents {
186 background-image: url
(images/sent_mdpi.png);
189 html
[dir
='rtl'] .session-icon
.documents
{
190 -webkit-transform: scaleX
(-1);
193 @media screen and
(-webkit-min-device-pixel-ratio: 1.5) {
195 background-image: url
(images/disclosure_open_hdpi.png);
198 background-image: url
(images/disclosure_closed_hdpi.png);
200 .session-icon.laptop {
202 url
(../../../../ui/webui/resources/images/1.5x/laptop.png);
204 .session-icon.tablet {
206 url
(../../../../ui/webui/resources/images/1.5x/tablet.png);
208 .session-icon.phone {
209 background-image: url
(../../../../ui/webui/resources/images/1.5x/phone.png);
211 .session-icon.documents {
212 background-image: url
(images/sent_hdpi.png);
216 @media screen and
(-webkit-min-device-pixel-ratio: 2.0) {
218 background-image: url
(images/disclosure_open_xhdpi.png);
221 background-image: url
(images/disclosure_closed_xhdpi.png);
223 .session-icon.laptop {
224 background-image: url
(../../../../ui/webui/resources/images/2x/laptop.png);
226 .session-icon.tablet {
227 background-image: url
(../../../../ui/webui/resources/images/2x/tablet.png);
229 .session-icon.phone {
230 background-image: url
(../../../../ui/webui/resources/images/2x/phone.png);
232 .session-icon.documents {
233 background-image: url
(images/sent_xhdpi.png);
238 background-position: center
;
239 background-repeat: no-repeat
;
240 background-size: 32px 32px;