Usuario:ZrbtWm/Gadget-CollapsibleNav.css
Apariencia
(Redirigido desde «Usuario:Zerabat/Gadget-CollapsibleNav.css»)
Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.
- Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
- Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
- Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
/**
* Stylesheet for collapsible nav
*/
#mw-panel.collapsible-nav .portal {
/* @embed */
background-image: url(/w/skins/vector/images/portal-break.png);
background-position: left top;
background-repeat: no-repeat;
padding: 0.25em 0 !important;
margin: -11px 9px 10px 11px;
}
#mw-panel.collapsible-nav .portal h3 {
font-size: 0.75em;
color: #4d4d4d;
font-weight: normal;
background-image: url(/w/skins/vector/images/arrow-expanded.png);
background-image: -moz-linear-gradient(transparent, transparent), url(/w/skins/vector/images/arrow-expanded.svg);
background-image: -webkit-linear-gradient(transparent, transparent), url(/w/skins/vector/images/arrow-expanded.svg);
background-image: linear-gradient(transparent, transparent), url(/w/skins/vector/images/arrow-expanded.svg);
background-position: left center;
background-repeat: no-repeat;
padding: 4px 0 3px 1.5em;
margin-bottom: 0;
}
#mw-panel.collapsible-nav .portal h3:hover {
cursor: pointer;
text-decoration: none;
}
#mw-panel.collapsible-nav .portal h3 a {
color: #4d4d4d;
text-decoration: none;
}
#mw-panel.collapsible-nav .portal .body {
margin: 0 0 0 1.25em;
background-image: none !important;
padding-top: 0;
display: none;
}
#mw-panel.collapsible-nav .portal .body ul li {
padding: 0.25em 0;
}
/* First */
#mw-panel.collapsible-nav .portal.first {
background-image: none;
margin-top: 0;
}
#mw-panel.collapsible-nav .portal.first h3 {
display: none;
}
/* Persistent */
#mw-panel.collapsible-nav .portal.persistent .body {
display: block;
margin-left: 0.5em;
}
#mw-panel.collapsible-nav .portal.persistent h3 {
background-image: none !important;
padding-left: 0.7em;
cursor: default;
}
/* Collapsed */
#mw-panel.collapsible-nav .portal.collapsed h3 {
color: #0645ad;
background-image: url(/w/skins/vector/images/arrow-collapsed-ltr.png);
background-image: -moz-linear-gradient(transparent, transparent), url(/w/skins/vector/images/arrow-collapsed-ltr.svg);
background-image: -webkit-linear-gradient(transparent, transparent), url(/w/skins/vector/images/arrow-collapsed-ltr.svg);
background-image: linear-gradient(transparent, transparent), url(/w/skins/vector/images/arrow-collapsed-ltr.svg);
background-position: left center;
background-repeat: no-repeat;
margin-bottom: 0;
}
#mw-panel.collapsible-nav .portal.collapsed h3:hover {
text-decoration: underline;
}
#mw-panel.collapsible-nav .portal.collapsed h3 a {
color: #0645ad;
}