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.
 
 
 

214 lines
3.6 KiB

.ui.step,
.ui.steps .step {
display: inline-block;
position: relative;
padding: 1em 3em 1em 2em;
vertical-align: top;
background-color: #FFF;
color: #888;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.ui.step:after,
.ui.steps .step:after {
position: absolute;
z-index: 2;
content: '';
top: 0;
left: -1.45em;
border-bottom: 1.5em solid transparent;
border-right: 1.5em solid #FFF;
border-top: 1.5em solid transparent;
width: 0;
height: 0;
}
.ui.step,
.ui.steps .step,
.ui.steps .step:after {
-webkit-transition: opacity .1s ease,color .1s ease,-webkit-box-shadow .1s ease;
transition: opacity .1s ease,color .1s ease,box-shadow .1s ease;
}
.ui.steps {
cursor: pointer;
display: inline-block;
font-size: 0;
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.1);
box-shadow: 0 0 0 1px rgba(0,0,0,.1);
line-height: 1;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
border-radius: .3125rem;
}
.ui.steps .step:first-child {
padding-right: 1.35em;
border-radius: 0 .3125em .3125em 0;
}
.ui.steps .step:last-child {
border-radius: .3125em 0 0 .3125em;
}
.ui.steps .step:only-child {
border-radius: .3125em;
}
.ui.steps .step:last-child {
margin-left: 0;
}
.ui.steps .step:last-child:after {
display: none;
}
.ui.step:hover,
.ui.step.hover {
background-color: #F7F7F7;
color: rgba(0,0,0,.8);
}
.ui.steps .step.hover:after,
.ui.steps .step:hover:after,
.ui.step:hover,
.ui.step.hover::after {
border-right-color: #F7F7F7;
}
.ui.steps .step.down,
.ui.steps .step:active,
.ui.step.down,
.ui.step:active {
background-color: #F0F0F0;
}
.ui.steps .step.down:after,
.ui.steps .step:active:after,
.ui.steps.down::after,
.ui.steps:active::after {
border-right-color: #F0F0F0;
}
.ui.steps .step.active,
.ui.active.step {
cursor: auto;
background-color: #555;
color: #FFF;
font-weight: 700;
}
.ui.steps .step.active:after,
.ui.active.steps:after {
border-right-color: #555;
}
.ui.steps .disabled.step,
.ui.disabled.step {
cursor: auto;
background-color: #FFF;
color: #CBCBCB;
}
.ui.disabled.step:after {
border: 0;
background-color: #FFF;
top: .42em;
left: -1em;
width: 2.15em;
height: 2.15em;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-box-shadow: -1px -1px 0 0 rgba(0,0,0,.1) inset;
box-shadow: -1px -1px 0 0 rgba(0,0,0,.1) inset;
}
.attached.ui.steps {
margin: 0;
border-radius: .3125em .3125em 0 0;
}
.attached.ui.steps .step:first-child {
border-radius: 0 .3125em 0;
}
.attached.ui.steps .step:last-child {
border-radius: .3125em 0 0 0;
}
.bottom.attached.ui.steps {
margin-top: -1px;
border-radius: 0 0 .3125em .3125em;
}
.bottom.attached.ui.steps .step:first-child {
border-radius: 0 0 .3125em 0;
}
.bottom.attached.ui.steps .step:last-child {
border-radius: 0 0 .3125em;
}
.ui.one.steps,
.ui.two.steps,
.ui.three.steps,
.ui.four.steps,
.ui.five.steps,
.ui.six.steps,
.ui.seven.steps,
.ui.eight.steps {
display: block;
}
.ui.one.steps>.step {
width: 100%;
}
.ui.two.steps>.step {
width: 50%;
}
.ui.three.steps>.step {
width: 33.333%;
}
.ui.four.steps>.step {
width: 25%;
}
.ui.five.steps>.step {
width: 20%;
}
.ui.six.steps>.step {
width: 16.666%;
}
.ui.seven.steps>.step {
width: 14.285%;
}
.ui.eight.steps>.step {
width: 12.5%;
}
.ui.small.step,
.ui.small.steps .step {
font-size: .8rem;
}
.ui.step,
.ui.steps .step {
font-size: 1rem;
}
.ui.large.step,
.ui.large.steps .step {
font-size: 1.25rem;
}