MediaWiki:Vector.css

De Wiki Gla
Revisão de 00h19min de 20 de janeiro de 2026 por Gurren1 (discussão | contribs)
Ir para navegação Ir para pesquisar

Nota: Após salvar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
  • Opera: Pressione Ctrl-F5.
/* =============================================
   WIKI GLA - Vector.css
   Skin: Vector Legacy
   ============================================= */

/* =============================================
   0. AJUSTES BASE DO VECTOR
   ============================================= */
html {
    -webkit-text-size-adjust: 100%;
}

.vector-menu-dropdown .vector-menu-heading,
.vector-menu-dropdown .vector-menu-heading:hover,
.vector-menu-dropdown .vector-menu-heading:focus {
    background: #fff;
    color: #0645ad;
    border: 1px solid #a7d7f9;
    border-bottom: none;
}

.vector-menu-dropdown .vector-menu-content {
    background: #fff;
    border: 1px solid #a7d7f9;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.vector-menu-dropdown .mw-list-item a {
    color: #0645ad;
}

/* Top links */
#p-personal {
    background: #fff;
    border-radius: 0 0 0 4px;
    height: 1.875em;
    top: 0;
    right: 0;
}

#p-personal ul {
    padding: 0 1em 0 0.4375em;
}

/* =============================================
   1. LOGO - Independente
   ============================================= */
#p-logo {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =============================================
   2. SIDEBAR - Mais larga
   ============================================= */
#mw-panel {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    width: 12em;
}

#content.mw-body {
    margin-left: 12.5em;
}

/* =============================================
   3. PORTAIS/GRUPOS - Cards compactos
   ============================================= */
#mw-panel .portal,
#mw-panel .vector-menu-portal {
    background: #fff;
    border: 1px solid #c8ccd1;
    border-radius: 4px 0 0 4px;
    margin: 0 8px 12px 8px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#mw-panel .vector-menu-heading {
    margin: 0;
    padding: 10px 14px 8px;
    background: #f8f9fa;
    border-bottom: 1px solid #eaecf0;
}

#mw-panel .vector-menu-heading span {
    color: #222;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#mw-panel .vector-menu-content {
    margin: 0;
    padding: 6px 0;
}

#mw-panel .vector-menu-content-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mw-panel .vector-menu-content-list li {
    margin: 0;
    padding: 0;
}

#mw-panel .vector-menu-content-list a {
    display: block;
    padding: 8px 14px;
    color: #0645ad;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.15s ease;
}

#mw-panel .vector-menu-content-list a:hover {
    background: #eaf3ff;
    color: #0645ad;
    text-decoration: none;
}

/* =============================================
   3.1. REDES SOCIAIS - ÍCONES NA SIDEBAR
   ============================================= */
#mw-panel #p-Redes {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0 8px 12px 8px;
    padding: 0;
}

#p-Redes-label {
    display: none;
}

#mw-panel #p-Redes .vector-menu-content {
    margin: 0;
    padding: 8px 6px 10px;
    background: transparent;
}

#mw-panel #p-Redes .vector-menu-content-list {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

#mw-panel #p-Redes .vector-menu-content-list li {
    margin: 0;
    padding: 0;
}

#mw-panel #p-Redes .vector-menu-content-list a {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0;
    border: 1px solid #c8ccd1;
    box-sizing: border-box;
}

#mw-panel #p-Redes .vector-menu-content-list a::before {
    content: "";
    font-family: 'Noto Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.2px;
}

#mw-panel #p-Redes #n-Discord a {
    background: #5865f2;
    border-color: #4c57d0;
}

#mw-panel #p-Redes #n-Discord a::before {
    content: "DC";
}

#mw-panel #p-Redes #n-TikTok a {
    background: #111;
    border-color: #000;
}

#mw-panel #p-Redes #n-TikTok a::before {
    content: "TT";
}

#mw-panel #p-Redes #n-Instagram a {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

#mw-panel #p-Redes #n-Instagram a::before {
    content: "IG";
}

#mw-panel #p-Redes #n-Facebook a {
    background: #4267b2;
    border-color: #2f4f8f;
}

#mw-panel #p-Redes #n-Facebook a::before {
    content: "FB";
}

#mw-panel #p-Redes #n-YouTube a {
    background: #ff0000;
    border-color: #cc0000;
}

#mw-panel #p-Redes #n-YouTube a::before {
    content: "YT";
}

#mw-panel #p-Redes #n-X a {
    background: #111;
    border-color: #000;
}

#mw-panel #p-Redes #n-X a::before {
    content: "X";
}

#mw-panel #p-Redes #n-Website a {
    background: #555;
    border-color: #444;
}

#mw-panel #p-Redes #n-Website a::before {
    content: "WB";
}

/* =============================================
   6.1. SEARCH - Alinhamento com navegação
   ============================================= */
#p-search #searchform {
    margin: 0;
}

#simpleSearch {
    position: relative;
    height: 34px;
    width: 14em;
}

#searchInput {
    width: 100%;
    height: 34px;
    border: 1px solid #a7d7f9;
    border-radius: 4px 0 0 4px;
    padding: 0 34px 0 10px;
    font-size: 14px;
    background: #fff;
    color: #222;
    box-sizing: border-box;
}

#searchButton,
#mw-searchButton {
    top: 1px;
    bottom: 1px;
    right: 1px;
    width: 32px;
    border: 0;
    border-left: 1px solid #a7d7f9;
    border-radius: 0 3px 3px 0;
    background-color: #f8f9fa;
    cursor: pointer;
}

#mw-searchButton {
    display: none;
}

#searchButton {
    background: #f8f9fa url(/skins/Vector/resources/skins.vector.styles/images/search.svg) no-repeat center;
    background-size: 16px 16px;
}

.vector-menu-tabs {
    background-image: none !important;
    background: transparent !important;
}

/* =============================================
   6. ABAS ESQUERDA (Mensagem/Discussão)
   ============================================= */
#p-namespaces.vector-menu-tabs .vector-menu-content-list li a {
    display: flex !important;
    align-items: center !important;
    height: 34px;
    padding: 0 12px !important;
    background: #fff;
    border: 1px solid #a7d7f9;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    line-height: 1 !important;
}

#p-namespaces.vector-menu-tabs .vector-menu-content-list li.selected a {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

/* =============================================
   7. ABAS DIREITA (Ler/Editar/Histórico)
   ============================================= */
#p-views.vector-menu-tabs .vector-menu-content,
#p-views.vector-menu-tabs .vector-menu-content-list,
#p-views.vector-menu-tabs {
    overflow: visible !important;
}

/* Links de texto */
#p-views.vector-menu-tabs .vector-menu-content-list li.collapsible a {
    display: flex !important;
    align-items: center !important;
    height: 34px;
    padding: 0 12px !important;
    background: #fff;
    border: 1px solid #a7d7f9;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    line-height: 1 !important;
}

#p-views.vector-menu-tabs .vector-menu-content-list li.collapsible.selected a {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

/* =============================================
   8. ESTRELA (watch/unwatch) - COM BORDA IGUAL AOS OUTROS
   ============================================= */
#ca-unwatch,
#ca-watch {
    overflow: visible !important;
    position: relative;
    z-index: 5;
}

#ca-unwatch a,
#ca-watch a {
    font-size: 0 !important;
    text-indent: -9999px;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #a7d7f9 !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0 !important;
    position: relative;
}

#ca-unwatch a::before,
#ca-watch a::before {
    content: "★";
    font-size: 18px;
    text-indent: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    position: absolute;
    left: 0;
    top: 0;
}

#ca-unwatch a::before {
    color: #ffcc00;
}

#ca-watch a::before {
    color: #999;
}

/* =============================================
   9. DROPDOWN "MAIS" - Estilo igual às outras abas
   ============================================= */
#p-cactions {
    margin-left: 4px;
    position: relative;
}

#p-cactions:hover,
#p-cactions:focus-within {
    z-index: 3;
}

#p-cactions .vector-menu-heading {
    display: flex !important;
    align-items: center !important;
    height: 34px !important;
    padding: 0 14px !important;
    background: #fff !important;
    border: 1px solid #a7d7f9 !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    margin: 0 !important;
    box-sizing: border-box;
    line-height: 34px !important;
}

#p-cactions .vector-menu-heading span {
    font-size: 14px;
    font-weight: normal;
    color: #0645ad;
    text-transform: none;
    letter-spacing: normal;
}

/* Sem setinha */
#p-cactions .vector-menu-heading::after {
    display: none !important;
}

#p-cactions .vector-menu-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #a7d7f9;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    z-index: 100;
}

#p-cactions .vector-menu-content-list a {
    display: block;
    padding: 8px 14px;
    color: #0645ad;
    text-decoration: none;
}

#p-cactions .vector-menu-content-list a:hover {
    background: #eaf3ff;
}

/* =============================================
   10. ALTURA FIXA DAS ABAS
   ============================================= */
#p-namespaces.vector-menu-tabs .vector-menu-content-list li a,
#p-views.vector-menu-tabs .vector-menu-content-list li.collapsible a {
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
}