_contextmenu.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. * @copyright 2014 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: #eee;
  16. font-size: 14px;
  17. text-shadow: 0 -1px 0px black(.1);
  18. &.separator {
  19. background: black(.2);
  20. border-bottom: 1px solid white(.06);
  21. }
  22. }
  23. tr td {
  24. padding: 7px 25px 6px 12px;
  25. min-width: auto;
  26. color: #fff;
  27. border-radius: 0;
  28. transition: none;
  29. &:hover { background: linear-gradient(to bottom, $colorBlue, darken($colorBlue, 5%)); }
  30. }
  31. tr td .albumCover {
  32. border-radius: 2px;
  33. box-shadow: 0 0 0 1px black(.5);
  34. position: absolute;
  35. }
  36. tr td .albumTitle {
  37. display: inline-block;
  38. margin: 0 0 3px 26px;
  39. }
  40. /* Link ------------------------------------------------*/
  41. input#link {
  42. width: 100%;
  43. margin: -2px 0 -1px -2px;
  44. padding: 5px 7px 6px 7px;
  45. background: #333;
  46. color: #fff;
  47. border: 1px solid black(.4);
  48. box-shadow: 0px 1px 0px white(.05);
  49. outline: none;
  50. border-radius: 3px;
  51. }
  52. /* No Hover ------------------------------------------------*/
  53. tr.noHover td:hover {
  54. background: none;
  55. cursor: default;
  56. }
  57. }