Advertisement
Guest User

Untitled

a guest
May 19th, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.16 KB | None | 0 0
  1. nav ul {
  2.  
  3.     list-style-type: none;
  4.     padding: 0; margin: 0;
  5.     text-align: right;
  6.  
  7.     li{
  8.         display: inline-block;
  9.         margin: 0;
  10.         position: relative !important;
  11.         font-size: 70%;
  12.         margin-left: 10px;
  13.  
  14.         &.current-menu-item a{
  15.             font-weight: bold;
  16.         }
  17.  
  18.         a {
  19.             color: #fff;
  20.             text-decoration: none;
  21.             font-weight: normal;
  22.             position: relative !important;
  23.  
  24.             &:hover{
  25.                 color: #CCC;
  26.  
  27.             }
  28.         }
  29.  
  30.         .sub-menu {
  31.             position: absolute;
  32.             display: none;
  33.             width: 180px;
  34.             z-index: 500;
  35.             top: 25px;
  36.  
  37.         li{
  38.             list-style: none;
  39.             padding: 0;
  40.             margin: 0;
  41.             width: 100%;
  42.  
  43.             a{
  44.                 width: 100%;
  45.                 padding: 5px 0 5px 10px;
  46.                 display: block;
  47.                 border-bottom: 1px solid #d4cdec;
  48.                 background-color: @subnav;
  49.                 text-decoration: none;
  50.                 font-size: 140%;
  51.                 color: #e6e6e6;
  52.                 border-radius: 5px;
  53.                 text-align: left !important;
  54.                 margin: 0;
  55.  
  56.                 .current-menu-item, &:hover{
  57.                     background-color: lighten(@subnav, 40%);
  58.                 }
  59.             }
  60.  
  61.             .current_page_item a{
  62.                 background-color: lighten(@subnav, 40%);
  63.             }
  64.         }
  65.  
  66.         &:first-child{
  67.  
  68.         }
  69.     }
  70.     }
  71.  
  72.    
  73.  
  74.     li:hover {
  75.         .sub-menu {
  76.             display: block;
  77.         }
  78.     }
  79.  
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement