apollodec/Apollo/master/sass/partials/_form-wizard.scss
venbatechnologies@gmail.com d06b1c0cba status file
2017-12-07 11:31:25 +05:30

139 lines
2.7 KiB
SCSS
Executable File

/* ---------------------------------------------------------------------- */
/* Form Wizard
/* ---------------------------------------------------------------------- */
.swMain > ul {
display: table;
list-style: none;
margin: 0 0 40px 0;
padding: 10px 0;
position: relative;
width: 100%;
background: $lightGrey;
border-radius: 5px;
}
.swMain > ul li {
display: table-cell;
text-align: center;
width: 1%;
}
.swMain > ul li > a:before {
border-top: 4px solid $grey;
content: "";
display: block;
font-size: 0;
height: 1px;
overflow: hidden;
position: relative;
top: 21px;
width: 100%;
z-index: 1;
}
.swMain > ul li:first-child > a:before {
left: 50%;
max-width: 51%;
}
.swMain > ul li:last-child > a:before {
max-width: 50%;
width: 50%;
}
.swMain > ul li > a.selected:before, .swMain li > a.done:before {
border-color: $primary;
}
.swMain > ul .stepNumber {
background-color: $white;
border: 5px solid $grey;
border-radius: 100% 100% 100% 100%;
color: #546474;
display: inline-block;
font-size: 15px;
height: 40px;
line-height: 30px;
position: relative;
text-align: center;
width: 40px;
z-index: 2;
}
.swMain > ul li > a.selected .stepNumber {
border-color: $primary;
}
.swMain ul li > a.done .stepNumber, .swMain > ul li:last-child > a.selected .stepNumber {
border-color: $primary;
background-color: $primary;
color: #fff;
text-indent: -9999px;
}
.swMain ul li > a.done .stepNumber:before, .swMain > ul li:last-child > a.selected .stepNumber:before {
content: "\f00c";
display: inline;
float: right;
font-family: FontAwesome;
font-weight: 300;
height: auto;
text-shadow: none;
margin-right: 7px;
text-indent: 0;
}
.swMain ul li > a.done.wait .stepNumber {
background-color: #F6F6F6 !important;
color: #CCCCCC !important;
text-indent: -0px !important;
}
.swMain ul li > a.done.wait .stepNumber:before {
content: "" !important;
}
.swMain > ul li .stepDesc {
color: $text-color;
display: block;
font-size: 14px;
margin-top: 4px;
max-width: 100%;
table-layout: fixed;
text-align: center;
word-wrap: break-word;
z-index: 104;
}
.swMain > ul li > a.selected .stepDesc, .swMain li > a.done .stepDesc {
color: #2B3D53;
}
.swMain > ul li > a:hover {
text-decoration: none;
}
.swMain > ul li > a.disabled {
cursor: default;
}
.swMain .progress {
margin-bottom: 30px;
}
.swMain .stepContainer {
height: auto !important;
}
.swMain .loader {
display: none;
}
.swMain [class^="button"], .swMain [class*=" button"] {
display: none;
}
.swMain .close {
display: none;
}