You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .dc-context-menu {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. min-width: 120px;
  6. min-height: 10px;
  7. background: rgba(43,44,47,.8);
  8. border: 1px solid #2b2c2f;
  9. border-radius: 4px;
  10. visibility: hidden;
  11. z-index: -1;
  12. cursor: pointer;
  13. .menu-list {
  14. width: 100%;
  15. color: #fff;
  16. .menu-item {
  17. font-size: 14px;
  18. list-style: none;
  19. width: 100%;
  20. &:nth-child(n+2)::before{
  21. content: "";
  22. display: block;
  23. height: 1px;
  24. width: 100%;
  25. background: -webkit-linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);
  26. background: linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);
  27. }
  28. a{
  29. color: #fff;
  30. display:block;
  31. padding: 6px 10px;
  32. clear: both;
  33. text-decoration: none;
  34. &:hover{
  35. background-color: #444d59;
  36. }
  37. }
  38. }
  39. }
  40. }