MDL-32843 import YUI 3.5.1
[moodle.git] / lib / yui / 3.5.1 / build / node-menunav / assets / skins / night / node-menunav-skin.css
blob2ad7f0263f1d9206f0377f52809b44d002731273
1 /*
2 YUI 3.5.1 (build 22)
3 Copyright 2012 Yahoo! Inc. All rights reserved.
4 Licensed under the BSD License.
5 http://yuilibrary.com/license/
6 */
7 /* Vertical menus and submenus */
9 .yui3-skin-night .yui3-menu-content,
10 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-content {
12 font-size: 100%;
13 line-height: 2.25; /* 18px 1.5*/
14 *line-height: 1.45; /* For IE */
15 border: solid 1px #303030;
16 background: #151515;
17 /*padding: 3px 0;*/
21 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-content {
23 font-size: 100%;
28 /* Horizontal menus */
29 .yui3-skin-night .yui3-menu-horizontal .yui3-menu-content {
31 line-height: 2; /* ~24px */
32 *line-height: 1.9; /* For IE */
33 background-color:#3b3c3d;
34 background: -moz-linear-gradient(
35 0% 100% 90deg,
36 #242526 0%,
37 #3b3c3d 96%,
38 #2C2D2F 100%
40 background: -webkit-gradient(
41 linear,
42 left bottom,
43 left top,
44 from(#242526),
45 color-stop(0.96, #3b3c3d),
46 to(#2C2D2F)
48 padding: 0;
53 .yui3-skin-night .yui3-menu ul,
54 .yui3-skin-night .yui3-menu ul ul {
56 margin-top: 3px;
57 padding-top: 3px;
58 border-top: solid 1px #303030;
62 .yui3-skin-night .yui3-menu ul.first-of-type {
64 border: 0;
65 margin: 0;
66 padding: 0;
70 .yui3-skin-night .yui3-menu-horizontal ul {
72 padding: 0;
73 margin: 0;
74 border: 0;
79 .yui3-skin-night .yui3-menu li,
80 .yui3-skin-night .yui3-menu .yui3-menu li {
83 For and IE 6 (Strict Mode and Quirks Mode) and IE 7 (Quirks Mode only):
84 Used to collapse superfluous white space between <li> elements that is
85 triggered by the "display" property of the <a> elements being set to
86 "block" by node-menunav-core.css file.
89 _border-bottom: solid 1px #151515;
93 .yui3-skin-night .yui3-menu-horizontal li {
95 _border-bottom: 0;
99 .yui3-skin-night .yui3-menubuttonnav li {
101 border-right: solid 1px #ccc;
105 .yui3-skin-night .yui3-splitbuttonnav li {
107 border-right: solid 1px #303030;
111 .yui3-skin-night .yui3-menubuttonnav li li,
112 .yui3-skin-night .yui3-splitbuttonnav li li {
114 border-right: 0;
119 /* Menuitems and menu labels */
122 .yui3-skin-night .yui3-menu-label,
123 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label,
124 .yui3-skin-night .yui3-menuitem-content,
125 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menuitem-content {
127 /*padding: 0 20px;*/
128 padding: 0 1em;
129 /*background-color: #2F3030;*/
136 color: #fff;
137 text-decoration: none;
138 cursor: default;
141 Necessary specify values for border, position and margin to override
142 values specified in the selectors that follow.
145 float: none;
146 border: 0;
147 margin: 0;
151 .yui3-skin-night .yui3-menu-horizontal .yui3-menu-label,
152 .yui3-skin-night .yui3-menu-horizontal .yui3-menuitem-content {
154 padding: 0 10px;
155 border-style: solid;
156 border-color: #303030;
157 border-width: 1px 0;
158 margin: -1px 0;
160 float: left; /* Ensures that menu labels clear floated descendents.
161 Also gets negative margins working in IE 7
162 (Strict Mode). */
163 width: auto;
167 .yui3-skin-night .yui3-menu-label,
168 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label {
170 background: url(vertical-menu-submenu-indicator.png) right center no-repeat;
174 .yui3-skin-night .yui3-menu-horizontal .yui3-menu-label {
176 background: none;
180 .yui3-skin-night .yui3-menubuttonnav .yui3-menu-label,
181 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label {
183 background-image: none;
187 .yui3-skin-night .yui3-menubuttonnav .yui3-menu-label {
189 padding-right: 0;
193 .yui3-skin-night .yui3-menubuttonnav .yui3-menu-label em {
195 font-style: normal;
196 padding-right: 20px;
197 display: block;
198 background: url(horizontal-menu-submenu-indicator.png) right center no-repeat;
203 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label {
205 padding: 0;
209 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label a {
211 float: left;
212 width: auto;
213 color: #fff;
214 text-decoration: none;
215 cursor: default;
216 padding: 0 5px 0 10px;
220 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label .yui3-menu-toggle {
222 padding: 0; /* Overide padding applied by the preceeding rule. */
223 border-left: solid 1px #303030;
224 width: 15px;
225 overflow: hidden;
226 text-indent: -1000px;
227 background: url(horizontal-menu-submenu-indicator.png) 3px center no-repeat;
232 /* Selected menuitem */
234 .yui3-skin-night .yui3-menu-label-active,
235 .yui3-skin-night .yui3-menu-label-menuvisible,
236 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label-active,
237 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label-menuvisible {
239 background-color: #292a2a;
243 .yui3-skin-night .yui3-menuitem-active .yui3-menuitem-content,
244 .yui3-skin-night .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {
246 background-image: none;
247 background-color: #292a2a;
248 background: -moz-linear-gradient(
249 0% 100% 90deg,
250 #252626 0%,
251 #333434 100%
253 background: -webkit-gradient(
254 linear,
255 left top,
256 left bottom,
257 from(#333434),
258 to(#252626)
262 Undo values set for "border-left-width" and "margin-left" when the root
263 menu has a class of "yui-menubuttonnav" or "yui-splitbuttonnav" applied.
266 border-left-width: 0;
267 margin-left: 0;
271 .yui3-skin-night .yui3-menu-horizontal .yui3-menu-label-active,
272 .yui3-skin-night .yui3-menu-horizontal .yui3-menuitem-active .yui3-menuitem-content,
273 .yui3-skin-night .yui3-menu-horizontal .yui3-menu-label-menuvisible {
275 border-color: #303030;
276 background-color:#555658;
277 background: -moz-linear-gradient(
278 0% 100% 90deg,
279 #343536 0%,
280 #555658 96%,
281 #3E3F41 100%
283 background: -webkit-gradient(
284 linear,
285 left bottom,
286 left top,
287 from(#343536),
288 color-stop(0.96, #555658),
289 to(#3E3F41)
294 .yui3-skin-night .yui3-menubuttonnav .yui3-menu-label-active,
295 .yui3-skin-night .yui3-menubuttonnav .yui3-menuitem-active .yui3-menuitem-content,
296 .yui3-skin-night .yui3-menubuttonnav .yui3-menu-label-menuvisible,
297 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-active,
298 .yui3-skin-night .yui3-splitbuttonnav .yui3-menuitem-active .yui3-menuitem-content,
299 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-menuvisible {
301 border-left-width: 1px;
302 margin-left: -1px;
306 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-menuvisible {
308 border-color: #303030;
309 background: transparent;
313 .yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-menuvisible .yui3-menu-toggle {
315 border-color: #303030;
316 background-color: #505050;