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 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%);
55 color: rgba
(0, 0, 0, .3);
62 menu
> :not
(hr
)[selected
] {
63 background-color: rgba
(0, 0, 0, .06);
66 menu
> :not
(hr
)[selected
]:active
{
67 background-color: rgba
(0, 0, 0, .06);
70 menu
> [checked
]::before
{
71 content: url
('../images/checkbox_black.png');
72 display: inline-block
;
79 -webkit-padding-start: 0;
82 menu
> [selected
][checked
]:active::before
{
83 content: url
('../images/checkbox_white.png');
86 /* TODO(zvorygin) menu > [shortcutText]::after - this selector is much better,
87 * but it's buggy in current webkit revision, so I have to use [showShortcuts].
89 menu
[showShortcuts
] > ::after
{
90 -webkit-padding-start: 30px;
92 content: attr
(shortcutText
);