Merge branch 'DAT-3855' into DAT-3856

This commit is contained in:
Rafal Leszczynski 2016-03-09 15:32:26 +01:00
commit f24ca8c7a9
2 changed files with 8 additions and 5 deletions

View file

@ -143,18 +143,21 @@ $tabber-background-color: mix($black, $color-buttons, $background-color-mix * 4)
} }
.pi-data-label { .pi-data-label {
padding: $infobox-side-spacing $infobox-side-spacing $horizontal-group-label-spacing; padding: $infobox-data-spacing $infobox-side-spacing $horizontal-group-label-spacing;
} }
.pi-data-value { .pi-data-value {
padding-left: $infobox-side-spacing; padding-left: $infobox-side-spacing;
}
thead + tbody .pi-data-value {
padding-top: 0; padding-top: 0;
} }
} }
.pi-horizontal-group-no-labels {
.pi-data-value {
padding-top: $infobox-data-spacing;
}
}
.pi-horizontal-group-item { .pi-horizontal-group-item {
&:nth-child(even) { &:nth-child(even) {
background-color: $horizontal-group-stripe-background; background-color: $horizontal-group-stripe-background;

View file

@ -1,4 +1,4 @@
<table class="pi-horizontal-group"> <table class="pi-horizontal-group {{^renderLabels}}pi-horizontal-group-no-labels{{/renderLabels}}">
{{#header}}<caption class="pi-header pi-secondary-font pi-secondary-background pi-item-spacing">{{{header}}}</caption>{{/header}} {{#header}}<caption class="pi-header pi-secondary-font pi-secondary-background pi-item-spacing">{{{header}}}</caption>{{/header}}
{{#renderLabels}} {{#renderLabels}}
<thead> <thead>