OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 :host { | 7 .soft-context-menu { |
8 position: absolute; | |
9 border: 1px solid rgba(196, 196, 196, 0.9); | 8 border: 1px solid rgba(196, 196, 196, 0.9); |
10 border-top: 1px solid rgba(196, 196, 196, 0.5); | 9 border-top: 1px solid rgba(196, 196, 196, 0.5); |
11 /* NOTE: Keep padding top in sync with topPadding in SoftContextMenu.js */ | 10 /* NOTE: Keep padding in sync with padding adjustment in SoftContextMenu.js
*/ |
12 padding: 4px 0 4px 0; | 11 padding: 4px 0 4px 0; |
13 border-radius: 4px; | 12 border-radius: 4px; |
14 background-color: rgb(240, 240, 240); | 13 background-color: rgb(240, 240, 240); |
15 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); | 14 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); |
16 overflow-y: auto; | 15 overflow-y: auto; |
17 min-width: 160px !important; | 16 min-width: 160px !important; |
18 } | 17 } |
19 | 18 |
20 .soft-context-menu-item { | 19 .soft-context-menu-item { |
21 display: flex; | 20 display: flex; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 97 |
99 .checkmark { | 98 .checkmark { |
100 opacity: 0.7; | 99 opacity: 0.7; |
101 pointer-events: none; | 100 pointer-events: none; |
102 margin: auto 5px auto 0px; | 101 margin: auto 5px auto 0px; |
103 } | 102 } |
104 | 103 |
105 .soft-context-menu-item-mouse-over .checkmark { | 104 .soft-context-menu-item-mouse-over .checkmark { |
106 opacity: 1; | 105 opacity: 1; |
107 } | 106 } |
OLD | NEW |