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.

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