OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2015 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. */ |
| 4 |
| 5 /* Small icons for file statuses, used in lists and menus. */ |
| 6 [file-status-icon] { |
| 7 background-image: none; |
| 8 background-position: center; |
| 9 background-repeat: no-repeat; |
| 10 background-size: 16px 16px; |
| 11 } |
| 12 |
| 13 [file-status-icon='copied'] { |
| 14 background-image: -webkit-image-set( |
| 15 url(../images/files/ui/copied_badge_gray.png) 1x, |
| 16 url(../images/files/ui/2x/copied_badge_gray.png) 2x); |
| 17 } |
| 18 |
| 19 tree:focus .tree-item[selected] > .tree-row > [file-status-icon='copied'], |
| 20 list:focus [selected] [file-status-icon='copied'], |
| 21 list.autocomplete-suggestions [selected] [file-status-icon='copied'] { |
| 22 background-image: -webkit-image-set( |
| 23 url(../images/files/ui/copied_badge.png) 1x, |
| 24 url(../images/files/ui/2x/copied_badge.png) 2x); |
| 25 } |
| 26 |
| 27 [file-status-icon='imported'] { |
| 28 background-image: -webkit-image-set( |
| 29 url(../images/files/ui/drive_badge.png) 1x, |
| 30 url(../images/files/ui/2x/drive_badge.png) 2x); |
| 31 } |
| 32 |
| 33 tree:focus .tree-item[selected] > .tree-row > [file-status-icon='imported'], |
| 34 list:focus [selected] [file-status-icon='imported'], |
| 35 list.autocomplete-suggestions [selected] [file-status-icon='imported'] { |
| 36 background-image: -webkit-image-set( |
| 37 url(../images/files/ui/drive_badge_white.png) 1x, |
| 38 url(../images/files/ui/2x/drive_badge_white.png) 2x); |
| 39 } |
OLD | NEW |