Common.css: Porovnání verzí

Z Wiki JU
Ofara (diskuse | příspěvky)
Bez shrnutí editace
Ofara (diskuse | příspěvky)
Bez shrnutí editace
Řádek 700: Řádek 700:
}
}
.mfa-wizard .mfa-krok-poradi { color: #54595d; }
.mfa-wizard .mfa-krok-poradi { color: #54595d; }
.mfa-wizard .mfa-krok-nav span a + a { margin-left: 0.5em; }


/* v režimu krok po kroku zůstává spodní lišta (Zpět na výběr metody / Začít znovu) vždy dole na obrazovce */
/* v režimu krok po kroku zůstává spodní lišta (Zpět na výběr metody / Začít znovu) vždy dole na obrazovce */
Řádek 735: Řádek 736:
.mfa-wizard .mfa-step { display: block; }
.mfa-wizard .mfa-step { display: block; }
}
}





Verze z 8. 10. 2026, 10:29

/* Zde uvedené CSS bude ovlivňovat všechny vzhledy */
#ca-talk {
    display: none !important;
}
#ca-viewsource { display: none !important; }
#ca-history {
    display: none;
}

/*
.cdx-button {
display: none !important;
}*/

#mw-category-media {display: none ;}

/*obsah v div s .noautonum nebude číslován https://www.mediawiki.org/wiki/Manual:Table_of_contents - sekce auto-numbering*/
.noautonum .tocnumber { display: none; }
/*pozadí hlavičky*/
#mw-header-container, #mw-header-nav-hack {
    background: #e00034;
    color: #ffffff;
}

/*font a barva v hlavičce*/
#p-logo-text a, #personal h2 {
    color: #ffffff;
    font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;   
}

/*pruh s barvami pod hlavičkou*/
.color-middle, .color-left, .color-right {
    background: #e00034;
}

/*Podtržení u typu stránky*/
.tools-inline li.selected {
    border-bottom-color: #e00034;
}

/*patička pruh*/
#mw-content-container {
    background: #eaecf0;
    border-bottom: solid 4px #e00034;
}
#mw-footer-container.mw-footer-container.ts-container ul li {font-size: 13px;}

/*Skrýt Powered by - patička*/
#footer-poweredbyico { display: none; }
#footer-places { display: none; }
.mw-footer-container {
    background: #a30328;
}

#mw-footer-container.ts-container {
	box-shadow: none;
	border: none;
	background: #a30328;
	display: inline-block;
	width: 100%;
}


h1.firstHeading,
h1.firstHeading span,
.mw-page-title-main,
.mw-body h1 {
  text-transform: uppercase;
  border-bottom: solid 2px lightgray;
  font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
  font-size: 1.4em;
  font-weight: 500;
  border-bottom:none !important;
}

.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5 {
  text-transform: uppercase;
  border-bottom: solid 2px lightgray;
  font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
  font-weight: 500;
}

.mw-editsection {
    margin-left: 1em;
    text-transform: uppercase;
}

/*
#personal h2 {
    background-image: url(/var/www/html/images/control_images/user-white.svg);
}
#personal h2:after {
    background-image: url(/var/www/html/images/control_images/arrow-down-white.svg);
}
#site-tools h2 {
    background-image: url(/var/www/html/images/control_images/gear-large-white.svg);
}

#user-tools h2:after, .sidebar-chunk h2:after {
    background-image: url(/var/www/html/images/control_images/arrow-down-white.svg);
}

#site-navigation h2 {
    background-image: url(/var/www/html/images/control_images/menu-large-white.svg);
}
*/

#user-tools h2 span {
    text-transform: uppercase;}

/*GALERIE - slideshow*/
.mw-gallery-slideshow .gallerycarousel {
    display: block;
    text-align: center;
    width: 60%;
}

.mw-gallery-slideshow-caption .gallerytext {
    font-weight: bold;
}

ul.gallery.gallery.gallery.mw-gallery-slideshow {
    display: block;
    margin: 1em 0;
    border: solid 1px black;
    background-color: #d3d3d314
}

.mw-gallery-slideshow .gallerycarousel {
    display: block;
    text-align: center;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}


@media only screen and (max-width: 780px) {
/*GALERIE - slideshow*/
.mw-gallery-slideshow .gallerycarousel {
    display: block;
    text-align: center;
    width: auto;
    height: auto;
}


.mw-gallery-slideshow-caption .gallerytext {
    font-weight: normal;
}


ul.gallery.gallery.gallery.mw-gallery-slideshow {
    display: block;
    margin: 1em 0;
    border: solid 1px black;
    background-color: #d3d3d314
}

.mw-gallery-slideshow .gallerycarousel {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

oo-ui-icon-imageGallery {
    border: solid 1px black;
    background-color: white;
}
  }

#n-Wiki-in-English {
    text-indent: 1.8em;
    background-size: 1.5em;
    background-repeat: no-repeat;
    background-image: url("https://wiki.jcu.cz/images/2/24/United-kingdom_30.png");
}

div#zalohovani_exchange {
    padding-left: 9em;
    background-image: url("https://wiki.jcu.cz/images/4/46/Outlook-logo.svg");
    background-repeat: no-repeat;
    background-size: 6em;
    background-position: 1em 0em;
    min-height: 8em;
}

div#zalohovani_onedrive {
    padding-left: 9em;
    background-image: url(https://wiki.jcu.cz/images/5/5b/Onedrive-logo.svg);
    background-repeat: no-repeat;
    background-size: 7em;
    min-height: 8em;
    background-position: 0.8em 0.5em;
}

div#zalohovani_teams {
    padding-left: 9em;
    background-image: url(https://wiki.jcu.cz/images/b/b8/Msteams-logo.svg);
    background-repeat: no-repeat;
    background-size: 6em;
    min-height: 8em;
    background-position: 1em 0em;
}

div#zalohovani_sharepoint {
    padding-left: 9em;
    background-image: url(https://wiki.jcu.cz/images/9/96/Sharepoint-logo.svg);
    background-repeat: no-repeat;
    background-size: 6em;
    min-height: 8em;
    background-position: 1em 0em;
}

div#lada_style h3 {
    text-transform: none !important;
}

body.page-Microsoft_365_Outlook_Nastavení_pravidla_pro_přijaté_zprávy span.zvyrazneni {
    background-color: #ffcc33;
    padding: 0.5em;
    border-radius: 0.5em;
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
    font-weight: bold;
}

a.articleFeedbackv5-tooltip-trigger {
    display: none !important;
}

.articleFeedbackv5-confirmation-panel {
    display: none !important;
}

li#t-articlefeedbackv5-view {
    display: none;
}

.articlefeedbackv5-help-transparency-terms{
display:none !important;
}

li#pt-createaccount {
display:none !important; 
}

/* Styly pro tlačítko Odeslat názor – bez změny display */
.articleFeedbackv5-submit.ui-button {
  /* NEZASAHUJEME do display! Necháme to na JS */
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  line-height: normal !important;
  padding: 0 16px !important;
  font-weight: bold !important;
  font-size: 1em;
  background: #0052cc !important;
  color: white !important;
  border: 1px solid #003d99 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Zůstane skryté, pokud má inline display: none nebo opacity */
.articleFeedbackv5-submit[style*="display: none"],
.articleFeedbackv5-submit[style*="opacity: 0"] {
  visibility: hidden;
}
/* Styl pro tlačítka Ano a Ne – vyšší, pohodlnější */
.articleFeedbackv5-button-placeholder.ui-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 20px !important;  /* VÝŠKA: 10px nahoru/dolů */
  font-weight: bold !important;
  font-size: 1em;
  background: #0052cc !important;
  color: white !important;
  border: 1px solid #003d99 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  margin-right: 8px; /* rozestup mezi tlačítky */
  line-height: 1.2 !important;
  white-space: nowrap !important;
}


/* Hover efekt */
.articleFeedbackv5-button-placeholder.ui-button:hover {
  background: #003d99 !important;
}

.articleFeedbackv5-panel .articleFeedbackv5-title {
    float: left;
    border: none;
    font-weight: bold;
    font-size: 1.3em;
    font-family: inherit !important;
}

.articleFeedbackv5-ui .instructions-left {
    float: left;
    margin: 0 15px 0 0;
    font-size: 1.0em;
    font-family: inherit !important;
}

.articleFeedbackv5-note {
  margin: 6px 0 14px 0; /* horní, pravá, dolní, levá */
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}
.articleFeedbackv5-note a {
  text-decoration: underline;
}

.tools-inline div, .tools-inline div, .tools-inline ul, .tools-inline ul, .tools-inline li, .tools-inline li {
    list-style: none;
    display: inline-flex;
    margin: 0.3em;
    padding: 0;
}

.custom-yellow-button {
  display: inline-block;
  background-color: #ffcc00;   /* žluté pozadí */
  color: #000;                 /* černý text */
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid #ffffff;   /* tmavší žlutý rámeček */
  border-radius: 0px;
  text-decoration: none;
  cursor: pointer;
  margin: 5px 0px;
}

.custom-yellow-button:hover {
  background-color: #ffdb4d;   /* světlejší žlutá při hoveru */
  border-color: #b38600;
  text-decoration: none;
  color: #000;
  border: 1px solid #cc9900;   /* tmavší žlutý rámeček */
}

/* FAQ minimalistické */
.faq-item {
  margin: 6px 0;
  font-size: 90%;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.faq-item summary {
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
  background: #f9f9f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.faq-item[open] summary {
  border-radius: 6px 6px 0 0;
}

.faq-answer {
  padding: 6px 10px;
  border-top: 1px solid #ddd;
  background: #fafafa;
  border-radius: 0 0 6px 6px;
  font-size: 90%;
}

/* Šipky */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .arrow-down { display: none; }
.faq-item:not([open]) .arrow-up { display: none; }
.faq-arrow { margin-left: auto; font-size: 85%; }



/* Vyhledávání */

/* MediaWiki Special:Search - Custom Styling
   Timeless skin, MediaWiki 1.43.0 */

/* ══════════════════════════════════════════════════════════════
   SKRYTÍ PROFILOVÝCH ZÁLOŽEK
   ══════════════════════════════════════════════════════════════ */

body.mw-special-Search .mw-search-profile-tabs {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   FLEXBOX LAYOUT PRO CHECKBOXY (chip style)
   ══════════════════════════════════════════════════════════════ */

body.mw-special-Search #mw-searchoptions .checkbox-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 10px;
}

/* Jednotlivé položky (chip design) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f0f0f0;
  transition: background 0.2s ease;
  flex: 0 0 auto !important;
}

body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout:hover {
  background: #e0e0e0;
}

/* ══════════════════════════════════════════════════════════════
   PŘEUSPOŘÁDÁNÍ: CHECKBOX → TEXT
   ══════════════════════════════════════════════════════════════ */

body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout-body {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

/* Checkbox (vlevo) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout-field {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  height: 20px;
  margin: 0 !important;
}

/* Text (vpravo) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout-header {
  order: 2;
  display: flex;
  align-items: center;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   TEXT ŠTÍTKU
   ══════════════════════════════════════════════════════════════ */

body.mw-special-Search #mw-searchoptions .oo-ui-labelElement-label {
  display: inline-block;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  line-height: 1.4;
  font-size: 14px;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   SKRÝT NEŽÁDOUCÍ PRVKY
   ══════════════════════════════════════════════════════════════ */

/* Toggle buttony (Všechno/Nic) */
body.mw-special-Search #mw-search-togglebox {
  display: none !important;
}

/* Zapamatovat si výběr (pokud existuje) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout:has(#mw-search-powersearch-remember) {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVITA
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  body.mw-special-Search #mw-searchoptions .checkbox-container {
    gap: 8px 12px;
  }
  
  body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout {
    padding: 3px 8px;
  }
  
  body.mw-special-Search #mw-searchoptions .oo-ui-labelElement-label {
    font-size: 13px;
  }
}

.circle-letter {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background-color: red;
  color: white;
  font-weight: bold;
  text-align: center;
}

.sdtable tr:not(:first-child):hover > th,
.sdtable tr:not(:first-child):hover > td {
  background: #f0edee !important;
}



/* =========================================================
   FAQ accordion
   ========================================================= */

table.faq-accordion {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-collapse: collapse;
    background: #fff;
    margin: 0 0 6px 0 !important;
}

.faq-accordion-header {
    background: #f7f7f7;
    color: #222;
    padding: 8px 12px !important;
    text-align: left;
    font-size: 100%;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.35;
}

.faq-accordion-header:hover {
    background: #eeeeee;
}

.faq-accordion-header:focus {
    outline: 2px solid #777;
    outline-offset: -2px;
}

.faq-accordion-content {
    padding: 10px 12px !important;
    background: #fff;
    line-height: 1.5;
}

.faq-accordion .mw-collapsible-toggle {
    font-size: 90%;
    margin-left: 12px;
}


/* =========================================================
   Prázdné řádky mezi FAQ
   ========================================================= */

.faq-empty-spacer {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}


/* =========================================================
   Skryté nadpisy pro obsah stránky
   FAQ začíná až od druhé úrovně obsahu
   ========================================================= */

h3:has(.faq-toc-marker),
h4:has(.faq-toc-marker),
h5:has(.faq-toc-marker),
h6:has(.faq-toc-marker) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/*
 * Novější MediaWiki může vytvořit kolem nadpisu
 * ještě obal .mw-heading.
 */
.mw-heading:has(.faq-toc-marker) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}







/* ===== MFA průvodce – vložit na konec MediaWiki:Common.css ===== */
/* Logika: všechny kroky skryté, zobrazí se jen ten, na který míří #kotva (:target).
   Pokud žádný krok není cílem, zobrazí se úvodní krok #mfa-start. */
.mfa-wizard .mfa-step { display: none; scroll-margin-top: 1em; }
/* odskok kotvy: o kolik px/em pod horním okrajem okna se po kliknutí na krok zastaví začátek karty
   (větší číslo = karta níže, nad ní zůstane víc obsahu; 100vh = vždy začátek stránky) */
.mfa-wizard .mfa-krok { scroll-margin-top: 1em; }
.mfa-wizard .mfa-step:target { display: block; }
/* režim "krok po kroku": cílem je jeden krok uvnitř návodu -> zobraz nadřazený návod, ale jen tento krok */
.mfa-wizard .mfa-step:has(.mfa-krok:target) { display: block; }
.mfa-wizard .mfa-step:has(.mfa-krok:target) .mfa-krok:not(:target) { display: none; }
.mfa-wizard:not(:has(.mfa-step:target, .mfa-krok:target)) #mfa-start { display: block; }

.mfa-wizard .mfa-step { padding: 0.5em 0; }
.mfa-wizard .mfa-question { font-size: 1.3em; font-weight: bold; margin-bottom: 0.7em; }
.mfa-wizard .mfa-crumb { color: #54595d; font-size: 0.9em; margin-bottom: 0.4em; }

/* velká klikací tlačítka-volby */
.mfa-wizard .mfa-choice { margin: 0.5em 0; max-width: 40em; }
.mfa-wizard .mfa-choice a {
	display: block;
	padding: 0.8em 1em;
	border: 1px solid #a2a9b1;
	border-radius: 6px;
	background: #f8f9fa;
	text-decoration: none;
	line-height: 1.4;
}
.mfa-wizard .mfa-choice a:hover { background: #eaf3ff; border-color: #36c; }
.mfa-wizard .mfa-choice small { color: #54595d; }

/* kroky obrázkového návodu ({{MFA/Krok}}): karta s číslem, textem a velkým obrázkem */
.mfa-wizard .mfa-krok {
	margin: 1em auto;            /* vystředění karty */
	padding: 0.8em 1em 1em;
	border: 1px solid #c8ccd1;
	border-radius: 6px;
	background: #fff;
	width: 100%;                 /* všechny karty stejně široké, bez ohledu na rozměr obrázku */
	max-width: 50em;
	box-sizing: border-box;
}
.mfa-wizard .mfa-krok-text { display: flex; align-items: flex-start; gap: 0.7em; margin-bottom: 0.7em; }
.mfa-wizard .mfa-krok-cislo {
	flex: 0 0 auto;
	min-width: 1.8em;
	height: 1.8em;
	line-height: 1.8em;
	border-radius: 50%;
	background: #36c;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.mfa-wizard .mfa-krok-popis { font-size: 1.05em; line-height: 1.5; padding-top: 0.15em; }
.mfa-wizard .mfa-krok-obr { text-align: center; background: #f8f9fa; border: 1px solid #eaecf0; border-radius: 4px; padding: 1em; }
/* obrázek se zmenší, aby se karta (i vysoký screen z telefonu) vešla na obrazovku; poměr stran zůstává */
.mfa-wizard .mfa-krok-obr img { max-width: 100%; max-height: 65vh; width: auto; height: auto; }

/* přepínač režimu: celý návod x krok po kroku */
.mfa-wizard .mfa-mode { margin: 0 0 1em; }
.mfa-wizard .mfa-to-single, .mfa-wizard .mfa-to-all { display: none; }
.mfa-wizard .mfa-step:target .mfa-to-single { display: inline-block; }
.mfa-wizard .mfa-step:has(.mfa-krok:target) .mfa-to-all { display: inline-block; }

/* navigace uvnitř kroku (Předchozí / Další) – jen v režimu krok po kroku */
.mfa-wizard .mfa-krok-nav { display: none; }
.mfa-wizard .mfa-krok:target .mfa-krok-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-top: 1em;
	padding-top: 0.8em;
	border-top: 1px solid #eaecf0;
}
.mfa-wizard .mfa-krok-poradi { color: #54595d; }
.mfa-wizard .mfa-krok-nav span a + a { margin-left: 0.5em; }

/* v režimu krok po kroku zůstává spodní lišta (Zpět na výběr metody / Začít znovu) vždy dole na obrazovce */
.mfa-wizard .mfa-step:has(.mfa-krok:target) > .mfa-nav {
	position: sticky;
	bottom: 0;
	z-index: 2;
	margin-top: 1em;
	padding: 0.6em 0;
	background: rgba(255, 255, 255, 0.96);
}

/* navigace Zpět / Začít znovu jako tlačítka (nahoře i dole) */
.mfa-wizard .mfa-nav { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 1.5em 0 0; padding-top: 0.8em; border-top: 1px solid #c8ccd1; }
.mfa-wizard .mfa-nav-top { margin: 0.3em 0 1em; padding-top: 0; border-top: 0; }
.mfa-wizard .mfa-nav span a,
.mfa-wizard .mfa-mode a,
.mfa-wizard .mfa-krok-nav a {
	display: inline-block;
	padding: 0.45em 1em;
	border: 1px solid #a2a9b1;
	border-radius: 6px;
	background: #f8f9fa;
	text-decoration: none;
	font-weight: bold;
	white-space: nowrap;
}
.mfa-wizard .mfa-nav span a:hover,
.mfa-wizard .mfa-mode a:hover,
.mfa-wizard .mfa-krok-nav a:hover { background: #eaf3ff; border-color: #36c; }
.mfa-wizard .mfa-hint { color: #54595d; font-size: 0.9em; margin-top: 1em; }

/* bez podpory :has() (starší prohlížeče) ukaž všechno, ať se nic neztratí */
@supports not selector(:has(*)) {
	.mfa-wizard .mfa-step { display: block; }
}






__NOCACHE__