Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

rhubarber-vertical

By: a guest on Sep 12th, 2012  |  syntax: CSS  |  size: 0.75 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /* Dropdown - 2nd level */
  2.  
  3. #main-nav ul ul {
  4.         display: none;
  5.         z-index: 9999;
  6.         position: absolute;
  7.         top: 43px;
  8.         right: 0;
  9.         min-width: 200px;              
  10.         border-top: 1px solid #e49a50;
  11.         background: #d27d28 url(../images/bg-pattern1.png);                                            
  12.         box-shadow: 0 7px 8px -5px rgba(0,0,0,.4);
  13.                 -webkit-box-shadow: 0 7px 8px -5px rgba(0,0,0,.4);
  14.                 -moz-box-shadow: 0 7px 8px -5px rgba(0,0,0,.4);
  15. }
  16.  
  17. #main-nav li:hover > ul,
  18. #main-nav ul ul:hover   { display: block; }
  19.  
  20. #main-nav ul ul li {
  21.         margin: 0 !important;
  22.         padding: 0 !important;
  23.         display: block !important;
  24. }
  25.  
  26. #main-nav ul ul a {
  27.         background-color: #d27d28;
  28.         font-size: 0.8em;
  29.         border-bottom: 1px solid #e49a50;
  30.         display: block !important;
  31.         width: 100%;
  32.         float: none;
  33.         clear: both;                                           
  34. }