Diferencia entre revisiones de «MediaWiki:Citizen.css»
Página de la interfaz de MediaWiki
Más acciones
Sin resumen de edición Etiquetas: mobile web edit mobile edit |
Sin resumen de edición Etiquetas: mobile web edit mobile edit |
||
| Línea 174: | Línea 174: | ||
.citizen-notifications__footer .citizen-notifications__see-all:hover { | .citizen-notifications__footer .citizen-notifications__see-all:hover { | ||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | |||
/*PERSONAL PANEL*/ | |||
/* Fondo del botón Salir */ | |||
#pt-logout a, | |||
#pt-logout a:link, | |||
#pt-logout a:visited { | |||
background-color: #f10030 !important; | |||
border-radius: 8px; | |||
transition: background-color .2s ease; | |||
} | |||
/* Hover del botón Salir */ | |||
#pt-logout a:hover, | |||
#pt-logout a:focus { | |||
background-color: #017ff0 !important; | |||
} | } | ||
Revisión del 22:47 27 jul 2026
/*HEADER*/
.citizen-header {
background-color: #f10030;
}
/* Botones del header en blanco */
.citizen-header .cdx-button {
color: #fff !important;
}
/* Excepción con el primer ícono */
.citizen-header .mw-logo .mw-ui-icon-home {
opacity: 0;
}
/* Mostrar la casita al pasar el mouse, si sacás esto ya no funciona bien la animación!!! */
.citizen-header .mw-logo:hover .mw-ui-icon-home {
opacity: 1;
}
/* Fondo de iconos */
.citizen-header .cdx-button:hover,
.citizen-header .cdx-button:focus,
.citizen-header .cdx-button:active {
background-color: #017ff0 !important;
}
/*FOOTER*/
/* Esto es para ocultar el ícono y el texto */
.citizen-footer .mw-logo-icon,
.citizen-footer .mw-logo-wordmark {
display: none;
}
/* Y esto para poner el logo del footer */
.citizen-footer__sitetitle::before {
content: "";
display: block;
width: 180px;
height: 48px;
background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") no-repeat center;
background-size: contain;
}
/*DRAWER HEADER*/
/* Esto es para ocultar el logo original y el texto */
.citizen-drawer__logo .mw-logo-icon,
.citizen-drawer__siteinfo .mw-logo-wordmark {
display: none;
}
/* Centrar el contenido del header */
.citizen-drawer__header {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
/* Para poner el logo del footer */
.citizen-drawer__logo::before {
content: "";
display: block;
width: 220px;
height: 80px;
background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") center center no-repeat;
background-size: contain;
}
/* Sacar el espacio que deja la imagen oculta */
.citizen-drawer__logo {
width: 220px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
}
/* Centrar los cuatro iconos debajo del logo */
.citizen-siteStats {
display: flex;
justify-content: center;
gap: 1.25rem;
margin-top: 1rem;
}
/* Centrar todo el bloque */
.citizen-drawer__siteinfo {
display: flex;
flex-direction: column;
align-items: center;
}
/* Esto es para minimizar el espacio entre el logo y los iconos */
.citizen-drawer__siteinfo {
gap: 0 !important;
}
.citizen-siteStats {
margin-top: -8px !important;
}
/*DRAWER NAVIGATION*/
/* Elementos del menú del drawer */
.citizen-main-menu .mw-list-item > a {
border-radius: 8px;
transition: background-color .2s ease, color .2s ease;
}
/* Hover y foco */
.citizen-main-menu .mw-list-item > a:hover,
.citizen-main-menu .mw-list-item > a:focus {
background-color: #017ff0 !important;
color: #fff !important;
}
/* Texto en blanco */
.citizen-main-menu .mw-list-item > a:hover span,
.citizen-main-menu .mw-list-item > a:focus span {
color: #fff !important;
}
/* Iconos en blanco */
.citizen-main-menu .mw-list-item > a:hover .citizen-ui-icon,
.citizen-main-menu .mw-list-item > a:focus .citizen-ui-icon {
color: #fff !important;
}
/* Atajos de teclado (alt+..., etc) en blanco */
.citizen-main-menu .mw-list-item > a:hover kbd,
.citizen-main-menu .mw-list-item > a:focus kbd {
color: #fff !important;
border-color: rgba(255,255,255,.4);
}
/*NOTIFICATIONS PANEL*/
/* Estado normal */
.citizen-notifications__item-link,
.citizen-notifications__item-link:link,
.citizen-notifications__item-link:visited {
color: #f10030 !important;
border-radius: 8px;
transition: background-color .2s ease, color .2s ease;
}
/* Al pasar el mouse */
.citizen-notifications__item-link:hover,
.citizen-notifications__item-link:focus {
background-color: #f10030 !important;
color: #fff !important;
}
/* Colores de iconos */
.citizen-notifications__mark-all .cdx-icon,
.citizen-notifications__prefs .cdx-icon {
color: #01113e;
fill: #01113e;
}
/* Color del botón "See all" */
.citizen-notifications__footer .citizen-notifications__see-all,
.citizen-notifications__footer .citizen-notifications__see-all span {
color: #01113e !important;
}
/* Color en hover */
.citizen-notifications__mark-all:hover .cdx-icon,
.citizen-notifications__prefs:hover .cdx-icon,
.citizen-notifications__footer .citizen-notifications__see-all:hover {
color: #FFFFFF !important;
}
/*PERSONAL PANEL*/
/* Fondo del botón Salir */
#pt-logout a,
#pt-logout a:link,
#pt-logout a:visited {
background-color: #f10030 !important;
border-radius: 8px;
transition: background-color .2s ease;
}
/* Hover del botón Salir */
#pt-logout a:hover,
#pt-logout a:focus {
background-color: #017ff0 !important;
}