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%;
41 .trash:-webkit-any(:focus, :hover, .open) > .lid {
42 -webkit-transform: rotate
(-45deg);
43 -webkit-transition: -webkit-transform
250ms;
46 html
[dir
='rtl'] .trash:-webkit-any
(:focus
, :hover
, .open
) > .lid
{
47 -webkit-transform: rotate
(45deg);
51 background-position: -1px -4px;
53 /* The margins match the background position offsets. */
55 /* The right margin is one greater due to a shadow on the trash image. */