Przejdź do zawartości

MediaWiki:Vector-2022.css: Różnice pomiędzy wersjami

Z Horyzont Zdarzeń
Nie podano opisu zmian
Nie podano opisu zmian
Linia 277: Linia 277:
}
}


/* ======== MsCalendar — DARK MODE + ORANGE ACCENTS (Vector-2022) ======== */
/* ===== MsCalendar – wygląd kalendarza na stronie [[Kalendarz]] ===== */


/* Kontener kalendarza */
/* Główna tabela kalendarza – pierwszy duży <table> na stronie Kalendarz */
.skin-vector-2022 .mw-parser-output .mscal-wrapper {
body.page-Kalendarz .mw-parser-output > table:first-of-type {
     background: #1b1b1b !important;
    border-collapse: separate !important;
     padding: 20px !important;
    border-spacing: 4px !important;
     background: #151515 !important;
     padding: 8px !important;
     border-radius: 10px !important;
     border-radius: 10px !important;
    box-shadow: 0 0 20px #0006;
}
}


/* Nagłówek kalendarza (pasek z miesiącem/rokiem, ikonka „Dzisiaj” itp.) */
/* Nagłówki dni tygodnia (PONIEDZIAŁEK, WTOREK, ...) */
.skin-vector-2022 .mw-parser-output .mscal-header {
body.page-Kalendarz .mw-parser-output > table:first-of-type th {
     background: #111 !important;
     background: #111 !important;
     color: #ffcc66 !important;
     color: #ffcc66 !important;
    padding: 12px !important;
    font-size: 18px;
    border-radius: 6px;
     font-weight: bold;
     font-weight: bold;
     border-bottom: 1px solid #333;
    padding: 6px 4px !important;
    text-align: center;
     border: 1px solid #333 !important;
}
}


/* Sama tabela kalendarza */
/* Pojedyncze dni (komórki tabeli) */
.skin-vector-2022 .mw-parser-output table.mscal-calendar {
body.page-Kalendarz .mw-parser-output > table:first-of-type td {
    border-collapse: separate !important;
    border-spacing: 4px !important;
    background: transparent !important;
}
 
/* Pojedynczy dzień */
.skin-vector-2022 .mw-parser-output td.mscal-day {
     background: #222 !important;
     background: #222 !important;
     color: #ddd !important;
     color: #dddddd !important;
     border: 1px solid #333 !important;
     border: 1px solid #333 !important;
     border-radius: 6px !important;
     border-radius: 6px !important;
     padding: 10px !important;
     padding: 8px 6px !important;
     transition: all 0.15s ease;
    vertical-align: top;
    min-width: 60px;
    height: 70px;
     transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
}


/* Dzień – hover */
/* Hover dnia */
.skin-vector-2022 .mw-parser-output td.mscal-day:hover {
body.page-Kalendarz .mw-parser-output > table:first-of-type td:hover {
     background: #2d2d2d !important;
     background: #2d2d2d !important;
     border-color: #ffcc66 !important;
     border-color: #ffcc66 !important;
    box-shadow: 0 0 8px #ffcc6630;
     cursor: pointer;
     cursor: pointer;
}
}


/* Dzisiejszy dzień */
/* Dzisiejszy dzień – MsCalendar zwykle daje mu zielone tło inline,
.skin-vector-2022 .mw-parser-output td.mscal-day.mscal-today {
  więc łapiemy każdą komórkę z backgroundem i nadpisujemy na pomarańczowe */
body.page-Kalendarz .mw-parser-output > table:first-of-type td[style*="background"] {
     background: #ff9f1a !important;
     background: #ff9f1a !important;
     color: #000 !important;
     color: #000000 !important;
     font-weight: bold !important;
     font-weight: bold !important;
     border: 1px solid #ffaa33 !important;
     border-color: #ffaa33 !important;
     box-shadow: 0 0 10px #ff9f1a70;
     box-shadow: 0 0 10px #ff9f1a70;
}
}


/* Plusik do dodawania eventów */
/* Linki w kalendarzu (plusy, nazwy wydarzeń) */
.skin-vector-2022 .mw-parser-output .mscal-add {
body.page-Kalendarz .mw-parser-output > table:first-of-type a {
     color: #ffcc66 !important;
     color: #ffcc66 !important;
     font-size: 22px !important;
     text-decoration: none;
     font-weight: bold;
     font-weight: 600;
    transition: 0.15s ease;
}
}


.skin-vector-2022 .mw-parser-output .mscal-add:hover {
body.page-Kalendarz .mw-parser-output > table:first-of-type a:hover {
     color: #ffe6a3 !important;
     color: #ffe6a3 !important;
    text-shadow: 0 0 6px #ffcc66aa;
}
}


/* Wpisane wydarzenie (tekst w komórce) */
/* Plusy – trochę większe i bardziej „pomarańczowe” */
.skin-vector-2022 .mw-parser-output .mscal-entry {
body.page-Kalendarz .mw-parser-output > table:first-of-type a[href*="action=msevent"],
    background: #333 !important;
body.page-Kalendarz .mw-parser-output > table:first-of-type a:contains("+") {
    color: #ffcc66 !important;
     font-size: 18px;
    padding: 4px 6px !important;
    border-radius: 4px !important;
     margin-top: 4px;
    border: 1px solid #444 !important;
}
}


/* Okienko tworzenia / edycji wydarzeń */
/* Wpisane wydarzenia – małe „pigułki” w komórce */
.skin-vector-2022 .ui-dialog {
body.page-Kalendarz .mw-parser-output > table:first-of-type span,
     background: #232323 !important;
body.page-Kalendarz .mw-parser-output > table:first-of-type div {
    border: 1px solid #444 !important;
     /* delikatne podbicie czytelności, bez demolowania układu */
     border-radius: 10px !important;
     line-height: 1.2;
    color: #eee !important;
}
}


.skin-vector-2022 .ui-dialog-titlebar {
/* ===== MsCalendar – okienko dodawania/edycji wydarzeń ===== */
    background: #111 !important;
    border-bottom: 1px solid #444 !important;
}
 
.skin-vector-2022 .ui-dialog-title {
    color: #ffcc66 !important;
}
 
/* Pola w formularzu pop-up */
.skin-vector-2022 .ui-dialog input,
.skin-vector-2022 .ui-dialog select,
.skin-vector-2022 .ui-dialog textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #888 !important;
}
 
/* Przyciski w pop-upie */
.skin-vector-2022 .ui-dialog-buttonset button {
    background: #ffcc66 !important;
    border: none !important;
    color: #1b1b1b !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.15s;
}
 
.skin-vector-2022 .ui-dialog-buttonset button:hover {
    background: #e6b800 !important;
}
 
/* ===== MsCalendar – dialog wydarzenia (ciemny, czytelny) ===== */


/* Przyciemnione tło za oknem */
/* Przyciemnione tło za oknem */
.ui-widget-overlay {
.ui-widget-overlay {
     background: #000 !important;
     background: #000000 !important;
     opacity: 0.7 !important;
     opacity: 0.75 !important;
}
}


Linia 422: Linia 380:
}
}


/* Tekst/etykiety wewnątrz okna */
/* Treść i etykiety */
.ui-dialog .ui-dialog-content,
.ui-dialog .ui-dialog-content,
.ui-dialog label {
.ui-dialog label {
Linia 439: Linia 397:
}
}


/* Przycisk „Potwierdź / Anuluj” */
/* Przyciski w pop-upie */
.ui-dialog-buttonset button {
.ui-dialog-buttonset button {
     background: #ffcc66 !important;
     background: #ffcc66 !important;

Wersja z 17:48, 27 lis 2025

/* === Styl DarkVector dla Vector 2022 === */

/* --- Tło i tekst --- */
.skin-vector-2022,
.skin-vector-2022 body {
    background-color: #2b2b2b !important;
    color: #cccccc !important;
}

/* --- Linki --- */
.skin-vector-2022 a {
    color: #ffcc66 !important;
}

.skin-vector-2022 a:visited {
    color: #d4aa00 !important;
}

.skin-vector-2022 a.new {
    color: #ff6666 !important;
}

/* --- Sidebar (lewe menu) --- */
.skin-vector-2022 .mw-sidebar {
    background-color: #1a1a1a !important;
    border-right: none !important;
}

/* --- Nagłówek --- */
.skin-vector-2022 .mw-header,
.skin-vector-2022 #mw-head {
    background-color: #1a1a1a !important;
    color: #cccccc !important;
}

/* --- Pasek wyszukiwania --- */
.skin-vector-2022 .vector-search-box,
.skin-vector-2022 .vector-search-box input {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* --- Footer --- */
.skin-vector-2022 .mw-footer {
    background-color: #1a1a1a !important;
    color: #cccccc !important;
}

/* --- Pola edycji i formularze --- */
.skin-vector-2022 input,
.skin-vector-2022 textarea,
.skin-vector-2022 select {
    background-color: #333333 !important;
    color: #ffffff !important;
    border: 1px solid #555555;
}

/* --- Nagłówki --- */
.skin-vector-2022 h1, 
.skin-vector-2022 h2, 
.skin-vector-2022 h3, 
.skin-vector-2022 h4 {
    color: #ffcc66 !important;
}

/* --- Pasek narzędzi użytkownika --- */
.skin-vector-2022 .vector-user-links {
    background-color: #1a1a1a !important;
}

/* --- Pasek zakładek artykułu --- */
.skin-vector-2022 .vector-page-toolbar {
    background-color: #1a1a1a !important;
}

/* --- Bloki komunikatów --- */
.skin-vector-2022 .mw-message-box {
    background-color: #333333 !important;
    border: 1px solid #555555;
    color: #ffffff !important;
}

/* === Stylizacja przycisków === */

/* --- Główne przyciski --- */
.skin-vector-2022 .mw-ui-button,
.skin-vector-2022 .oo-ui-buttonElement-button {
    background-color: #ffcc66 !important;
    color: #2b2b2b !important;
    border: none !important;
    box-shadow: none !important;
}

/* --- Efekt najechania kursorem --- */
.skin-vector-2022 .mw-ui-button:hover,
.skin-vector-2022 .oo-ui-buttonElement-button:hover {
    background-color: #e6b800 !important;
    color: #000000 !important;
}

/* --- Przycisk "Zapisz stronę" --- */
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button {
    background-color: #ffcc66 !important;
    color: #2b2b2b !important;
}

/* --- Efekt najechania na "Zapisz stronę" --- */
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover {
    background-color: #e6b800 !important;
    color: #000000 !important;
}

/* === Styl WikiEditor (pasek narzędzi edytora) === */
.skin-vector-2022 .mw-edittoolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar .tabs,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections,
.skin-vector-2022 .wikiEditor-ui-toolbar .group {
    background-color: #1b1b1b !important;
    border: none !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .group input,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool-select {
    background-color: #2b2b2b !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tool {
    background-color: #2b2b2b !important;
    color: #e0e0e0 !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tool:hover,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:focus {
    background-color: #3a3a3a !important;
    color: #ffffff !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tabs span,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections span {
    color: #cccccc !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tool img {
    filter: brightness(0.8) invert(0.9);
}

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 40px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at center, #ffcc66, #e6b800);
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 204, 102, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: bottom 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

#scrollTopBtn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 204, 102, 0.8);
    opacity: 1;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.card {
    width: 180px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;

    --neon: #00ff99; /* domyślny kolor jeśli user nie poda */
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border: 2px solid var(--neon);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--neon);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--neon), 0 0 30px var(--neon);
}

.card-label {
    margin-top: 8px;
}


.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin: 30px 0;
}

.nav-tile img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 8px #00ff99;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-tile img:hover {
  transform: scale(1.07);
  box-shadow: 0 0 15px #00ff99;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.portal-tile {
  --neon: var(--user-neon, #00ff99);
  border: 2px solid var(--neon);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px var(--neon);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--neon), 0 0 30px var(--neon);
}

.portal-tile img {
  width: 100%;
  height: auto;
  display: block;
}


/* Usuń tło i obramowania z obrazków PNG */
.skin-vector-2022 img[src$=".png"],
.skin-vector-2022 .mw-parser-output img[src$=".png"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== MsCalendar – wygląd kalendarza na stronie [[Kalendarz]] ===== */

/* Główna tabela kalendarza – pierwszy duży <table> na stronie Kalendarz */
body.page-Kalendarz .mw-parser-output > table:first-of-type {
    border-collapse: separate !important;
    border-spacing: 4px !important;
    background: #151515 !important;
    padding: 8px !important;
    border-radius: 10px !important;
}

/* Nagłówki dni tygodnia (PONIEDZIAŁEK, WTOREK, ...) */
body.page-Kalendarz .mw-parser-output > table:first-of-type th {
    background: #111 !important;
    color: #ffcc66 !important;
    font-weight: bold;
    padding: 6px 4px !important;
    text-align: center;
    border: 1px solid #333 !important;
}

/* Pojedyncze dni (komórki tabeli) */
body.page-Kalendarz .mw-parser-output > table:first-of-type td {
    background: #222 !important;
    color: #dddddd !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 8px 6px !important;
    vertical-align: top;
    min-width: 60px;
    height: 70px;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Hover dnia */
body.page-Kalendarz .mw-parser-output > table:first-of-type td:hover {
    background: #2d2d2d !important;
    border-color: #ffcc66 !important;
    box-shadow: 0 0 8px #ffcc6630;
    cursor: pointer;
}

/* Dzisiejszy dzień – MsCalendar zwykle daje mu zielone tło inline,
   więc łapiemy każdą komórkę z backgroundem i nadpisujemy na pomarańczowe */
body.page-Kalendarz .mw-parser-output > table:first-of-type td[style*="background"] {
    background: #ff9f1a !important;
    color: #000000 !important;
    font-weight: bold !important;
    border-color: #ffaa33 !important;
    box-shadow: 0 0 10px #ff9f1a70;
}

/* Linki w kalendarzu (plusy, nazwy wydarzeń) */
body.page-Kalendarz .mw-parser-output > table:first-of-type a {
    color: #ffcc66 !important;
    text-decoration: none;
    font-weight: 600;
}

body.page-Kalendarz .mw-parser-output > table:first-of-type a:hover {
    color: #ffe6a3 !important;
}

/* Plusy – trochę większe i bardziej „pomarańczowe” */
body.page-Kalendarz .mw-parser-output > table:first-of-type a[href*="action=msevent"],
body.page-Kalendarz .mw-parser-output > table:first-of-type a:contains("+") {
    font-size: 18px;
}

/* Wpisane wydarzenia – małe „pigułki” w komórce */
body.page-Kalendarz .mw-parser-output > table:first-of-type span,
body.page-Kalendarz .mw-parser-output > table:first-of-type div {
    /* delikatne podbicie czytelności, bez demolowania układu */
    line-height: 1.2;
}

/* ===== MsCalendar – okienko dodawania/edycji wydarzeń ===== */

/* Przyciemnione tło za oknem */
.ui-widget-overlay {
    background: #000000 !important;
    opacity: 0.75 !important;
}

/* Okno dialogowe */
.ui-dialog {
    background: #232323 !important;
    border: 1px solid #444 !important;
    border-radius: 10px !important;
    color: #f0f0f0 !important;
}

/* Pasek tytułu */
.ui-dialog-titlebar {
    background: #111 !important;
    border-bottom: 1px solid #444 !important;
}

.ui-dialog-title {
    color: #ffcc66 !important;
    font-weight: bold;
}

/* Treść i etykiety */
.ui-dialog .ui-dialog-content,
.ui-dialog label {
    color: #f0f0f0 !important;
    font-size: 14px;
}

/* Pola formularza */
.ui-dialog input,
.ui-dialog select,
.ui-dialog textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #888 !important;
    padding: 3px 6px;
}

/* Przyciski w pop-upie */
.ui-dialog-buttonset button {
    background: #ffcc66 !important;
    border: none !important;
    color: #1b1b1b !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.15s ease;
}

.ui-dialog-buttonset button:hover {
    background: #e6b800 !important;
}