driver.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. div.driver-popover {
  2. width: 400px;
  3. max-width: 400px;
  4. padding: 15px;
  5. padding-bottom: 8px;
  6. background-image: linear-gradient(96deg, #b58eff 2.25%, #fdbc94 97.98%);
  7. box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
  8. border-radius: 12px;
  9. }
  10. // 标题
  11. header.driver-popover-title {
  12. color: var(--color-neutral-1);
  13. }
  14. // 角标
  15. div.driver-popover-arrow-side-left {
  16. border-left-color: #b78ffc;
  17. }
  18. div.driver-popover-arrow-side-right {
  19. border-right-color: #b78ffc;
  20. }
  21. div.driver-popover-arrow-side-top {
  22. border-top-color: #b78ffc;
  23. }
  24. div.driver-popover-arrow-side-bottom {
  25. border-bottom-color: #b78ffc;
  26. }
  27. // 遮罩
  28. .driver-overlay.driver-overlay-animated {
  29. path {
  30. fill: var(--color-tour-mask-bg) !important;
  31. }
  32. }
  33. // 关闭图标
  34. button.driver-popover-close-btn {
  35. top: -1px;
  36. right: -6px;
  37. color: #2b2f36;
  38. &:hover,
  39. &:focus {
  40. color: #2b2f36;
  41. }
  42. }
  43. // 内容
  44. div.driver-popover-description {
  45. color: #2b2f36;
  46. text-align: left;
  47. ul {
  48. margin-left: 16px;
  49. list-style: disc;
  50. li {
  51. color: #2b2f36;
  52. }
  53. }
  54. }
  55. // 页数
  56. span.driver-popover-progress-text {
  57. color: rgba($color: #fff, $alpha: 0.7);
  58. font-size: 12px;
  59. }
  60. footer.driver-popover-footer {
  61. margin-top: 28px;
  62. height: 36px;
  63. .driver-popover-navigation-btns {
  64. // 上一步
  65. button.driver-popover-prev-btn {
  66. width: 96px;
  67. height: 36px;
  68. padding: 0;
  69. background-color: transparent;
  70. border: none;
  71. }
  72. button.driver-popover-next-btn {
  73. width: 96px;
  74. height: 36px;
  75. padding: 0;
  76. background-color: transparent;
  77. border: none;
  78. }
  79. }
  80. }