mediawiki-skins-Citizen/skinStyles/extensions/PortableInfobox/ext.PortableInfobox.styles.less
2023-07-27 21:19:27 -04:00

51 lines
1.2 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:PortableInfobox
* Module: ext.PortableInfobox.styles
* Version: 0.6 16a77dc
*
* Date: 2022-04-14
*/
:root {
--pi-background: var( --color-surface-2 );
--pi-border-color: var( --border-color-base--darker );
--pi-secondary-background: var( --color-surface-3 );
}
.portable-infobox .pi-horizontal-group {
margin-top: 0;
}
.portable-infobox .pi-section-navigation,
.portable-infobox .pi-media-collection-tabs {
padding-bottom: 0;
background-color: var( --color-surface-3 );
}
.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
background: var( --color-surface-2 );
border-color: var( --color-primary );
border-bottom-width: 0;
}
.pi-section-navigation .pi-section-tab,
.pi-media-collection .pi-tab-link {
margin: 0 4px;
background: var( --color-surface-2 );
border-width: 2px;
border-top-left-radius: var( --border-radius--medium );
border-top-right-radius: var( --border-radius--medium );
&:hover {
border-color: var( --color-primary--hover );
}
&:active {
border-color: var( --color-primary--active );
}
}