wishthis/semantic/dist/components/step.css
2023-12-19 15:45:49 +01:00

627 lines
16 KiB
CSS

/*!
* # Fomantic-UI 2.9.3 - Step
* https://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* https://opensource.org/licenses/MIT
*
*/
/*******************************
Plural
*******************************/
.ui.steps {
display: inline-flex;
flex-direction: row;
align-items: stretch;
margin: 1em 0;
background: "";
box-shadow: none;
line-height: 1.14285714em;
border-radius: 0.28571429rem;
border: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.steps:not(.unstackable) {
flex-wrap: wrap;
}
/* First Steps */
.ui.steps:first-child {
margin-top: 0;
}
/* Last Steps */
.ui.steps:last-child {
margin-bottom: 0;
}
/*******************************
Singular
*******************************/
.ui.steps .step {
position: relative;
display: flex;
flex: 1 0 auto;
flex-flow: row wrap;
vertical-align: middle;
align-items: center;
justify-content: center;
margin: 0 0;
padding: 1.14285714em 2em;
background: #fff;
color: rgba(0, 0, 0, 0.87);
box-shadow: none;
border-radius: 0;
border: none;
border-right: 1px solid rgba(34, 36, 38, 0.15);
transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
}
/* Arrow */
.ui.steps .step::after {
display: none;
position: absolute;
z-index: 2;
content: "";
top: 50%;
right: 0;
background-color: #fff;
width: 1.14285714em;
height: 1.14285714em;
border-style: solid;
border-color: rgba(34, 36, 38, 0.15);
border-width: 0 1px 1px 0;
transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
transform: translateY(-50%) translateX(50%) rotate(-45deg);
}
/* First Step */
.ui.steps .step:first-child {
padding-left: 2em;
border-radius: 0.28571429rem 0 0 0.28571429rem;
}
/* Last Step */
.ui.steps .step:last-child {
border-radius: 0 0.28571429rem 0.28571429rem 0;
border-right: none;
margin-right: 0;
}
/* Only Step */
.ui.steps .step:only-child {
border-radius: 0.28571429rem;
}
/*******************************
Content
*******************************/
/* Title */
.ui.steps .step .title {
font-family: 'Raleway', sans-serif;
font-size: 1.14285714em;
font-weight: bold;
}
.ui.steps .step > .title {
width: 100%;
}
/* Description */
.ui.steps .step .description {
font-weight: normal;
font-size: 0.92857143em;
color: rgba(0, 0, 0, 0.87);
}
.ui.steps .step > .description {
width: 100%;
}
.ui.steps .step .title ~ .description {
margin-top: 0.25em;
}
/* Icon */
.ui.steps .step > i.icon {
line-height: 1;
font-size: 2.5em;
margin: 0 1rem 0 0;
}
.ui.steps .step > i.icon,
.ui.steps .step > i.icon ~ .content {
display: block;
flex: 0 1 auto;
align-self: center;
}
/* Horizontal Icon */
.ui.steps:not(.vertical) .step > i.icon {
width: auto;
}
/* Link */
.ui.steps .link.step,
.ui.steps a.step {
cursor: pointer;
}
/*******************************
Types
*******************************/
/* --------------
Ordered
--------------- */
.ui.ordered.steps {
counter-reset: ordered;
}
.ui.ordered.steps .step::before {
display: block;
position: static;
text-align: center;
content: counter(ordered);
align-self: center;
margin-right: 1rem;
font-size: 2.5em;
counter-increment: ordered;
font-family: inherit;
font-weight: bold;
}
.ui.ordered.steps .step > * {
display: block;
align-self: center;
}
/* --------------
Vertical
--------------- */
.ui.vertical.steps {
display: inline-flex;
flex-direction: column;
overflow: visible;
}
.ui.vertical.steps .step {
justify-content: flex-start;
border-radius: 0;
padding: 1.14285714em 2em;
border-right: none;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.vertical.steps .step:first-child {
padding: 1.14285714em 2em;
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
.ui.vertical.steps .step:last-child {
border-bottom: none;
border-radius: 0 0 0.28571429rem 0.28571429rem;
}
.ui.vertical.steps .step:only-child {
border-radius: 0.28571429rem;
}
/* Arrow */
.ui.vertical.steps .step::after {
top: 50%;
right: 0;
border-width: 0 1px 1px 0;
display: none;
}
.ui.right.vertical.steps .step::after {
border-width: 1px 0 0 1px;
left: 0;
right: 100%;
transform: translateY(-50%) translateX(-50%) rotate(-45deg);
}
.ui.vertical.steps .active.step::after {
display: block;
}
.ui.vertical.steps .step:last-child::after {
display: none;
}
.ui.vertical.steps .active.step:last-child::after {
display: block;
}
/* ---------------
Responsive
---------------- */
/* Mobile (Default) */
@media only screen and (max-width: 767.98px) {
.ui.steps:not(.unstackable) {
display: inline-flex;
overflow: visible;
flex-direction: column;
}
.ui.steps:not(.unstackable) .step {
width: 100% !important;
flex-direction: column;
border-radius: 0;
padding: 1.14285714em 2em;
border-right: none;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.steps:not(.unstackable) .step:first-child {
padding: 1.14285714em 2em;
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
.ui.steps:not(.unstackable) .step:last-child {
border-radius: 0 0 0.28571429rem 0.28571429rem;
border-bottom: none;
}
/* Arrow */
.ui.steps:not(.unstackable) .step::after {
top: unset;
bottom: -1.14285714em;
right: 50%;
transform: translateY(-50%) translateX(50%) rotate(45deg);
}
.ui.vertical.steps .active.step:last-child::after {
display: none;
}
/* Content */
.ui.steps:not(.unstackable) .step .content {
text-align: center;
}
/* Icon */
.ui.steps:not(.unstackable) .step > i.icon,
.ui.ordered.steps:not(.unstackable) .step::before {
margin: 0 0 1rem 0;
}
}
/*******************************
States
*******************************/
/* Link Hover */
.ui.steps .link.step:hover::after,
.ui.steps .link.step:hover,
.ui.steps a.step:hover::after,
.ui.steps a.step:hover {
background: #f9fafb;
color: rgba(0, 0, 0, 0.8);
}
/* Link Down */
.ui.steps .link.step:active::after,
.ui.steps .link.step:active,
.ui.steps a.step:active::after,
.ui.steps a.step:active {
background: #f3f4f5;
color: rgba(0, 0, 0, 0.9);
}
/* Active */
.ui.steps .step.active {
cursor: auto;
background: #f3f4f5;
}
.ui.steps .step.active::after {
background: #f3f4f5;
}
.ui.steps .step.active .title {
color: #6435c9;
}
.ui.ordered.steps .step.active::before,
.ui.steps .active.step i.icon {
color: rgba(0, 0, 0, 0.85);
}
/* Active Arrow */
.ui.steps .step::after {
display: block;
}
.ui.steps .active.step::after {
display: block;
}
.ui.steps .step:last-child::after {
display: none;
}
.ui.steps .active.step:last-child::after {
display: none;
}
/* Active Hover */
.ui.steps .link.active.step:hover::after,
.ui.steps .link.active.step:hover,
.ui.steps a.active.step:hover::after,
.ui.steps a.active.step:hover {
cursor: pointer;
background: #dcddde;
color: rgba(0, 0, 0, 0.87);
}
/* Completed */
.ui.steps .step.completed > i.icon::before,
.ui.ordered.steps .step.completed::before {
color: #21ba45;
}
/* Disabled */
.ui.steps .disabled.step {
cursor: auto;
background: #fff;
pointer-events: none;
}
.ui.steps .disabled.step,
.ui.steps .disabled.step .title,
.ui.steps .disabled.step .description {
color: rgba(40, 40, 40, 0.3);
}
.ui.steps .disabled.step::after {
background: #fff;
}
/*******************************
Variations
*******************************/
/* --------------
Stackable
--------------- */
/* Tablet Or Below */
@media only screen and (max-width: 991.98px) {
.ui[class*="tablet stackable"].steps {
display: inline-flex;
overflow: visible;
flex-direction: column;
}
/* Steps */
.ui[class*="tablet stackable"].steps .step {
flex-direction: column;
border-radius: 0;
padding: 1.14285714em 2em;
border-right: none;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui[class*="tablet stackable"].steps .step:first-child {
padding: 1.14285714em 2em;
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
.ui[class*="tablet stackable"].steps .step:last-child {
border-radius: 0 0 0.28571429rem 0.28571429rem;
border-bottom: none;
}
/* Arrow */
.ui[class*="tablet stackable"].steps .step::after {
top: unset;
bottom: -1.14285714em;
right: 50%;
transform: translateY(-50%) translateX(50%) rotate(45deg);
}
/* Content */
.ui[class*="tablet stackable"].steps .step .content {
text-align: center;
}
/* Icon */
.ui[class*="tablet stackable"].steps .step > i.icon,
.ui[class*="tablet stackable"].ordered.steps .step::before {
margin: 0 0 1rem 0;
}
}
/* --------------
Fluid
--------------- */
/* Fluid */
.ui.fluid.steps {
display: flex;
width: 100%;
}
/* --------------
Attached
--------------- */
/* Top */
.ui.attached.steps {
width: calc(100% + 2px) !important;
margin: 0 -1px 0;
max-width: calc(100% + 2px);
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
.ui.attached.steps .step:first-child {
border-radius: 0.28571429rem 0 0 0;
}
.ui.attached.steps .step:last-child {
border-radius: 0 0.28571429rem 0 0;
}
/* Bottom */
.ui.bottom.attached.steps {
margin: 0 -1px 0;
border-radius: 0 0 0.28571429rem 0.28571429rem;
}
.ui.bottom.attached.steps .step:first-child {
border-radius: 0 0 0 0.28571429rem;
}
.ui.bottom.attached.steps .step:last-child {
border-radius: 0 0 0.28571429rem 0;
}
/* -------------------
Evenly Divided
-------------------- */
.ui.one.steps,
.ui.two.steps,
.ui.three.steps,
.ui.four.steps,
.ui.five.steps,
.ui.six.steps,
.ui.seven.steps,
.ui.eight.steps {
width: 100%;
}
.ui.one.steps > .step,
.ui.two.steps > .step,
.ui.three.steps > .step,
.ui.four.steps > .step,
.ui.five.steps > .step,
.ui.six.steps > .step,
.ui.seven.steps > .step,
.ui.eight.steps > .step {
flex-wrap: nowrap;
}
.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%;
}
/* -------------------
Sizes
-------------------- */
.ui.steps .step,
.ui.step {
font-size: 1rem;
}
.ui.mini.steps .step,
.ui.mini.step {
font-size: 0.78571429rem;
}
.ui.tiny.steps .step,
.ui.tiny.step {
font-size: 0.85714286rem;
}
.ui.small.steps .step,
.ui.small.step {
font-size: 0.92857143rem;
}
.ui.large.steps .step,
.ui.large.step {
font-size: 1.14285714rem;
}
.ui.big.steps .step,
.ui.big.step {
font-size: 1.28571429rem;
}
.ui.huge.steps .step,
.ui.huge.step {
font-size: 1.42857143rem;
}
.ui.massive.steps .step,
.ui.massive.step {
font-size: 1.71428571rem;
}
/* --------------
Inverted
--------------- */
.ui.inverted.steps {
border: 1px solid #555;
}
.ui.inverted.steps .step {
color: rgba(255, 255, 255, 0.9);
background: #1b1c1d;
border-color: #555;
}
.ui.inverted.steps .step::after {
background-color: #1b1c1d;
border-color: #555;
}
.ui.inverted.steps .step .description {
color: rgba(255, 255, 255, 0.9);
}
/* Active */
.ui.inverted.steps .step.active,
.ui.inverted.steps .step.active::after {
background: #333;
}
.ui.inverted.ordered.steps .step.active::before,
.ui.inverted.steps .active.step i.icon {
color: #ffffff;
}
/* Disabled */
.ui.inverted.steps .disabled.step,
.ui.inverted.steps .disabled.step::after {
background: #222;
}
.ui.inverted.steps .disabled.step,
.ui.inverted.steps .disabled.step .title,
.ui.inverted.steps .disabled.step .description {
color: rgba(225, 225, 225, 0.3);
}
/* Link Hover */
.ui.inverted.steps .link.step:hover::after,
.ui.inverted.steps .link.step:hover,
.ui.inverted.steps a.step:hover::after,
.ui.inverted.steps a.step:hover {
background: #3f3f3f;
color: #ffffff;
}
/* Link Down */
.ui.inverted.steps .link.step:active::after,
.ui.inverted.steps .link.step:active,
.ui.inverted.steps a.step:active::after,
.ui.inverted.steps a.step:active {
background: #444;
color: #ffffff;
}
/*******************************
Theme Overrides
*******************************/
@font-face {
font-family: Step;
src: url("data:application/font-woff;base64,d09GRgABAAAAAAqgABAAAAAAEXwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAKhAAAABwAAAAcjOLzxEdERUYAAApoAAAAHAAAACAAJwAYT1MvMgAAAeQAAABEAAAAVj4wSUZjbWFwAAACPAAAAEYAAAFO0BkDx2N2dCAAAAfYAAAAFAAAABwGSf+UZnBnbQAAAoQAAAT5AAAJkYoKeDtnYXNwAAAKYAAAAAgAAAAIAAAAEGdseWYAAAf4AAAAuAAAALj5yjT+aGVhZAAAAWwAAAA1AAAANhGASlVoaGVhAAABpAAAACAAAAAkB3wDa2htdHgAAAIoAAAAFAAAABQMwgBDbG9jYQAAB+wAAAAMAAAADAA4AFxtYXhwAAABxAAAACAAAAAgAKgAR25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bf4=") format("woff");
}
.ui.steps .step.completed > .icon::before,
.ui.ordered.steps .step.completed::before {
font-family: Step;
content: "\e800";
/* '' */
}
/*******************************
Site Overrides
*******************************/