Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

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




/* LED COLOR BARS */
/* ===================================================== */
/* ATRONIA - LED TABLE (Real Color Bars)                */
/* ===================================================== */


.led-table .led-cyan { background: #00bcd4 !important; }
/* Garantir que só afeta a tabela LED */
.led-table .led-blue { background: #1565c0 !important; }
.vector-body .mw-body-content table.wikitable.led-table {
.led-table .led-green { background: #00c853 !important; }
    border-collapse: collapse;
.led-table .led-orange{ background: #ff6f00 !important; }
}
.led-table .led-red   { background: #d50000 !important; }
 
/* Barra vertical base */
.vector-body .mw-body-content table.wikitable.led-table td[class^="led-"] {
    width: 18px;
    padding: 0 !important;
    border-right: 1px solid #3a3a3a;
}
 
/* CORES REAIS */
 
.vector-body .mw-body-content table.wikitable.led-table td.led-cyan {
    background: #00bcd4 !important;
}
 
.vector-body .mw-body-content table.wikitable.led-table td.led-blue {
    background: #1565c0 !important;
}
 
.vector-body .mw-body-content table.wikitable.led-table td.led-green {
    background: #00c853 !important;
}
 
.vector-body .mw-body-content table.wikitable.led-table td.led-orange {
    background: #ff6f00 !important;
}
 
.vector-body .mw-body-content table.wikitable.led-table td.led-red {
    background: #d50000 !important;
}

Revision as of 15:13, 20 February 2026

/* ========================================================= */
/* ============== FULL WIDTH (SEM BARRAS LATERAIS) ========== */
/* ========================================================= */

/* Fundo geral branco (remove o “cinza” lateral) */
html, body {
  background: #ffffff !important;
}


/* Header topo a ocupar 100% */
.skin-vector-2022 .mw-header,
.skin-vector-2022 .mw-header-container {
  max-width: none !important;
  width: 100% !important;
}

/* Sticky header (navbar secundária) a ocupar 100% */
.skin-vector-2022 .vector-sticky-header {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Garante que o “miolo” do sticky header também não fica limitado */
.skin-vector-2022 .vector-sticky-header .vector-sticky-header-inner,
.skin-vector-2022 .vector-sticky-header .vector-sticky-header-content {
  max-width: none !important;
  width: 100% !important;
}


/* ========================================================= */
/* SIDEBAR BACKGROUND */
/* ========================================================= */

.skin-vector-2022 .vector-sidebar {
    background-color: #f5f7f6 !important; /* cinza claro elegante */
    padding-top: 20px;
}

/* Opcional — borda separadora */
.skin-vector-2022 .vector-sidebar {
    border-right: 1px solid #e3e3e3 !important;
}


/* ========================================================= */
/* AUMENTAR LARGURA DO LAYOUT (SEM PARTIR ESTRUTURA) */
/* ========================================================= */

.skin-vector-2022 .mw-page-container {
    max-width: 1800px !important;
}

.skin-vector-2022 .mw-header-container {
    max-width: 1800px !important;
}



/* ========================================================= */
/* ================= LOGO CONFIG ============================ */
/* ========================================================= */

.skin-vector-2022 .mw-header-start {
    flex-wrap: nowrap !important;
}

.skin-vector-2022 .mw-logo-icon {
    max-height: 48px !important;
    height: 38px !important;
    max-width: 200px !important;
    width: auto !important;
}

.skin-vector-2022 .mw-logo-wordmark img {
    height: 32px !important;
    width: auto !important;
}


/* ========================================================= */
/* ================= FONT CONFIG ============================ */
/* ========================================================= */

@font-face {
    font-family: 'Wiki Font Title';
    src: url('/resources/assets/Nohemi-VF.ttf') format('truetype');
}

@font-face {
    font-family: 'Wiki Font Subtitle';
    src: url('/resources/assets/Rubik-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Wiki Font Body';
    src: url('/resources/assets/Roboto-Regular.ttf') format('truetype');
}

.mw-body-content {
    font-family: 'Wiki Font Body', sans-serif;
}

.mw-page-title-main {
    font-family: 'Wiki Font Title', sans-serif;
}

.mw-headline {
    font-family: 'Wiki Font Subtitle', sans-serif;
}


/* ========================================================= */
/* ================= HEADER ATRONIA ========================= */
/* ========================================================= */

/* Background */
.skin-vector-2022 .mw-header,
.skin-vector-2022 .vector-sticky-header {
    background-color: #1B2826 !important;
    border-bottom: none !important;
    color: #ffffff !important;
}

/* Links + title */
.skin-vector-2022 .mw-header a,
.skin-vector-2022 .vector-sticky-header a,
.skin-vector-2022 .vector-sticky-header .mw-page-title-main {
    color: #ffffff !important;
}

/* Force ALL header icons to white */
.skin-vector-2022 .mw-header .vector-icon,
.skin-vector-2022 .vector-sticky-header .vector-icon,
.skin-vector-2022 .mw-header .mw-ui-icon,
.skin-vector-2022 .vector-sticky-header .mw-ui-icon {
    background-color: #ffffff !important;
}


/* ========================================================= */
/* ================= DROPDOWN RESET ========================= */
/* ========================================================= */

.skin-vector-2022 .vector-dropdown-content {
    background-color: #ffffff !important;
}

.skin-vector-2022 .vector-dropdown-content a {
    color: #202122 !important;
}


/* ===== CORRIGIR ÍCONES DO DROPDOWN ===== */

.skin-vector-2022 .vector-dropdown-content .vector-icon,
.skin-vector-2022 .vector-dropdown-content .mw-ui-icon {
    background-color: #202122 !important;
    color: #202122 !important;
}


/* ===== FORÇAR COR DA SETA (DROPDOWN ARROW) ===== */

.skin-vector-2022 .mw-header .vector-dropdown-label::after,
.skin-vector-2022 .vector-sticky-header .vector-dropdown-label::after {
    background-color: #ffffff !important;
}




/* ========================================================= */
/* FIX DEFINITIVO DO HOVER DOS ICON BUTTONS (CODEx) */
/* ========================================================= */

.skin-vector-2022 .mw-header .cdx-button:hover,
.skin-vector-2022 .vector-sticky-header .cdx-button:hover {
    mix-blend-mode: normal !important;
    background-color: rgba(146,255,0,0.30) !important; /* ← reduzido */
}

.skin-vector-2022 .mw-header .cdx-button:hover .vector-icon,
.skin-vector-2022 .vector-sticky-header .cdx-button:hover .vector-icon,
.skin-vector-2022 .mw-header .cdx-button:hover .mw-ui-icon,
.skin-vector-2022 .vector-sticky-header .mw-ui-icon {
    background-color: #ffffff !important;
}




/* ========================================================= */
/* HOVER USER DROPDOWN - ATRONIA GREEN */
/* ========================================================= */

.skin-vector-2022 #vector-user-links-dropdown-label:hover,
.skin-vector-2022 #vector-user-links-dropdown-label:focus,
.skin-vector-2022 #vector-user-links-dropdown-label:focus-visible {
    background-color: rgba(146, 255, 0, 0.30) !important;
}

.skin-vector-2022 #vector-user-links-dropdown-label:hover::before,
.skin-vector-2022 #vector-user-links-dropdown-label:focus::before,
.skin-vector-2022 #vector-user-links-dropdown-label:focus-visible::before {
    background-color: rgba(146, 255, 0, 0.30) !important;
    opacity: 1 !important;
}

.skin-vector-2022 #vector-user-links-dropdown.vector-dropdown:hover .vector-dropdown-label,
.skin-vector-2022 #vector-user-links-dropdown.vector-dropdown:hover .vector-dropdown-label::before {
    background-color: rgba(146, 255, 0, 0.30) !important;
}






/* ========================================================= */
/* ================= ATRONIA LINK SYSTEM =================== */
/* ========================================================= */

/* ===== Variáveis globais ===== */

:root {
    --color-progressive: #1B2826 !important;
    --color-progressive--hover: #12201f !important; /* ligeiramente mais escuro */
    --color-visited: #1B2826 !important;
}

/* ========================================================= */
/* ================= LINKS GERAIS =========================== */
/* ========================================================= */

a,
.mw-body-content a,
.mw-parser-output a {
    color: #1B2826 !important;
    text-decoration-color: #1B2826 !important;
}

/* Hover */
a:hover,
.mw-body-content a:hover,
.mw-parser-output a:hover {
    color: #12201f !important;
    text-decoration-color: #12201f !important;
}

/* Visitados */
a:visited,
.mw-body-content a:visited {
    color: #1B2826 !important;
    text-decoration-color: #1B2826 !important;
}

/* Underline styling */
a {
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

/* ========================================================= */
/* ================= TABS (Read / Edit / History) ========= */
/* ========================================================= */

.vector-menu-tabs .vector-menu-item a {
    color: #1B2826 !important;
}

.vector-menu-tabs .vector-menu-item.selected a {
    border-bottom-color: #1B2826 !important;
}

/* ========================================================= */
/* ================= SIDEBAR ================================ */
/* ========================================================= */

.vector-menu-portal .vector-menu-content a {
    color: #1B2826 !important;
}

.vector-menu-portal .vector-menu-content a:hover {
    color: #12201f !important;
}

/* ========================================================= */
/* ================= DROPDOWNS ============================== */
/* ========================================================= */

.vector-dropdown-content a {
    color: #1B2826 !important;
}

.vector-dropdown-content a:hover {
    color: #12201f !important;
}

/* ========================================================= */
/* ================= PARSER OUTPUT ========================== */
/* ========================================================= */

.mw-parser-output a {
    color: #1B2826 !important;
}

.mw-parser-output a:hover {
    color: #12201f !important;
}





/* ========================================================= */
/* ================= OOUI ATRONIA GREEN ==================== */
/* ========================================================= */

/* Botões principais (Save changes) */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background-color: #1B2826 !important;
    border-color: #1B2826 !important;
    color: #ffffff !important;
}

/* Hover botão */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    background-color: #12201f !important;
    border-color: #12201f !important;
}

/* Checkbox e radio selecionados */
.oo-ui-checkboxInputWidget input:checked + span,
.oo-ui-radioInputWidget input:checked + span {
    background-color: #1B2826 !important;
    border-color: #1B2826 !important;
}

/* Hover checkbox/radio */
.oo-ui-checkboxInputWidget input:hover + span,
.oo-ui-radioInputWidget input:hover + span {
    border-color: #1B2826 !important;
}

/* Labels ao lado */
.oo-ui-labelElement-label {
    color: #1B2826 !important;
}

/* Links dentro de forms */
.oo-ui-widget a {
    color: #1B2826 !important;
}


/* ========================================================= */
/* OOUI BOTÕES — HOVER COMPLETO (ATRONIA STYLE) */
/* ========================================================= */

/* Estado normal */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > 
.oo-ui-buttonElement-button {
    background-color: #1B2826 !important;
    border-color: #1B2826 !important;
    color: #ffffff !important;
    transition: all 150ms ease;
}

/* Hover completo (mais claro) */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > 
.oo-ui-buttonElement-button:hover {
    background-color: #2d4d49 !important;
    border-color: #2d4d49 !important;
}

/* ========================================================= */
/* ESCONDER LOGO "Powered by MediaWiki" */
/* ========================================================= */

#footer-poweredbyico {
    display: none !important;
}



/* ========================================================= */
/* CODEx RADIO — ATRONIA (Selecionado mais grosso) */
/* ========================================================= */

/* Estado normal */
.cdx-radio__icon {
    border: 2px solid #1B2826 !important;
    background-color: transparent !important;
}

/* Hover */
.cdx-radio:hover .cdx-radio__icon {
    border-color: #12201f !important;
}

/* Selecionado → mais grosso */
.cdx-radio__input:checked + .cdx-radio__icon {
    border: 6px solid #1B2826 !important;
    background-color: transparent !important;
}

/* Bolinha interna */
.cdx-radio__input:checked + .cdx-radio__icon::after {
    background-color: #1B2826 !important;
    width: 8px !important;
    height: 8px !important;
}


/* ========================================================= */
/* ATRONIA — Ajuste do grid para estilo Teltonika           */
/* ========================================================= */

@media screen and (min-width: 1120px) {

  .skin-vector-2022 .mw-body {

    /* Remove o template default do Vector */
    grid-template-columns:
      minmax(0, 1fr) min-content !important;

  }

}


/* ========================================================= */
/* ATRONIA — Appearance hover verde neon 30%                */
/* ========================================================= */

/* Estado normal (navbar verde escuro sólido) */
#vector-appearance-dropdown .cdx-button {
    background: #1B2826 !important;
    color: #ffffff !important;
}

/* Hover real (input invisível recebe hover) */
#vector-appearance-dropdown 
.vector-dropdown-checkbox:hover 
+ .cdx-button {
    background: rgba(146, 255, 0, 0.30) !important;
    color: #1B2826 !important;
}

/* Estado ativo (dropdown aberto) */
#vector-appearance-dropdown 
.vector-dropdown-checkbox:checked 
+ .cdx-button {
    background: rgba(146, 255, 0, 0.30) !important;
    color: #1B2826 !important;
}




/* ========================================================= */
/* ATRONIA — Sticky header dropdown hover fix               */
/* ========================================================= */

/* Estado normal */
#vector-user-links-dropdown-sticky-header .cdx-button {
    background: #1B2826 !important;
    color: #ffffff !important;
}

/* Hover real (input invisível) */
#vector-user-links-dropdown-sticky-header 
.vector-dropdown-checkbox:hover 
+ .cdx-button {
    background: rgba(146, 255, 0, 0.30) !important;
    color: #1B2826 !important;
}

/* Estado ativo */
#vector-user-links-dropdown-sticky-header 
.vector-dropdown-checkbox:checked 
+ .cdx-button {
    background: rgba(146, 255, 0, 0.30) !important;
    color: #1B2826 !important;
}



/* ========================================================= */
/* ATRONIA — Texto preto na popup "menu has moved"          */
/* ========================================================= */

.vector-popup-notification,
.vector-popup-notification p,
.vector-popup-notification .oo-ui-popupWidget-body {

    color: #000000 !important;
}



/* ========================================================= */
/* ATRONIA — Texto preto no dropdown colapsado Appearance   */
/* ========================================================= */

/* Título "Appearance" */
.vector-pinnable-header-label {
    color: #000000 !important;
}

/* Conteúdo interno do dropdown */
#vector-appearance-dropdown .vector-dropdown-content,
#vector-appearance-dropdown .vector-dropdown-content * {
    color: #000000 !important;
}



/* ========================================================= */
/* ATRONIA — Texto preto nos resultados da pesquisa         */
/* ========================================================= */

.cdx-typeahead-search,
.cdx-menu,
.cdx-menu-item,
.cdx-menu-item__content,
.cdx-menu-item__text,
.cdx-search-result-title,
.cdx-search-result-description {
    color: #000000 !important;
}

/* Garantir também nos links */
.cdx-menu-item__content a {
    color: #000000 !important;
}




/* ========================================================= */
/* ATRONIA — Esconder Width e Color no Appearance           */
/* ========================================================= */

/* Width */
#skin-client-prefs-vector-feature-limited-width {
    display: none !important;
}

/* Color (tema Light/Dark) */
#skin-client-prefs-skin-theme {
    display: none !important;
}



/* ========================================================= */
/* ATRONIA — Forçar texto branco em TODOS os botões OOUI    */
/* ========================================================= */

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > 
.oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled 
.oo-ui-labelElement-label,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled 
.oo-ui-buttonElement-button span,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled 
.oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: #ffffff !important;
}



/* ========================================================= */
/* ATRONIA — Ícones brancos FORÇADOS nos botões OOUI       */
/* ========================================================= */

/* Ícones principais */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled 
.oo-ui-buttonElement-button 
.oo-ui-iconElement-icon {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Indicadores (setas dropdown etc.) */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled 
.oo-ui-indicatorElement-indicator {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}




/* ========================================================= */
/* ATRONIA — Navbar mais alta (mais respiração)             */
/* ========================================================= */

.vector-header-container .mw-header {
    min-height: 72px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* Sticky header também */
.vector-sticky-header {
    min-height: 72px !important;
}

/* Alinhar conteúdo verticalmente */
.vector-header-start,
.vector-header-end {
    align-items: center !important;
}




/* ========================================================= */
/* ATRONIA — Texto branco nos botões da Toolbar OOUI        */
/* ========================================================= */

.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link,
.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-title,
.oo-ui-tool.oo-ui-widget-enabled .oo-ui-labelElement-label {
    color: #ffffff !important;
}



/* ========================================================= */
/* VISUAL EDITOR DROPDOWN — Forçar texto preto              */
/* ========================================================= */

.oo-ui-popupToolGroup-active-tools 
.oo-ui-tool.oo-ui-widget-enabled 
.oo-ui-tool-title,
.oo-ui-popupToolGroup-active-tools 
.oo-ui-tool.oo-ui-widget-enabled 
.oo-ui-labelElement-label {
    color: #000000 !important;
}




/* ===================================================== */
/* ATRONIA - Wikitable ultra compacta centrada           */
/* ===================================================== */

.vector-body .wikitable {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff !important;
    font-size: 13px;
    border: none;
}

/* HEADER */
.vector-body .wikitable th {
    text-align: center;
    vertical-align: middle;
    line-height: 1;
    border-bottom: 2px solid #3a3a3a;
    border-right: 1px solid #3a3a3a;
    background: #ffffff !important;
}


/* CELULAS */ 
.vector-body .wikitable td { 
    text-align: center; 
    vertical-align: middle; 
    line-height: 1; 
    border-bottom: 1px solid #3a3a3a; 
    border-right: 1px solid #3a3a3a; 
    background: #ffffff !important; 
}




/* ===================================================== */
/* ATRONIA - Fix real: conteúdo interno da wikitable     */
/* ===================================================== */

/* aplica a TODAS as wikitables no corpo */
.vector-body .mw-body-content table.wikitable td,
.vector-body .mw-body-content table.wikitable th{
  text-align: center !important;
  vertical-align: middle !important;
  padding: 6px 10px !important;
  line-height: 1.3 !important;
}

/* MUITO importante: o VE coloca <p> dentro das células com margens */
.vector-body .mw-body-content table.wikitable td > p,
.vector-body .mw-body-content table.wikitable th > p{
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* força também spans/links dentro da célula */
.vector-body .mw-body-content table.wikitable td *,
.vector-body .mw-body-content table.wikitable th *{
  text-align: center !important;
}

/* se a 1ª coluna estiver a levar estilo diferente, isto elimina */
.vector-body .mw-body-content table.wikitable td:first-child,
.vector-body .mw-body-content table.wikitable th:first-child{
  text-align: center !important;
}



/* ======================================= */
/* ATRONIA - Tech Table FIX FINAL         */
/* ======================================= */

.vector-body .mw-body-content table.wikitable.tech-table td {
    text-align: left !important;
}

.vector-body .mw-body-content table.wikitable.tech-table th {
    background: #1B2826 !important;
    color: #ffffff !important;
}


/* ===================================================== */
/* ATRONIA - LED TABLE (Real Color Bars)                */
/* ===================================================== */

/* Garantir que só afeta a tabela LED */
.vector-body .mw-body-content table.wikitable.led-table {
    border-collapse: collapse;
}

/* Barra vertical base */
.vector-body .mw-body-content table.wikitable.led-table td[class^="led-"] {
    width: 18px;
    padding: 0 !important;
    border-right: 1px solid #3a3a3a;
}

/* CORES REAIS */

.vector-body .mw-body-content table.wikitable.led-table td.led-cyan {
    background: #00bcd4 !important;
}

.vector-body .mw-body-content table.wikitable.led-table td.led-blue {
    background: #1565c0 !important;
}

.vector-body .mw-body-content table.wikitable.led-table td.led-green {
    background: #00c853 !important;
}

.vector-body .mw-body-content table.wikitable.led-table td.led-orange {
    background: #ff6f00 !important;
}

.vector-body .mw-body-content table.wikitable.led-table td.led-red {
    background: #d50000 !important;
}