Add theme assets;
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
// npm package: jquery-steps
|
||||
// github link: https://github.com/rstaib/jquery-steps/
|
||||
|
||||
.tabcontrol ul, .wizard ul {
|
||||
display: flex;
|
||||
@media(max-width: 676px) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.wizard>.steps>ul>li {
|
||||
width: auto;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.wizard>.steps .disabled a,
|
||||
.wizard>.steps .disabled a:active,
|
||||
.wizard>.steps .disabled a:hover {
|
||||
background-color: lighten($input-bg, 5%);
|
||||
color: $white;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.wizard>.steps .current a,
|
||||
.wizard>.steps .current a:active,
|
||||
.wizard>.steps .current a:hover {
|
||||
background-color: $primary;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.wizard>.steps a,
|
||||
.wizard>.steps a:active,
|
||||
.wizard>.steps a:hover {
|
||||
padding: $btn-padding-y $btn-padding-x;
|
||||
border-radius: $input-border-radius;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wizard>.steps .done a,
|
||||
.wizard>.steps .done a:active,
|
||||
.wizard>.steps .done a:hover {
|
||||
background-color: rgba($primary, .1);
|
||||
color: $primary;
|
||||
border: 1px solid $primary;
|
||||
}
|
||||
|
||||
.wizard>.steps ul li {
|
||||
a {
|
||||
&, &:active, &:hover {
|
||||
margin: 0 .5em .5em 0;
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
a {
|
||||
&, &:active, &:hover {
|
||||
margin: 0 0 .5em 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wizard>.steps .number {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.wizard>.content {
|
||||
background: $input-bg;
|
||||
border: 1px solid $input-border-color;
|
||||
min-height: 23em;
|
||||
overflow: auto;
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
.wizard>.content>.body {
|
||||
@media(max-width: 767px) {
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
padding: 5%;
|
||||
}
|
||||
}
|
||||
|
||||
.wizard>.actions {
|
||||
/*rtl:raw:
|
||||
text-align: left;
|
||||
*/
|
||||
}
|
||||
|
||||
.wizard>.actions>ul>li,
|
||||
.wizard>.steps>ul>li {
|
||||
/*rtl:raw:
|
||||
float: right;
|
||||
*/
|
||||
}
|
||||
|
||||
.wizard.vertical>.steps {
|
||||
/*rtl:raw:
|
||||
float: right;
|
||||
*/
|
||||
}
|
||||
|
||||
.wizard>.actions a,
|
||||
.wizard>.actions a:active,
|
||||
.wizard>.actions a:hover {
|
||||
@extend .btn;
|
||||
@extend .btn-primary;
|
||||
}
|
||||
|
||||
.wizard>.actions .disabled a,
|
||||
.wizard>.actions .disabled a:active,
|
||||
.wizard>.actions .disabled a:hover {
|
||||
background: lighten($input-bg, 10%);
|
||||
border-color: lighten($input-bg, 10%);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.wizard>.actions>ul {
|
||||
li {
|
||||
margin-right: 0;
|
||||
margin-left: .7em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// vertical
|
||||
|
||||
.wizard.vertical {
|
||||
>.steps ul {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.wizard.vertical>.content {
|
||||
margin: 0 0 .5em 2%;
|
||||
width: 68%;
|
||||
}
|
||||
|
||||
.wizard.vertical>.steps a,
|
||||
.wizard.vertical>.steps a:active,
|
||||
.wizard.vertical>.steps a:hover {
|
||||
margin: 0 0 .5em 0;
|
||||
}
|
||||
|
||||
.wizard.vertical>.actions {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user