menu.css (994B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ 4 5 menupopup { 6 position: fixed; 7 z-index: 10000; 8 border: 1px solid #cccccc; 9 padding: 5px 0; 10 background: #f2f2f2; 11 border-radius: 5px; 12 color: #585858; 13 box-shadow: 0 0 4px 0 rgba(190, 190, 190, 0.8); 14 min-width: 130px; 15 } 16 17 menuitem { 18 display: block; 19 padding: 0 20px; 20 line-height: 20px; 21 font-weight: 500; 22 font-size: 13px; 23 user-select: none; 24 } 25 26 menuitem:hover { 27 background: #3780fb; 28 color: white; 29 } 30 31 menuitem[disabled] { 32 color: #cccccc; 33 } 34 35 menuitem[disabled]:hover { 36 background-color: transparent; 37 cursor: default; 38 } 39 40 menuseparator { 41 border-bottom: 1px solid #cacdd3; 42 width: 100%; 43 height: 5px; 44 display: block; 45 margin-bottom: 5px; 46 } 47 48 #contextmenu-mask.show { 49 position: fixed; 50 top: 0; 51 left: 0; 52 width: 100%; 53 height: 100%; 54 z-index: 999; 55 }