shortcut.css 768 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .stag-shortcuts {
  2. position: absolute;
  3. border: 1px solid #aaa;
  4. background: #fff;
  5. margin-top: 1.3rem;
  6. display: none;
  7. min-width: 160px;
  8. max-width: 280px;
  9. z-index: 99999;
  10. }
  11. .stag-shortcuts>.sc {
  12. font-size: 13px;
  13. padding: 2px 6px;
  14. white-space: nowrap;
  15. width: 100%;
  16. cursor: pointer;
  17. overflow: hidden;
  18. text-overflow: ellipsis;
  19. }
  20. .stag-shortcuts>.sc:hover {
  21. background-color: aliceblue;
  22. }
  23. .stag-shortcuts>.sc:not(:last-child) {
  24. border-bottom: 1px solid #ccc;
  25. }
  26. .stag-shortcuts>.sc.active {
  27. background-color: #cfe1f1;
  28. }
  29. form#create-shortcut-form {
  30. position: absolute;
  31. background: #fff;
  32. padding: 10px;
  33. border: 1px solid #ccc;
  34. border-radius: 3px;
  35. display: none;
  36. z-index: 101;
  37. }