-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathbootstrap-nav-wizard.css
115 lines (115 loc) · 2.52 KB
/
bootstrap-nav-wizard.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.nav-wizard > li {
float: left;
}
.nav-wizard > li > a {
position: relative;
background-color: #eeeeee;
}
.nav-wizard > li > a .badge {
margin-left: 3px;
color: #eeeeee;
background-color: #428bca;
}
.nav-wizard > li:not(:first-child) > a {
padding-left: 34px;
}
.nav-wizard > li:not(:first-child) > a:before {
width: 0px;
height: 0px;
border-top: 20px inset transparent;
border-bottom: 20px inset transparent;
border-left: 20px solid #ffffff;
position: absolute;
content: "";
top: 0;
left: 0;
}
.nav-wizard > li:not(:last-child) > a {
margin-right: 6px;
}
.nav-wizard > li:not(:last-child) > a:after {
width: 0px;
height: 0px;
border-top: 20px inset transparent;
border-bottom: 20px inset transparent;
border-left: 20px solid #eeeeee;
position: absolute;
content: "";
top: 0;
right: -20px;
z-index: 2;
}
.nav-wizard > li:first-child > a {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.nav-wizard > li:last-child > a {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.nav-wizard > li.done:hover > a,
.nav-wizard > li:hover > a {
background-color: #d5d5d5;
}
.nav-wizard > li.done:hover > a:before,
.nav-wizard > li:hover > a:before {
border-right-color: #d5d5d5;
}
.nav-wizard > li.done:hover > a:after,
.nav-wizard > li:hover > a:after {
border-left-color: #d5d5d5;
}
.nav-wizard > li.done > a {
background-color: #e2e2e2;
}
.nav-wizard > li.done > a:before {
border-right-color: #e2e2e2;
}
.nav-wizard > li.done > a:after {
border-left-color: #e2e2e2;
}
.nav-wizard > li.active > a,
.nav-wizard > li.active > a:hover,
.nav-wizard > li.active > a:focus {
color: #ffffff;
background-color: #428bca;
}
.nav-wizard > li.active > a:after {
border-left-color: #428bca;
}
.nav-wizard > li.active > a .badge {
color: #428bca;
background-color: #ffffff;
}
.nav-wizard > li.disabled > a {
color: #777777;
}
.nav-wizard > li.disabled > a:hover,
.nav-wizard > li.disabled > a:focus {
color: #777777;
text-decoration: none;
background-color: #eeeeee;
cursor: default;
}
.nav-wizard > li.disabled > a:before {
border-right-color: #eeeeee;
}
.nav-wizard > li.disabled > a:after {
border-left-color: #eeeeee;
}
.nav-wizard.nav-justified > li {
float: none;
}
.nav-wizard.nav-justified > li > a {
padding: 10px 15px;
}
@media (max-width: 768px) {
.nav-wizard.nav-justified > li > a {
border-radius: 4px;
margin-right: 0;
}
.nav-wizard.nav-justified > li > a:before,
.nav-wizard.nav-justified > li > a:after {
border: none !important;
}
}