Jump to content

MediaWiki:Mobile.css: Difference between revisions

From ATRONIA Wiki
No edit summary
No edit summary
Line 3: Line 3:




/* Ataca pelo ID para ganhar a prioridade máxima do navegador */
/* Ataca o botão pelas classes específicas e pelo seu papel (role) */
#p-search .cdx-button.cdx-button--fake-button,
html body .vector-header-end a[role="button"].cdx-button--fake-button,
#p-search .cdx-button.cdx-button--fake-button:active,
html body #p-search a.search-toggle,
#p-search .cdx-button.cdx-button--fake-button:hover,
.cdx-button--weight-quiet.cdx-button--icon-only.search-toggle {
#p-search .cdx-button.cdx-button--fake-button:focus {
     background-color: transparent !important;
     background-color: transparent !important;
     background: transparent !important;
     background: none !important;
     border: none !important;
     border: none !important;
     border-left: none !important;
     border-left: none !important;
     box-shadow: none !important;
     box-shadow: none !important;
    text-decoration: none !important;
}
}


/* Força a remoção da borda esquerda no container da lupa */
/* Remove a borda esquerda do container que segura a lupa */
.vector-search-box-show-thumbnail,
#p-search.vector-search-box-vue {
#p-search.vector-search-box-vue {
     border-left: none !important;
     border-left: none !important;
}
}


/* Garante que a lupa em si seja visível (Verde ATRONIA) */
/* Garante que a lupa fica visível (Verde ATRONIA) */
#p-search .vector-icon {
#p-search .vector-icon {
     color: #ccff00 !important;
     color: #ccff00 !important;
}
     fill: #ccff00 !important;
 
 
 
 
 
/* RESET TOTAL DO BOTÃO DE BUSCA (MODO BRUTO) */
html body #p-search .cdx-button.cdx-button--fake-button,
html body #p-search .cdx-button.cdx-button--fake-button.cdx-button--enabled,
html body #p-search .cdx-button.cdx-button--fake-button.cdx-button--weight-quiet,
html body #p-search .cdx-button.cdx-button--fake-button.cdx-button--icon-only {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-left: none !important;
     box-shadow: none !important;
}
 
/* REMOVER A LINHA BRANCA/CINZA À ESQUERDA */
.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width,
#p-search.vector-search-box-vue {
    border-left: none !important;
    border: none !important;
}
}

Revision as of 15:11, 26 March 2026

/* All CSS here will be loaded for users of the mobile site */



/* Ataca o botão pelas classes específicas e pelo seu papel (role) */
html body .vector-header-end a[role="button"].cdx-button--fake-button,
html body #p-search a.search-toggle,
.cdx-button--weight-quiet.cdx-button--icon-only.search-toggle {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    border-left: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Remove a borda esquerda do container que segura a lupa */
.vector-search-box-show-thumbnail, 
#p-search.vector-search-box-vue {
    border-left: none !important;
}

/* Garante que a lupa fica visível (Verde ATRONIA) */
#p-search .vector-icon {
    color: #ccff00 !important;
    fill: #ccff00 !important;
}