wizard.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. /*========================================================
  2. DARK LAYOUT
  3. =========================================================*/
  4. .app-content .wizard {
  5. width: 100%;
  6. }
  7. .app-content .wizard .content {
  8. margin-left: 0 !important;
  9. }
  10. .app-content .wizard > .steps {
  11. position: relative;
  12. display: block;
  13. width: 100%;
  14. }
  15. .app-content .wizard > .steps .current-info {
  16. position: absolute;
  17. left: -99999px;
  18. }
  19. .app-content .wizard > .steps > ul {
  20. display: table;
  21. width: 100%;
  22. table-layout: fixed;
  23. margin: 0;
  24. padding: 0;
  25. list-style: none;
  26. }
  27. .app-content .wizard > .steps > ul > li {
  28. display: table-cell;
  29. width: auto;
  30. vertical-align: top;
  31. text-align: center;
  32. position: relative;
  33. }
  34. .app-content .wizard > .steps > ul > li a {
  35. position: relative;
  36. padding-top: 52px;
  37. margin-top: 20px;
  38. margin-bottom: 20px;
  39. display: block;
  40. }
  41. .app-content .wizard > .steps > ul > li:before {
  42. content: "";
  43. display: block;
  44. position: absolute;
  45. z-index: 9;
  46. left: 0;
  47. }
  48. .app-content .wizard > .steps > ul > li:after {
  49. content: "";
  50. display: block;
  51. position: absolute;
  52. z-index: 9;
  53. right: 0;
  54. }
  55. .app-content .wizard > .steps > ul > li:last-child:after {
  56. content: none;
  57. }
  58. .app-content .wizard > .steps > ul > li.current > a {
  59. color: #5c6bc6;
  60. cursor: default;
  61. }
  62. .app-content .wizard > .steps > ul > li.current .step {
  63. border-color: #5c6bc6;
  64. background-color: #5c6bc6;
  65. color: #fff;
  66. }
  67. .app-content .wizard > .steps > ul > li.disabled a {
  68. color: #636363;
  69. cursor: default;
  70. }
  71. .app-content .wizard > .steps > ul > li.disabled a:hover {
  72. color: #636363;
  73. cursor: default;
  74. }
  75. .app-content .wizard > .steps > ul > li.disabled a:focus {
  76. color: #636363;
  77. cursor: default;
  78. }
  79. .app-content .wizard > .steps > ul > li.disabled .step {
  80. color: #b8c2cc;
  81. }
  82. .app-content .wizard > .steps > ul > li.done a {
  83. color: #636363;
  84. }
  85. .app-content .wizard > .steps > ul > li.done a:hover {
  86. color: #636363;
  87. }
  88. .app-content .wizard > .steps > ul > li.done a:focus {
  89. color: #636363;
  90. }
  91. .app-content .wizard > .steps > ul > li.done .step {
  92. background-color: #fff;
  93. border-color: #5c6bc6;
  94. color: #b8c2cc;
  95. }
  96. .app-content .wizard > .steps > ul > li.done:last-child .step {
  97. background-color: #5c6bc6;
  98. border-color: #5c6bc6;
  99. color: #fff;
  100. }
  101. .app-content .wizard > .steps > ul > li.error > a {
  102. color: #ea5455;
  103. }
  104. .app-content .wizard > .steps > ul > li.error .step {
  105. border-color: #ea5455;
  106. color: #fff;
  107. background-color: #ea5455;
  108. }
  109. .app-content .wizard > .steps .step {
  110. background-color: #fff;
  111. display: inline-block;
  112. position: absolute;
  113. top: 0;
  114. left: 50%;
  115. margin-left: -24px;
  116. z-index: 10;
  117. text-align: center;
  118. }
  119. .app-content .wizard > .steps .step i {
  120. position: relative;
  121. top: 2px;
  122. }
  123. .app-content .wizard > .content {
  124. position: relative;
  125. width: auto;
  126. padding: 0;
  127. margin: 0;
  128. }
  129. .app-content .wizard > .content > .title {
  130. position: absolute;
  131. left: -99999px;
  132. }
  133. .app-content .wizard > .content > .body {
  134. padding: 0 20px;
  135. }
  136. .app-content .wizard > .content > iframe {
  137. border: 0 none;
  138. width: 100%;
  139. height: 100%;
  140. }
  141. .app-content .wizard > .actions {
  142. position: relative;
  143. display: block;
  144. text-align: right;
  145. padding: 20px;
  146. padding-top: 0;
  147. }
  148. .app-content .wizard > .actions > ul {
  149. list-style: none;
  150. padding: 0;
  151. margin: 0;
  152. }
  153. .app-content .wizard > .actions > ul:after {
  154. content: "";
  155. display: table;
  156. clear: both;
  157. }
  158. .app-content .wizard > .actions > ul > li {
  159. float: left;
  160. }
  161. .app-content .wizard > .actions > ul > li + li {
  162. margin-left: 10px;
  163. float: right;
  164. }
  165. .app-content .wizard > .actions > ul > li > a {
  166. background: #5c6bc6;
  167. color: #fff;
  168. display: block;
  169. padding: 7px 12px;
  170. border-radius: 0.42rem;
  171. border: 1px solid transparent;
  172. }
  173. .app-content .wizard > .actions > ul > li > a:hover {
  174. box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.05) inset;
  175. }
  176. .app-content .wizard > .actions > ul > li > a:focus {
  177. box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.05) inset;
  178. }
  179. .app-content .wizard > .actions > ul > li > a:active {
  180. box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.1) inset;
  181. }
  182. .app-content .wizard > .actions > ul > li > a[href="#previous"] {
  183. background-color: #5c6bc6;
  184. color: #fff;
  185. border-radius: 0.42rem;
  186. }
  187. .app-content .wizard > .actions > ul > li > a[href="#previous"]:hover {
  188. box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.02) inset;
  189. }
  190. .app-content .wizard > .actions > ul > li > a[href="#previous"]:focus {
  191. box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.02) inset;
  192. }
  193. .app-content .wizard > .actions > ul > li > a[href="#previous"]:active {
  194. box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.04) inset;
  195. }
  196. .app-content .wizard > .actions > ul > li.disabled > a {
  197. color: #fff;
  198. }
  199. .app-content .wizard > .actions > ul > li.disabled > a:hover {
  200. color: #fff;
  201. }
  202. .app-content .wizard > .actions > ul > li.disabled > a:focus {
  203. color: #fff;
  204. }
  205. .app-content .wizard > .actions > ul > li.disabled > a[href="#previous"] {
  206. box-shadow: none;
  207. }
  208. .app-content .wizard > .actions > ul > li.disabled > a[href="#previous"]:hover {
  209. box-shadow: none;
  210. }
  211. .app-content .wizard > .actions > ul > li.disabled > a[href="#previous"]:focus {
  212. box-shadow: none;
  213. }
  214. .app-content .wizard.wizard-circle > .steps > ul > li:before,
  215. .app-content .wizard.wizard-circle > .steps > ul > li:after {
  216. top: 43px;
  217. width: 50%;
  218. height: 3px;
  219. background-color: #5c6bc6;
  220. }
  221. .app-content .wizard.wizard-circle > .steps > ul > li.current:after {
  222. background-color: transparent;
  223. }
  224. .app-content .wizard.wizard-circle > .steps > ul > li.current ~ li:before {
  225. background-color: transparent;
  226. }
  227. .app-content .wizard.wizard-circle > .steps > ul > li.current ~ li:after {
  228. background-color: transparent;
  229. }
  230. .app-content .wizard.wizard-circle > .steps .step {
  231. width: 50px;
  232. height: 50px;
  233. line-height: 3rem;
  234. border: 3px solid #b8c2cc;
  235. font-size: 1.5rem;
  236. font-weight: 500;
  237. border-radius: 50%;
  238. }
  239. @media (max-width: 768px) {
  240. .app-content .wizard > .steps > ul {
  241. margin-bottom: 20px;
  242. }
  243. .app-content .wizard > .steps > ul > li {
  244. display: block;
  245. float: left;
  246. width: 33%;
  247. }
  248. .app-content .wizard > .steps > ul > li > a {
  249. margin-bottom: 0;
  250. }
  251. .app-content .wizard > .steps > ul > li:last-child:after {
  252. content: "";
  253. background-color: #5c6bc6;
  254. }
  255. }
  256. @media (max-width: 480px) {
  257. .app-content .wizard > .steps > ul > li.current:after {
  258. background-color: #5c6bc6;
  259. }
  260. }