Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(20 intermediate revisions by the same user not shown)
Line 2,134: Line 2,134:
   color: white; /* or currentColor */
   color: white; /* or currentColor */
}
}
.mw-ui-icon-wikimedia-ellipsis {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: none !important;
  width: 2rem !important;
}
/* Inject Material icon */
.mw-ui-icon-wikimedia-ellipsis::before {
  content: "account_circle";
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  display: inline-block;
  line-height: 1;
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  color: white; /* or currentColor */
}
.mw-ui-icon-wikimedia-ellipsis::after {
  content: "keyboard_arrow_down";
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;


  color: white; /* or currentColor */
}
/* Remove MediaWiki mask system */
/* Remove MediaWiki mask system */
#vector-page-titlebar-toc-label > .mw-ui-icon-wikimedia-listBullet {
#vector-page-titlebar-toc-label > .mw-ui-icon-wikimedia-listBullet {
Line 2,318: Line 2,359:




 
/* --- REDUZIR ALTURA DA ZONA ROXA (Cabeçalho) --- */
 
/* --- CONFIGURAÇÃO ULTRA-COMPACTA MOBILE --- */
@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
     /* 1. Reduz a altura total da barra (zona roxa) */
     /* 1. Remove a altura mínima e reduz o padding vertical */
     .mw-header {
     .mw-header {
        height: 50px !important;
         min-height: 50px !important; /* Estava em 72px ou mais */
         min-height: 50px !important;
         padding-top: 5px !important;
         padding: 0 10px !important;
         padding-bottom: 5px !important;
         display: flex !important;
         height: auto !important;
        align-items: center !important;
         position: relative !important;
     }
     }


     /* 2. Fixa o Menu Hambúrguer e o Logo à esquerda */
     /* 2. Ajusta o container do topo para não forçar espaço extra */
     .mw-header-start {
     .vector-header-container {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }
 
    .mw-header .mw-logo-icon {
        width: 80px !important;
         height: auto !important;
         height: auto !important;
         max-height: 25px !important;
         min-height: 50px !important;
        display: block !important;
     }
     }


     /* 3. Coloca os ícones da direita num bloco fixo para não colapsarem */
     /* 3. Centraliza verticalmente o logo e os ícones para ficarem perfeitos */
    .mw-header-start,
     .vector-header-end {
     .vector-header-end {
        position: absolute !important;
        right: 10px !important;
        display: flex !important;
        flex-direction: row !important;
         align-items: center !important;
         align-items: center !important;
        gap: 2px !important; /* Ícones bem juntos */
        width: auto !important;
    }
    /* 4. MATA O COLAPSO: Força o Login a ser um link direto, não um menu dropdown */
    .vector-user-links-dropdown,
    #vector-user-links-dropdown-checkbox,
    .vector-user-links-dropdown-label {
        display: none !important;
    }
    /* 5. Faz o Log in aparecer como texto simples ao lado dos ícones */
    .vector-user-links-main {
         display: flex !important;
         display: flex !important;
        position: static !important;
    }
    #pt-login, #pt-login-2 {
        display: inline-flex !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: bold !important;
        padding: 0 5px !important;
    }
    /* 6. Encolhe a pesquisa ao mínimo (apenas o ícone da lupa) */
    #p-search {
        margin: 0 5px !important;
        order: 2 !important; /* Coloca a lupa entre o logo e o login */
    }
    .vector-search-box-auto-expand-width {
        max-width: 35px !important;
     }
     }
}
}