-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuperfish-navbar.css
115 lines (110 loc) · 2.47 KB
/
superfish-navbar.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
/*** adding the class sf-navbar in addition to sf-menu creates an all-horizontal nav-bar menu ***/
.sf-navbar {
background: #FEFEFE;
position: relative;
*margin-bottom: 5em;
margin-bottom: 2.8em;
}
/* provide background colour for submenu strip */
/* you should just set the menu's container bg colour rather than use pseudo-elements */
.sf-navbar:before {
content: '';
position: absolute;
left: 0;
z-index: -1;
background-color: #FFFFFF;
height: 200%;
width2:800px;
width: 100%;
}
.sf-navbar ul {
box-shadow: none;
}
.sf-navbar li {
background: #FFFFFF;
position: static;
border-bottom: thin solid black;
}
.sf-navbar > li > a,
.sf-navbar > li > ul > li > a {
border: none;
}
.sf-navbar > li > ul {
min-width: 36em; /* set this to whatever suits your design */
}
.sf-navbar ul li {
background: #FFFFFF;
position: relative;
}
.sf-navbar ul ul {
left: 0;
top: 100%;
}
.sf-navbar ul ul li {
width: 100%;
}
.sf-navbar > li > ul > li {
float: left;
border-bottom: thin dotted black;
}
.sf-navbar li.active {
background: #FFFFFF;
}
.sf-navbar li:hover,
.sf-navbar li.sfHover {
background: #F0F0F0;
}
.sf-navbar ul li.active {
background: #EEEEEE;
}
.sf-navbar ul li:hover,
.sf-navbar ul li.sfHover{
background: #EEEEEE;
}
.sf-navbar ul ul li {
background: #FFFFFF;
border-bottom: thin dotted black;
}
.sf-navbar ul ul li:hover,
.sf-navbar ul ul li.sfHover,
.sf-navbar ul ul li.active {
background: #EEEEEE;
font-weight: bold;
}
/*** indent the sublevel menu of the vertical menus***/
.sf-navbar>li>ul>li>ul>li>ul {
margin-left: 30px;
border-left: thin dotted black;
}
/*** indent the sublevel menu of the vertical menus***/
.sf-navbar>li>ul>li>ul>li>ul>li>ul {
margin-left: 30px;
border-left: thin dotted black;
}
/*** indent the sublevel menu of the vertical menus***/
.sf-navbar>li>ul>li>ul>li>ul>li>ul>li>ul {
margin-left: 30px;
border-left: thin dotted black;
}
.sf-navbar ul li.active > a,
.sf-navbar li.sf-breadcrumb > a {
*font-weight: bold;
color: #000000;
}
.sf-breadcrum{
background: #EEEEEE;
}
/*** point all arrows down ***/
.sf-arrows.sf-navbar ul .sf-with-ul:after {
margin-top: -3px;
margin-right: 0;
border-color: transparent;
border-top-color: #747474; /* edit this to suit design (no rgba in IE8) */
*border-top-color: rgba(255,255,255,.5);
}
.sf-arrows.sf-navbar ul > li > .sf-with-ul:focus:after,
.sf-arrows.sf-navbar ul > li:hover > .sf-with-ul:after,
.sf-arrows.sf-navbar ul > .sfHover > .sf-with-ul:after {
border-color: transparent;
border-top-color: black;
}