Diferencia entre revisiones de «NavBarMobile.html»

De Wiki The-West ES
Ir a la navegación.
(Página creada con «<section class="conteiner-navigation-mobil"> <nav class="site-navigation-mobile"> <button class="button-menu-navigation-mobile close"> <svg xmlns="http://www.w3.org/2000/svg" style=" color: currentColor; height: 30px; width: 30px;" height="16" width="14" viewBox="0 0 448 512"> <path fill="currentColor" d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H…»)
 
Sin resumen de edición
Línea 1: Línea 1:
<section class="conteiner-navigation-mobil">
<section class="conteiner-navigation-mobil">
     <nav class="site-navigation-mobile">
     <nav class="site-navigation-mobile">
       <button class="button-menu-navigation-mobile close">
       <button class="button-menu-navigation-mobile">
         <svg xmlns="http://www.w3.org/2000/svg" style="
         <svg xmlns="http://www.w3.org/2000/svg" style="
                     color: currentColor;
                     color: currentColor;
Línea 11: Línea 11:
     </nav>
     </nav>
      
      
     <article class="content-site-navigation-mobile">
     <article class="content-site-navigation-mobile open">
        <ul>
      <button class="button-close-content-site-navigation-mobile" id="buttonCloseontentSiteNavigationMobile"> X </button>
           <li><img src="https://wiki.the-west.net/images/3/34/Dock_quests.png" alt=""><span>Lista de Búsquedas</span></li>
           <div><img src="https://wiki.the-west.net/images/3/34/Dock_quests.png" alt=""><span>Lista de Búsquedas</span></div>
           <li><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -208px !important; background-position-y: -52px !important;"></div><span>Inventario</span></li>
           <div><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -208px !important; background-position-y: -52px !important;"></div><span>Inventario</span></div>
           <li><img src="https://es1.the-west.es/images/window/shop/icons/tabs/equip.png?1699352772" height="50px"><span>Conjuntos</span></li>
           <div><img src="https://es1.the-west.es/images/window/shop/icons/tabs/equip.png?1699352772" height="50px"><span>Conjuntos</span></div>
           <li><div style="width: 50px;height: 50px;background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat;background-position-x: -260px !important;background-position-y: -52px !important;"></div><span>Trabajos</span></li>
           <div><div style="width: 50px;height: 50px;background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat;background-position-x: -260px !important;background-position-y: -52px !important;"></div><span>Trabajos</span></div>
           <li><div style="width: 50px;height: 50px;background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat;background-position-y: -52px !important;"></div><span>Oficios</span></li>
           <div><div style="width: 50px;height: 50px;background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat;background-position-y: -52px !important;"></div><span>Oficios</span></div>
           <li><img src="https://westes.innogamescdn.com/images/items/yield/rodeo_trophy.png?5" height="50px"><span>Logros</span></li>
           <div><img src="https://westes.innogamescdn.com/images/items/yield/rodeo_trophy.png?5" height="50px"><span>Logros</span></div>
           <li><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -52px !important; background-position-y: -52px !important;"></div><span>Duelos</span></li>
           <div><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -52px !important; background-position-y: -52px !important;"></div><span>Duelos</span></div>
           <li><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -105px !important; background-position-y: -52px !important;"></div><span>Batallas de Fuerte</span></li>
           <div><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -105px !important; background-position-y: -52px !important;"></div><span>Batallas de Fuerte</span></div>
           <li><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -210px !important; background-position-y: -104px !important;"></div><span>Ciudades</span></li>
           <div><div style="width: 50px; height: 50px; background: url(https://westes.innogamescdn.com/images/interface/dock_icons.png?4) no-repeat; background-position-x: -210px !important; background-position-y: -104px !important;"></div><span>Ciudades</span></div>
           <li><img src="https://es1.the-west.es/images/window/shop/icons/tabs/veteran.png?1699352772" width="50px"><span>Aventuras</span></li>
           <div><img src="https://es1.the-west.es/images/window/shop/icons/tabs/veteran.png?1699352772" width="50px"><span>Aventuras</span></div>
           <li><img src="https://westde.innogamescdn.com/images/items/yield/fireworks_low.png?5" alt="" width="40px"><span style="padding-left:10px">Eventos</span></li>
           <div><img src="https://westde.innogamescdn.com/images/items/yield/fireworks_low.png?5" alt="" width="40px"><span style="padding-left:10px">Eventos</span></div>
           <li><span>Interfaz del juego</span></li>
           <div><span>Interfaz del juego</span></div>
        </ul>
     </article>
     </article>
</section>
</section>


<script>
    window.openAndCloseNavBarMobile.addEventListener('click', () => {
      $('#contentSiteNavigationMobile').toggleClass('open');
    }); 
   
    window.buttonCloseontentSiteNavigationMobile.addEventListener('click', () => {
      $('#contentSiteNavigationMobile').toggleClass('open');
    }); 
   
</script>
 


<style>
<style>
   
     @media (max-width: 768px) {
     @media (max-width: 768px) {
         #module-site-navigation{
         #module-site-navigation{
Línea 42: Línea 53:
     .container-navigation-mobil{
     .container-navigation-mobil{
         width: 100%;
         width: 100%;
        height: 0px;
         margin: 0px;
         margin: 0px;
         padding: 0px;
         padding: 0px;
         display:none;
         display:none;
        box-sizing: border-box;
     }
     }
     .site-navigation-mobile{
     .site-navigation-mobile{
Línea 58: Línea 71:
         padding-bottom: 5px;
         padding-bottom: 5px;
         padding-top: 5px;
         padding-top: 5px;
         z-index: 10;
         z-index: 1;
         box-shadow: inset 0px 0px 30px 2px #140a05;
         box-shadow: inset 0px 0px 30px 2px #140a05;
          
         box-sizing: border-box;
     }
     }
     .button-menu-navigation-mobile{
     .button-menu-navigation-mobile{
Línea 71: Línea 84:
       justify-content: center;
       justify-content: center;
       padding: 3px;
       padding: 3px;
      box-sizing: border-box;
     }
     }
     .button-menu-navigation-mobile:hover{
     .button-menu-navigation-mobile:hover{
Línea 77: Línea 91:


     .content-site-navigation-mobile{
     .content-site-navigation-mobile{
         position: relative;
         position: fixed;
         min-width: 250px;
         min-width: 250px;
         width: 250px;
          
         background: rgb(48, 37, 31);
         background: rgb(48, 37, 31);
         /*background-image: url( https://wiki.the-west.es/skins/MirageWest/images/headline-bgtile.png);*/
         /*background-image: url( https://wiki.the-west.es/skins/MirageWest/images/headline-bgtile.png);*/
         background-image: url(/skins/MirageWest/images/headline-bgtile.png);
         background-image: url(/skins/MirageWest/images/headline-bgtile.png);
         box-shadow: inset 0px 0px 30px 10px #140a05;
         box-shadow: inset 0px 0px 30px 10px #140a05;
         top: 38px;
         top: 55px;
         left: -250px;
         left: -100vw;
         margin: 0px;
         margin: 0px;
         padding-top: 20px;
         padding-top: 50px;
         padding-left: 15px;
         padding-left: 15px;
         padding-right: 15px;
         padding-right: 15px;
         padding-bottom: 20px;
         padding-bottom: 20px;
         border-bottom-right-radius: 20px;
         z-index: 20;
        box-sizing: border-box;
 
        display: grid;
        grid-template-columns: 1fr 1fr;
        transition: 1s;
   
    }
    .content-site-navigation-mobile.open{
        left: 0px;
        width: 100vw;
        height: calc(100vh - 55px);
     }
     }


     .content-site-navigation-mobile ul li{
     .content-site-navigation-mobile div{
         display: flex;
         display: flex;
         align-items: center;
         align-items: center;
         list-style:none;
         list-style:none;
         min-height: 40px;
         min-height: 40px;
        max-height: 70px;
         color: #e9d3a7;
         color: #e9d3a7;
         font-weight: 900;
         font-weight: 700;
         font-size: 15px;
         font-size: 17px;
         margin: 5px;
         margin: 5px;
         /*padding: 13px;*/
         /*padding: 13px;*/
Línea 109: Línea 135:
         border-radius: 10px;
         border-radius: 10px;
         transition: transform 0.2s;  
         transition: transform 0.2s;  
        box-sizing: border-box;
     }
     }
     .content-site-navigation-mobile ul li:hover{
     .content-site-navigation-mobile div:hover{
         background: #e9d3a7;
         background: #e9d3a7;
         color: #46352c;
         color: #46352c;
Línea 116: Línea 143:
         transform: scale(1.10);
         transform: scale(1.10);
     }
     }
 
    .content-site-navigation-mobile div img{
        height: 60px;
        width: 60px;
        box-sizing: border-box;
    }
    .button-close-content-site-navigation-mobile{
        position: absolute;
        width: 35px;
        height: 35px;
        background: transparent;
        border: 0px;
        color: #e9d3a7;
        font-size: 25px;
        font-weight: 900;
        top: 10px;
        right: 30px;
        padding:0px;
        margin: 0px;
        border-radius: 100%;
    }
    .button-close-content-site-navigation-mobile:hover{
        background: #e9d3a7;
        color: #46352c;
    }
</style>
</style>

Revisión del 23:38 20 feb 2024

<section class="conteiner-navigation-mobil">

   <nav class="site-navigation-mobile">
     <button class="button-menu-navigation-mobile">
       <svg xmlns="http://www.w3.org/2000/svg" style="
                   color: currentColor;
                   height: 30px;
                   width: 30px;" height="16" width="14" viewBox="0 0 448 512">
                   <path fill="currentColor" d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"></path>
               </svg>
     </button>
   </nav>
   
   <article class="content-site-navigation-mobile open">
     <button class="button-close-content-site-navigation-mobile" id="buttonCloseontentSiteNavigationMobile"> X </button>
<img src="https://wiki.the-west.net/images/3/34/Dock_quests.png" alt="">Lista de Búsquedas
Inventario
Trabajos
Oficios
Duelos
Batallas de Fuerte
Ciudades
Interfaz del juego
   </article>

</section>

<script>

   window.openAndCloseNavBarMobile.addEventListener('click', () => {
     $('#contentSiteNavigationMobile').toggleClass('open');
   });   
   
   window.buttonCloseontentSiteNavigationMobile.addEventListener('click', () => {
     $('#contentSiteNavigationMobile').toggleClass('open');
   });  
   

</script>


<style>

   @media (max-width: 768px) {
       #module-site-navigation{
           display: none;
       }
       .container-navigation-mobil{
           display: block;
       }
   }
   .container-navigation-mobil{
       width: 100%;
       height: 0px;
       margin: 0px;
       padding: 0px;
       display:none;
       box-sizing: border-box;
   }
   .site-navigation-mobile{
       position: fixed;
       top: 0px;
       left: 0px;
       background: rgb(48, 37, 31);
       background-image: url(/skins/MirageWest/images/headline-bgtile.png);
       /*background-image: url(https://wiki.the-west.es/skins/MirageWest/images/headline-bgtile.png);*/
       width: 100%;
       margin: 0px;
       padding-left: 25px;
       padding-bottom: 5px;
       padding-top: 5px;
       z-index: 1;
       box-shadow: inset 0px 0px 30px 2px #140a05;
       box-sizing: border-box;
   }
   .button-menu-navigation-mobile{
       color: #e9d3a7;
       font-size: 17px;
       background: transparent;
       border: 0px;
       display: flex;
     align-items: center;
     justify-content: center;
     padding: 3px;
     box-sizing: border-box;
   }
   .button-menu-navigation-mobile:hover{
       background: rgb(78, 60, 50);
   }
   .content-site-navigation-mobile{
       position: fixed;
       min-width: 250px;
       
       background: rgb(48, 37, 31);
       /*background-image: url(	https://wiki.the-west.es/skins/MirageWest/images/headline-bgtile.png);*/
       background-image: url(/skins/MirageWest/images/headline-bgtile.png);
       box-shadow: inset 0px 0px 30px 10px #140a05;
       top: 55px;
       left: -100vw;
       margin: 0px;
       padding-top: 50px;
       padding-left: 15px;
       padding-right: 15px;
       padding-bottom: 20px;
       z-index: 20;
       box-sizing: border-box;
       display: grid;
       grid-template-columns: 1fr 1fr;
       transition: 1s;
    
   }
   .content-site-navigation-mobile.open{
       left: 0px;
       width: 100vw;
       height: calc(100vh - 55px);
   }
   .content-site-navigation-mobile div{
       display: flex;
       align-items: center;
       list-style:none;
       min-height: 40px;
       max-height: 70px;
       color: #e9d3a7;
       font-weight: 700;
       font-size: 17px;
       margin: 5px;
       /*padding: 13px;*/
       padding-left: 10px;
       /*background:#46352c;*/
       background-color: rgb(36, 27, 22);
       border-radius: 10px;
       transition: transform 0.2s; 
       box-sizing: border-box;
   }
   .content-site-navigation-mobile div:hover{
       background: #e9d3a7;
       color: #46352c;
       font-weight: 900;
       transform: scale(1.10);
   }
   .content-site-navigation-mobile div img{
       height: 60px;
       width: 60px;
       box-sizing: border-box;
   }
   .button-close-content-site-navigation-mobile{
       position: absolute;
       width: 35px;
       height: 35px;
       background: transparent;
       border: 0px;
       color: #e9d3a7;
       font-size: 25px;
       font-weight: 900;
       top: 10px;
       right: 30px;
       padding:0px;
       margin: 0px;
       border-radius: 100%;
   }
   .button-close-content-site-navigation-mobile:hover{
       background: #e9d3a7;
       color: #46352c;
   }

</style>