measure.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .delete-ruler {
  2. li {
  3. white-space: nowrap;
  4. }
  5. }
  6. .widgets-design-option {
  7. width: 100%;
  8. height: 100%;
  9. z-index: 4;
  10. position: absolute;
  11. user-select: none;
  12. overflow: hidden;
  13. pointer-events: none;
  14. left: 0;
  15. top: 0;
  16. i {
  17. margin: 0 5px;
  18. &:before {
  19. font-family: 'iconfont' !important;
  20. font-size: 32px;
  21. line-height: 36px;
  22. font-style: normal;
  23. }
  24. }
  25. li {
  26. cursor: pointer;
  27. }
  28. > div {
  29. height: 36px;
  30. background: #262729;
  31. position: absolute;
  32. transform: translate(-100%, -50%) translateX(-15px);
  33. border-top-left-radius: 18px;
  34. border-bottom-left-radius: 18px;
  35. padding-left: 10px;
  36. pointer-events: auto;
  37. box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.4);
  38. &:after {
  39. position: absolute;
  40. right: -15px;
  41. top: 0;
  42. content: '';
  43. width: 0;
  44. height: 0;
  45. border-style: solid;
  46. border-width: 18px 0 18px 15px;
  47. border-color: transparent transparent transparent #262729;
  48. }
  49. }
  50. &.right > div {
  51. transform: translate(15px, -50%);
  52. border-top-left-radius: 0;
  53. border-bottom-left-radius: 0;
  54. border-top-right-radius: 18px;
  55. border-bottom-right-radius: 18px;
  56. padding: 0 10px 0 0;
  57. &:after {
  58. right: auto;
  59. left: -15px;
  60. border-width: 18px 15px 18px 0;
  61. border-color: transparent #262729 transparent transparent;
  62. }
  63. }
  64. .delete-ruler li {
  65. line-height: 36px;
  66. padding: 0 10px;
  67. word-break: keep-all;
  68. list-style: none;
  69. color: #fff;
  70. }
  71. }
  72. [xui_tags] {
  73. position: absolute;
  74. width: 100%;
  75. height: 100%;
  76. }