| 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 .soft-context-menu { | 7 :host { |
| 8 position: absolute; |
| 8 border: 1px solid rgba(196, 196, 196, 0.9); | 9 border: 1px solid rgba(196, 196, 196, 0.9); |
| 9 border-top: 1px solid rgba(196, 196, 196, 0.5); | 10 border-top: 1px solid rgba(196, 196, 196, 0.5); |
| 10 /* NOTE: Keep padding in sync with padding adjustment in SoftContextMenu.js
*/ | 11 /* NOTE: Keep padding top in sync with topPadding in SoftContextMenu.js */ |
| 11 padding: 4px 0 4px 0; | 12 padding: 4px 0 4px 0; |
| 12 border-radius: 4px; | 13 border-radius: 4px; |
| 13 background-color: rgb(240, 240, 240); | 14 background-color: rgb(240, 240, 240); |
| 14 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); | 15 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); |
| 15 overflow-y: auto; | 16 overflow-y: auto; |
| 16 min-width: 160px !important; | 17 min-width: 160px !important; |
| 17 } | 18 } |
| 18 | 19 |
| 19 .soft-context-menu-item { | 20 .soft-context-menu-item { |
| 20 display: flex; | 21 display: flex; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 98 |
| 98 .checkmark { | 99 .checkmark { |
| 99 opacity: 0.7; | 100 opacity: 0.7; |
| 100 pointer-events: none; | 101 pointer-events: none; |
| 101 margin: auto 5px auto 0px; | 102 margin: auto 5px auto 0px; |
| 102 } | 103 } |
| 103 | 104 |
| 104 .soft-context-menu-item-mouse-over .checkmark { | 105 .soft-context-menu-item-mouse-over .checkmark { |
| 105 opacity: 1; | 106 opacity: 1; |
| 106 } | 107 } |
| OLD | NEW |