mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +00:00
fix linting issues
This commit is contained in:
parent
c9fb544423
commit
24d23698aa
|
@ -6,7 +6,7 @@ $infobox-width: 270px; // temporary value used to mach with Khal Drogo Infobox
|
|||
$infobox-margin: 15px;
|
||||
$infobox-item-margin: 5px;
|
||||
$infobox-background: mix($color-page, $color-links, 92%);
|
||||
$infobox-section-header-background: transparentize($color-links, 0.9);
|
||||
$infobox-section-header-background: transparentize($color-links, .9);
|
||||
|
||||
.portable-infobox {
|
||||
background-color: $infobox-background;
|
||||
|
@ -126,32 +126,33 @@ $infobox-section-header-background: transparentize($color-links, 0.9);
|
|||
padding-right: $infobox-item-margin * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.portable-infobox-layout-tabular {
|
||||
.portable-infobox-layout-tabular {
|
||||
|
||||
> .item-type-key-val,
|
||||
.item-type-group .item-type-key-val {
|
||||
@include flexbox;
|
||||
@include flex-direction(row);
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
> .item-type-key-val,
|
||||
.item-type-group .item-type-key-val {
|
||||
@include flexbox;
|
||||
@include flex-direction(row);
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
.portable-infobox-item-label {
|
||||
@include flex-basis($infobox-width / 3);
|
||||
line-height: 18px;
|
||||
margin-top: inherit;
|
||||
}
|
||||
|
||||
.portable-infobox-item-value {
|
||||
@include flex-basis($infobox-width * 2 / 3);
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.portable-infobox-item-label {
|
||||
@include flex-basis($infobox-width / 3);
|
||||
line-height: 18px;
|
||||
margin-top: inherit;
|
||||
}
|
||||
|
||||
.portable-infobox-item-margins {
|
||||
padding: $infobox-item-margin * 3 $infobox-item-margin * 2 $infobox-item-margin * 3 $infobox-item-margin * 2;
|
||||
.portable-infobox-item-value {
|
||||
@include flex-basis($infobox-width * 2 / 3);
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.portable-infobox-item-margins {
|
||||
padding: $infobox-item-margin * 3 $infobox-item-margin * 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue