hugerte.css 1021 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .hugerte-variable{
  2. border-radius: 6px;
  3. cursor: pointer !important;
  4. padding: 0 4px;
  5. outline: 2px dashed #006ce788;
  6. transition-duration: 200ms;
  7. display: inline;
  8. width: fit-content;
  9. &::before{
  10. vertical-align: center;
  11. pointer-events: none;
  12. transition-duration: 200ms;
  13. margin-right: -24px;
  14. opacity: 0;
  15. line-height: 1.6;
  16. content: '变量';
  17. font-weight: normal;
  18. font-size: 10px;
  19. height: fit-content;
  20. background: #77B1F2;
  21. color: white;
  22. padding: 0 3px;
  23. border-radius: 4px;
  24. }
  25. &:hover,&[data-mce-selected]{
  26. background: #006ce71a;
  27. outline: 2px solid #006ce788 !important;
  28. &::before{
  29. opacity: 1;
  30. margin-right: 2px;
  31. }
  32. }
  33. &.e{
  34. outline: 2px dashed #E71B0087;
  35. &::before{
  36. background: #e82309;
  37. content: '失效';
  38. }
  39. &:hover,&[data-mce-selected]{
  40. background: #E71B001a;
  41. outline: 2px solid #E71B0087 !important;
  42. &::before{
  43. opacity: 1;
  44. margin-right: 2px;
  45. }
  46. }
  47. }
  48. }