custommenu.css 1.9 KB

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