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.

248 lines
8.1 KiB

  1. .ui.steps {
  2. display: inline-block;
  3. font-size: 0px;
  4. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
  5. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
  6. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
  7. -moz-border-radius: 4px;
  8. -webkit-border-radius: 4px;
  9. border-radius: 4px;
  10. }
  11. .ui.steps .step {
  12. display: inline-block;
  13. position: relative;
  14. padding: 13px 23px 13px 40px;
  15. background-color: #F3F3F3;
  16. background: -webkit-linear-gradient(top, #ffffff 0%, #efefef 100%);
  17. background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%);
  18. background: -o-linear-gradient(top, #ffffff 0%, #efefef 100%);
  19. background: -ms-linear-gradient(top, #ffffff 0%, #efefef 100%);
  20. background: linear-gradient(top, #ffffff 0%, #efefef 100%);
  21. color: #555555;
  22. text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.8);
  23. }
  24. .ui.steps .step:after {
  25. position: absolute;
  26. content: '';
  27. z-index: 2;
  28. top: 7px;
  29. right: -16px;
  30. width: 32px;
  31. height: 31px;
  32. background-color: #F3F3F3;
  33. background: -webkit-linear-gradient(left top, #ffffff 0%, #efefef 100%);
  34. background: -moz-linear-gradient(left top, #ffffff 0%, #efefef 100%);
  35. background: -o-linear-gradient(left top, #ffffff 0%, #efefef 100%);
  36. background: -ms-linear-gradient(left top, #ffffff 0%, #efefef 100%);
  37. background: linear-gradient(left top, #ffffff 0%, #efefef 100%);
  38. -moz-box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1), 1px -1px 1px rgba(255, 255, 255, 0.6);
  39. -webkit-box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1), 1px -1px 1px rgba(255, 255, 255, 0.6);
  40. box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1), 1px -1px 1px rgba(255, 255, 255, 0.6);
  41. -moz-transform: rotate(45deg);
  42. -webkit-transform: rotate(45deg);
  43. transform: rotate(45deg);
  44. }
  45. .ui.steps .step:first-child {
  46. padding-left: 20px;
  47. -webkit-border-radius: 5px 0px 0px 5px;
  48. -moz-border-radius: 5px 0px 0px 5px;
  49. border-radius: 5px 0px 0px 5px;
  50. }
  51. .ui.steps .step:last-child {
  52. -webkit-border-radius: 0px 5px 5px 0px;
  53. -moz-border-radius: 0px 5px 5px 0px;
  54. border-radius: 0px 5px 5px 0px;
  55. }
  56. .ui.steps .step:last-child {
  57. margin-right: 0px;
  58. }
  59. .ui.steps .step:last-child:after {
  60. width: 0px !important;
  61. height: 0px !important;
  62. }
  63. /*******************************
  64. Variations
  65. *******************************/
  66. /* Attached */
  67. .attached.ui.steps {
  68. margin: 0px;
  69. -webkit-border-radius: 4px 4px 0px 0px;
  70. -moz-border-radius: 4px 4px 0px 0px;
  71. border-radius: 4px 4px 0px 0px;
  72. }
  73. .attached.ui.steps .step:first-child {
  74. -webkit-border-radius: 4px 0px 0px 0px;
  75. -moz-border-radius: 4px 0px 0px 0px;
  76. border-radius: 4px 0px 0px 0px;
  77. }
  78. .attached.ui.steps .step:last-child {
  79. -webkit-border-radius: 0px 4px 0px 0px;
  80. -moz-border-radius: 0px 4px 0px 0px;
  81. border-radius: 0px 4px 0px 0px;
  82. }
  83. /* Bottom Side */
  84. .bottom.attached.ui.steps {
  85. margin-top: -1px;
  86. -webkit-border-radius: 0px 0px 4px 4px;
  87. -moz-border-radius: 0px 0px 4px 4px;
  88. border-radius: 0px 0px 4px 4px;
  89. }
  90. .bottom.attached.ui.steps .step:first-child {
  91. -webkit-border-radius: 0px 0px 0px 4px;
  92. -moz-border-radius: 0px 0px 0px 4px;
  93. border-radius: 0px 0px 0px 4px;
  94. }
  95. .bottom.attached.ui.steps .step:last-child {
  96. -webkit-border-radius: 0px 0px 4px 0px;
  97. -moz-border-radius: 0px 0px 4px 0px;
  98. border-radius: 0px 0px 4px 0px;
  99. }
  100. /* Fluid */
  101. .ui.steps.fluid,
  102. .ui.steps.fluid > .step {
  103. width: 100%;
  104. -webkit-box-sizing: border-box;
  105. -moz-box-sizing: border-box;
  106. -ms-box-sizing: border-box;
  107. box-sizing: border-box;
  108. }
  109. .ui.steps.two.fluid > .step {
  110. width: 50%;
  111. }
  112. .ui.steps.three.fluid > .step {
  113. width: 33.333%;
  114. }
  115. .ui.steps.four.fluid > .step {
  116. width: 25%;
  117. }
  118. .ui.steps.five.fluid > .step {
  119. width: 20%;
  120. }
  121. .ui.steps.six.fluid > .step {
  122. width: 16.666%;
  123. }
  124. .ui.steps.seven.fluid > .step {
  125. width: 14.285%;
  126. }
  127. .ui.steps.eight.fluid > .step {
  128. width: 12.500%;
  129. }
  130. /*******************************
  131. Sizes
  132. *******************************/
  133. .ui.steps .step {
  134. font-size: 13px;
  135. font-weight: bold;
  136. }
  137. /*******************************
  138. States
  139. *******************************/
  140. /* Hover */
  141. .ui.steps .hover.step {
  142. cursor: pointer;
  143. background: -webkit-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
  144. background: -moz-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
  145. background: -o-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
  146. background: -ms-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
  147. background: linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
  148. -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  149. -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  150. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  151. }
  152. .ui.steps .hover.step:after {
  153. cursor: pointer;
  154. background: -webkit-linear-gradient(top left, #ffffff 0%, #f0f0f0 100%);
  155. background: -moz-linear-gradient(top left, #ffffff 0%, #f0f0f0 100%);
  156. background: -o-linear-gradient(top left, #ffffff 0%, #f0f0f0 100%);
  157. background: -ms-linear-gradient(top left, #ffffff 0%, #f0f0f0 100%);
  158. background: linear-gradient(top left, #ffffff 0%, #f0f0f0 100%);
  159. -moz-box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.2);
  160. -webkit-box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.2);
  161. box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.2);
  162. }
  163. .ui.steps .hover.step:before {
  164. position: absolute;
  165. top: 7px;
  166. left: -15px;
  167. width: 32px;
  168. height: 31px;
  169. content: '';
  170. background-color: transparent;
  171. background-image: none;
  172. -moz-box-shadow: -1px 1px 1px 0px rgba(0, 0, 0, 0.1) inset;
  173. -webkit-box-shadow: -1px 1px 1px 0px rgba(0, 0, 0, 0.1) inset;
  174. box-shadow: -1px 1px 1px 0px rgba(0, 0, 0, 0.1) inset;
  175. -moz-transform: rotate(45deg);
  176. -webkit-transform: rotate(45deg);
  177. transform: rotate(45deg);
  178. z-index: 2;
  179. }
  180. .ui.steps .hover:first-child:before {
  181. width: 0px;
  182. height: 0px;
  183. }
  184. /* Down */
  185. .ui.steps .down.step {
  186. background: -webkit-linear-gradient(top, #f0f0f0 0%, #ffffff 100%);
  187. background: -moz-linear-gradient(top, #f0f0f0 0%, #ffffff 100%);
  188. background: -o-linear-gradient(top, #f0f0f0 0%, #ffffff 100%);
  189. background: -ms-linear-gradient(top, #f0f0f0 0%, #ffffff 100%);
  190. background: linear-gradient(top, #f0f0f0 0%, #ffffff 100%);
  191. }
  192. .ui.steps .down.step:after {
  193. background: -webkit-linear-gradient(top left, #f0f0f0 0%, #ffffff 100%);
  194. background: -moz-linear-gradient(top left, #f0f0f0 0%, #ffffff 100%);
  195. background: -o-linear-gradient(top left, #f0f0f0 0%, #ffffff 100%);
  196. background: -ms-linear-gradient(top left, #f0f0f0 0%, #ffffff 100%);
  197. background: linear-gradient(top left, #f0f0f0 0%, #ffffff 100%);
  198. }
  199. /* Active */
  200. .ui.steps .active.step {
  201. cursor: auto;
  202. background-color: #009FDA;
  203. background: -webkit-linear-gradient(top, #009fda 0%, #00b3f5 100%);
  204. background: -moz-linear-gradient(top, #009fda 0%, #00b3f5 100%);
  205. background: -o-linear-gradient(top, #009fda 0%, #00b3f5 100%);
  206. background: -ms-linear-gradient(top, #009fda 0%, #00b3f5 100%);
  207. background: linear-gradient(top, #009fda 0%, #00b3f5 100%);
  208. color: #FFFFFF;
  209. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
  210. -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.35) inset;
  211. -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.35) inset;
  212. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.35) inset;
  213. }
  214. .ui.steps .active.step:before {
  215. position: absolute;
  216. top: 7px;
  217. left: -16px;
  218. content: '';
  219. width: 32px;
  220. height: 31px;
  221. background-color: transparent;
  222. background-image: none;
  223. -moz-box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.25);
  224. -webkit-box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.25);
  225. box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.25);
  226. -moz-transform: rotate(45deg);
  227. -webkit-transform: rotate(45deg);
  228. transform: rotate(45deg);
  229. }
  230. .ui.steps .active.step:first-child:before {
  231. width: 0px;
  232. height: 0px;
  233. }
  234. .ui.steps .active.step:after {
  235. background-color: #009FDA;
  236. background: -webkit-linear-gradient(left top, #009fda 0%, #00b3f5 100%);
  237. background: -moz-linear-gradient(left top, #009fda 0%, #00b3f5 100%);
  238. background: -o-linear-gradient(left top, #009fda 0%, #00b3f5 100%);
  239. background: -ms-linear-gradient(left top, #009fda 0%, #00b3f5 100%);
  240. background: linear-gradient(left top, #009fda 0%, #00b3f5 100%);
  241. -moz-box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.15) inset;
  242. -webkit-box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.15) inset;
  243. box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.15) inset;
  244. }
  245. /* Disabled */
  246. .ui.steps .disabled.step {
  247. color: #BBBBBB;
  248. }