contextmenu.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* html{
  2. margin: 0px;
  3. padding: 0px;
  4. height:100%;
  5. }
  6. body {
  7. background: url(win-desktop-bg.jpg) no-repeat fixed;
  8. background-position:center;
  9. font-family: arial;
  10. overflow: hidden;
  11. height:100%;
  12. width:100%;
  13. margin:0px;
  14. } */
  15. .WincontextMenu {
  16. -webkit-user-select: none;
  17. background:url(contextmenu/menu_bg.gif) repeat-y;
  18. display: none;
  19. font-family: tahoma, arial, sans-serif;
  20. font-size: 11px;
  21. position: absolute;
  22. left: 100px;
  23. top: 100px;
  24. min-width: 120px;
  25. width:120px;
  26. list-style-type: none;
  27. margin: 0;
  28. padding: 0;
  29. background-color: #f7f3f7;
  30. border: 2px solid #f7f7f7;
  31. border-radius:5px;
  32. }
  33. .WincontextMenu ul{
  34. padding:0px;
  35. margin:0px;
  36. list-style:none;}
  37. .WincontextMenu li {
  38. margin:0px;
  39. padding: 1px;
  40. background-repeat: no-repeat;
  41. }
  42. .WincontextMenu a.cmDisable {
  43. opacity:0.3;
  44. -moz-opacity:0.3;
  45. filter:alpha(opacity=30)
  46. }
  47. .WincontextMenu li a {
  48. position: relative;
  49. display: block;
  50. padding: 3px 3px 3px 28px;
  51. color: ButtonText;
  52. text-decoration: none;
  53. margin: 1px;
  54. }
  55. .WincontextMenu li a img {
  56. position: absolute;
  57. border:0px;
  58. left: 3px;
  59. margin-top: -2px;
  60. width: 16px;
  61. height: 16px;
  62. }
  63. .WincontextMenu li a:hover {
  64. /*border: 1px solid #fffbff;*/
  65. border: 1px solid #09F;
  66. outline: 1px solid #b5d3ff;
  67. border-radius:2px;
  68. margin: 0;
  69. background: -moz-linear-gradient(top, rgba(239,239,255,0.5) 0%, rgba(223,223,255,0.5) 100%); /* FF3.6+ */
  70. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(239,239,255,0.5)), color-stop(100%,rgba(223,223,255,0.5))); /* Chrome,Safari4+ */
  71. background: -webkit-linear-gradient(top, rgba(239,239,255,0.5) 0%,rgba(223,223,255,0.5) 100%); /* Chrome10+,Safari5.1+ */
  72. background: -o-linear-gradient(top, rgba(239,239,255,0.5) 0%,rgba(223,223,255,0.5) 100%); /* Opera11.10+ */
  73. background: -ms-linear-gradient(top, rgba(239,239,255,0.5) 0%,rgba(223,223,255,0.5) 100%); /* IE10+ */
  74. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80efefff', endColorstr='#80dfdfff',GradientType=0 ); /* IE6-9 */
  75. background: linear-gradient(top, rgba(239,239,255,0.5) 0%,rgba(223,223,255,0.5) 100%); /* W3C */
  76. cursor: default;
  77. }
  78. .WincontextMenu .m-split {
  79. height: 6px;
  80. background: url(contextmenu/m_splitLine.gif) center repeat-x;
  81. font-size: 0px;
  82. margin: 0 2px;
  83. }