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.

455 lines
20 KiB

10 years ago
10 years ago
  1. /*
  2. * # Semantic - Steps
  3. * http://github.com/jlukic/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Global Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*-------------------
  121. Step
  122. --------------------*/
  123. /* Icon */
  124. /* Title */
  125. /* Description */
  126. /* Arrow */
  127. /*-------------------
  128. Group
  129. --------------------*/
  130. /*-------------------
  131. States
  132. --------------------*/
  133. /* Completed */
  134. /* Hover */
  135. /* Down */
  136. /* Active */
  137. /* Disabled */
  138. /*------------------
  139. Load Theme
  140. -------------------*/
  141. /*------------------
  142. Load Site
  143. -------------------*/
  144. /*******************************
  145. User Global Variables
  146. *******************************/
  147. /*******************************
  148. User Variable Overrides
  149. *******************************/
  150. /*------------------
  151. Override Mix-in
  152. -------------------*/
  153. /*******************************
  154. Step
  155. *******************************/
  156. .ui.steps .step {
  157. display: inline-block;
  158. position: relative;
  159. margin: 0em 0em;
  160. padding: 0.8em 1.75em 0.8em 2.5em;
  161. vertical-align: top;
  162. background: #ffffff;
  163. color: rgba(0, 0, 0, 0.8);
  164. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
  165. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
  166. border-radius: 0em;
  167. }
  168. .ui.steps .step:after {
  169. position: absolute;
  170. z-index: 2;
  171. content: '';
  172. top: 50%;
  173. right: 0em;
  174. border: medium none;
  175. background-color: #ffffff;
  176. width: 1.5em;
  177. height: 1.5em;
  178. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  179. border-right: 1px solid rgba(0, 0, 0, 0.1);
  180. -webkit-transform: translateY(-50%) translateX(50%) rotate(-45deg);
  181. -ms-transform: translateY(-50%) translateX(50%) rotate(-45deg);
  182. transform: translateY(-50%) translateX(50%) rotate(-45deg);
  183. }
  184. .ui.steps .step,
  185. .ui.steps .step:after {
  186. -webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
  187. transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
  188. }
  189. /*******************************
  190. Content
  191. *******************************/
  192. /* Title */
  193. .ui.steps .step .title {
  194. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  195. font-size: 1.1em;
  196. font-weight: bold;
  197. }
  198. /* Description */
  199. .ui.steps .step .description {
  200. font-weight: normal;
  201. font-size: 1em;
  202. color: rgba(0, 0, 0, 0.8);
  203. }
  204. .ui.steps .step .title ~ .description {
  205. margin-top: 0.2em;
  206. }
  207. /* Icon */
  208. .ui.steps .step > .icon,
  209. .ui.steps .step > .icon ~ .content {
  210. display: table-cell;
  211. vertical-align: top;
  212. }
  213. .ui.steps .step > .icon {
  214. font-size: 2em;
  215. margin: 0em;
  216. padding-right: 0.6em;
  217. vertical-align: middle;
  218. }
  219. /* Link */
  220. .ui.steps .link.step,
  221. .ui.steps a.step {
  222. cursor: pointer;
  223. }
  224. /*******************************
  225. Types
  226. *******************************/
  227. /*--------------
  228. Ordered
  229. ---------------*/
  230. .ui.ordered.steps {
  231. counter-reset: ordered;
  232. }
  233. .ui.ordered.steps .step:before {
  234. display: table-cell;
  235. position: static;
  236. padding-right: 0.6em;
  237. font-size: 2em;
  238. counter-increment: ordered;
  239. content: counters(ordered, ".");
  240. }
  241. .ui.ordered.steps .step > * {
  242. display: table-cell;
  243. vertical-align: top;
  244. }
  245. /*--------------
  246. Vertical
  247. ---------------*/
  248. .ui.vertical.steps {
  249. overflow: visible;
  250. }
  251. .ui.vertical.steps .step {
  252. display: block;
  253. border-radius: 0em;
  254. padding: 0.8em 1.75em;
  255. }
  256. .ui.vertical.steps .step:first-child {
  257. padding: 0.8em 1.75em;
  258. border-top-left-radius: 0.3125rem;
  259. border-top-right-radius: 0.3125rem;
  260. }
  261. .ui.vertical.steps .step:last-child {
  262. border-bottom-left-radius: 0.3125rem;
  263. border-bottom-right-radius: 0.3125rem;
  264. }
  265. /* Arrow */
  266. .ui.vertical.steps .step:after {
  267. display: none;
  268. }
  269. /* Active Arrow */
  270. .ui.vertical.steps .active.step:after {
  271. display: block;
  272. }
  273. /*******************************
  274. Group
  275. *******************************/
  276. .ui.steps {
  277. display: inline-block;
  278. font-size: 0em;
  279. background: '';
  280. -webkit-box-shadow: '';
  281. box-shadow: '';
  282. line-height: 1.2;
  283. -webkit-box-sizing: border-box;
  284. -moz-box-sizing: border-box;
  285. box-sizing: border-box;
  286. border-radius: 0.3125rem;
  287. }
  288. .ui.steps .step:first-child {
  289. padding-left: 1.75em;
  290. border-radius: 0.3125rem 0em 0em 0.3125rem;
  291. }
  292. .ui.steps .step:last-child {
  293. border-radius: 0em 0.3125rem 0.3125rem 0em;
  294. }
  295. .ui.steps .step:only-child {
  296. border-radius: 0.3125rem;
  297. }
  298. .ui.steps .step:last-child {
  299. margin-right: 0em;
  300. }
  301. .ui.steps .step:last-child:after {
  302. display: none;
  303. }
  304. /*******************************
  305. States
  306. *******************************/
  307. /* Link Hover */
  308. .ui.steps .link.step:hover::after,
  309. .ui.steps .link.step:hover,
  310. .ui.steps a.step:hover::after,
  311. .ui.steps a.step:hover {
  312. background: #ffffff;
  313. color: rgba(0, 0, 0, 0.8);
  314. }
  315. /* Link Down */
  316. .ui.steps .link.step:active::after,
  317. .ui.steps .link.step:active,
  318. .ui.steps a.step:active::after,
  319. .ui.steps a.step:active {
  320. background: #f0f0f0;
  321. color: rgba(0, 0, 0, 0.8);
  322. }
  323. /* Active */
  324. .ui.steps .step.active {
  325. cursor: auto;
  326. background: #f0f0f0;
  327. }
  328. .ui.steps .step.active:after {
  329. background: #f0f0f0;
  330. }
  331. .ui.steps .step.active .title {
  332. color: #009fda;
  333. }
  334. .ui.ordered.steps .step.active:before,
  335. .ui.steps .active.step .icon {
  336. color: rgba(0, 0, 0, 0.85);
  337. }
  338. /* Completed */
  339. .ui.steps .step.completed > .icon:before,
  340. .ui.ordered.steps .step.completed:before {
  341. color: #2ecc40;
  342. }
  343. /* Disabled */
  344. .ui.steps .disabled.step {
  345. cursor: auto;
  346. background: '';
  347. }
  348. .ui.steps .disabled.step,
  349. .ui.steps .disabled.step .title,
  350. .ui.steps .disabled.step .description {
  351. color: rgba(0, 0, 0, 0.2);
  352. }
  353. .ui.steps .disabled.step:after {
  354. background: '';
  355. }
  356. /*******************************
  357. Variations
  358. *******************************/
  359. /* Attached */
  360. .attached.ui.steps {
  361. margin: 0em;
  362. border-radius: 0.3125rem 0.3125rem 0em 0em;
  363. }
  364. .attached.ui.steps .step:first-child {
  365. border-radius: 0.3125rem 0em 0em 0em;
  366. }
  367. .attached.ui.steps .step:last-child {
  368. border-radius: 0em 0.3125rem 0em 0em;
  369. }
  370. /* Bottom Side */
  371. .bottom.attached.ui.steps {
  372. margin-top: -1px;
  373. border-radius: 0em 0em 0.3125rem 0.3125rem;
  374. }
  375. .bottom.attached.ui.steps .step:first-child {
  376. border-radius: 0em 0em 0em 0.3125rem;
  377. }
  378. .bottom.attached.ui.steps .step:last-child {
  379. border-radius: 0em 0em 0.3125rem 0em;
  380. }
  381. /* Evenly divided */
  382. .ui.one.steps,
  383. .ui.two.steps,
  384. .ui.three.steps,
  385. .ui.four.steps,
  386. .ui.five.steps,
  387. .ui.six.steps,
  388. .ui.seven.steps,
  389. .ui.eight.steps {
  390. display: block;
  391. }
  392. .ui.one.steps > .step {
  393. width: 100%;
  394. }
  395. .ui.two.steps > .step {
  396. width: 50%;
  397. }
  398. .ui.three.steps > .step {
  399. width: 33.333%;
  400. }
  401. .ui.four.steps > .step {
  402. width: 25%;
  403. }
  404. .ui.five.steps > .step {
  405. width: 20%;
  406. }
  407. .ui.six.steps > .step {
  408. width: 16.666%;
  409. }
  410. .ui.seven.steps > .step {
  411. width: 14.285%;
  412. }
  413. .ui.eight.steps > .step {
  414. width: 12.500%;
  415. }
  416. /*******************************
  417. Sizes
  418. *******************************/
  419. .ui.small.step,
  420. .ui.small.steps .step {
  421. font-size: 0.9rem;
  422. }
  423. .ui.step,
  424. .ui.steps .step {
  425. font-size: 1rem;
  426. }
  427. .ui.large.step,
  428. .ui.large.steps .step {
  429. font-size: 1.1rem;
  430. }
  431. /*******************************
  432. Overrides
  433. *******************************/
  434. /*******************************
  435. Overrides
  436. *******************************/
  437. @font-face {
  438. font-family: 'Step';
  439. src: url('data:application/octet-stream;base64,d09GRgABAAAAAAoUAA4AAAAAEPQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABRAAAAEQAAABWPeFJAWNtYXAAAAGIAAAAOgAAAUrQEhm3Y3Z0IAAAAcQAAAAUAAAAHAZJ/5RmcGdtAAAB2AAABPkAAAmRigp4O2dhc3AAAAbUAAAACAAAAAgAAAAQZ2x5ZgAABtwAAACuAAAAtt9nBHZoZWFkAAAHjAAAADUAAAA2ASs8e2hoZWEAAAfEAAAAIAAAACQHUwNNaG10eAAAB+QAAAAMAAAADAspAABsb2NhAAAH8AAAAAgAAAAIADgAW21heHAAAAf4AAAAIAAAACAApgm8bmFtZQAACBgAAAF3AAACzcydGhxwb3N0AAAJkAAAACoAAAA7rr1AmHByZXAAAAm8AAAAVgAAAFaSoZr/eJxjYGTewTiBgZWBg6mKaQ8DA0MPhGZ8wGDIyMTAwMTAysyAFQSkuaYwOLxgeMHIHPQ/iyGKmZvBHyjMCJIDAPe9C2B4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGF4w/v8PUvCCAURLMELVAwEjG8OIBwBk5AavAAB4nGNgQANGDEbM3P83gjAAELQD4XicnVXZdtNWFJU8ZHASOmSgoA7X3DhQ68qEKRgwaSrFdiEdHAitBB2kDHTkncc+62uOQrtWH/m07n09JLR0rbYsls++R1tn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GAAQAAQACAADoAf//AAAAAOgA//8AABgBAAEAAAAAAAAAAAEGAAAAAAAAAAAAAAAAA
  440. }
  441. .ui.steps .step.completed > .icon:before,
  442. .ui.ordered.steps .step.completed:before {
  443. font-family: 'Step';
  444. content: '\e800';
  445. /* '' */
  446. }