2023-09-11 01:01:37 +00:00
|
|
|
/*
|
2022-04-14 04:36:33 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:PortableInfobox
|
|
|
|
* Module: ext.PortableInfobox.styles
|
|
|
|
* Version: 0.6 16a77dc
|
|
|
|
*
|
2024-04-17 18:44:16 +00:00
|
|
|
* Date: 2024-04-17
|
2022-04-14 04:36:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--pi-background: var( --color-surface-2 );
|
2023-09-11 01:02:23 +00:00
|
|
|
--pi-border-color: var( --border-color-base );
|
2022-04-14 04:36:33 +00:00
|
|
|
--pi-secondary-background: var( --color-surface-3 );
|
2024-04-17 18:44:16 +00:00
|
|
|
--pi-margin: var( --space-md );
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-caption {
|
2024-04-17 18:45:35 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
|
|
|
font-style: normal;
|
2024-04-17 18:44:16 +00:00
|
|
|
// Align with Citizen caption styles
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2024-04-17 18:45:35 +00:00
|
|
|
letter-spacing: 0.025em;
|
2024-04-17 18:44:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.portable-infobox {
|
|
|
|
font-size: var( --font-size-small );
|
|
|
|
}
|
|
|
|
|
|
|
|
.portable-infobox .pi-title {
|
|
|
|
font-size: var( --font-size-x-large );
|
|
|
|
line-height: var( --line-height-sm );
|
|
|
|
}
|
|
|
|
|
|
|
|
.portable-infobox .pi-header {
|
|
|
|
font-size: var( --font-size-medium );
|
2024-04-17 18:45:35 +00:00
|
|
|
font-weight: var( --font-weight-semibold );
|
|
|
|
line-height: var( --line-height-sm );
|
2024-04-17 18:44:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.client-js .pi-collapse {
|
|
|
|
.pi-header:first-child {
|
|
|
|
// So that clicking the header won't highlight the entire section
|
|
|
|
user-select: none;
|
|
|
|
}
|
2022-04-14 04:36:33 +00:00
|
|
|
}
|
|
|
|
|
2023-09-11 01:01:37 +00:00
|
|
|
.portable-infobox p {
|
|
|
|
margin: var( --space-xs ) 0; // More akin to Vector
|
|
|
|
}
|
|
|
|
|
2022-04-14 04:36:33 +00:00
|
|
|
.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 {
|
2023-07-28 01:19:27 +00:00
|
|
|
background: var( --color-surface-2 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2022-04-14 04:36:33 +00:00
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-section-navigation .pi-section-tab,
|
|
|
|
.pi-media-collection .pi-tab-link {
|
|
|
|
margin: 0 4px;
|
|
|
|
background: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-width: 2px;
|
2022-04-14 04:36:33 +00:00
|
|
|
border-top-left-radius: var( --border-radius--medium );
|
|
|
|
border-top-right-radius: var( --border-radius--medium );
|
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-04-14 04:36:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--active );
|
2022-04-14 04:36:33 +00:00
|
|
|
}
|
|
|
|
}
|