smart_wizard_theme_dots.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /*!
  2. * SmartWizard v4.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. }
  15. .sw-theme-dots .sw-container {
  16. min-height: 300px;
  17. }
  18. .sw-theme-dots .step-content {
  19. padding: 10px 0;
  20. border: none;
  21. background-color: #FFF;
  22. text-align: left;
  23. }
  24. .sw-theme-dots .sw-toolbar {
  25. background: #fff;
  26. border-radius: 0 !important;
  27. padding-left: 10px;
  28. padding-right: 10px;
  29. margin-bottom: 0 !important;
  30. }
  31. .sw-theme-dots .sw-toolbar-top {
  32. border-bottom-color: #ddd !important;
  33. }
  34. .sw-theme-dots .sw-toolbar-bottom {
  35. border-top-color: #ddd !important;
  36. border-bottom-color: #ddd !important;
  37. }
  38. .sw-theme-dots > ul.step-anchor {
  39. position: relative;
  40. background: #fff;
  41. display: block;
  42. border: 0px solid #ccc !important;
  43. list-style: none;
  44. }
  45. .sw-theme-dots > ul.step-anchor:before {
  46. content: " ";
  47. position: absolute;
  48. top: 65px;
  49. bottom: 0;
  50. width: 100%;
  51. height: 5px;
  52. background-color: #f5f5f5;
  53. border-radius: 3px;
  54. z-order: 0;
  55. z-index: 95;
  56. }
  57. .sw-theme-dots > ul.step-anchor > li {
  58. border: none;
  59. }
  60. /* Anchors styles */
  61. .sw-theme-dots > ul.step-anchor > li > a {
  62. position: relative;
  63. text-align: center;
  64. font-weight: bold;
  65. background: transparent;
  66. border: none;
  67. color: #ccc;
  68. text-decoration: none;
  69. outline-style: none;
  70. z-index: 96;
  71. display: block;
  72. }
  73. .sw-theme-dots > ul.step-anchor > li > a:before {
  74. content: ' ';
  75. position: absolute;
  76. bottom: 2px;
  77. left: 40%;
  78. margin-top: 10px;
  79. display: block;
  80. border-radius: 50%;
  81. color: #428bca;
  82. background: #f5f5f5;
  83. border: none;
  84. width: 30px;
  85. height: 30px;
  86. text-decoration: none;
  87. z-index: 98;
  88. }
  89. .sw-theme-dots > ul.step-anchor > li > a:after {
  90. content: ' ';
  91. position: relative;
  92. left: 43%;
  93. margin-top: 10px;
  94. display: block;
  95. width: 15px;
  96. height: 15px;
  97. background: #f5f5f5;
  98. border-radius: 50%;
  99. z-index: 99;
  100. }
  101. .sw-theme-dots > ul.step-anchor > li > a:hover {
  102. color: #ccc;
  103. background: transparent;
  104. }
  105. .sw-theme-dots > ul.step-anchor > li > a:focus {
  106. color: #ccc;
  107. border: none;
  108. }
  109. .sw-theme-dots > ul.step-anchor > li.clickable > a:hover {
  110. color: #999;
  111. }
  112. /* Active anchors */
  113. .sw-theme-dots > ul.step-anchor > li.active > a {
  114. color: #5bc0de;
  115. }
  116. .sw-theme-dots > ul.step-anchor > li.active > a:hover {
  117. border: none;
  118. }
  119. .sw-theme-dots > ul.step-anchor > li.active > a:after {
  120. background: #5bc0de;
  121. }
  122. /* Done anchors */
  123. .sw-theme-dots > ul.step-anchor > li.done > a {
  124. color: #5cb85c;
  125. }
  126. .sw-theme-dots > ul.step-anchor > li.done > a:after {
  127. background: #5cb85c;
  128. }
  129. /* Danger anchors */
  130. .sw-theme-dots > ul.step-anchor > li.danger > a {
  131. color: #d9534f;
  132. }
  133. .sw-theme-dots > ul.step-anchor > li.danger > a:after {
  134. background: #d9534f;
  135. }
  136. .sw-theme-dots > ul.step-anchor > li.disabled > a, .sw-theme-dots > ul.step-anchor > li.disabled > a:hover {
  137. color: #eee !important;
  138. }
  139. .sw-theme-dots > ul.step-anchor > li.disabled > a:after {
  140. background: #eee;
  141. }
  142. /* Responsive CSS */
  143. @media screen and (max-width: 768px) {
  144. .sw-theme-dots > ul.step-anchor:before {
  145. top: 0;
  146. bottom: 0;
  147. left: 10px;
  148. width: 5px;
  149. height: 100%;
  150. background-color: #f5f5f5;
  151. display: block;
  152. margin-right: 10px;
  153. }
  154. .sw-theme-dots > ul.step-anchor > li {
  155. margin-left: 20px;
  156. display: block;
  157. clear: both;
  158. }
  159. .sw-theme-dots > ul.step-anchor > li > a {
  160. text-align: left;
  161. margin-left: 0;
  162. display: block;
  163. }
  164. .sw-theme-dots > ul.step-anchor > li > a:before {
  165. top: 5px;
  166. left: -23px;
  167. margin-right: 10px;
  168. display: block;
  169. }
  170. .sw-theme-dots > ul.step-anchor > li > a:after {
  171. top: -38px;
  172. left: -31px;
  173. margin-right: 10px;
  174. display: block;
  175. }
  176. }
  177. /* Loader Animation
  178. * Courtesy: https://codepen.io/emjay/pen/VjVBRq
  179. */
  180. .sw-theme-dots > ul.step-anchor > li.loading > a:before {
  181. -webkit-animation: help-bubble-pulse 1.5s linear infinite;
  182. animation: help-bubble-pulse 1.5s linear infinite;
  183. }
  184. .sw-theme-dots > ul.step-anchor > li.loading > a:after {
  185. background-color: #ccc;
  186. opacity: 1;
  187. -webkit-animation: help-bubble-pulse 1.5s linear infinite;
  188. animation: help-bubble-pulse 1.5s linear infinite;
  189. }
  190. @-webkit-keyframes help-bubble-pulse {
  191. 0% {
  192. -webkit-transform: scale(1);
  193. transform: scale(1);
  194. opacity: .75;
  195. }
  196. 25% {
  197. -webkit-transform: scale(1);
  198. transform: scale(1);
  199. opacity: .75;
  200. }
  201. 100% {
  202. -webkit-transform: scale(2.5);
  203. transform: scale(2.5);
  204. opacity: 0;
  205. }
  206. }
  207. @keyframes help-bubble-pulse {
  208. 0% {
  209. -webkit-transform: scale(1);
  210. transform: scale(1);
  211. opacity: .75;
  212. }
  213. 25% {
  214. -webkit-transform: scale(1);
  215. transform: scale(1);
  216. opacity: .75;
  217. }
  218. 100% {
  219. -webkit-transform: scale(2.5);
  220. transform: scale(2.5);
  221. opacity: 0;
  222. }
  223. }