You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wizard.css 10 KiB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. .wizard {
  2. -moz-user-select: none;
  3. -webkit-user-select: none;
  4. -ms-user-select: none;
  5. -khtml-user-select: none;
  6. user-select: none;
  7. border: 1px solid #ccc;
  8. border-radius: 0px;
  9. background-clip: padding-box;
  10. background-color: #fff;
  11. position: relative;
  12. overflow: hidden;
  13. z-index:10;
  14. }
  15. .wizard.wizard-tabbed {
  16. background: #fbfbfb;
  17. }
  18. .wizard.wizard-tabbed ul li {
  19. padding: 0 30px;
  20. background-color: #fbfbfb;
  21. }
  22. .wizard.wizard-tabbed ul li .chevron {
  23. display: none;
  24. }
  25. .wizard.wizard-tabbed ul li .chevron:before {
  26. display: none;
  27. }
  28. .wizard.wizard-tabbed ul li.complete {
  29. background-color: #fbfbfb;
  30. }
  31. .wizard.wizard-tabbed ul li.active {
  32. background: #fff;
  33. }
  34. .wizard.wizard-wired {
  35. padding-top: 10px;
  36. display: block;
  37. background: #fff;
  38. text-align: center;
  39. -webkit-box-shadow: none;
  40. -moz-box-shadow: none;
  41. box-shadow: none;
  42. border-bottom: 1px solid #eee;
  43. }
  44. .wizard.wizard-wired ul {
  45. display: table;
  46. width: 100%;
  47. position: relative;
  48. }
  49. .wizard.wizard-wired ul li {
  50. display: table-cell;
  51. text-align: center;
  52. background-color: #fff;
  53. width: 20%;
  54. padding: 0;
  55. margin: 0;
  56. -webkit-transition: all 1s ease;
  57. -moz-transition: all 1s ease;
  58. -o-transition: all 1s ease;
  59. transition: all 1s ease;
  60. }
  61. .wizard.wizard-wired ul li .chevron {
  62. display: none;
  63. }
  64. .wizard.wizard-wired ul li .chevron:before {
  65. display: none;
  66. }
  67. .wizard.wizard-wired ul li.complete {
  68. background-color: #fff;
  69. }
  70. .wizard.wizard-wired ul li.complete .step:before {
  71. font-size: 22px;
  72. line-height: 36px;
  73. }
  74. .wizard.wizard-wired ul li.complete:hover {
  75. background-color: #fff;
  76. }
  77. .wizard.wizard-wired ul li.active {
  78. background-color: #fff;
  79. }
  80. .wizard.wizard-wired ul li .step {
  81. border-width: 2px;
  82. width: 40px;
  83. height: 40px;
  84. line-height: 34px;
  85. font-size: 15px;
  86. z-index: 2;
  87. background-color: #fff;
  88. }
  89. .wizard.wizard-wired ul li .title {
  90. display: block;
  91. margin-top: 4px;
  92. margin-bottom: 6px;
  93. max-width: 100%;
  94. font-size: 14px;
  95. line-height: 20px;
  96. z-index: 104;
  97. text-align: center;
  98. table-layout: fixed;
  99. -ms-word-wrap: break-word;
  100. word-wrap: break-word;
  101. }
  102. .wizard.wizard-wired ul li:before {
  103. display: block;
  104. content: "";
  105. width: 100%;
  106. height: 2px !important;
  107. font-size: 0;
  108. overflow: hidden;
  109. background-color: #e5e5e5;
  110. position: relative !important;
  111. top: 25px;
  112. z-index: 1 !important;
  113. }
  114. .wizard.wizard-wired ul li:first-child:before {
  115. max-width: 51%;
  116. left: 50%;
  117. }
  118. .wizard.wizard-wired ul li:last-child:before {
  119. max-width: 50%;
  120. width: 50%;
  121. }
  122. .wizard ul {
  123. list-style: none outside none;
  124. padding: 0;
  125. margin: 0;
  126. width: 4000px;
  127. }
  128. .wizard ul.previous-disabled li.complete {
  129. cursor: default;
  130. }
  131. .wizard ul.previous-disabled li.complete:hover {
  132. background: #f3f3f3;
  133. cursor: default;
  134. }
  135. .wizard ul.previous-disabled li.complete:hover .chevron:before {
  136. border-left-color: #f3f3f3;
  137. }
  138. .wizard ul li {
  139. float: left;
  140. margin: 0;
  141. padding: 0 20px 0 30px;
  142. line-height: 45px;
  143. position: relative;
  144. background: #fff;
  145. color: #999;
  146. font-size: 14px;
  147. cursor: default;
  148. -webkit-transition: all .218s ease;
  149. -moz-transition: all .218s ease;
  150. -o-transition: all .218s ease;
  151. transition: all .218s ease;
  152. border-bottom: 1px solid #ccc;
  153. }
  154. .wizard ul li .step {
  155. border: 1px solid #e5e5e5;
  156. color: #ccc;
  157. font-size: 12px;
  158. border-radius: 100%;
  159. position: relative;
  160. z-index: 2;
  161. display: inline-block;
  162. width: 16px;
  163. height: 16px;
  164. line-height: 15px;
  165. text-align: center;
  166. margin-right: 10px;
  167. }
  168. .wizard ul li .chevron {
  169. border: 23px solid transparent;
  170. border-left: 14px solid #ccc;
  171. border-right: 0;
  172. display: block;
  173. position: absolute;
  174. right: -14px;
  175. top: 0;
  176. z-index: 1;
  177. }
  178. .wizard ul li .chevron:before {
  179. border: 23px solid transparent;
  180. border-left: 14px solid #fff;
  181. border-right: 0;
  182. content: "";
  183. display: block;
  184. position: absolute;
  185. right: 1px;
  186. top: -23px;
  187. -webkit-transition: all .218s ease;
  188. -moz-transition: all .218s ease;
  189. -o-transition: all .218s ease;
  190. transition: all .218s ease;
  191. }
  192. .wizard ul li.complete {
  193. background: #f8f8f8;
  194. color: #2F94EE;
  195. }
  196. .wizard ul li.complete:hover {
  197. background: #eee;
  198. cursor: pointer;
  199. }
  200. .wizard ul li.complete:hover .chevron:before {
  201. border-left: 14px solid #eee;
  202. }
  203. .wizard ul li.complete .chevron:before {
  204. border-left: 14px solid #f8f8f8;
  205. }
  206. .wizard ul li.complete .step {
  207. color: #2F94EE;
  208. border-color: #2F94EE;
  209. }
  210. .wizard ul li.complete .step:before {
  211. display: block;
  212. position: absolute;
  213. top: 0;
  214. left: 0;
  215. bottom: 0;
  216. right: 0;
  217. line-height: 15px;
  218. text-align: center;
  219. border-radius: 100%;
  220. content: "";
  221. background-color: #fff;
  222. z-index: 3;
  223. font-family: FontAwesome;
  224. font-size: 12px;
  225. }
  226. .wizard ul li.active {
  227. background: #2F94EE;
  228. color: #fff;
  229. border-bottom: 1px solid #2F94EE;
  230. }
  231. .wizard ul li.active .step {
  232. border-color: #fff;
  233. color: #fff;
  234. }
  235. .wizard ul li.active .chevron {
  236. border-left: 14px solid #2F94EE;
  237. }
  238. .wizard ul li.active .chevron:before {
  239. border-left: 14px solid #2F94EE;
  240. }
  241. .wizard ul li .badge {
  242. margin-right: 8px;
  243. }
  244. .wizard ul li:first-child {
  245. -webkit-border-radius: 0 0 0 0;
  246. -webkit-background-clip: padding-box;
  247. -moz-border-radius: 0 0 0 0;
  248. -moz-background-clip: padding;
  249. border-radius: 0 0 0 0;
  250. background-clip: padding-box;
  251. padding-left: 20px;
  252. }
  253. .actions {
  254. z-index: 1000;
  255. position: absolute;
  256. right: 0;
  257. line-height: 42px;
  258. float: right;
  259. padding-left: 8px;
  260. padding-right: 8px;
  261. padding-bottom: 4px;
  262. vertical-align: middle;
  263. border-left: 1px solid #d4d4d4;
  264. }
  265. .actions a {
  266. line-height: 45px;
  267. font-size: 12px;
  268. margin-right: 8px;
  269. }
  270. .actions .btn-prev i {
  271. margin-right: 5px;
  272. }
  273. .actions .btn-next i {
  274. margin-left: 5px;
  275. }
  276. .actions.actions-footer {
  277. margin-top: -10px;
  278. position: relative;
  279. float: none;
  280. text-align: right;
  281. border: 0;
  282. background-color: #fff;
  283. -webkit-box-shadow: 0 0 4px rgba(0,0,0,.3);
  284. -moz-box-shadow: 0 0 4px rgba(0,0,0,.3);
  285. box-shadow: 0 0 4px rgba(0,0,0,.3);
  286. }
  287. .step-content {
  288. border-top: 0;
  289. background-clip: padding-box;
  290. padding: 0px;
  291. border: 1px solid #ccc;
  292. border-top: none;
  293. }
  294. .step-content .step-pane {
  295. display: none;
  296. }
  297. .step-content .active {
  298. display: block;
  299. }
  300. .step-content .active .btn-group .active {
  301. display: inline-block;
  302. }
  303. .chart {
  304. height: 220px;
  305. margin: 5px;
  306. }
  307. .chart-sm {
  308. height: 100px;
  309. }
  310. .chart-lg {
  311. height: 250px;
  312. }
  313. .chart-xl {
  314. height: 350px;
  315. }
  316. /*一步步*/
  317. .widget-body {
  318. position: relative;
  319. height: 100%;
  320. width: 100%;
  321. padding: 46px 0px 39px 0px;
  322. border-radius: 0 0 4px 4px;
  323. }
  324. .wizard {
  325. position: absolute;
  326. top: 0;
  327. left: 0;
  328. border: 0px;
  329. border-bottom: 1px solid #ccc;
  330. width: 100%;
  331. height: 46px;
  332. overflow: initial;
  333. }
  334. .step-content {
  335. border: 0px;
  336. position: relative;
  337. height: 100%;
  338. width: 100%;
  339. }
  340. .step-pane {
  341. position: relative;
  342. height: 100%;
  343. width: 100%;
  344. }