/*!
* bsStepper v1.7.0 (https://github.com/Johann-S/bs-stepper)
* Copyright 2018 - 2019 Johann-S <johann.servoire@gmail.com>
* Licensed under MIT (https://github.com/Johann-S/bs-stepper/blob/master/LICENSE)
*/
@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";
/*
Common
*/
/* Accessibility */
/*
Wizard
*/
/*
Tabcontrol
*/
.wizard {
display: block;
width: 100%;
overflow: hidden;
a {
outline: 0;
}
ul {
list-style: none !important;
padding: 0;
margin: 0;
>li {
display: block;
padding: 0;
}
}
>.steps {
.current-info {
position: absolute;
left: -999em;
}
position: relative;
display: block;
width: 100%;
.number {
}
>ul {
>li {
width: 25%;
float: left;
}
}
a {
display: block;
width: auto;
margin: 0 0.5em 0.5em;
padding: 1em 1em;
text-decoration: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
&:hover {
display: block;
width: auto;
margin: 0 0.5em 0.5em;
padding: 1em 1em;
text-decoration: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
&:active {
display: block;
width: auto;
margin: 0 0.5em 0.5em;
padding: 1em 1em;
text-decoration: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
}
.disabled {
a {
background: $body-bg;
color: $gray-600;
cursor: default;
&:hover {
background: $body-bg;
color: $gray-600;
cursor: default;
}
&:active {
background: $body-bg;
color: $gray-600;
cursor: default;
}
}
}
.current {
a {
background: $primary;
color: $white;
cursor: default;
&:hover {
background: $primary;
color: $white;
cursor: default;
}
&:active {
background: $primary;
color: $white;
cursor: default;
}
}
}
.done {
a {
background: $success;;
color: $white;
&:hover {
background: $success;;
color: $white;
}
&:active {
background: $success;;
color: $white;
}
}
}
.error {
a {
background: $danger;
color: $white;
&:hover {
background: $danger;
color: $white;
}
&:active {
background: $danger;
color: $white;
}
}
}
}
>.content {
>.title {
position: absolute;
left: -999em;
}
// background: $body-bg;
display: block;
margin: 0.5em;
min-height: 6rem;
overflow: hidden;
position: relative;
width: auto;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
>.body {
float: left;
// position: absolute;
width: 100%;
height: 100%;
padding: 2.5%;
ul {
list-style: disc !important;
>li {
display: list-item;
}
}
>iframe {
border: 0 none;
width: 100%;
height: 100%;
}
input {
display: block;
}
input[type="checkbox"] {
display: inline-block;
}
input.error {
background: rgb(251, 227, 228);
border: 1px solid #fbc2c4;
color: $danger;
}
label {
display: inline-block;
margin-bottom: 0.5em;
}
label.error {
color: $danger;
display: inline-block;
margin-left: 1.5em;
}
}
}
>.actions {
>ul {
>li {
float: left;
margin: 0 0.5em;
}
display: inline-block;
text-align: right;
}
position: relative;
display: block;
text-align: right;
width: 100%;
a {
background: $primary;
color: $white;
display: block;
padding: 0.5em 1em;
text-decoration: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
&:hover {
background: $primary;
color: $white;
display: block;
padding: 0.5em 1em;
text-decoration: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
&:active {
background: $primary;
color: $white;
display: block;
padding: 0.5em 1em;
text-decoration: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
}
.disabled {
a {
background: $body-bg;
color: $gray-600;
&:hover {
background: $body-bg;
color: $gray-600;
}
&:active {
background: $body-bg;
color: $gray-600;
}
}
}
}
}
.tabcontrol {
display: block;
width: 100%;
overflow: hidden;
a {
outline: 0;
}
ul {
list-style: none !important;
padding: 0;
margin: 0;
>li {
display: block;
padding: 0;
}
}
>.steps {
.current-info {
position: absolute;
left: -999em;
}
position: relative;
display: block;
width: 100%;
>ul {
position: relative;
margin: 6px 0 0 0;
top: 1px;
z-index: 1;
>li {
float: left;
margin: 5px 2px 0 0;
padding: 1px;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
&:hover {
background: #edecec;
border: 1px solid #bbb;
padding: 0;
}
>a {
color: #5f5f5f;
display: inline-block;
border: 0 none;
margin: 0;
padding: 10px 30px;
text-decoration: none;
&:hover {
text-decoration: none;
}
}
}
>li.current {
background: $white;
border: 1px solid #bbb;
border-bottom: 0 none;
padding: 0 0 1px 0;
margin-top: 0;
>a {
padding: 15px 30px 10px 30px;
}
}
}
}
>.content {
>.title {
position: absolute;
left: -999em;
}
position: relative;
display: inline-block;
width: 100%;
height: 35em;
overflow: hidden;
border-top: 1px solid #bbb;
padding-top: 20px;
>.body {
float: left;
position: absolute;
width: 95%;
height: 95%;
padding: 2.5%;
ul {
list-style: disc !important;
>li {
display: list-item;
}
}
}
}
}
.wizard.vertical {
>.steps {
display: inline;
float: left;
width: 30%;
>ul {
>li {
float: none;
width: 100%;
}
}
}
>.content {
display: inline;
float: left;
margin: 0 2.5% 0.5em 2.5%;
width: 65%;
}
>.actions {
display: inline;
float: right;
margin: 0 2.5%;
width: 95%;
>ul {
>li {
margin: 0 0 0 1em;
}
}
}
}