MediaWiki:Gadget-CollapsibleTemplates.css — различия между версиями
(Vector skin was renamed) |
м (1 версия импортирована) |
(нет различий)
|
Текущая версия на 01:23, 23 января 2015
/* Styles for collapsible divs to be used in templates.
Background stolen from Vector menus.
*/
div.collapsibletemplate .headertext {
padding-left: 18px;
background: url(//bits.wikimedia.org/skins/Vector/images/arrow-down-icon.png) left 50% no-repeat;
}
div.collapsibletemplate.collapsed .headertext {
background: url(//bits.wikimedia.org/skins/Vector/images/arrow-collapsed-ltr.png) left 50% no-repeat;
}
div.collapsibletemplate .header {
padding: 3px;
cursor: pointer;
}
/* :first-child is not supported in old browser but collapsibleTH and collapsibleCollapsedTH
solely is here to find and assign these rules with MediaWiki:CollapsibleTemplates.js */
table.collapsible > tbody > tr:first-child th, .collapsibleTH {
padding-right: 18px;
background: url(//bits.wikimedia.org/skins/Vector/images/arrow-down-icon.png) 99% 50% no-repeat;
}
table.collapsible.collapsed > tbody > tr:first-child th, .collapsibleCollapsedTH {
background: url(//bits.wikimedia.org/skins/Vector/images/arrow-collapsed-ltr.png) 99% 50% no-repeat;
cursor: pointer;
}
.hidden {
display: none;
}