1
|
/*
|
2
|
* Sample CSS for adding Superfish styles to themes.
|
3
|
*
|
4
|
* Instructions:
|
5
|
*
|
6
|
* 1. Change the #superfish-1 (below) to the ID of your Superfish menu.
|
7
|
*
|
8
|
* 2. Add the CSS to your theme, either as a separate CSS file or as a part of the main CSS file.
|
9
|
*
|
10
|
* 3. Note that by removing the .sf-style-none, the style will be applied to the menu regardless of
|
11
|
* the Style selected in the block configuration.
|
12
|
*
|
13
|
*/
|
14
|
|
15
|
#superfish-1.sf-style-none {
|
16
|
float: left;
|
17
|
margin: 0;
|
18
|
padding: 0;
|
19
|
}
|
20
|
#superfish-1.sf-style-none.sf-navbar {
|
21
|
width: 100%;
|
22
|
}
|
23
|
#superfish-1.sf-style-none ul {
|
24
|
padding-left: 0;
|
25
|
}
|
26
|
#superfish-1.sf-style-none a {
|
27
|
color: #0000ff;
|
28
|
padding: 0.75em 1em;
|
29
|
}
|
30
|
#superfish-1.sf-style-none a.sf-with-ul {
|
31
|
padding-right: 2.25em;
|
32
|
}
|
33
|
#superfish-1.sf-style-none.rtl a.sf-with-ul {
|
34
|
padding-left: 2.25em;
|
35
|
padding-right: 1em;
|
36
|
}
|
37
|
#superfish-1.sf-style-none span.sf-description {
|
38
|
color: #0000ff;
|
39
|
display: block;
|
40
|
font-size: 0.8em;
|
41
|
line-height: 1.5em;
|
42
|
margin: 5px 0 0 5px;
|
43
|
padding: 0;
|
44
|
}
|
45
|
#superfish-1.sf-style-none li,
|
46
|
#superfish-1.sf-style-none.sf-navbar {
|
47
|
background: #f0f0f0;
|
48
|
}
|
49
|
#superfish-1.sf-style-none li li {
|
50
|
background: #e0e0e0;
|
51
|
}
|
52
|
#superfish-1.sf-style-none li li li {
|
53
|
background: #d0d0d0;
|
54
|
}
|
55
|
#superfish-1.sf-style-none li:hover,
|
56
|
#superfish-1.sf-style-none li.sfHover,
|
57
|
#superfish-1.sf-style-none a:focus,
|
58
|
#superfish-1.sf-style-none a:hover,
|
59
|
#superfish-1.sf-style-none a:active {
|
60
|
background: #c0c0c0;
|
61
|
outline: 0;
|
62
|
}
|
63
|
#superfish-1.sf-style-none ul.sf-megamenu li.sf-megamenu-wrapper ol,
|
64
|
#superfish-1.sf-style-none ul.sf-megamenu li.sf-megamenu-wrapper ol li {
|
65
|
margin: 0;
|
66
|
padding: 0;
|
67
|
}
|
68
|
#superfish-1.sf-style-none ul.sf-megamenu li.sf-megamenu-wrapper a.menuparent {
|
69
|
font-weight: bold;
|
70
|
}
|
71
|
#superfish-1.sf-style-none ul.sf-megamenu li.sf-megamenu-wrapper ol li.sf-megamenu-column {
|
72
|
display: inline;
|
73
|
float: left;
|
74
|
width: 12em;
|
75
|
}
|
76
|
#superfish-1.sf-style-none.rtl ul.sf-megamenu li.sf-megamenu-wrapper ol li.sf-megamenu-column {
|
77
|
float: right;
|
78
|
}
|
79
|
#superfish-1.sf-style-none li.sf-parent-children-1 ul.sf-megamenu {
|
80
|
width: 12em;
|
81
|
}
|
82
|
#superfish-1.sf-style-none li.sf-parent-children-2 ul.sf-megamenu {
|
83
|
width: 24em;
|
84
|
}
|
85
|
#superfish-1.sf-style-none li.sf-parent-children-3 ul.sf-megamenu {
|
86
|
width: 36em;
|
87
|
}
|
88
|
#superfish-1.sf-style-none li.sf-parent-children-4 ul.sf-megamenu {
|
89
|
width: 48em;
|
90
|
}
|
91
|
#superfish-1.sf-style-none li.sf-parent-children-5 ul.sf-megamenu {
|
92
|
width: 60em;
|
93
|
}
|
94
|
#superfish-1.sf-style-none li.sf-parent-children-6 ul.sf-megamenu {
|
95
|
width: 72em;
|
96
|
}
|
97
|
#superfish-1.sf-style-none li.sf-parent-children-7 ul.sf-megamenu {
|
98
|
width: 84em;
|
99
|
}
|
100
|
#superfish-1.sf-style-none li.sf-parent-children-8 ul.sf-megamenu {
|
101
|
width: 96em;
|
102
|
}
|
103
|
#superfish-1.sf-style-none li.sf-parent-children-9 ul.sf-megamenu {
|
104
|
width: 108em;
|
105
|
}
|
106
|
#superfish-1.sf-style-none li.sf-parent-children-10 ul.sf-megamenu {
|
107
|
width: 120em;
|
108
|
}
|