tour.module.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /**
  2. * @file
  3. * Styling for tour module.
  4. */
  5. /* Tab appearance. */
  6. .toolbar .toolbar-bar .tour-toolbar-tab.toolbar-tab {
  7. float: right; /* LTR */
  8. }
  9. [dir="rtl"] .toolbar .toolbar-bar .tour-toolbar-tab.toolbar-tab {
  10. float: left;
  11. }
  12. /* Override placement of the tour progress indicator. */
  13. .tour-progress {
  14. position: absolute;
  15. right: 20px; /* LTR */
  16. bottom: 20px;
  17. }
  18. [dir="rtl"] .tour-progress {
  19. right: auto;
  20. left: 20px;
  21. }
  22. /* Default styles for the container */
  23. .joyride-tip-guide {
  24. position: absolute;
  25. z-index: 101;
  26. top: 0;
  27. left: 0;
  28. display: none;
  29. width: 300px;
  30. background: #fff;
  31. }
  32. @media only screen and (max-width: 767px) {
  33. .joyride-tip-guide {
  34. left: 2.5%;
  35. width: 85%;
  36. }
  37. }
  38. .joyride-content-wrapper {
  39. position: relative;
  40. padding: 20px 50px 20px 20px; /* LTR */
  41. }
  42. [dir="rtl"] .joyride-content-wrapper {
  43. padding: 20px 20px 20px 50px;
  44. }
  45. /* Add a little css triangle pip, older browser just miss out on the fanciness of it. */
  46. .joyride-tip-guide .joyride-nub {
  47. position: absolute;
  48. left: 22px;
  49. display: block;
  50. width: 0;
  51. height: 0;
  52. }
  53. .joyride-tip-guide .joyride-nub.top {
  54. top: -28px;
  55. bottom: auto;
  56. }
  57. .joyride-tip-guide .joyride-nub.bottom {
  58. bottom: -28px;
  59. }
  60. .joyride-tip-guide .joyride-nub.right {
  61. top: 22px;
  62. right: -28px;
  63. bottom: auto;
  64. left: auto;
  65. }
  66. .joyride-tip-guide .joyride-nub.left {
  67. top: 22px;
  68. right: auto;
  69. bottom: auto;
  70. left: -28px;
  71. }
  72. .joyride-tip-guide .joyride-nub.top-right {
  73. top: -28px;
  74. right: 28px;
  75. bottom: auto;
  76. left: auto;
  77. }
  78. .joyride-tip-guide .tour-tip-label {
  79. margin-top: 0;
  80. }
  81. .joyride-tip-guide p {
  82. margin: 0 0 1.4em;
  83. }
  84. .joyride-timer-indicator-wrap {
  85. position: absolute;
  86. right: 17px;
  87. bottom: 16px;
  88. width: 50px;
  89. height: 3px;
  90. }
  91. .joyride-timer-indicator {
  92. display: block;
  93. width: 0;
  94. height: inherit;
  95. }
  96. .joyride-close-tip {
  97. position: absolute;
  98. top: 20px;
  99. right: 20px; /* LTR */
  100. line-height: 1em;
  101. }
  102. [dir="rtl"] .joyride-close-tip {
  103. right: auto;
  104. left: 20px;
  105. }
  106. .joyride-modal-bg {
  107. position: fixed;
  108. z-index: 100;
  109. top: 0;
  110. left: 0;
  111. display: none;
  112. width: 100%;
  113. height: 100%;
  114. cursor: pointer;
  115. }
  116. .joyride-expose-wrapper {
  117. position: absolute;
  118. z-index: 102;
  119. }
  120. .joyride-expose-cover {
  121. position: absolute;
  122. z-index: 10000;
  123. top: 0;
  124. left: 0;
  125. }