Advertisement
Guenni007

menu

Jun 24th, 2020
1,493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.79 KB | None | 0 0
  1. /* ======================================================================================================================================================
  2. SUBMENU
  3. ====================================================================================================================================================== */
  4.  
  5. #top .sticky_placeholder    { height:51px; position: relative; clear:both; }
  6. #top .av-submenu-container  { min-height:52px; position: relative; width:100%; border-bottom-style: solid; border-bottom-width: 1px; -webkit-perspective: 1000px; -webkit-backface-visibility: hidden; font-size: 13px; line-height: 1.65em;}
  7. #top .av-submenu-container.av-sticky-submenu{position: absolute;}
  8.  
  9. #top .av-submenu-container .container{padding:0 !important;}
  10. #top .av-subnav-menu      { margin:0; }
  11. #top .av-subnav-menu   li {position: relative; display: block; margin:0;}
  12. #top .av-subnav-menu > li {padding:15px 0; display: inline-block;}
  13. #top .av-subnav-menu > li > a{padding:0px 10px 0px 12px; display: block; border-left-style:solid; border-left-width:1px;}
  14. #top .av-subnav-menu > li:first-child a{border-left:none;}
  15. #top .av-subnav-menu > li ul{visibility:hidden; position: absolute; width:200px; top:50px; left: 0; text-align: left; border-style: solid; border-width:1px; margin:0; opacity: 0;
  16. -webkit-transition: all 0.3s ease-in-out; transition:all 0.3s ease-in-out;}
  17. #top .av-subnav-menu > li ul a{line-height: 23px; padding: 8px 15px; width:100%; display: block; }
  18. #top .av-subnav-menu > li ul ul{left:198px;top:-1px;}
  19.  
  20. #top .av-subnav-menu li a{text-decoration: none;}
  21. #top .av-subnav-menu li:hover > ul{visibility:visible; opacity: 1;}
  22. #top .av-subnav-menu li > ul.av-visible-mobile-sublist{visibility:visible; opacity: 1;}
  23.  
  24. #top .av-subnav-menu .avia-bullet{display:none;}
  25. #top .av-subnav-menu .av-menu-button > a{padding: 0; border:none;}
  26.  
  27. #top .av-submenu-pos-left{text-align: left;}
  28. #top .av-submenu-pos-center{text-align: center;}
  29. #top .av-submenu-pos-right{text-align: right;}
  30. #top .av-submenu-pos-right.av-subnav-menu > li ul ul{left:-200px;}
  31.  
  32. #top .av-submenu-container .avia-menu-fx{display:none;}
  33.  
  34. #top .mobile_menu_toggle{
  35. display: none;
  36. height: 46px; min-width: 46px; line-height: 46px; padding:0px 20px;
  37. text-decoration: none; text-align: center;
  38. margin:0 3px; z-index: 10000;
  39. border-style:solid;
  40. border-width: 1px;
  41. border-top:none;
  42. border-bottom:none;
  43. font-size: 30px;
  44. position: relative;
  45. }
  46.  
  47. #top .mobile_menu_toggle .av-current-placeholder{font-size: 14px; vertical-align: bottom; display: inline-block; margin-left:20px;}
  48. #top .av-subnav-menu li:hover > ul { z-index: 10; }
  49. #top .av-submenu-container:hover { z-index: 400 !important;}
  50.  
  51.  
  52.  
  53.  
  54. @media only screen and (max-width: 989px)
  55. {
  56.     .responsive #top .av-switch-990 .sticky_placeholder{max-height:0px; }
  57.     /***** this setting top and position is changed to not !important rules **********/
  58.     .responsive #top .av-switch-990.av-submenu-container{top: auto ; position: relative ; height:auto; min-height:0; margin-bottom: -1px;}
  59.    
  60.     .responsive #top .av-switch-990 .av-menu-mobile-active {text-align: center; }
  61.     .responsive #top .av-switch-990 .av-menu-mobile-active .mobile_menu_toggle{display: inline-block;}
  62.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu{display:none;}
  63.    
  64.     .responsive #top #wrap_all .av-switch-990 .av-menu-mobile-active.container {width:100%; max-width: 100%;}
  65.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-open-submenu.av-subnav-menu{display:block;}
  66.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu > li:first-child{margin-top:-1px;}
  67.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu  li{display:block; border-top-style: solid; border-top-width: 1px; padding:0;}
  68.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu > li > a{border-left:none; padding:15px 15%; text-align: left;}
  69.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu > li a:before{content: "\25BA"; position: absolute; top: 15px; margin-left: -10px; font-family: 'entypo-fontello'; font-size: 7px;}
  70.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu li > ul{visibility:visible; opacity: 1; top:0; left:0; position: relative; width:100%; border:none;}
  71.     .responsive #top .av-switch-990 .av-menu-mobile-active.av-submenu-hidden .av-subnav-menu li > ul{display: none;}
  72.     .responsive #top .av-switch-990 .av-menu-mobile-active.av-submenu-hidden .av-subnav-menu li > ul.av-visible-sublist{display: block;}
  73.    
  74.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu li > ul a{padding:15px 19%;}
  75.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu li li > ul a{padding:15px 24%;}
  76.     .responsive #top .av-switch-990 .av-menu-mobile-active .av-subnav-menu li li li > ul a{padding:15px 29%;}
  77. }
  78.  
  79. @media only screen and (max-width: 767px)
  80. {
  81.     .responsive #top .av-switch-768 .sticky_placeholder{max-height:0px; }
  82.     /***** this setting top and position is changed to not !important rules **********/
  83.     .responsive #top .av-switch-768.av-submenu-container{top: auto ; position: relative ; height:auto; min-height:0; margin-bottom: -1px;}
  84.    
  85.     .responsive #top .av-switch-768 .av-menu-mobile-active {text-align: center; }
  86.     .responsive #top .av-switch-768 .av-menu-mobile-active .mobile_menu_toggle{display: inline-block;}
  87.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu{display:none;}
  88.    
  89.     .responsive #top #wrap_all .av-switch-768 .av-menu-mobile-active.container {width:100%; max-width: 100%;}
  90.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-open-submenu.av-subnav-menu{display:block;}
  91.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu > li:first-child{margin-top:-1px;}
  92.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu  li{display:block; border-top-style: solid; border-top-width: 1px; padding:0;}
  93.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu > li > a{border-left:none; padding:15px 15%; text-align: left;}
  94.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu > li a:before{content: "\25BA"; position: absolute; top: 15px; margin-left: -10px; font-family: 'entypo-fontello'; font-size: 7px;}
  95.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu li > ul{visibility:visible; opacity: 1; top:0; left:0; position: relative; width:100%; border:none;}
  96.     .responsive #top .av-switch-768 .av-menu-mobile-active.av-submenu-hidden .av-subnav-menu li > ul{display: none;}
  97.     .responsive #top .av-switch-768 .av-menu-mobile-active.av-submenu-hidden .av-subnav-menu li > ul.av-visible-sublist{display: block;}
  98.    
  99.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu li > ul a{padding:15px 19%;}
  100.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu li li > ul a{padding:15px 24%;}
  101.     .responsive #top .av-switch-768 .av-menu-mobile-active .av-subnav-menu li li li > ul a{padding:15px 29%;}
  102. }
  103.  
  104. @media only screen and (max-width: 479px)
  105. {
  106.     .responsive #top .av-switch-480 .sticky_placeholder{max-height:0px; }
  107.     /***** this setting top and position is changed to not !important rules **********/
  108.     .responsive #top .av-switch-480.av-submenu-container{top: auto ; position: relative ; height:auto; min-height:0; margin-bottom: -1px;}
  109.    
  110.     .responsive #top .av-switch-480 .av-menu-mobile-active {text-align: center; }
  111.     .responsive #top .av-switch-480 .av-menu-mobile-active .mobile_menu_toggle{display: inline-block;}
  112.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu{display:none;}
  113.    
  114.     .responsive #top #wrap_all .av-switch-480 .av-menu-mobile-active.container {width:100%; max-width: 100%;}
  115.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-open-submenu.av-subnav-menu{display:block;}
  116.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu > li:first-child{margin-top:-1px;}
  117.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu  li{display:block; border-top-style: solid; border-top-width: 1px; padding:0;}
  118.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu > li > a{border-left:none; padding:15px 15%; text-align: left;}
  119.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu > li a:before{content: "\25BA"; position: absolute; top: 15px; margin-left: -10px; font-family: 'entypo-fontello'; font-size: 7px;}
  120.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu li > ul{visibility:visible; opacity: 1; top:0; left:0; position: relative; width:100%; border:none;}
  121.     .responsive #top .av-switch-480 .av-menu-mobile-active.av-submenu-hidden .av-subnav-menu li > ul{display: none;}
  122.     .responsive #top .av-switch-480 .av-menu-mobile-active.av-submenu-hidden .av-subnav-menu li > ul.av-visible-sublist{display: block;}
  123.    
  124.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu li > ul a{padding:15px 19%;}
  125.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu li li > ul a{padding:15px 24%;}
  126.     .responsive #top .av-switch-480 .av-menu-mobile-active .av-subnav-menu li li li > ul a{padding:15px 29%;}
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement