Guest User

Untitled

a guest
May 27th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.18 KB | None | 0 0
  1. /* =Menu
  2. -------------------------------------------------------------- */
  3.  
  4. #access {
  5.     background: #222; /* Show a solid color for older browsers */
  6.     background: -moz-linear-gradient(#252525, #0a0a0a);
  7.     background: -o-linear-gradient(#252525, #0a0a0a);
  8.     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
  9.     background: -webkit-linear-gradient(#252525, #0a0a0a);
  10.     -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
  11.     -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
  12.     box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
  13.     clear: both;
  14.     display: block;
  15.     float: left;
  16.     margin: 0 auto 6px;
  17.     width: 100%;
  18. }
  19. #access ul {
  20.     font-size: 13px;
  21.     list-style: none;
  22.     margin: 0 0 0 -0.8125em;
  23.     padding-left: 0;
  24.     padding-right: 0
  25. }
  26. #access li {
  27.     float: left;
  28.     position: relative;
  29. }
  30. #access a {
  31.     color: #eee;
  32.     display: block;
  33.     line-height: 3.333em;
  34.     padding: 0 1.2125em;
  35.     text-decoration: none;
  36.     position: relative
  37. }
  38. #access ul ul {
  39.     -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  40.     -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  41.     box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  42.     display: none;
  43.     float: left;
  44.     margin: 0;
  45.     position: absolute;
  46.     top: 3.333em;
  47.     left: 0;
  48.     width: 188px;
  49.     z-index: 99999;
  50. }
  51. #access ul ul ul {
  52.     left: 100%;
  53.     top: 0;
  54. }
  55. #access ul ul a {
  56.     background: #f9f9f9;
  57.     border-bottom: 1px dotted #ddd;
  58.     color: #444;
  59.     font-size: 13px;
  60.     font-weight: normal;
  61.     height: auto;
  62.     line-height: 1.4em;
  63.     padding: 10px 10px;
  64.     width: 168px;
  65. }
  66. #access li:hover > a,
  67. #access ul ul :hover > a,
  68. #access a:focus {
  69.     background: #efefef;
  70. }
  71. #access li:hover > a,
  72. #access a:focus {
  73.     background: #f9f9f9; /* Show a solid color for older browsers */
  74.     background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
  75.     background: -o-linear-gradient(#f9f9f9, #e5e5e5);
  76.     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
  77.     background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
  78.     color: #373737;
  79. }
  80. #access ul li:hover > ul {
  81.     display: block;
  82. }
  83. #access .current-menu-item > a,
  84. #access .current-menu-ancestor > a,
  85. #access .current_page_item > a,
  86. #access .current_page_ancestor > a {
  87.     font-weight: bold;
  88. }
Add Comment
Please, Sign In to add comment