jquery.steps.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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. .wizard > .steps > ul > li
  58. {
  59. width: 25%;
  60. }
  61. .wizard > .steps > ul > li,
  62. .wizard > .actions > ul > li
  63. {
  64. float: left;
  65. }
  66. .wizard.vertical > .steps > ul > li
  67. {
  68. float: none;
  69. width: 100%;
  70. }
  71. .wizard > .steps a,
  72. .wizard > .steps a:hover,
  73. .wizard > .steps a:active
  74. {
  75. display: block;
  76. width: auto;
  77. margin: 0 0.5em 0.5em;
  78. padding: 8px;
  79. text-decoration: none;
  80. -webkit-border-radius: 5px;
  81. -moz-border-radius: 5px;
  82. border-radius: 5px;
  83. }
  84. .wizard > .steps .disabled a,
  85. .wizard > .steps .disabled a:hover,
  86. .wizard > .steps .disabled a:active
  87. {
  88. background: #eee;
  89. color: #aaa;
  90. cursor: default;
  91. }
  92. .wizard > .steps .current a,
  93. .wizard > .steps .current a:hover,
  94. .wizard > .steps .current a:active
  95. {
  96. background: #1AB394;
  97. color: #fff;
  98. cursor: default;
  99. }
  100. .wizard > .steps .done a,
  101. .wizard > .steps .done a:hover,
  102. .wizard > .steps .done a:active
  103. {
  104. background: #6fd1bd;
  105. color: #fff;
  106. }
  107. .wizard > .steps .error a,
  108. .wizard > .steps .error a:hover,
  109. .wizard > .steps .error a:active
  110. {
  111. background: #ED5565 ;
  112. color: #fff;
  113. }
  114. .wizard > .content
  115. {
  116. background: #eee;
  117. display: block;
  118. margin: 5px 5px 10px 5px;
  119. min-height: 120px;
  120. overflow: hidden;
  121. position: relative;
  122. width: auto;
  123. -webkit-border-radius: 5px;
  124. -moz-border-radius: 5px;
  125. border-radius: 5px;
  126. }
  127. .wizard-big.wizard > .content {
  128. min-height: 320px;
  129. }
  130. .wizard.vertical > .content
  131. {
  132. display: inline;
  133. float: left;
  134. margin: 0 2.5% 0.5em 2.5%;
  135. width: 65%;
  136. }
  137. .wizard > .content > .body
  138. {
  139. float: left;
  140. position: absolute;
  141. width: 95%;
  142. height: 95%;
  143. padding: 2.5%;
  144. }
  145. .wizard > .content > .body ul
  146. {
  147. list-style: disc !important;
  148. }
  149. .wizard > .content > .body ul > li
  150. {
  151. display: list-item;
  152. }
  153. .wizard > .content > .body > iframe
  154. {
  155. border: 0 none;
  156. width: 100%;
  157. height: 100%;
  158. }
  159. .wizard > .content > .body input
  160. {
  161. display: block;
  162. border: 1px solid #ccc;
  163. }
  164. .wizard > .content > .body input[type="checkbox"]
  165. {
  166. display: inline-block;
  167. }
  168. .wizard > .content > .body input.error
  169. {
  170. background: rgb(251, 227, 228);
  171. border: 1px solid #fbc2c4;
  172. color: #8a1f11;
  173. }
  174. .wizard > .content > .body label
  175. {
  176. display: inline-block;
  177. margin-bottom: 0.5em;
  178. }
  179. .wizard > .content > .body label.error
  180. {
  181. color: #8a1f11;
  182. display: inline-block;
  183. margin-left: 1.5em;
  184. }
  185. .wizard > .actions
  186. {
  187. position: relative;
  188. display: block;
  189. text-align: right;
  190. width: 100%;
  191. }
  192. .wizard.vertical > .actions
  193. {
  194. display: inline;
  195. float: right;
  196. margin: 0 2.5%;
  197. width: 95%;
  198. }
  199. .wizard > .actions > ul
  200. {
  201. display: inline-block;
  202. text-align: right;
  203. }
  204. .wizard > .actions > ul > li
  205. {
  206. margin: 0 0.5em;
  207. }
  208. .wizard.vertical > .actions > ul > li
  209. {
  210. margin: 0 0 0 1em;
  211. }
  212. .wizard > .actions a,
  213. .wizard > .actions a:hover,
  214. .wizard > .actions a:active
  215. {
  216. background: #1AB394;
  217. color: #fff;
  218. display: block;
  219. padding: 0.5em 1em;
  220. text-decoration: none;
  221. -webkit-border-radius: 5px;
  222. -moz-border-radius: 5px;
  223. border-radius: 5px;
  224. }
  225. .wizard > .actions .disabled a,
  226. .wizard > .actions .disabled a:hover,
  227. .wizard > .actions .disabled a:active
  228. {
  229. background: #eee;
  230. color: #aaa;
  231. }
  232. .wizard > .loading
  233. {
  234. }
  235. .wizard > .loading .spinner
  236. {
  237. }
  238. /*
  239. Tabcontrol
  240. */
  241. .tabcontrol > .steps
  242. {
  243. position: relative;
  244. display: block;
  245. width: 100%;
  246. }
  247. .tabcontrol > .steps > ul
  248. {
  249. position: relative;
  250. margin: 6px 0 0 0;
  251. top: 1px;
  252. z-index: 1;
  253. }
  254. .tabcontrol > .steps > ul > li
  255. {
  256. float: left;
  257. margin: 5px 2px 0 0;
  258. padding: 1px;
  259. -webkit-border-top-left-radius: 5px;
  260. -webkit-border-top-right-radius: 5px;
  261. -moz-border-radius-topleft: 5px;
  262. -moz-border-radius-topright: 5px;
  263. border-top-left-radius: 5px;
  264. border-top-right-radius: 5px;
  265. }
  266. .tabcontrol > .steps > ul > li:hover
  267. {
  268. background: #edecec;
  269. border: 1px solid #bbb;
  270. padding: 0;
  271. }
  272. .tabcontrol > .steps > ul > li.current
  273. {
  274. background: #fff;
  275. border: 1px solid #bbb;
  276. border-bottom: 0 none;
  277. padding: 0 0 1px 0;
  278. margin-top: 0;
  279. }
  280. .tabcontrol > .steps > ul > li > a
  281. {
  282. color: #5f5f5f;
  283. display: inline-block;
  284. border: 0 none;
  285. margin: 0;
  286. padding: 10px 30px;
  287. text-decoration: none;
  288. }
  289. .tabcontrol > .steps > ul > li > a:hover
  290. {
  291. text-decoration: none;
  292. }
  293. .tabcontrol > .steps > ul > li.current > a
  294. {
  295. padding: 15px 30px 10px 30px;
  296. }
  297. .tabcontrol > .content
  298. {
  299. position: relative;
  300. display: inline-block;
  301. width: 100%;
  302. height: 35em;
  303. overflow: hidden;
  304. border-top: 1px solid #bbb;
  305. padding-top: 20px;
  306. }
  307. .tabcontrol > .content > .body
  308. {
  309. float: left;
  310. position: absolute;
  311. width: 95%;
  312. height: 95%;
  313. padding: 2.5%;
  314. }
  315. .tabcontrol > .content > .body ul
  316. {
  317. list-style: disc !important;
  318. }
  319. .tabcontrol > .content > .body ul > li
  320. {
  321. display: list-item;
  322. }
  323. label.error { position:inherit; }