_contextmenu.scss 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /**
  2. * @copyright 2015 by Tobias Reich
  3. */
  4. /* Context ------------------------------------------------*/
  5. .basicContext {
  6. padding: 5px 0 6px;
  7. background: linear-gradient(to bottom, #333, #252525);
  8. border: 1px solid black(.7);
  9. border-bottom: 1px solid black(.8);
  10. border-radius: 5px;
  11. box-shadow: 0 1px 4px black(.2), inset 0 1px 0 white(.05);
  12. /* Item ------------------------------------------------*/
  13. tr {
  14. margin-bottom: 2px;
  15. color: white(.9);
  16. font-size: 14px;
  17. text-shadow: $shadowLight;
  18. &.separator {
  19. background: black(.2);
  20. border-bottom: 1px solid white(.06);
  21. }
  22. }
  23. tr td {
  24. padding: 6px 25px 7px 12px;
  25. min-width: auto;
  26. color: white(1);
  27. border-radius: 0;
  28. transition: none;
  29. cursor: default;
  30. &:hover { background: linear-gradient(to bottom, $colorBlue, darken($colorBlue, 5%)); }
  31. &:active { background: linear-gradient(to bottom, darken($colorBlue, 10%), darken($colorBlue, 15%)); }
  32. }
  33. tr td .cover {
  34. background-color: #222;
  35. border-radius: 2px;
  36. box-shadow: 0 0 0 1px black(.5);
  37. position: absolute;
  38. }
  39. tr td .title {
  40. display: inline-block;
  41. margin: 0 0 3px 26px;
  42. }
  43. tr td .iconic {
  44. display: inline-block;
  45. margin: 0 10px 0 1px;
  46. width: 11px;
  47. height: 10px;
  48. fill: white(1);
  49. }
  50. tr td .iconic.ionicons {
  51. margin: 0 8px -2px 0;
  52. width: 14px;
  53. height: 14px;
  54. }
  55. /* Link ------------------------------------------------*/
  56. input#link {
  57. width: 100%;
  58. margin: -2px 0 -1px -2px;
  59. padding: 5px 7px 6px 7px;
  60. background: #333;
  61. color: #fff;
  62. border: 1px solid black(.4);
  63. box-shadow: 0px 1px 0px white(.05);
  64. outline: none;
  65. border-radius: 3px;
  66. }
  67. /* No Hover ------------------------------------------------*/
  68. tr.noHover td:hover {
  69. background: none;
  70. }
  71. }