gui.net.css 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* ------ DISPLAY ------ */
  2. body.editmenu-enabled{margin-top:23px;}
  3. .editmenu-block{height:23px;position:fixed;top:0;left:0;width:100%;z-index:9999;}
  4. ul#editmenu,ul#editmenu *{margin:0;padding:0;list-style:none;}
  5. ul#editmenu{line-height:1.0;position:relative;width:100%;z-index:9999;}
  6. ul#editmenu ul{position:absolute;top:-999em;width:14em;font-size:1em;line-height:1em;}
  7. ul#editmenu ul li{width:100%;}
  8. ul#editmenu a{width:auto;}
  9. ul#editmenu li{float:left;position:relative;z-index:99;}
  10. ul#editmenu a{display:block;}
  11. ul#editmenu li:hover ul,
  12. ul#editmenu li.sfHover ul{left:0px;top:30px;}
  13. ul#editmenu li:hover li ul,
  14. ul#editmenu li.sfHover li ul{top:-999em;}
  15. ul#editmenu li li:hover ul,
  16. ul#editmenu li li.sfHover ul{left:14em;top:-1px;}
  17. .superfish li:hover ul,
  18. .superfish li li:hover ul{top:-999em;}
  19. ul#editmenu:after{
  20. clear: both;
  21. content: '.';
  22. display: block;
  23. height:0px;
  24. overflow:hidden;
  25. visibility:hidden;
  26. width:0px;
  27. }
  28. /* ------ STYLE ------ */
  29. ul#editmenu {
  30. background-color:#333;
  31. border-bottom: 1px dotted #9A9A9A;
  32. box-shadow: 0 0 15px #000000 inset;
  33. -moz-box-shadow: 0 0 15px #000000 inset;
  34. -webkit-box-shadow: 0 0 15px #000000 inset;
  35. }
  36. .editmenu-block:after{
  37. content:'by g.u.i.';
  38. color:#fff;
  39. font: italic 600 1em 'Baskerville',serif;
  40. display:block;
  41. position:fixed;
  42. top:6px;
  43. right:1em;
  44. z-index:10000;
  45. }
  46. ul#editmenu li:hover ul,
  47. ul#editmenu li.sfHover ul{
  48. background:#1a1a1a;
  49. border: 1px dotted #9A9A9A;
  50. padding: 6px 0;
  51. }
  52. ul#editmenu li:hover ul:before,
  53. ul#editmenu li.sfHover ul:before{
  54. background:url('bkgd-border.png') 15px 0 no-repeat;
  55. content:'';
  56. display:block;
  57. height:9px;
  58. margin-top:-15px;
  59. width:100%;
  60. }
  61. /* ------ FONT ------ */
  62. .editmenu-block{font:normal normal 100 11px/1em 'Monaco','Lucida Console','Consolas',monospace;color:#fff;}
  63. ul#editmenu a{color:#fff;margin:4px;padding:2px;text-decoration:none;word-spacing:-.35em;
  64. transition: background-color .5s, color .5s;
  65. -moz-transition: background-color .5s, color .5s;
  66. -o-transition: background-color .5s, color .5s;
  67. -webkit-transition: background-color .5s, color .5s;
  68. }
  69. ul#editmenu>li.first a{color:#777;}
  70. ul#editmenu li.sfHover>a,
  71. ul#editmenu a:focus,
  72. ul#editmenu a:hover,
  73. ul#editmenu a:active{
  74. color: #000;
  75. background-color:#fff;
  76. transition-duration:0s;
  77. -moz-transition-duration:0s;
  78. -o-transition-duration:0s;
  79. -webkit-transition-duration:0s;
  80. }
  81. ul#editmenu>li.first a:focus,
  82. ul#editmenu>li.first a:hover,
  83. ul#editmenu>li.first a:active{
  84. color: #000;
  85. background-color:#cc3733;
  86. }