RSS Git Download  Clone
Raw Blame History 1kB 74 lines
/*!
 * jquery.ui.potato.menu
 * 
 * Copyright (c) 2009-2010 makoto_kw, http://www.makotokw.com
 * Licensed under the MIT license.
 * 
 * @author makoto_kw
 * @version 1.1
 */
ul.potato-menu {
	margin:0;
	padding:0;
	width:auto;
	list-style:none;
}
.potato-menu:after {
	content: " ";
	display: block;
	visibility: hidden;
	clear: both;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
}

ul.potato-menu li.potato-menu-item {
	margin:0;
	padding:2px;
	position:relative;
	list-style:none;
	list-style-position:outside;
	display:inline;
	float:left;
	min-width: 8em;
	background-color: #440000;	
	color: #999;
}

ul.potato-menu li.potato-menu-item > a {
	display:block;
	text-decoration:none;
	white-space:nowrap;
	outline:0;
	color: #999;
	border: none;
}

ul.potato-menu li.potato-menu-item:hover  {
	background-color: #000000;
	color: #fff;
}

ul.potato-menu li.potato-menu-item:hover > a {
	color: #fff;
}

ul.potato-menu ul.potato-menu-group {
	margin:0;
	padding:0;
	-webkit-padding-start:0;
	-webkit-padding-end:0;
	position:absolute;
	display:none;
	z-index:1000;
	background-color: #fff;
}

.potato-menu-has-holizontal {
	background: transparent url(images/arrow_right.gif) right no-repeat;
}

.potato-menu-has-vertical  {
	background: transparent url(images/arrow_down.gif) right no-repeat;
}