Widget:AddonsStyle

Revisão de 23h50min de 23 de dezembro de 2024 por Renee (discussão | contribs)

<style>

.dropdown { border: 1px solid #ccc; display: none; position: absolute; background-color: #fff; max-height: 150px; overflow-y: auto; max-width: 30; /* Ajusta a largura mínima */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra sutil */ }

   .image-container {
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
   }
   .image-item { 
       margin-bottom: 1em; 
       text-align: center;
   }
   .image-item img {
       display: block;
       margin: 0 auto;
   }
   .variations-container {
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
       margin-top: 1em;
   }
   .variation-item {
       width: 35%;
       box-sizing: border-box;
       margin: 5px;
       text-align: center;
       border: 1px solid ;
       padding: 10px;
   }
   .variation-item img {
       display: block;
       margin: 0 auto 10px;
   }
   .swap-button { 
       margin-top: 10px;
       cursor: pointer;
       width: 15px;
       height: 15px;
       background: url('https://wiki.pokexgames.com/images/f/fb/SwapButtonAddons.png') no-repeat center;
       background-size: contain;
       display: block;
       margin: 0 auto;
   }

.input-group {

   display: flex;
   justify-content: center;
   position: relative;
   margin-bottom: 1em;

}


.dropdown-item {

   padding: 10px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;

}

.dropdown-item:hover {

   background-color: #f2e8f8; 
   border-color: #d1c1e0;

} .dropdown-item:focus {

   border-color: #d1c1e0;

}

.dropdown-item img {

   margin-right: 10px;

} </style>