@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
118 lines (98 loc) • 2.04 kB
text/less
// Wizard
.k-wizard {
padding: @wizard-padding-y @wizard-padding-x;
border-width: @wizard-border-width;
font-size: @wizard-font-size;
line-height: @wizard-line-height;
position: relative;
color: inherit;
background: none;
display: flex;
align-items: stretch;
overflow: hidden;
background: none;
}
// Stepper
.k-wizard .k-stepper {
.k-step-list-vertical {
.k-step {
flex: 1 0 auto;
}
}
.k-step-indicator {
flex-shrink: 0;
}
}
// Steps
.k-wizard-steps {
display: flex;
overflow: hidden;
}
.k-wizard-step {
padding: calc( (@wizard-content-padding-x / 4) + 2px );
width: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: space-between;
&:focus,
&.k-state-focused {
outline-width: 1px;
outline-style: dotted;
outline-offset: -1px;
}
}
// Content
.k-wizard-content {
overflow-y: auto;
}
// Buttons
.k-wizard-buttons {
margin-top: @wizard-content-padding-y;
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
.k-button {
margin-right: @wizard-buttons-margin-x;
}
.k-wizard-pager {
vertical-align: middle;
}
}
.k-wizard-buttons-right .k-button:last-of-type {
margin-right: 0;
}
// Horizontal
.k-wizard-horizontal {
flex-direction: column;
.k-wizard-steps {
margin-top: @wizard-content-padding-y;
}
.k-wizard-steps,
.k-wizard-content {
flex: 1 1 auto;
}
}
// Vertical
.k-wizard-vertical {
.k-wizard-steps {
flex: 1 0 0%;
}
.k-wizard-content {
flex-grow: 1;
flex-shrink: 1;
flex-basis: auto;
}
.k-wizard-steps {
margin-left: @wizard-content-padding-x;
}
}
.k-wizard-left {
flex-direction: row-reverse;
}
.k-wizard-left .k-wizard-steps {
margin-right: @wizard-content-padding-x;
margin-left: 0;
}