2016-03-08 14:26:38 +00:00
|
|
|
@import 'skins/shared/color';
|
|
|
|
@import 'skins/shared/mixins/flexbox';
|
|
|
|
|
2016-03-08 14:47:03 +00:00
|
|
|
$background-color-mix: 10%;
|
2016-03-09 09:22:40 +00:00
|
|
|
$black: #000;
|
|
|
|
$collapsible-chevron-size: 9px;
|
|
|
|
$collapsible-chevron-negative-margin: -7px;
|
|
|
|
$infobox-data-spacing: 10px;
|
|
|
|
$infobox-header-spacing: 9px;
|
|
|
|
$infobox-side-spacing: 14px;
|
|
|
|
$infobox-width: 300px;
|
2016-03-08 14:47:03 +00:00
|
|
|
$header-font-size: 16px;
|
|
|
|
$header-line-height: 20px;
|
2016-03-08 14:26:38 +00:00
|
|
|
$horizontal-group-label-spacing: 6px;
|
2016-03-08 14:47:03 +00:00
|
|
|
$label-width: 88px;
|
2016-03-15 16:11:55 +00:00
|
|
|
$list-item-line-height: 18px;
|
|
|
|
$list-item-spacing: 8px;
|
2016-03-16 09:18:04 +00:00
|
|
|
$tab-font-size: 14px;
|
2016-03-15 16:11:55 +00:00
|
|
|
$title-font-size: 20px;
|
|
|
|
$title-line-height: 24px;
|
2016-03-09 09:22:40 +00:00
|
|
|
$white: #fff;
|
|
|
|
|
|
|
|
// color mixes
|
2016-03-18 16:08:15 +00:00
|
|
|
// 5% button color, 5% black/white, 90% background
|
2016-03-15 16:11:55 +00:00
|
|
|
$background-color: mix(mix($color-buttons, $black, $background-color-mix * 5), $color-page, $background-color-mix);
|
2016-03-18 15:16:24 +00:00
|
|
|
$tabber-background-color: mix($color-buttons, $background-color, $background-color-mix * 4);
|
2016-03-08 14:26:38 +00:00
|
|
|
|
|
|
|
@if $is-dark-wiki {
|
2016-03-15 16:11:55 +00:00
|
|
|
$background-color: mix(mix($color-buttons, $white, $background-color-mix * 5), $color-page, $background-color-mix);
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
2016-03-18 09:43:49 +00:00
|
|
|
|
2016-03-17 16:42:18 +00:00
|
|
|
$horizontal-group-stripe-background: mix($color-buttons, $background-color, $background-color-mix);
|
2016-03-08 14:26:38 +00:00
|
|
|
|
2016-03-18 11:50:42 +00:00
|
|
|
$caption-color-text: mix($color-text, $white, $background-color-mix * 7);
|
|
|
|
@if $is-dark-wiki {
|
|
|
|
$caption-color-text: mix($color-text, $black, $background-color-mix * 7);
|
|
|
|
}
|
|
|
|
|
2016-03-29 09:47:22 +00:00
|
|
|
.pi-europa {
|
2016-03-08 14:26:38 +00:00
|
|
|
&.portable-infobox {
|
|
|
|
color: $color-text;
|
|
|
|
width: $infobox-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.pi-background {
|
2016-03-08 14:47:03 +00:00
|
|
|
background-color: $background-color;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.pi-layout-stacked {
|
2016-03-09 14:12:21 +00:00
|
|
|
.pi-data-label {
|
|
|
|
padding-bottom: $horizontal-group-label-spacing;
|
|
|
|
padding-right: 0;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-caption {
|
2016-03-18 11:50:42 +00:00
|
|
|
color: $caption-color-text;
|
2016-03-16 08:36:52 +00:00
|
|
|
font-style: normal;
|
2016-03-17 16:26:03 +00:00
|
|
|
line-height: $list-item-line-height;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-18 09:43:49 +00:00
|
|
|
.pi-collapse .pi-header::after,
|
|
|
|
.pi-header.collapsible::after {
|
2016-03-16 08:36:52 +00:00
|
|
|
border-color: $color-button-text;
|
|
|
|
height: $collapsible-chevron-size;
|
|
|
|
right: $infobox-side-spacing;
|
|
|
|
width: $collapsible-chevron-size;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-collapse-closed .pi-header::after {
|
|
|
|
margin-top: $collapsible-chevron-negative-margin;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-data-label {
|
2016-03-08 14:47:03 +00:00
|
|
|
@include flex-basis($label-width);
|
2016-03-09 13:35:10 +00:00
|
|
|
color: inherit;
|
2016-03-09 13:22:07 +00:00
|
|
|
padding-right: $infobox-side-spacing;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-data-value {
|
2016-03-09 13:22:07 +00:00
|
|
|
padding-left: 0;
|
2016-03-15 16:11:55 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
line-height: $list-item-line-height;
|
|
|
|
padding-bottom: $list-item-spacing;
|
|
|
|
|
2016-03-16 10:38:21 +00:00
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2016-03-15 16:11:55 +00:00
|
|
|
}
|
2016-03-17 15:48:28 +00:00
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
margin-left: $infobox-side-spacing;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol, ul {
|
|
|
|
list-style-position: outside;
|
|
|
|
margin-left: $infobox-side-spacing;
|
|
|
|
}
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-data,
|
|
|
|
.pi-group {
|
|
|
|
border-bottom: 0;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-header {
|
|
|
|
font-size: $header-font-size;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-header,
|
|
|
|
.pi-image-collection-tabs {
|
|
|
|
line-height: $header-line-height;
|
2016-03-09 11:41:49 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-header,
|
2016-03-08 14:26:38 +00:00
|
|
|
.pi-tab-link {
|
2016-03-16 08:36:52 +00:00
|
|
|
padding: $infobox-header-spacing $infobox-side-spacing;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-header,
|
|
|
|
.pi-title {
|
|
|
|
background-color: $color-buttons;
|
|
|
|
color: $color-button-text;
|
|
|
|
text-align: center;
|
2016-03-16 10:38:21 +00:00
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
a {
|
|
|
|
color: $white;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-horizontal-group {
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.pi-horizontal-group-item {
|
2016-03-08 14:47:03 +00:00
|
|
|
border-left: 0;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-data-label {
|
2016-03-09 14:31:59 +00:00
|
|
|
padding: $infobox-data-spacing $infobox-side-spacing $horizontal-group-label-spacing;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-data-value {
|
2016-03-08 14:47:03 +00:00
|
|
|
padding-left: $infobox-side-spacing;
|
2016-03-09 14:31:59 +00:00
|
|
|
padding-top: 0;
|
2016-03-09 14:12:21 +00:00
|
|
|
}
|
2016-03-09 14:31:59 +00:00
|
|
|
}
|
2016-03-09 14:12:21 +00:00
|
|
|
|
2016-03-16 10:38:21 +00:00
|
|
|
.pi-horizontal-group-item:nth-child(even) {
|
|
|
|
background-color: $horizontal-group-stripe-background;
|
2016-03-16 08:36:52 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 10:38:21 +00:00
|
|
|
.pi-horizontal-group-no-labels .pi-data-value {
|
|
|
|
padding-top: $infobox-data-spacing;
|
2016-03-08 14:47:03 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 08:36:52 +00:00
|
|
|
.pi-image-collection-tabs {
|
|
|
|
background-color: $background-color;
|
|
|
|
margin: 0;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.current {
|
|
|
|
background-color: $tabber-background-color;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-16 08:36:52 +00:00
|
|
|
|
|
|
|
.pi-image-collection-tab-content {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-item-spacing {
|
|
|
|
padding: $infobox-data-spacing $infobox-side-spacing;
|
2016-03-18 11:50:42 +00:00
|
|
|
|
|
|
|
&.pi-caption {
|
|
|
|
padding-bottom: $infobox-side-spacing;
|
|
|
|
}
|
2016-03-16 08:36:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-navigation {
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
2017-01-13 11:11:23 +00:00
|
|
|
// need to have both (pi-data-label & pi-smart-data-label) classes in selector to override stacked layout padding (pi-layout-stacked)
|
|
|
|
.pi-data-label {
|
|
|
|
&.pi-smart-data-label {
|
|
|
|
padding: $infobox-data-spacing $infobox-side-spacing $horizontal-group-label-spacing;
|
|
|
|
}
|
2016-03-16 08:36:52 +00:00
|
|
|
}
|
2017-01-11 11:48:26 +00:00
|
|
|
|
2017-01-13 08:40:17 +00:00
|
|
|
.pi-smart-data-value {
|
|
|
|
padding-top: 0;
|
2017-01-12 14:55:37 +00:00
|
|
|
}
|
2017-01-11 11:48:26 +00:00
|
|
|
|
2017-01-12 14:55:37 +00:00
|
|
|
.pi-smart-data-label,
|
|
|
|
.pi-smart-data-value {
|
|
|
|
border-left: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex-basis: auto;
|
|
|
|
|
|
|
|
&:nth-child(even) {
|
2017-01-11 11:48:26 +00:00
|
|
|
background-color: $horizontal-group-stripe-background;
|
|
|
|
}
|
2017-01-12 14:55:37 +00:00
|
|
|
}
|
2017-01-11 11:48:26 +00:00
|
|
|
|
2017-01-13 08:40:17 +00:00
|
|
|
.pi-smart-group {
|
|
|
|
border-bottom: 0;
|
|
|
|
text-align: left;
|
2017-01-12 14:55:37 +00:00
|
|
|
}
|
2017-01-11 11:48:26 +00:00
|
|
|
|
2017-01-13 08:40:17 +00:00
|
|
|
.pi-tab-link {
|
|
|
|
border: 0;
|
|
|
|
font-size: $tab-font-size;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-title {
|
|
|
|
font-size: $title-font-size;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: $title-line-height;
|
|
|
|
padding-top: $infobox-side-spacing;
|
2017-01-11 11:48:26 +00:00
|
|
|
}
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|