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-appearance: none
;
10 display: inline-block
;
18 display: inline-block
;
23 background: url
('chrome://resources/images/trash.png') 0 0 no-repeat
;
31 -webkit-transform-origin: -7% 100%;
32 -webkit-transition: -webkit-transform
150ms;
37 html
[dir
='rtl'] .trash
> .lid
{
38 -webkit-transform-origin: 107% 100%;
43 -webkit-transform: rotate
(-45deg);
44 -webkit-transition: -webkit-transform
250ms;
47 html
[dir
='rtl'] .trash:focus
> .lid
,
48 html
[dir
='rtl'] .trash:hover
> .lid
{
49 -webkit-transform: rotate
(45deg);
53 background-position: -1px -4px;
55 /* The margins match the background position offsets. */
57 /* The right margin is one greater due to a shadow on the trash image. */