@kronscht/ng-wizard
Version:
Angular ng-wizard - Angular wizard | stepper
179 lines (150 loc) • 4.14 kB
CSS
.ng-wizard-theme-arrows {
border-radius: 5px;
border: 1px solid #ddd;
}
.ng-wizard-theme-arrows>.ng-wizard-container {
min-height: 200px;
}
.ng-wizard-theme-arrows .step-content {
padding: 0 10px;
border: 0px solid #D4D4D4;
background-color: #FFF;
text-align: left;
}
.ng-wizard-theme-arrows .ng-wizard-toolbar {
padding: 10px;
margin-bottom: 0 ;
}
.ng-wizard-theme-arrows>.ng-wizard-toolbar-top {}
.ng-wizard-theme-arrows>.ng-wizard-toolbar-bottom {}
.ng-wizard-theme-arrows>ul.step-anchor {
border: 0;
border-bottom: 1px solid #ddd;
padding: 0px;
background: #f5f5f5;
border-radius: 0;
border-top-right-radius: 5px;
list-style: none;
overflow: hidden;
}
.ng-wizard-theme-arrows>ul.step-anchor li+li:before {
padding: 0;
}
.ng-wizard-theme-arrows>ul.step-anchor>li {}
.ng-wizard-theme-arrows>ul.step-anchor>li>a,
.ng-wizard-theme-arrows>ul.step-anchor>li>a:hover {
color: #bbb;
text-decoration: none;
padding: 10px 0 10px 45px;
position: relative;
display: block;
border: 0 ;
border-radius: 0;
outline-style: none;
background: #f5f5f5;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a:after {
content: " ";
display: block;
width: 0;
height: 0;
border-top: 50px solid transparent;
border-bottom: 50px solid transparent;
border-left: 30px solid #f5f5f5;
position: absolute;
top: 50%;
margin-top: -50px;
left: 100%;
z-index: 2;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a:before {
content: " ";
display: block;
width: 0;
height: 0;
border-top: 50px solid transparent;
/* Go big on the size, and let overflow hide */
border-bottom: 50px solid transparent;
border-left: 30px solid #ddd;
position: absolute;
top: 50%;
margin-top: -50px;
margin-left: 1px;
left: 100%;
z-index: 1;
}
.ng-wizard-theme-arrows>ul.step-anchor>li:first-child>a {
padding-left: 15px;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a:hover {
color: #bbb;
text-decoration: none;
outline-style: none;
background: #f5f5f5;
border-color: #f5f5f5;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a:hover:after {
border-left-color: #f5f5f5;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a small {}
.ng-wizard-theme-arrows>ul.step-anchor>li.clickable>a:hover {
color: #4285F4 ;
background: #46b8da ;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.active>a {
border-color: #5cb85c ;
color: #fff ;
background: #5cb85c ;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.active>a:after {
border-left: 30px solid #5cb85c ;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.done>a {
border-color: #b1dfbb ;
/* #5cb85c */
color: #fff ;
background: #b1dfbb ;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.done>a:after {
border-left: 30px solid #b1dfbb;
/* c3e6cb */
;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.danger>a {
border-color: #d9534f ;
color: #fff ;
background: #d9534f ;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.danger>a:after {
border-left: 30px solid #d9534f ;
}
.ng-wizard-theme-arrows>ul.step-anchor>li.disabled>a,
.ng-wizard-theme-arrows>ul.step-anchor>li.disabled>a:hover {
color: #eee ;
}
/* Responsive CSS */
@media screen and (max-width: 768px) {
.ng-wizard-theme-arrows>ul.step-anchor {
border: 0;
background: #ddd ;
}
.ng-wizard-theme-arrows>.nav-tabs>li {
float: none ;
margin-bottom: 0;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a,
.ng-wizard-theme-arrows>ul.step-anchor>li>a:hover {
padding-left: 15px;
margin-right: 0;
margin-bottom: 1px;
}
.ng-wizard-theme-arrows>ul.step-anchor>li>a:after,
.ng-wizard-theme-arrows>ul.step-anchor>li>a:before {
display: none;
}
}
/* Loader Custom Style */
.ng-wizard-theme-arrows::before {
border: 10px solid #f3f3f3;
border-top: 10px solid #5cb85c;
}