/*! * # Semantic UI 2.1.6 - Step * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Plural *******************************/ .ui.steps { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; margin: 1em 0em; background: #FFFFFF; box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.15); line-height: 1.15384615em; border-radius: 0.2307em; border: 1px solid rgba(0, 0, 0, 0.13); } /* First Steps */ .ui.steps:first-child { margin-top: 0em; } /* Last Steps */ .ui.steps:last-child { margin-bottom: 0em; } /******************************* Singular *******************************/ .ui.steps .step { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; flex: 1 0 auto; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; vertical-align: middle; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; margin: 0em 0em; padding: 1em 2em; background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.07)); background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.07)); color: rgba(0, 0, 0, 0.87); box-shadow: none; border-radius: 0em; border: none; border-right: 1px solid rgba(0, 0, 0, 0.13); -webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease; 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: 100%; right: 50%; border: medium none; background-color: #FFFFFF; width: 1.15384615em; height: 1.15384615em; border-style: solid; border-color: rgba(0, 0, 0, 0.13); border-width: 0px 0px 1px 1px; -webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease; transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease; -webkit-transform: translateY(-50%) translateX(50%) rotate(-45deg); transform: translateY(-50%) translateX(50%) rotate(-45deg); } /* First Step */ .ui.steps .step:first-child { padding-left: 2em; border-radius: 0.2307em 0em 0em 0.2307em; } /* Last Step */ .ui.steps .step:last-child { border-radius: 0em 0.2307em 0.2307em 0em; } .ui.steps .step:last-child { border-right: none; margin-right: 0em; } /* Only Step */ .ui.steps .step:only-child { border-radius: 0.2307em; } /******************************* Content *******************************/ /* Title */ .ui.steps .step .title { font-family: 'Arial', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 1.15384615em; font-weight: bold; } .ui.steps .step > .title { width: 100%; } /* Description */ .ui.steps .step .description { font-weight: normal; font-size: 0.92307692em; 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 > .icon { line-height: 1; font-size: 2.5em; margin: 0em 1rem 0em 0em; } .ui.steps .step > .icon, .ui.steps .step > .icon ~ .content { display: block; -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; -webkit-align-self: middle; -ms-flex-item-align: middle; align-self: middle; } .ui.steps .step > .icon ~ .content { -webkit-box-flex: 1 0 auto; -webkit-flex-grow: 1 0 auto; -ms-flex-positive: 1 0 auto; flex-grow: 1 0 auto; } /* Horizontal Icon */ .ui.steps:not(.vertical) .step > .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: counters(ordered, "."); -webkit-align-self: middle; -ms-flex-item-align: middle; align-self: middle; margin-right: 1rem; font-size: 2.5em; counter-increment: ordered; font-family: inherit; font-weight: bold; } .ui.ordered.steps .step > * { display: block; -webkit-align-self: middle; -ms-flex-item-align: middle; align-self: middle; } /*-------------- Vertical ---------------*/ .ui.vertical.steps { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; overflow: visible; } .ui.vertical.steps .step { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; border-radius: 0em; padding: 1em 2em; border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.13); } .ui.vertical.steps .step:first-child { padding: 1em 2em; border-radius: 0.2307em 0.2307em 0em 0em; } .ui.vertical.steps .step:last-child { border-bottom: none; border-radius: 0em 0em 0.2307em 0.2307em; } .ui.vertical.steps .step:only-child { border-radius: 0.2307em; } /* Arrow */ .ui.vertical.steps .step:after { display: none; } .ui.vertical.steps .step:after { top: 50%; right: 0%; border-width: 0px 1px 1px 0px; } .ui.vertical.steps .step:after { display: none; } .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: 687px) { .ui.steps { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; overflow: visible; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .ui.steps .step { width: 100% !important; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; border-radius: 0em; padding: 1em 2em; } .ui.steps .step:first-child { padding: 1em 2em; border-radius: 0.2307em 0.2307em 0em 0em; } .ui.steps .step:last-child { border-radius: 0em 0em 0.2307em 0.2307em; } /* Arrow */ .ui.steps .step:after { display: none !important; } /* Content */ .ui.steps .step .content { text-align: center; } /* Icon */ .ui.steps .step > .icon, .ui.ordered.steps .step:before { margin: 0em 0em 1rem 0em; } } /******************************* 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: #FFFFFF; } .ui.steps .step.active:after { background: #FFFFFF; } .ui.steps .step.active .title { color: #4078C0; } .ui.ordered.steps .step.active:before, .ui.steps .active.step .icon { color: rgba(0, 0, 0, 0.85); } /* Active Arrow */ .ui.steps .step:after { display: none; } .ui.steps .active.step:after { display: block; } .ui.steps .step:last-child:after { display: none; } .ui.steps .active.step:last-child:after { display: block; } /* 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 > .icon:before, .ui.ordered.steps .step.completed:before { color: #78CB5B; } /* Disabled */ .ui.steps .disabled.step { cursor: auto; background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.07)); background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.07)); 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: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.07)); background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.07)); } /******************************* Variations *******************************/ /*-------------- Stackable ---------------*/ /* Tablet Or Below */ @media only screen and (max-width: 687px) { .ui[class*="tablet stackable"].steps { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; overflow: visible; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } /* Steps */ .ui[class*="tablet stackable"].steps .step { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; border-radius: 0em; padding: 1em 2em; } .ui[class*="tablet stackable"].steps .step:first-child { padding: 1em 2em; border-radius: 0.2307em 0.2307em 0em 0em; } .ui[class*="tablet stackable"].steps .step:last-child { border-radius: 0em 0em 0.2307em 0.2307em; } /* Arrow */ .ui[class*="tablet stackable"].steps .step:after { display: none !important; } /* Content */ .ui[class*="tablet stackable"].steps .step .content { text-align: center; } /* Icon */ .ui[class*="tablet stackable"].steps .step > .icon, .ui[class*="tablet stackable"].ordered.steps .step:before { margin: 0em 0em 1rem 0em; } } /*-------------- Fluid ---------------*/ /* Fluid */ .ui.fluid.steps { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; } /*-------------- Attached ---------------*/ /* Top */ .ui.attached.steps { width: calc(100% + 2px ) !important; margin: 0em -1px -1px; max-width: calc(100% + 2px ); border-radius: 0.2307em 0.2307em 0em 0em; } .ui.attached.steps .step:first-child { border-radius: 0.2307em 0em 0em 0em; } .ui.attached.steps .step:last-child { border-radius: 0em 0.2307em 0em 0em; } /* Bottom */ .ui.bottom.attached.steps { margin: -1px -1px 0em; border-radius: 0em 0em 0.2307em 0.2307em; } .ui.bottom.attached.steps .step:first-child { border-radius: 0em 0em 0em 0.2307em; } .ui.bottom.attached.steps .step:last-child { border-radius: 0em 0em 0.2307em 0em; } /*------------------- 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 { -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; 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.500%; } /*------------------- Sizes --------------------*/ .ui.small.step, .ui.small.steps .step { font-size: 0.92307692rem; } .ui.step, .ui.steps .step { font-size: 1rem; } .ui.large.step, .ui.large.steps .step { font-size: 1.15384615rem; } /******************************* Overrides *******************************/ .ui.steps .step:after { display: none; } .ui.steps .completed.step:before { opacity: 0.5; } .ui.steps .step.active:after { display: block; border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.2); border-left: 1px solid rgba(0, 0, 0, 0.2); } .ui.vertical.steps .step.active:after { display: block; border: none; top: 50%; right: 0%; border-left: none; border-bottom: 1px solid rgba(0, 0, 0, 0.2); border-right: 1px solid rgba(0, 0, 0, 0.2); } /******************************* Site Overrides *******************************/