Widget:AddonsStyle: mudanças entre as edições

De PokeXGames
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
<style>
body {
    font-family: Arial, sans-serif;
        .input-group { margin-bottom: 1em; position: relative; }
    background-color: #f0f0f0;
.dropdown {
    margin: 0;
    padding: 20px;
}
 
.input-group {
    position: relative;
    width: 100%;
}
 
#imageSearch {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
     border: 1px solid #ccc;
     border: 1px solid #ccc;
    display: none;
}
 
#dropdown {
     position: absolute;
     position: absolute;
     background-color: #fff;
    top: 100%;
     max-height: 150px;
    left: 0;
    right: 0;
     background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
     max-height: 200px;
     overflow-y: auto;
     overflow-y: auto;
     max-width: 30; /* Ajusta a largura mínima */
     display: none;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra sutil */
     z-index: 10;
}
}


        .dropdown-item {
.dropdown-item {
            padding: 8px;
    padding: 10px;
            cursor: pointer;
    display: flex;
            display: flex;
    align-items: center;
            align-items: center;
    cursor: pointer;
        }
}
        .dropdown-item img {
            margin-right: 10px;
        }
        .dropdown-item:hover {
            background-color: #f0f0f0;
        }
        .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 {
.dropdown-item img {
            display: flex;
    width: 40px;
            flex-wrap: wrap;
    height: 40px;
            justify-content: center;
    margin-right: 10px;
            margin-top: 1em;
}
        }


        .variation-item {
.image-container {
            width: 35%;
    margin-top: 20px;
            box-sizing: border-box;
    display: none;
            margin: 5px;
}
            text-align: center;
            border: 1px solid ;
            padding: 10px;
        }


        .variation-item img {
.variation-item {
            display: block;
    display: flex;
            margin: 0 auto 10px;
    align-items: center;
        }
    margin-bottom: 10px;
}


        .swap-button {  
.variation-image {
            margin-top: 10px;
    width: 100px;
            cursor: pointer;
    height: 100px;
            width: 15px;
    margin-right: 10px;
            height: 15px;
    transition: all 0.3s ease;
            background: url('https://wiki.pokexgames.com/images/f/fb/SwapButtonAddons.png') no-repeat center;
}
            background-size: contain;
 
            display: block;
.swap-button {
            margin: 0 auto;
    cursor: pointer;
        }
    margin-left: 10px;
</style>
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
 
.image-info {
    margin-left: 10px;
}

Edição das 23h19min de 23 de dezembro de 2024

body {

   font-family: Arial, sans-serif;
   background-color: #f0f0f0;
   margin: 0;
   padding: 20px;

}

.input-group {

   position: relative;
   width: 100%;

}

  1. imageSearch {
   width: 100%;
   padding: 10px;
   font-size: 16px;
   border-radius: 5px;
   border: 1px solid #ccc;

}

  1. dropdown {
   position: absolute;
   top: 100%;
   left: 0;
   right: 0;
   background-color: white;
   border: 1px solid #ccc;
   border-radius: 5px;
   max-height: 200px;
   overflow-y: auto;
   display: none;
   z-index: 10;

}

.dropdown-item {

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

}

.dropdown-item img {

   width: 40px;
   height: 40px;
   margin-right: 10px;

}

.image-container {

   margin-top: 20px;
   display: none;

}

.variation-item {

   display: flex;
   align-items: center;
   margin-bottom: 10px;

}

.variation-image {

   width: 100px;
   height: 100px;
   margin-right: 10px;
   transition: all 0.3s ease;

}

.swap-button {

   cursor: pointer;
   margin-left: 10px;
   background-color: #007bff;
   color: white;
   padding: 5px 10px;
   border-radius: 5px;

}

.image-info {

   margin-left: 10px;

}