contextmenu.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * @name contextmenu.css
  3. * @author Tobias Reich
  4. * @copyright 2014 by Tobias Reich
  5. */
  6. .contextmenu_bg {
  7. position: fixed;
  8. height: 100%;
  9. width: 100%;
  10. z-index: 1000;
  11. }
  12. .contextmenu {
  13. position: fixed;
  14. top: 110%;
  15. left: 110%;
  16. padding: 5px 0px 6px 0px;
  17. background-color: #393939;
  18. background-image: -webkit-linear-gradient(top, #444, #2d2d2d);
  19. background-image: -moz-linear-gradient(top, #393939, #2d2d2d);
  20. background-image: -ms-linear-gradient(top, #393939, #2d2d2d);
  21. background-image: linear-gradient(top, #393939, #2d2d2d);
  22. border: 1px solid rgba(0,0,0,0.7);
  23. border-bottom: 1px solid rgba(0,0,0,.9);
  24. border-radius: 5px;
  25. box-shadow: 0px 4px 5px rgba(0,0,0,0.3), inset 0px 1px 0px rgba(255,255,255,0.15), inset 1px 0px 0px rgba(255,255,255,0.05), inset -1px 0px 0px rgba(255,255,255,0.05);
  26. opacity: .98;
  27. z-index: 1001;
  28. }
  29. /* Items ------------------------------------------------*/
  30. .contextmenu tr {
  31. font-size: 14px;
  32. color: #eee;
  33. text-shadow: 0px -1px 0px rgba(0,0,0,.6);
  34. cursor: pointer;
  35. }
  36. .contextmenu tr:hover {
  37. background-color: #6a84f2;
  38. background-image: -webkit-linear-gradient(top, #6a84f2, #3959ef);
  39. background-image: -moz-linear-gradient(top, #6a84f2, #3959ef);
  40. background-image: -ms-linear-gradient(top, #6a84f2, #3959ef);
  41. background-image: linear-gradient(top, #6a84f2, #3959ef);
  42. }
  43. .contextmenu tr.no_hover:hover {
  44. cursor: inherit;
  45. background-color: inherit;
  46. background-image: none;
  47. }
  48. .contextmenu tr.separator {
  49. float: left;
  50. height: 1px;
  51. width: 100%;
  52. background-color: #1c1c1c;
  53. border-bottom: 1px solid #4a4a4a;
  54. margin: 5px 0px;
  55. cursor: inherit;
  56. }
  57. .contextmenu tr.separator:hover {
  58. background-color: #222;
  59. background-image: none;
  60. }
  61. .contextmenu tr td {
  62. padding: 7px 30px 6px 12px;
  63. white-space: nowrap;
  64. -webkit-transition: none;
  65. -moz-transition: none;
  66. transition: none;
  67. }
  68. .contextmenu tr:hover td {
  69. color: #fff;
  70. box-shadow: inset 0px 1px 0px rgba(255,255,255,.05);
  71. text-shadow: 0px -1px 0px rgba(0,0,0,.4);
  72. }
  73. .contextmenu tr.no_hover:hover td {
  74. box-shadow: none;
  75. }
  76. .contextmenu tr a {
  77. float: left;
  78. width: 10px;
  79. margin-right: 10px;
  80. text-align: center;
  81. }
  82. /* Direct Link Input ------------------------------------------------*/
  83. .contextmenu #link {
  84. float: right;
  85. width: 140px;
  86. margin: 0px -17px -1px 0px;
  87. padding: 4px 6px 5px 6px;
  88. background-color: #444;
  89. color: #fff;
  90. border: none;
  91. border: 1px solid #111;
  92. box-shadow: 0px 1px 0px rgba(255,255,255,.1);
  93. outline: none;
  94. border-radius: 5px;
  95. }
  96. .contextmenu tr a#link_icon {
  97. padding-top: 4px;
  98. }