Name: cockpit/lib/contextmenu.css
| 1: | /* |
| 2: | This file is part of CPEE. |
| 3: | |
| 4: | CPEE is free software: you can redistribute it and/or modify it under the terms |
| 5: | of the GNU General Public License as published by the Free Software Foundation, |
| 6: | either version 3 of the License, or (at your option) any later version. |
| 7: | |
| 8: | CPEE is distributed in the hope that it will be useful, but WITHOUT ANY |
| 9: | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 10: | PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 11: | |
| 12: | You should have received a copy of the GNU General Public License along with |
| 13: | CPEE (file COPYING in the main directory). If not, see |
| 14: | <http://www.gnu.org/licenses/>. |
| 15: | */ |
| 16: | |
| 17: | div.contextmenu { |
| 18: | padding: 0; |
| 19: | margin: 0; |
| 20: | z-index: 100000; |
| 21: | position: absolute; |
| 22: | display:none; |
| 23: | background: Menu; |
| 24: | border: 1px solid ButtonShadow; |
| 25: | -moz-box-sizing: border-box; |
| 26: | -webkit-box-sizing: border-box; |
| 27: | box-sizing: border-box; |
| 28: | } |
| 29: | |
| 30: | table.contextmenu { |
| 31: | border-collapse:collapse; |
| 32: | border-spacing: 0; |
| 33: | border: 0 none; |
| 34: | padding: 0; |
| 35: | margin: 0; |
| 36: | } |
| 37: | |
| 38: | tr.contextmenuheader { |
| 39: | font-style:italic; |
| 40: | color: GrayText; |
| 41: | font-size: small; |
| 42: | } |
| 43: | |
| 44: | tr.contextmenuheader > td{ |
| 45: | padding-left: 0.5em; |
| 46: | padding-right: 1em; |
| 47: | } |
| 48: | tr.contextmenuheader:not(:first-child) { |
| 49: | border-top: 1px solid ButtonShadow; |
| 50: | } |
| 51: | |
| 52: | tr.contextmenuitem { |
| 53: | font-size: small; |
| 54: | color: MenuText; |
| 55: | } |
| 56: | tr.contextmenuitem:hover { |
| 57: | background-color:Highlight; |
| 58: | color: HighlightText; |
| 59: | } |
| 60: | tr.contextmenuitem > td{ |
| 61: | padding-left: 0.5em; |
| 62: | padding-right: 1em; |
| 63: | } |
| 64: | tr.contextmenuitem > .contextmenuicon{ |
| 65: | margin-left: 0.7em; |
| 66: | padding-right: 0em; |
| 67: | } |
| 68: | tr.contextmenuitem > .contextmenuicon div { |
| 69: | height: 1.5em; |
| 70: | width: 1.5em; |
| 71: | vertical-align:bottom; |
| 72: | } |
| 73: | tr.contextmenuitem > .contextmenuicon div svg { |
| 74: | height: 1.5em; |
| 75: | width: 1.5em; |
| 76: | vertical-align:bottom; |
| 77: | } |
