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.

10 lines
14 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic UI
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. .ui.steps .step{display:inline-block;position:relative;margin:0;padding:.8em 1.5em .8em 2.25em;vertical-align:top;background:#fff;color:rgba(0,0,0,.8);box-shadow:0 0 0 1px rgba(0,0,0,.15);border-radius:0}.ui.steps .step:after{position:absolute;z-index:2;content:'';top:50%;right:0;border:none;background-color:#fff;width:1.5em;height:1.5em;border-bottom:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1);-webkit-transform:translateY(-50%) translateX(50%) rotate(-45deg);-ms-transform:translateY(-50%) translateX(50%) rotate(-45deg);transform:translateY(-50%) translateX(50%) rotate(-45deg)}.ui.steps .step,.ui.steps .step:after{-webkit-transition:background-color .1s ease,opacity .1s ease,color .1s ease,box-shadow .1s ease;transition:background-color .1s ease,opacity .1s ease,color .1s ease,box-shadow .1s ease}.ui.steps .step .title{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:1.1em;font-weight:700}.ui.steps .step .description{font-weight:400;font-size:.9em;color:rgba(0,0,0,.8)}.ui.steps .step .title~.description{margin-top:.1em}.ui.steps .step>.icon,.ui.steps .step>.icon~.content{display:table-cell;vertical-align:middle}.ui.steps .step>.icon{font-size:2em;margin:0;padding-right:.6em}.ui.steps .link.step,.ui.steps a.step{cursor:pointer}.ui.ordered.steps{counter-reset:ordered}.ui.ordered.steps .step:before{display:table-cell;position:static;padding-right:.6em;font-size:2em;counter-increment:ordered;content:counters(ordered,".")}.ui.ordered.steps .step>*{display:table-cell;vertical-align:middle}.ui.vertical.steps{overflow:visible}.ui.vertical.steps .step{display:block;border-radius:0;padding:.8em 1.5em}.ui.vertical.steps .step:first-child{padding:.8em 1.5em;border-radius:.2857rem .2857rem 0 0}.ui.vertical.steps .step:last-child{border-radius:0 0 .2857rem .2857rem}.ui.vertical.steps .step:after{display:none}.ui.vertical.steps .active.step:after{display:block}.ui.steps{display:inline-block;font-size:0;background:0 0;box-shadow:'';line-height:1.2;box-sizing:border-box;border-radius:.2857rem}.ui.steps .step:first-child{padding-left:1.5em;border-radius:.2857rem 0 0 .2857rem}.ui.steps .step:last-child{border-radius:0 .2857rem .2857rem 0}.ui.steps .step:only-child{border-radius:.2857rem}.ui.steps .step:last-child{margin-right:0}.ui.steps .step:last-child:after{display:none}.ui.steps .link.step:hover,.ui.steps .link.step:hover::after,.ui.steps a.step:hover,.ui.steps a.step:hover::after{background:#fafafa;color:rgba(0,0,0,.8)}.ui.steps .link.step:active,.ui.steps .link.step:active::after,.ui.steps a.step:active,.ui.steps a.step:active::after{background:#f0f0f0;color:rgba(0,0,0,.8)}.ui.steps .step.active{cursor:auto;background:#f0f0f0}.ui.steps .step.active:after{background:#f0f0f0}.ui.steps .step.active .title{color:#009fda}.ui.ordered.steps .step.active:before,.ui.steps .active.step .icon{color:rgba(0,0,0,.85)}.ui.steps .link.active.step:hover,.ui.steps .link.active.step:hover::after,.ui.steps a.active.step:hover,.ui.steps a.active.step:hover::after{cursor:pointer;background:#ececec;color:rgba(0,0,0,.8)}.ui.ordered.steps .step.completed:before,.ui.steps .step.completed>.icon:before{color:#5bbd72}.ui.steps .disabled.step{cursor:auto;background:#fff;pointer-events:none}.ui.steps .disabled.step,.ui.steps .disabled.step .description,.ui.steps .disabled.step .title{color:rgba(40,40,40,.3)}.ui.steps .disabled.step:after{background:#fff}.ui.fluid.steps{width:100%}.attached.ui.steps{margin:0;border-radius:.2857rem .2857rem 0 0}.attached.ui.steps .step:first-child{border-radius:.2857rem 0 0}.attached.ui.steps .step:last-child{border-radius:0 .2857rem 0 0}.bottom.attached.ui.steps{margin-top:-1px;border-radius:0 0 .2857rem .2857rem}.bottom.attached.ui.steps .step:first-child{border-radius:0 0 0 .2857rem}.bottom.attached.ui.steps .step:last-child{border-radius:0 0 .2857rem}.ui.eight.steps,.ui.five.steps,.ui.four.steps,.ui.one.steps,.ui.seven.steps,.ui.six.steps,.ui.three.steps,.ui.two.steps{display:block}.ui.one.steps>.step{width:100%}.ui.two.steps>.step{width:50%}.ui.three.steps>.step{width:33.333%}.ui.four.s