Diferencia entre revisiones de «OptionBar.html»
Ir a la navegación.
Sin resumen de edición |
Sin resumen de edición |
||
(No se muestran 10 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
<section class="optionBar" | <section class="optionBar"> | ||
<button class="openClose_OptionBar" id="openAndCloseOptionBar"></button> | <button class="openClose_OptionBar" id="openAndCloseOptionBar"></button> | ||
<a class="containerOption" href="/wiki/Indice_Alfab%C3%A9tico_de_B%C3%BAsquedas"> | <a class="containerOption" title="Linea de Bùsquedas" href="/wiki/Indice_Alfab%C3%A9tico_de_B%C3%BAsquedas"> | ||
<span class="textOption">Linea de Búsquedas</span> | <span class="textOption">Linea de Búsquedas</span> | ||
<div class="optionInBar"> | <div class="optionInBar"> | ||
Línea 7: | Línea 7: | ||
</div> | </div> | ||
</a> | </a> | ||
< | |||
<a class="containerOption" title="Items" href="/wiki/Items"> | |||
<span class="textOption">Items</span> | <span class="textOption">Items</span> | ||
< | <div class="optionInBar"> | ||
<div style=" | <div style=" | ||
width: 100%; | width: 100%; | ||
Línea 17: | Línea 18: | ||
background-position-y: -52px !important; | background-position-y: -52px !important; | ||
"></div> | "></div> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Conjuntos" href="/wiki/Lista_de_conjuntos"> | |||
<span class="textOption">Conjuntos/Sets</span> | <span class="textOption">Conjuntos/Sets</span> | ||
< | <div class="optionInBar"> | ||
<img alt="Quests" src="https://es1.the-west.es/images/window/shop/icons/tabs/equip.png?1699352772" decoding="async" width="52" height="52"> | <img alt="Quests" src="https://es1.the-west.es/images/window/shop/icons/tabs/equip.png?1699352772" decoding="async" width="52" height="52"> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Lista de trabajos" href="/wiki/Lista_de_trabajos"> | |||
<span class="textOption">Lista de Trabajos</span> | <span class="textOption">Lista de Trabajos</span> | ||
< | <div class="optionInBar"> | ||
<div style=" | <div style=" | ||
width: 100%; | width: 100%; | ||
Línea 34: | Línea 37: | ||
background-position-x: -260px !important; | background-position-x: -260px !important; | ||
background-position-y: -52px !important;"></div> | background-position-y: -52px !important;"></div> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Artesanía" href="/wiki/Oficios"> | |||
<span class="textOption">Artesanía</span> | <span class="textOption">Artesanía</span> | ||
< | <div class="optionInBar"> | ||
<div style=" | <div style=" | ||
width: 100%; | width: 100%; | ||
Línea 45: | Línea 49: | ||
/* background-position-x: -260px !important; */ | /* background-position-x: -260px !important; */ | ||
background-position-y: -52px !important;"></div> | background-position-y: -52px !important;"></div> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Logros" href="/wiki/Logros"> | |||
<span class="textOption">Logros</span> | <span class="textOption">Logros</span> | ||
< | <div class="optionInBar"> | ||
<img alt="Quests" src="https://westes.innogamescdn.com/images/items/yield/rodeo_trophy.png?5" decoding="async" width="52" height="52"> | <img alt="Quests" src="https://westes.innogamescdn.com/images/items/yield/rodeo_trophy.png?5" decoding="async" width="52" height="52"> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Duelos" href="/wiki/Duelos"> | |||
<span class="textOption">Duelos</span> | <span class="textOption">Duelos</span> | ||
< | <div class="optionInBar"> | ||
<div style=" | <div style=" | ||
width: 100%; | width: 100%; | ||
Línea 63: | Línea 69: | ||
background-position-y: -52px !important; | background-position-y: -52px !important; | ||
"></div> | "></div> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Batallas de Fuerte" href="/wiki/Batallas_de_fuerte"> | |||
<span class="textOption">Batallas de Fuerte</span> | <span class="textOption">Batallas de Fuerte</span> | ||
< | <div class="optionInBar"> | ||
<div style=" | <div style=" | ||
width: 100%; | width: 100%; | ||
Línea 75: | Línea 82: | ||
background-position-y: -52px !important; | background-position-y: -52px !important; | ||
"></div> | "></div> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Ciudades" href="/wiki/Ciudades"> | |||
<span class="textOption">Ciudades</span> | <span class="textOption">Ciudades</span> | ||
< | <div class="optionInBar"> | ||
<div style=" | <div style=" | ||
width: 100%; | width: 100%; | ||
Línea 87: | Línea 95: | ||
background-position-y: -104px !important; | background-position-y: -104px !important; | ||
"></div> | "></div> | ||
</ | </div> | ||
</ | </a> | ||
< | |||
<a class="containerOption" title="Aventuras" href="/wiki/Aventuras"> | |||
<span class="textOption">Aventuras</span> | <span class="textOption">Aventuras</span> | ||
< | <div class="optionInBar"> | ||
<img alt="Quests" src="https://es1.the-west.es/images/window/shop/icons/tabs/veteran.png?1699352772" decoding="async" width="52" height="52"> | <img alt="Quests" src="https://es1.the-west.es/images/window/shop/icons/tabs/veteran.png?1699352772" decoding="async" width="52" height="52"> | ||
</ | </div> | ||
</ | </a> | ||
</section> | </section> | ||
Línea 101: | Línea 110: | ||
.optionBar{ | .optionBar{ | ||
height: 550px; | height: 550px; | ||
width: 55px; | width: 55px; | ||
position: fixed; | position: fixed; | ||
top: 100px; | top: 100px; | ||
Línea 115: | Línea 123: | ||
flex-direction: column; | flex-direction: column; | ||
border-right: 3px solid #100b07; | border-right: 3px solid #100b07; | ||
justify-content: end; | justify-content: end; | ||
transition: 1s; | |||
/*z-index: 0;*/ | |||
} | |||
.optionBar.open{ | |||
width: 200px; | |||
} | } | ||
.containerOption{ | .containerOption{ | ||
Línea 138: | Línea 151: | ||
border: 0px solid; | border: 0px solid; | ||
background: url(https://westes.innogamescdn.com/images/tw2gui/arrow_updown.png) no-repeat; | background: url(https://westes.innogamescdn.com/images/tw2gui/arrow_updown.png) no-repeat; | ||
width: | width: 54px !important; | ||
height: 12px !important; | height: 12px !important; | ||
background-position: 0px -2px; | background-position: 0px -2px; | ||
rotate: 90deg; | rotate: 90deg; | ||
/* background-position: 0px -16px; */ | /* background-position: 0px -16px; */ | ||
} | |||
.openClose_OptionBar.reverse{ | |||
background-position: 0px -16px; | |||
} | } | ||
.openClose_OptionBar:hover{ | .openClose_OptionBar:hover{ | ||
box-shadow: 0px 0px 7px 1px yellow; | box-shadow: 0px 0px 7px 1px yellow; | ||
border-top-right-radius: 10px; | |||
border-top-left-radius: 10px; | |||
} | } | ||
.textOption{ | .textOption{ | ||
Línea 161: | Línea 179: | ||
.containerOption:hover .textOption{ | .containerOption:hover .textOption{ | ||
box-shadow: 0px 0px 6px 0px yellow; | box-shadow: 0px 0px 6px 0px yellow; | ||
} | |||
@media (max-width: 768px) { | |||
.optionBar{ | |||
display: none; | |||
} | |||
} | } | ||
</style> | </style> | ||
<script> | |||
window.openAndCloseOptionBar.addEventListener('click', () => { | |||
$('.optionBar').toggleClass('open'); | |||
$('.openClose_OptionBar').toggleClass('reverse'); | |||
}); | |||
</script> |
Revisión actual - 20:01 17 feb 2024
<section class="optionBar">
<button class="openClose_OptionBar" id="openAndCloseOptionBar"></button>
<a class="containerOption" title="Linea de Bùsquedas" href="/wiki/Indice_Alfab%C3%A9tico_de_B%C3%BAsquedas">
Linea de Búsquedas
<img alt="Quests" src="https://wiki.the-west.net/images/3/34/Dock_quests.png" decoding="async" width="52" height="52">
</a>
<a class="containerOption" title="Items" href="/wiki/Items">
Items
</a>
<a class="containerOption" title="Conjuntos" href="/wiki/Lista_de_conjuntos">
Conjuntos/Sets
<img alt="Quests" src="https://es1.the-west.es/images/window/shop/icons/tabs/equip.png?1699352772" decoding="async" width="52" height="52">
</a>
<a class="containerOption" title="Lista de trabajos" href="/wiki/Lista_de_trabajos">
Lista de Trabajos
</a>
<a class="containerOption" title="Artesanía" href="/wiki/Oficios">
Artesanía
</a>
<a class="containerOption" title="Logros" href="/wiki/Logros">
Logros
<img alt="Quests" src="https://westes.innogamescdn.com/images/items/yield/rodeo_trophy.png?5" decoding="async" width="52" height="52">
</a>
<a class="containerOption" title="Duelos" href="/wiki/Duelos">
Duelos
</a>
<a class="containerOption" title="Batallas de Fuerte" href="/wiki/Batallas_de_fuerte">
Batallas de Fuerte
</a>
<a class="containerOption" title="Ciudades" href="/wiki/Ciudades">
Ciudades
</a>
<a class="containerOption" title="Aventuras" href="/wiki/Aventuras">
Aventuras
<img alt="Quests" src="https://es1.the-west.es/images/window/shop/icons/tabs/veteran.png?1699352772" decoding="async" width="52" height="52">
</a>
</section>
<style>
.optionBar{ height: 550px; width: 55px; position: fixed; top: 100px; background-image: url(/skins/MirageWest/images/headline-bgtile.png); box-shadow: inset 0px 0px 30px 8px #140a05; display: grid; padding: 5px; padding-top: 20px; padding-left: 0px; border-top-right-radius: 20px; border-bottom-right-radius: 20px; flex-direction: column; border-right: 3px solid #100b07; justify-content: end; transition: 1s; /*z-index: 0;*/ } .optionBar.open{ width: 200px; } .containerOption{ height: 52px; width: 295px; display: flex; justify-content: flex-end; } .optionInBar{ background: url(https://wiki.the-west.net/images/a/a2/Dock_buttons.png) no-repeat; width: 52px !important; height: 52px !important; } .containerOption:hover .optionInBar{ background-position-x: -52px !important; } .openClose_OptionBar{ position: absolute; right: -35px; top: 37px; background: transparent; border: 0px solid; background: url(https://westes.innogamescdn.com/images/tw2gui/arrow_updown.png) no-repeat; width: 54px !important; height: 12px !important; background-position: 0px -2px; rotate: 90deg; /* background-position: 0px -16px; */ }
.openClose_OptionBar.reverse{
background-position: 0px -16px; } .openClose_OptionBar:hover{ box-shadow: 0px 0px 7px 1px yellow; border-top-right-radius: 10px; border-top-left-radius: 10px; } .textOption{ background: url(https://westes.innogamescdn.com/images/tw2gui/window/minimized_bg.png?24) left top; height: 32px; width: 150px; background-position: 0px -32px; margin-top: 10px; color: white; font-weight: bold; font-size: 12px; text-align: center; line-height: 30px; } .containerOption:hover .textOption{ box-shadow: 0px 0px 6px 0px yellow; } @media (max-width: 768px) { .optionBar{ display: none; } }
</style> <script>
window.openAndCloseOptionBar.addEventListener('click', () => { $('.optionBar').toggleClass('open'); $('.openClose_OptionBar').toggleClass('reverse'); });
</script>