src/cm/media/js/lib/yui/yui3.0.0/examples/node-menunav/assets/example7.css
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 0 40c8f766c9b8
permissions -rw-r--r--
add link to "privacy policy" in the header test

.yui-menu {

   font-size: 93%;  /* 12px */

}

.yui-menu .yui-menu {

	font-size: 100%;
    line-height: 1.5;  /* 18px */
    *line-height: 1.45; /* For IE */
    
}

.yui-menu-horizontal {

    line-height: 2;  /* ~24px */
    *line-height: 1.9; /* For IE */

}

.yui-menu-content {

    background: #fff;

}

.yui-menu a {

    color: #06c;
	text-decoration: none;

}

.yui-menu a:hover, 
.yui-menu a:focus {

	text-decoration: underline;

}

.yui-menu-horizontal .yui-menu-content {

	border-bottom: dotted 1px #ccc;

}

.yui-menu .yui-menu .yui-menu-content {

	border-style: solid;
	border-width: 0 1px 1px 1px;
	border-color: #ccc #666 #666 #ccc;
    padding: 3px 0;

}

.yui-menu-horizontal ul {

	padding: 0;
	margin: 0;
	border: 0;

}

.yui-menu .yui-menu ul {

	margin-top: 3px;
	padding-top: 3px;
    border-top: solid 1px #ccc;

}

.yui-menu ul.first-of-type {

    border: 0;
	margin: 0;
	padding: 0;    

}

.yui-menu-horizontal .yui-menu-label,
.yui-menu-horizontal .yui-menuitem-content {

    padding: 0 5px;
    
    margin-right: 5px;
	border: solid 1px #fff;
	border-width: 1px 1px 0 1px;
	font-weight: bold;
	float: left;
    width: auto;
	_display: inline;	/* Fixes IE margin doubling bug in IE 6 (Standards Mode and Quirks Mode) 
						and IE 7 (Quirks Mode only) */

}

.yui-menu .yui-menu .yui-menu-label,
.yui-menu .yui-menu .yui-menuitem-content {

    padding: 0 40px 0 5px;

	/*
		Necessary specify values for border, margin, float, display, and font-weight to override 
		values specified in the preceeding selectors.
	*/

	margin: 0;
	border: 0;
	font-weight: normal;	
	float: none;
	_display: block;

}

.yui-menu-horizontal .yui-menu-label a {

	float: left;
	width: auto;
	padding: 0 5px 0 0;

}

.yui-menu-horizontal .yui-menu-label-active,
.yui-menu-horizontal .yui-menu-label-menuvisible {

	border-color: #ccc #666 #fff #ccc;

}

.yui-menu-horizontal .yui-menu-label .yui-menu-toggle {
	
	border-left: dotted 1px #ccc;
	padding: 15px 0 0 0;	/* Hide the text inside the menu toggle with top padding. */
	width: 17px;
	height: 0;
    margin: 4px 0;
	overflow: hidden;
    background: url(arrows.png) 2px 0 no-repeat;

}

.yui-menu-horizontal .yui-menu-label .yui-menu-toggle:hover,
.yui-menu-horizontal .yui-menu-label .yui-menu-toggle:focus {

    background-position: 2px -15px;

}

.yui-menu-horizontal .yui-menu-label-menuvisible .yui-menu-toggle,
.yui-menu-horizontal .yui-menu-label-menuvisible .yui-menu-toggle:hover,
.yui-menu-horizontal .yui-menu-label-menuvisible .yui-menu-toggle:focus {

    background-position: 2px -30px;

}