bluvertigo
3/26/2015 - 10:08 AM

Menu Verticale / Vertical Menu - http://codepen.io/masumonline/pen/azWqWa

Menu Verticale / Vertical Menu - http://codepen.io/masumonline/pen/azWqWa

.menu-menu-container {
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 1;
}
.menu-menu-container ul,
.menu-menu-container ul li,
.menu-menu-container ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-menu-container ul {
  position: relative;
  z-index: 597;
  float: left;
}
.menu-menu-container ul li {
  float: left;
  min-height: 1px;
  line-height: 1em;
  vertical-align: middle;
  position: relative;
}
.menu-menu-container ul li.hover,
.menu-menu-container ul li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
}
.menu-menu-container ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 598;
  width: 100%;
}
.menu-menu-container ul ul li {
  float: none;
}
.menu-menu-container ul ul ul {
  top: -2px;
  right: 0;
}
.menu-menu-container ul li:hover > ul {
  visibility: visible;
}
.menu-menu-container ul ul {
  top: 1px;
  left: 99%;
}
.menu-menu-container ul li {
  float: none;
}
.menu-menu-container ul ul {
  margin-top: 1px;
}
.menu-menu-container ul ul li {
  font-weight: normal;
}
/* Custom CSS Styles */
.menu-menu-container {
  width: 200px;
  background: #009688;
  font-family: Tahoma, Arial, sans-serif;
  zoom: 1;
  font-size: 12px;
}
.menu-menu-container:before {
  content: '';
  display: block;
}
.menu-menu-container:after {
  content: '';
  display: table;
  clear: both;
}
.menu-menu-container a {
  display: block;
  padding: 15px 20px;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}
.menu-menu-container > ul {
  width: 200px;
}
.menu-menu-container ul ul {
  width: 200px;
}
.menu-menu-container > ul > li > a {
  border-right: 4px solid #D50000;
  color: #ffffff;
}
.menu-menu-container > ul > li > a:hover {
  color: #ffffff;
}
.menu-menu-container > ul > li.active a {
  background: #F44336;
}
.menu-menu-container > ul > li a:hover,
.menu-menu-container > ul > li:hover a {
  background: #D32F2F;
}
.menu-menu-container li {
  position: relative;
}
.menu-menu-container ul li.has-sub > a:after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -6px;
}
.menu-menu-container ul ul li.first {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}
.menu-menu-container ul ul li.last {
  -webkit-border-radius: 0 0 3px 0;
  -moz-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
  border-bottom: 0;
}
.menu-menu-container ul ul {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.menu-menu-container ul ul {
  border: 1px solid #D50000;
}
.menu-menu-container ul ul a {
  font-size: 12px;
  color: #ffffff;
}
.menu-menu-container ul ul a:hover {
  color: #ffffff;
}
.menu-menu-container ul ul li {
  border-bottom: 1px solid #B71C1C;
}
.menu-menu-container ul ul li:hover > a {
  background: #B71C1C;
  color: #ffffff;
}
.menu-menu-container.align-right > ul > li > a {
  border-left: 4px solid #d50000;
  border-right: none;
}
.menu-menu-container.align-right {
  float: right;
}
.menu-menu-container.align-right li {
  text-align: right;
}
.menu-menu-container.align-right ul li.has-sub > a:before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -6px;
}
.menu-menu-container.align-right ul li.has-sub > a:after {
  content: none;
}
.menu-menu-container.align-right ul ul {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 598;
  width: 100%;
}
.menu-menu-container.align-right ul ul li.first {
  -webkit-border-radius: 3px 0 0 0;
  -moz-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}
.menu-menu-container.align-right ul ul li.last {
  -webkit-border-radius: 0 0 0 3px;
  -moz-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}
.menu-menu-container.align-right ul ul {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
<div class="menu-menu-container"><ul id="menu-menu" class="menu"><li id="menu-item-82" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-62 current_page_item menu-item-82"><a href="http://website.overplace.com/demo/id03367/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/', 'Home']);">Home</a></li>
<li id="menu-item-81" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-81"><a href="http://website.overplace.com/demo/id03367/prodotti-e-servizi/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/prodotti-e-servizi/', 'Prodotti e Servizi']);">Prodotti e Servizi</a></li>
<li id="menu-item-93" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-93"><a href="http://website.overplace.com/demo/id03367/manutenzione/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/manutenzione/', 'Manutenzione']);">Manutenzione</a></li>
<li id="menu-item-92" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-92"><a href="http://website.overplace.com/demo/id03367/certificazioni/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/certificazioni/', 'Certificazioni']);">Certificazioni</a></li>
<li id="menu-item-79" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-79"><a href="http://website.overplace.com/demo/id03367/lavora-con-noi/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/lavora-con-noi/', 'Lavora con Noi']);">Lavora con Noi</a></li>
<li id="menu-item-78" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-78 parent"><a href="http://website.overplace.com/demo/id03367/contatti/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/contatti/', 'Contatti']);">Contatti</a>
<ul class="sub-menu">
	<li id="menu-item-214" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-214"><a href="http://website.overplace.com/demo/id03367/contatti/" onclick="_gaq.push(['_trackEvent', 'outbound-widget-int', 'http://website.overplace.com/demo/id03367/contatti/', 'Contatti']);">Contatti</a></li>
</ul>
</li>
</ul></div>