jquery.steps.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. /*
  2. Common
  3. */
  4. .wizard,
  5. .tabcontrol
  6. {
  7. display: block;
  8. width: 100%;
  9. overflow: hidden;
  10. }
  11. .wizard a,
  12. .tabcontrol a
  13. {
  14. outline: 0;
  15. }
  16. .wizard ul,
  17. .tabcontrol ul
  18. {
  19. list-style: none !important;
  20. padding: 0;
  21. margin: 0;
  22. }
  23. .wizard ul > li,
  24. .tabcontrol ul > li
  25. {
  26. display: block;
  27. padding: 0;
  28. }
  29. /* Accessibility */
  30. .wizard > .steps .current-info,
  31. .tabcontrol > .steps .current-info
  32. {
  33. position: absolute;
  34. left: -999em;
  35. }
  36. .wizard > .content > .title,
  37. .tabcontrol > .content > .title
  38. {
  39. position: absolute;
  40. left: -999em;
  41. }
  42. /*
  43. Wizard
  44. */
  45. .wizard > .steps
  46. {
  47. position: relative;
  48. display: block;
  49. width: 100%;
  50. }
  51. .wizard.vertical > .steps
  52. {
  53. display: inline;
  54. float: left;
  55. width: 30%;
  56. }
  57. .number {
  58. display: none
  59. }
  60. .wizard > .steps > ul > li {
  61. width: 25%;
  62. }
  63. .wizard > .steps > ul > li,
  64. .wizard > .actions > ul > li
  65. {
  66. float: left;
  67. }
  68. .wizard > .steps > ul {
  69. counter-reset: flag;
  70. margin: 20px 0
  71. }
  72. .wizard > .steps > ul > li {
  73. position: relative;
  74. transition: all .3s ease-in-out;
  75. -webkit-transition: all .3s ease-in-out;
  76. -ms-transition: all .3s ease-in-out
  77. }
  78. .wizard > .steps > ul > li a {
  79. position: relative;
  80. text-align: center;
  81. display: block;
  82. cursor: pointer;
  83. padding: 10px 15px;
  84. transition: all .3s ease-in-out;
  85. -webkit-transition: all .3s ease-in-out;
  86. -ms-transition: all .3s ease-in-out
  87. }
  88. .wizard > .steps > ul > li a:before {
  89. content: counter(flag);
  90. counter-increment: flag;
  91. transition: all .3s ease-in-out;
  92. -webkit-transition: all .3s ease-in-out;
  93. -ms-transition: all .3s ease-in-out
  94. }
  95. .wizard > .steps > ul > li a:after {
  96. content: "";
  97. transition: all .3s ease-in-out;
  98. -webkit-transition: all .3s ease-in-out;
  99. -ms-transition: all .3s ease-in-out
  100. }
  101. .wizard > .steps > ul > li {
  102. padding-right: 20px
  103. }
  104. .wizard > .steps > ul > li:last-child {
  105. padding-right: 0
  106. }
  107. .wizard > .steps > ul > li:nth-child(n+2) a {
  108. margin-left: -20px;
  109. border-radius: 0
  110. }
  111. .wizard > .steps > ul > li:not(:last-child) a:after {
  112. position: absolute;
  113. top: -1px;
  114. right: -20px;
  115. width: 40px;
  116. height: 40px;
  117. transform: scale(.707) rotate(45deg);
  118. z-index: 1;
  119. background-color: #f6f6f6;
  120. border-radius: 0 5px 0 50px;
  121. border-top: 1px solid #fff;
  122. border-right: 1px solid #fff;
  123. box-sizing: content-box
  124. }
  125. /*.wizard > .steps > ul > li:not(:last-child) a:hover:after {
  126. background-color: #678ceb
  127. }*/
  128. .wizard > .steps > ul > li a {
  129. border-radius: 0;
  130. color: silver;
  131. background-color: #f6f6f6
  132. }
  133. /*.wizard > .steps > ul > li a:hover {
  134. background-color: #678ceb;
  135. color: #fff
  136. }
  137. .wizard > .steps > ul > li a:hover:before {
  138. background: #fff;
  139. color: #678ceb
  140. }*/
  141. .wizard > .steps > ul > li a:before {
  142. position: absolute;
  143. z-index: 2;
  144. width: 20px;
  145. height: 20px;
  146. line-height: 20px;
  147. border-radius: 20px;
  148. left: 22px;
  149. font-weight: 700;
  150. font-size: 1rem;
  151. overflow: hidden;
  152. top: 10px;
  153. background: #999;
  154. color: #fff
  155. }
  156. .wizard > .steps > ul > li:first-child a:before {
  157. left: 12px;
  158. }
  159. .wizard > .steps > ul > li.current a:before {
  160. background: #fff;
  161. color: #678ceb
  162. }
  163. .wizard > .steps > ul > li.current a:after {
  164. background-color: #678ceb
  165. }
  166. .wizard > .steps > ul > li.done a {
  167. background-color: #D1DCF9;
  168. color: #fff
  169. }
  170. .wizard > .steps > ul > li.done a:before {
  171. background-color: #fff;
  172. color: #D1DCF9
  173. }
  174. .wizard > .steps > ul > li.done a:after {
  175. background-color: #D1DCF9 !important
  176. }
  177. .wizard > .steps > ul > li.current a {
  178. background-color: #678ceb;
  179. color: #fff
  180. }
  181. .wizard > .steps > ul > li.current a:before {
  182. background-color: #fff;
  183. color: #678ceb
  184. }
  185. .wizard > .steps > ul > li.current a:after {
  186. background-color: #678ceb !important
  187. }
  188. .wizard > .steps > ul > li.error a {
  189. background-color: #ED5565;
  190. color: #fff
  191. }
  192. .wizard > .steps > ul > li.error a:before {
  193. background-color: #fff;
  194. color: #ED5565
  195. }
  196. .wizard > .steps > ul > li.error a:after {
  197. background-color: #ED5565 !important
  198. }
  199. .wizard.vertical > .steps > ul > li {
  200. float: none;
  201. width: 100%;
  202. }
  203. /*.wizard > .steps a,
  204. .wizard > .steps a:hover,
  205. .wizard > .steps a:active
  206. {
  207. display: block;
  208. width: auto;
  209. margin: 0 0.5em 0.5em;
  210. padding: 8px;
  211. text-decoration: none;
  212. -webkit-border-radius: 5px;
  213. -moz-border-radius: 5px;
  214. border-radius: 5px;
  215. }*/
  216. /*.wizard > .steps .disabled a,
  217. .wizard > .steps .disabled a:hover,
  218. .wizard > .steps .disabled a:active
  219. {
  220. background: #eee;
  221. color: #aaa;
  222. cursor: default;
  223. }*/
  224. /*.wizard > .steps .current a,
  225. .wizard > .steps .current a:hover,
  226. .wizard > .steps .current a:active
  227. {
  228. background: #1AB394;
  229. color: #fff;
  230. cursor: default;
  231. }*/
  232. /*.wizard > .steps .done a,
  233. .wizard > .steps .done a:hover,
  234. .wizard > .steps .done a:active {
  235. background: #678ceb;
  236. color: #fff;
  237. }*/
  238. /*.wizard > .steps .error a,
  239. .wizard > .steps .error a:hover,
  240. .wizard > .steps .error a:active
  241. {
  242. background: #ED5565 ;
  243. color: #fff;
  244. }*/
  245. .wizard > .content
  246. {
  247. background: #eee;
  248. display: block;
  249. margin: 5px 5px 10px 5px;
  250. min-height: 120px;
  251. overflow: hidden;
  252. position: relative;
  253. width: auto;
  254. -webkit-border-radius: 5px;
  255. -moz-border-radius: 5px;
  256. border-radius: 5px;
  257. }
  258. .wizard-big.wizard > .content {
  259. min-height: 320px;
  260. }
  261. .wizard.vertical > .content
  262. {
  263. display: inline;
  264. float: left;
  265. margin: 0 2.5% 0.5em 2.5%;
  266. width: 65%;
  267. }
  268. .wizard > .content > .body
  269. {
  270. float: left;
  271. position: absolute;
  272. width: 95%;
  273. height: 95%;
  274. padding: 2.5%;
  275. }
  276. .wizard > .content > .body ul
  277. {
  278. list-style: disc !important;
  279. }
  280. .wizard > .content > .body ul > li
  281. {
  282. display: list-item;
  283. }
  284. .wizard > .content > .body > iframe
  285. {
  286. border: 0 none;
  287. width: 100%;
  288. height: 100%;
  289. }
  290. .wizard > .content > .body input
  291. {
  292. display: block;
  293. border: 1px solid #ccc;
  294. }
  295. .wizard > .content > .body input[type="checkbox"]
  296. {
  297. display: inline-block;
  298. }
  299. .wizard > .content > .body input.error
  300. {
  301. background: rgb(251, 227, 228);
  302. border: 1px solid #fbc2c4;
  303. color: #8a1f11;
  304. }
  305. .wizard > .content > .body label
  306. {
  307. display: inline-block;
  308. margin-bottom: 0.5em;
  309. }
  310. .wizard > .content > .body label.error
  311. {
  312. color: #8a1f11;
  313. display: inline-block;
  314. margin-left: 1.5em;
  315. }
  316. .wizard > .actions
  317. {
  318. position: relative;
  319. display: block;
  320. text-align: right;
  321. width: 100%;
  322. }
  323. .wizard.vertical > .actions
  324. {
  325. display: inline;
  326. float: right;
  327. margin: 0 2.5%;
  328. width: 95%;
  329. }
  330. .wizard > .actions > ul
  331. {
  332. display: inline-block;
  333. text-align: right;
  334. }
  335. .wizard > .actions > ul > li
  336. {
  337. margin: 0 0.5em;
  338. }
  339. .wizard.vertical > .actions > ul > li
  340. {
  341. margin: 0 0 0 1em;
  342. }
  343. .wizard > .actions a,
  344. .wizard > .actions a:hover,
  345. .wizard > .actions a:active {
  346. background: #678ceb;
  347. color: #fff;
  348. display: block;
  349. padding: 0.5em 1em;
  350. text-decoration: none;
  351. -webkit-border-radius: 5px;
  352. -moz-border-radius: 5px;
  353. border-radius: 5px;
  354. }
  355. .wizard > .actions a[href='#finish'],
  356. .wizard > .actions a[href='#finish']:hover,
  357. .wizard > .actions a[href='#finish']:active {
  358. background: #678ceb;
  359. color: #fff;
  360. display: block;
  361. padding: 0.5em 1em;
  362. text-decoration: none;
  363. -webkit-border-radius: 5px;
  364. -moz-border-radius: 5px;
  365. border-radius: 5px;
  366. }
  367. .wizard > .actions a[href='#cancel']
  368. {
  369. background: #fff;
  370. color: #333;
  371. display: block;
  372. padding: 0.5em 1em;
  373. text-decoration: none;
  374. -webkit-border-radius: 5px;
  375. -moz-border-radius: 5px;
  376. border-radius: 5px;
  377. border: 1px solid #ddd;
  378. }
  379. .wizard > .actions a[href='#cancel']:hover,
  380. .wizard > .actions a[href='#cancel']:active {
  381. background: #eee;
  382. }
  383. .wizard > .actions .disabled a,
  384. .wizard > .actions .disabled a:hover,
  385. .wizard > .actions .disabled a:active {
  386. border: 1px solid #ddd;
  387. background: #f5f5f5;
  388. color: #999;
  389. }
  390. .wizard > .loading
  391. {
  392. }
  393. .wizard > .loading .spinner
  394. {
  395. }
  396. /*
  397. Tabcontrol
  398. */
  399. .tabcontrol > .steps
  400. {
  401. position: relative;
  402. display: block;
  403. width: 100%;
  404. }
  405. .tabcontrol > .steps > ul
  406. {
  407. position: relative;
  408. margin: 6px 0 0 0;
  409. top: 1px;
  410. z-index: 1;
  411. }
  412. .tabcontrol > .steps > ul > li
  413. {
  414. float: left;
  415. margin: 5px 2px 0 0;
  416. padding: 1px;
  417. -webkit-border-top-left-radius: 5px;
  418. -webkit-border-top-right-radius: 5px;
  419. -moz-border-radius-topleft: 5px;
  420. -moz-border-radius-topright: 5px;
  421. border-top-left-radius: 5px;
  422. border-top-right-radius: 5px;
  423. }
  424. .tabcontrol > .steps > ul > li:hover
  425. {
  426. background: #edecec;
  427. border: 1px solid #bbb;
  428. padding: 0;
  429. }
  430. .tabcontrol > .steps > ul > li.current
  431. {
  432. background: #fff;
  433. border: 1px solid #bbb;
  434. border-bottom: 0 none;
  435. padding: 0 0 1px 0;
  436. margin-top: 0;
  437. }
  438. .tabcontrol > .steps > ul > li > a
  439. {
  440. color: #5f5f5f;
  441. display: inline-block;
  442. border: 0 none;
  443. margin: 0;
  444. padding: 10px 30px;
  445. text-decoration: none;
  446. }
  447. .tabcontrol > .steps > ul > li > a:hover
  448. {
  449. text-decoration: none;
  450. }
  451. .tabcontrol > .steps > ul > li.current > a
  452. {
  453. padding: 15px 30px 10px 30px;
  454. }
  455. .tabcontrol > .content
  456. {
  457. position: relative;
  458. display: inline-block;
  459. width: 100%;
  460. height: 35em;
  461. overflow: hidden;
  462. border-top: 1px solid #bbb;
  463. padding-top: 20px;
  464. }
  465. .tabcontrol > .content > .body
  466. {
  467. float: left;
  468. position: absolute;
  469. width: 95%;
  470. height: 95%;
  471. padding: 2.5%;
  472. }
  473. .tabcontrol > .content > .body ul
  474. {
  475. list-style: disc !important;
  476. }
  477. .tabcontrol > .content > .body ul > li
  478. {
  479. display: list-item;
  480. }