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-09 09:22:40 +00:00
|
|
|
$tabber-lightness-condition: 30;
|
|
|
|
$title-font-size: 24px;
|
|
|
|
$title-line-height: 28px;
|
|
|
|
$white: #fff;
|
|
|
|
|
|
|
|
// color mixes
|
|
|
|
$background-color: mix($black, $color-page, $background-color-mix);
|
|
|
|
$horizontal-group-stripe-background: mix($black, $color-page, $background-color-mix * 2);
|
|
|
|
$tabber-background-color: mix($black, $color-buttons, $background-color-mix * 4);
|
2016-03-08 14:26:38 +00:00
|
|
|
|
|
|
|
@if $is-dark-wiki {
|
2016-03-08 14:47:03 +00:00
|
|
|
$background-color: mix($white, $color-page, $background-color-mix);
|
|
|
|
$horizontal-group-stripe-background: mix($white, $color-page, $background-color-mix * 2);
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
2016-03-08 14:47:03 +00:00
|
|
|
@if lightness($color-buttons) < $tabber-lightness-condition {
|
|
|
|
$tabber-background-color: mix($white, $color-buttons, $background-color-mix * 4);
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-theme-europa {
|
|
|
|
&.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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-item-spacing {
|
2016-03-08 14:47:03 +00:00
|
|
|
padding: $infobox-data-spacing $infobox-side-spacing;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-title,
|
|
|
|
.pi-header {
|
|
|
|
background-color: $color-buttons;
|
|
|
|
color: $color-button-text;
|
2016-03-08 14:47:03 +00:00
|
|
|
text-align: center;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-title {
|
2016-03-08 14:47:03 +00:00
|
|
|
font-size: $title-font-size;
|
2016-03-09 11:41:49 +00:00
|
|
|
font-weight: bold;
|
2016-03-08 14:47:03 +00:00
|
|
|
line-height: $title-line-height;
|
|
|
|
padding: $infobox-side-spacing;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-header,
|
2016-03-08 14:47:03 +00:00
|
|
|
.pi-image-collection-tabs {
|
|
|
|
font-size: $header-font-size;
|
|
|
|
line-height: $header-line-height;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-header,
|
|
|
|
.pi-tab-link {
|
2016-03-08 14:47:03 +00:00
|
|
|
padding: $infobox-header-spacing $infobox-side-spacing;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-navigation {
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-data,
|
|
|
|
.pi-group {
|
2016-03-08 14:47:03 +00:00
|
|
|
border-bottom: 0;
|
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: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-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-caption {
|
2016-03-09 11:41:49 +00:00
|
|
|
color: inherit;
|
2016-03-08 14:26:38 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-image-collection-tabs {
|
2016-03-08 14:47:03 +00:00
|
|
|
background-color: $tabber-background-color;
|
2016-03-08 14:26:38 +00:00
|
|
|
color: $color-button-text;
|
|
|
|
margin: 0;
|
2016-03-08 14:47:03 +00:00
|
|
|
text-align: left;
|
2016-03-08 14:26:38 +00:00
|
|
|
|
|
|
|
.current {
|
|
|
|
background-color: $color-buttons;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-09 11:41:49 +00:00
|
|
|
.pi-image-collection-tab-content {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
2016-03-08 14:26:38 +00:00
|
|
|
.pi-tab-link {
|
2016-03-08 14:47:03 +00:00
|
|
|
border: 0;
|
2016-03-08 14:26:38 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-collapse .pi-header::after {
|
|
|
|
border-color: $color-button-text;
|
2016-03-08 14:47:03 +00:00
|
|
|
height: $collapsible-chevron-size;
|
|
|
|
right: $infobox-side-spacing;
|
|
|
|
width: $collapsible-chevron-size;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pi-collapse-closed .pi-header::after {
|
2016-03-08 14:47:03 +00:00
|
|
|
margin-top: $collapsible-chevron-negative-margin;
|
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:12:21 +00:00
|
|
|
padding: $infobox-side-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:12:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
thead + tbody .pi-data-value {
|
2016-03-08 14:26:38 +00:00
|
|
|
padding-top: 0;
|
2016-03-08 14:47:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-horizontal-group-item {
|
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: $horizontal-group-stripe-background;
|
2016-03-08 14:26:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|