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-box-shadow: 0 2px 4px rgba
(0, 0, 0, .50);
13 outline: 1px solid rgba
(0, 0, 0, 0.2);
20 cr-menu:not
(.decorated
) {
25 box-sizing: border-box
;
33 -webkit-appearance: none
;
34 background: transparent
;
42 text-overflow: ellipsis
;
46 background: -webkit-linear-gradient
(left
,
48 rgba
(0, 0, 0, .02) 96%);
54 cr-menu
> [disabled
] {
55 color: rgba
(0, 0, 0, .3);
62 cr-menu
> :not
(hr
):-webkit-any
([selected
], :active
) {
63 background-color: rgba
(0, 0, 0, .06);
66 cr-menu
> [checked
]::before
{
67 content: url
(../images/checkbox_black.png);
68 display: inline-block
;
75 -webkit-padding-start: 0;
78 cr-menu
> [selected
][checked
]:active::before
{
79 content: url
(../images/checkbox_white.png);
82 /* TODO(zvorygin) menu > [shortcutText]::after - this selector is much better,
83 * but it's buggy in current webkit revision, so I have to use [showShortcuts].
85 cr-menu
[showShortcuts
] > ::after
{
86 -webkit-padding-start: 30px;
88 content: attr
(shortcutText
);