fuelux.wizard.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .wizard-steps {
  2. list-style: none;
  3. display: table;
  4. width: 100%;
  5. padding: 0;
  6. margin: 0;
  7. position: relative;
  8. }
  9. .wizard-steps li {
  10. display: table-cell;
  11. text-align: center;
  12. width: 1%;
  13. }
  14. .wizard-steps li .step {
  15. border: 5px solid #ced1d6;
  16. color: #546474;
  17. font-size: 15px;
  18. border-radius: 100%;
  19. background-color: #FFF;
  20. position: relative;
  21. z-index: 2;
  22. display: inline-block;
  23. width: 40px;
  24. height: 40px;
  25. line-height: 30px;
  26. text-align: center;
  27. }
  28. .wizard-steps li:before {
  29. display: block;
  30. content: "";
  31. width: 100%;
  32. height: 1px;
  33. font-size: 0;
  34. overflow: hidden;
  35. border-top: 4px solid #CED1D6;
  36. position: relative;
  37. top: 21px;
  38. z-index: 1;
  39. }
  40. .wizard-steps li:last-child:before {
  41. max-width: 50%;
  42. width: 50%;
  43. }
  44. .wizard-steps li:first-child:before {
  45. max-width: 51%;
  46. left: 50%;
  47. }
  48. .wizard-steps li.active:before,
  49. .wizard-steps li.complete:before,
  50. .wizard-steps li.active .step,
  51. .wizard-steps li.complete .step {
  52. border-color: #5293c4;
  53. }
  54. .wizard-steps li.complete .step {
  55. cursor: default;
  56. color: #FFF;
  57. -webkit-transition: transform ease 0.1s;
  58. -o-transition: transform ease 0.1s;
  59. transition: transform ease 0.1s;
  60. }
  61. .wizard-steps li.complete .step:before {
  62. display: block;
  63. position: absolute;
  64. top: 0;
  65. left: 0;
  66. bottom: 0;
  67. right: 0;
  68. line-height: 30px;
  69. text-align: center;
  70. border-radius: 100%;
  71. content: "\f00c";
  72. background-color: #FFF;
  73. z-index: 3;
  74. font-family: FontAwesome;
  75. font-size: 17px;
  76. color: #87ba21;
  77. }
  78. .wizard-steps li.complete:hover .step {
  79. -moz-transform: scale(1.1);
  80. -webkit-transform: scale(1.1);
  81. -o-transform: scale(1.1);
  82. -ms-transform: scale(1.1);
  83. transform: scale(1.1);
  84. border-color: #80afd4;
  85. }
  86. .wizard-steps li.complete:hover:before {
  87. border-color: #80afd4;
  88. }
  89. .wizard-steps li .title {
  90. display: block;
  91. margin-top: 4px;
  92. max-width: 100%;
  93. color: #949ea7;
  94. font-size: 14px;
  95. z-index: 104;
  96. text-align: center;
  97. table-layout: fixed;
  98. word-wrap: break-word;
  99. }
  100. .wizard-steps li.complete .title,
  101. .wizard-steps li.active .title {
  102. color: #2b3d53;
  103. }
  104. .step-content {
  105. position: relative;
  106. }
  107. .step-content .step-pane {
  108. display: none;
  109. min-height: 200px;
  110. padding: 4px 8px 12px;
  111. }
  112. .step-content .step-pane.active {
  113. display: block;
  114. }
  115. .wizard-actions {
  116. text-align: right;
  117. }
  118. @media only screen and (max-width: 767px) {
  119. .wizard-steps li .step {
  120. width: 30px;
  121. height: 30px;
  122. line-height: 24px;
  123. border-width: 3px;
  124. }
  125. .wizard-steps li:before,
  126. .wizard-steps li:after {
  127. border-width: 3px;
  128. }
  129. .wizard-steps li.complete .step:before {
  130. line-height: 24px;
  131. font-size: 13px;
  132. }
  133. .wizard-steps li:before {
  134. top: 16px;
  135. }
  136. .step-content .step-pane {
  137. padding: 4px 4px 6px;
  138. min-height: 150px;
  139. }
  140. }
  141. <!--[if lte IE 9]>
  142. .wizard-steps li:first-child:before {
  143. max-width:100%;
  144. left:0;
  145. }
  146. <![endif]-->