tour.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @import '~@resources/scss/base/bootstrap-extended/include';
  2. // Overrides user variable
  3. @import '~@resources/scss/base/components/include';
  4. @import '~vue-tour/dist/vue-tour.css';
  5. .v-tour {
  6. .v-step {
  7. z-index: 55000;
  8. background-color: $white;
  9. border-radius: $card-border-radius;
  10. filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.2));
  11. min-width: 350px;
  12. text-align: left;
  13. .v-step__arrow {
  14. border-color: $primary;
  15. border-left-color: transparent;
  16. border-right-color: transparent;
  17. }
  18. // --- Header ----- //
  19. .v-step__header {
  20. background-color: $primary;
  21. border-top-left-radius: $card-border-radius;
  22. border-top-right-radius: $card-border-radius;
  23. font-weight: 500;
  24. padding: 0.38rem 1.2rem;
  25. margin-bottom: 0;
  26. line-height: 2rem;
  27. }
  28. // --- Content/Body ----- //
  29. .v-step__content {
  30. color: $body-color;
  31. border-bottom-left-radius: $card-border-radius;
  32. border-bottom-right-radius: $card-border-radius;
  33. padding: 1rem 0;
  34. margin-bottom: 0;
  35. }
  36. }
  37. }
  38. // ----------- Dark Layout -----------//
  39. .dark-layout {
  40. .v-step {
  41. background-color: $theme-dark-card-bg;
  42. }
  43. }
  44. // ----------- RTL -----------//
  45. html[dir='rtl'] {
  46. .v-tour {
  47. .v-step {
  48. .btn {
  49. svg {
  50. transform: rotate(180deg);
  51. }
  52. }
  53. }
  54. }
  55. }