mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 12:35:31 +00:00
Merge branch 'DAT-3855' into DAT-3856
This commit is contained in:
commit
f24ca8c7a9
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue