Révision d7f58da2
Ajouté par Florent Torregrosa il y a presque 10 ans
drupal7/sites/all/themes/mayo/css/black-menu.css | ||
---|---|---|
1 |
|
|
2 |
#menubar, /* for nice_menus, superfish */ |
|
1 |
#menubar, |
|
3 | 2 |
#navigation, |
4 | 3 |
#preview #preview-navigation { |
5 |
background: url('../images/black-menu.png') repeat center left;
|
|
4 |
background: url("../images/black-menu.png") repeat center left;
|
|
6 | 5 |
border-bottom-width: 0px; |
7 | 6 |
padding: 4px 4px 4px 8px; |
8 | 7 |
} |
8 |
|
|
9 | 9 |
#submenubar { |
10 | 10 |
padding: 2px 4px 2px 8px; |
11 | 11 |
} |
... | ... | |
14 | 14 |
#preview #preview-navigation ul li { |
15 | 15 |
border-right-color: #333; |
16 | 16 |
} |
17 |
|
|
17 | 18 |
#navigation ul li a, |
18 | 19 |
#preview #preview-navigation ul li a { |
19 | 20 |
color: #ddd; |
20 | 21 |
font-weight: normal; |
21 | 22 |
font-size: small; |
22 | 23 |
} |
24 |
|
|
23 | 25 |
#navigation ul li a:hover, |
24 | 26 |
#preview #preview-#navigation ul li a:hover { |
25 | 27 |
color: #fff; |
26 | 28 |
background-color: #444; |
27 | 29 |
text-decoration: none; |
28 | 30 |
} |
31 |
|
|
29 | 32 |
#navigation ul.main-menu li:hover, |
30 | 33 |
#navigation ul.main-menu li a:hover { |
31 | 34 |
color: #fff; |
... | ... | |
33 | 36 |
background: #444; |
34 | 37 |
text-decoration: none; |
35 | 38 |
} |
36 |
#navigation ul li a:hover { /* needed for IE */ |
|
39 |
|
|
40 |
#navigation ul li a:hover { |
|
41 |
/* needed for IE */ |
|
37 | 42 |
color: #fff; |
38 | 43 |
background: #444; |
39 | 44 |
text-decoration: none; |
... | ... | |
41 | 46 |
|
42 | 47 |
/*--------------- superfish ----------------*/ |
43 | 48 |
#menubar .sf-menu li a { |
44 |
background: #000 url('../images/black-menu.png') repeat center left;
|
|
49 |
background: black url("../images/black-menu.png") repeat center left;
|
|
45 | 50 |
border-right-color: #333; |
46 | 51 |
color: #ddd; |
47 | 52 |
font-weight: normal; |
48 | 53 |
} |
54 |
|
|
49 | 55 |
#menubar .sf-menu li ul li a { |
50 | 56 |
background: #000; |
51 | 57 |
} |
58 |
|
|
52 | 59 |
#menubar .sf-menu li.last ul li a, |
53 | 60 |
#menubar .sf-menu li ul li a, |
54 | 61 |
#menubar .sf-menu li ul li.last a { |
55 | 62 |
border-color: #333; |
56 | 63 |
background-color: #000; |
57 | 64 |
} |
65 |
|
|
58 | 66 |
#menubar .sf-menu li a:hover, |
59 | 67 |
#menubar .sf-menu li.last a:hover { |
60 | 68 |
color: #fff; |
61 | 69 |
text-decoration: none; |
62 | 70 |
background: #444; |
63 | 71 |
} |
72 |
|
|
64 | 73 |
#menubar .sf-menu ul { |
65 | 74 |
border-color: #333; |
66 | 75 |
} |
67 | 76 |
|
68 | 77 |
/*-------------- nice_menus -----------------*/ |
69 | 78 |
#menubar ul.nice-menu { |
70 |
z-index: 99; /* makes drop down menu item for the menubar comes front of sub menubar */ |
|
71 |
background: url('../images/black-menu.png') repeat center left; |
|
79 |
z-index: 99; |
|
80 |
/* makes drop down menu item for the menubar comes front of sub menubar */ |
|
81 |
background: url("../images/black-menu.png") repeat center left; |
|
72 | 82 |
} |
83 |
|
|
73 | 84 |
#menubar .nice-menu a, |
74 | 85 |
#menubar .nice-menu a:active, |
75 | 86 |
#menubar .nice-menu a:visited, |
76 | 87 |
#menubar .nice-menu a:focus { |
77 | 88 |
color: #ddd; |
78 | 89 |
} |
90 |
|
|
79 | 91 |
#menubar .nice-menu a:hover { |
80 | 92 |
color: #fff; |
81 | 93 |
text-decoration: none; |
82 | 94 |
} |
95 |
|
|
83 | 96 |
#menubar ul.nice-menu li a { |
84 | 97 |
/* root menu items */ |
85 |
background: url('../images/black-menu.png') repeat center left;
|
|
98 |
background: url("../images/black-menu.png") repeat center left;
|
|
86 | 99 |
} |
87 | 100 |
|
88 | 101 |
#menubar ul.nice-menu li ul li.menuparent a, |
... | ... | |
90 | 103 |
#menubar ul.nice-menu li ul li.menuparent:hover, |
91 | 104 |
#menubar ul.nice-menu li ul li.menuparent { |
92 | 105 |
/* drop down menu item that has child menu */ |
93 |
background-image: url('../images/arrow-right-lite.png');
|
|
106 |
background-image: url("../images/arrow-right-lite.png");
|
|
94 | 107 |
background-repeat: no-repeat; |
95 | 108 |
background-position: 95%; |
96 | 109 |
} |
110 |
|
|
97 | 111 |
#menubar ul.nice-menu li ul li.menuparent li a { |
98 |
background-image: none; /* do not delete! */ |
|
112 |
background-image: none; |
|
113 |
/* do not delete! */ |
|
99 | 114 |
} |
115 |
|
|
100 | 116 |
#menubar ul.nice-menu li.menuparent li a { |
101 |
background-image: none; /* do not delete! */ |
|
117 |
background-image: none; |
|
118 |
/* do not delete! */ |
|
102 | 119 |
background-color: #000; |
103 | 120 |
} |
121 |
|
|
104 | 122 |
#menubar ul.nice-menu li.menuparent li { |
105 |
background-image: none; /* do not delete! */ |
|
123 |
background-image: none; |
|
124 |
/* do not delete! */ |
|
106 | 125 |
background-color: #000; |
107 | 126 |
} |
127 |
|
|
108 | 128 |
#menubar ul.nice-menu li ul li.menuparent li a:hover { |
109 |
background-image: none; /* do not delete! */ |
|
129 |
background-image: none; |
|
130 |
/* do not delete! */ |
|
110 | 131 |
background: #444; |
111 | 132 |
} |
112 | 133 |
|
113 | 134 |
#menubar ul.nice-menu li.menuparent { |
114 | 135 |
/* root menu item that has drop down menu */ |
115 |
background: url('../images/black-menu.png') repeat center left;
|
|
136 |
background: url("../images/black-menu.png") repeat center left;
|
|
116 | 137 |
} |
138 |
|
|
117 | 139 |
#menubar ul.nice-menu li.menuparent a { |
118 | 140 |
/* root menu item that has drop down menu */ |
119 |
background-image: url('../images/arrow-down-lite.png');
|
|
141 |
background-image: url("../images/arrow-down-lite.png");
|
|
120 | 142 |
background-repeat: no-repeat; |
121 | 143 |
background-position: 90%; |
122 | 144 |
} |
145 |
|
|
123 | 146 |
#menubar ul.nice-menu li a { |
124 | 147 |
/* root menu item that has no drop down menu */ |
125 | 148 |
border-right-color: #333; |
126 | 149 |
} |
150 |
|
|
127 | 151 |
#menubar ul.nice-menu li.last ul li a, |
128 | 152 |
#menubar ul.nice-menu li ul li a, |
129 | 153 |
#menubar ul.nice-menu li ul li.last a { |
... | ... | |
137 | 161 |
/* root menu item hover color */ |
138 | 162 |
background: #444; |
139 | 163 |
} |
164 |
|
|
140 | 165 |
#menubar ul.nice-menu li.menuparent a:hover { |
141 | 166 |
/* root menu item that has drop down menu */ |
142 |
background-image: url('../images/arrow-down-lite.png');
|
|
167 |
background-image: url("../images/arrow-down-lite.png");
|
|
143 | 168 |
background-repeat: no-repeat; |
144 | 169 |
background-position: 90%; |
145 | 170 |
} |
171 |
|
|
146 | 172 |
#menubar ul.nice-menu li.menuparent li a:hover { |
147 | 173 |
background-image: none; |
148 | 174 |
} |
175 |
|
|
149 | 176 |
#menubar ul.nice-menu li ul { |
150 | 177 |
border: solid 1px #333; |
151 | 178 |
} |
Formats disponibles : Unified diff
Switch MAYO on version 7.x-2.0 to be adaptative.