_smart_wizard_theme_dots.scss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /*!
  2. * SmartWizard v4.3.x
  3. * jQuery Wizard Plugin
  4. * http://www.techlaboratory.net/smartwizard
  5. *
  6. * Created by Dipu Raj
  7. * http://dipuraj.me
  8. *
  9. * Licensed under the terms of MIT License
  10. * https://github.com/techlab/SmartWizard/blob/master/LICENSE
  11. */
  12. /* SmartWizard Theme: Dots */
  13. .sw-theme-dots {
  14. .sw-container {
  15. min-height: 300px;
  16. }
  17. .step-content {
  18. padding: 15px;
  19. border: none;
  20. background-color: #fff;
  21. text-align: start;
  22. }
  23. .sw-toolbar {
  24. background: #fff;
  25. border-radius: 0 !important;
  26. padding-inline-start: 10px;
  27. padding-inline-end: 10px;
  28. margin-block-end: 0 !important;
  29. }
  30. .sw-toolbar-top {
  31. border-block-end-color : #ddd !important;
  32. }
  33. .sw-toolbar-bottom {
  34. border-block-start-color: #ddd !important;
  35. border-block-end-color : #ddd !important;
  36. }
  37. > ul.step-anchor {
  38. position: relative;
  39. background: #fff;
  40. border: 0px solid #313e6a !important;
  41. list-style: none;
  42. z-index: 5;
  43. &:before {
  44. content: " ";
  45. position: absolute;
  46. inset-block-start: 59px;
  47. inset-block-end: 0;
  48. inset-inline-start: 20px;
  49. width: 96%;
  50. height: 5px;
  51. background-color: #ebeff8;
  52. border-radius: 3px;
  53. z-index: 9;
  54. }
  55. > li {
  56. border: none;
  57. > a {
  58. position: relative;
  59. text-align: center;
  60. font-weight: bold;
  61. background: transparent;
  62. border: none;
  63. /* color: #313e6a; */
  64. text-decoration: none;
  65. outline-style: none;
  66. z-index: 9;
  67. display: block;
  68. }
  69. }
  70. }
  71. }
  72. /* Anchors styles */
  73. .step-anchor .nav-tabs .nav-item .nav-link {
  74. color: #313e6a !important;
  75. }
  76. .sw-theme-dots {
  77. > ul.step-anchor > li > a:before {
  78. content: " ";
  79. position: absolute;
  80. inset-block-end: 14px;
  81. inset-inline-start: 37%;
  82. margin-block-start: 20px;
  83. display: block;
  84. border-radius: 50%;
  85. color: $primary-1;
  86. background: #ebeff8;
  87. border: none;
  88. width: 30px;
  89. height: 30px;
  90. text-decoration: none;
  91. z-index: 98;
  92. }
  93. nav-tabs .nav-link:hover:not(.disabled) {
  94. color: inherit;
  95. background: transparent !important;
  96. }
  97. > ul.step-anchor > li {
  98. > a {
  99. &:after {
  100. content: " ";
  101. position: relative;
  102. inset-inline-start: 36%;
  103. inset-block-end: 5px;
  104. margin-block-start: 24px;
  105. display: block;
  106. width: 16px;
  107. height: 16px;
  108. background: #b4bdce;
  109. border-radius: 50%;
  110. z-index: 99;
  111. }
  112. &:hover {
  113. color: #313e6a;
  114. background: transparent;
  115. }
  116. &:focus {
  117. color: #313e6a;
  118. border: none;
  119. }
  120. }
  121. &.clickable > a:hover {
  122. color: #999;
  123. }
  124. &.active > a {
  125. color: $primary-1;
  126. &:hover {
  127. border: none;
  128. }
  129. &:after {
  130. background: $primary-1;
  131. }
  132. }
  133. &.done > a {
  134. color: #313e6a;
  135. &:after {
  136. background: #b3b7da;
  137. }
  138. }
  139. &.danger > a {
  140. color: #d5cef3;
  141. &:after {
  142. background: #d5cef3;
  143. }
  144. }
  145. &.disabled > a {
  146. color: #eee !important;
  147. &:hover {
  148. color: #eee !important;
  149. }
  150. &:after {
  151. background: #eee;
  152. }
  153. }
  154. }
  155. }
  156. /* Active anchors */
  157. /* Done anchors */
  158. /* Danger anchors */
  159. /* Responsive CSS */
  160. @media screen and (max-width: 480px) {
  161. .sw-theme-dots {
  162. > ul.step-anchor {
  163. &:before {
  164. inset-block-start: 0;
  165. inset-block-end: 0;
  166. inset-inline-start: 19px;
  167. width: 5px;
  168. height: 100%;
  169. background-color: #f5f5f5;
  170. display: block;
  171. margin-inline-end: 10px;
  172. }
  173. > li {
  174. margin-inline-start: 20px;
  175. display: block;
  176. clear: both;
  177. > a {
  178. text-align: start;
  179. margin-inline-start: 0;
  180. display: block;
  181. &:before {
  182. inset-block-start: -8px;
  183. inset-inline-start: -14px;
  184. margin-inline-end: 10px;
  185. display: block;
  186. }
  187. &:after {
  188. inset-block-start: -40px;
  189. inset-inline-start: -36px;
  190. margin-inline-end: 10px;
  191. display: block;
  192. }
  193. }
  194. }
  195. }
  196. .nav .nav-item {
  197. width: 100%;
  198. }
  199. }
  200. }