PTMagic/Monitor/wwwroot/assets/scss/_form-wizard.scss

150 lines
2.6 KiB
SCSS

/* ===========
Wizard
=============*/
.wizard > .content {
background: $dark;
min-height: 240px;
padding: 20px;
}
.wizard > .content > .body {
padding: 0;
position: relative;
input {
border: 1px solid lighten($dark,12%);
}
ul > li {
display: block;
line-height: 30px;
}
label.error {
color: $danger;
margin-left: 0;
}
label {
display: inline-block;
margin-top: 10px;
}
}
.wizard > .steps {
.number {
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.3);
display: inline-block;
line-height: 30px;
margin-right: 10px;
width: 30px;
text-align: center;
}
.disabled {
a {
background: lighten($dark,10%);
color: $white;
cursor: default;
border: 1px solid lighten($dark,10%);
&:hover,&:active {
background: lighten($dark,12%);
cursor: default;
color: $white;
border: 1px solid lighten($dark,10%);
}
}
}
.current {
a {
background: $custom;
&:hover {
background: $custom;
.number {
color: $white;
}
}
&:active {
background: $custom;
.number {
color: $white;
}
}
.number {
color: $white;
}
}
}
.done {
a {
background: lighten($dark,12%);
&:hover {
background: lighten($dark,12%);
}
&:active {
background: lighten($dark,12%);
}
}
}
}
.wizard > .steps a, .wizard > .steps a:hover, .wizard > .steps a:active, .wizard > .content {
border-radius: 2px;
}
.wizard > .actions {
a {
background: $custom;
border-radius: 2px;
color: $white;
&:hover {
background: $custom;
border-radius: 2px;
color: $white;
}
&:active {
background: $custom;
border-radius: 2px;
color: $white;
}
}
.disabled {
a {
background: lighten($dark,12%);
color: $white;
cursor: default;
border: 1px solid lighten($dark,12%);
&:hover,&:active {
background: lighten($dark,12%);
color: $white;
cursor: default;
border: 1px solid lighten($dark,12%);
}
}
}
}
@media (max-width: 767px) {
.wizard > .steps > ul > li {
width: 100%;
}
.wizard > .content {
padding: 0 !important;
}
.wizard > .content > .body {
float: none;
position: relative;
width: 100%;
height: 100%;
padding: 0;
}
.wizard.vertical > .steps {
display: inline;
float: none;
width: 100%;
}
.wizard.vertical > .content {
display: inline;
float: none;
margin: 0;
width: 100%;
}
}