Merge pull request #115 from CartoDB/fix-components

add helpers
This commit is contained in:
piensaenpixel 2016-05-19 14:01:02 +02:00
commit 7ceb907a3a
3 changed files with 18 additions and 1 deletions

View File

@ -26,7 +26,6 @@
} }
.CDB-Box-modalHeaderItem { .CDB-Box-modalHeaderItem {
@include display-flex(); @include display-flex();
@include align-items(center);
padding: $baseSize + 4 $baseSize * 2; padding: $baseSize + 4 $baseSize * 2;
border-bottom: 1px solid $cMainLine; border-bottom: 1px solid $cMainLine;
} }

View File

@ -20,6 +20,15 @@
border-bottom: 0; border-bottom: 0;
} }
} }
.CDB-ListDecoration-itemPadding {
padding: 12px 16px;
}
.CDB-ListDecoration-itemPadding--horizontal {
padding: 0 16px;
}
.CDB-ListDecoration-itemPadding--vertical {
padding: 12px 0;
}
.CDB-ListDecoration-itemLink { .CDB-ListDecoration-itemLink {
display: block; display: block;

View File

@ -87,6 +87,15 @@
text-transform: uppercase; text-transform: uppercase;
} }
/* Flex */
.u-flex {
@include display-flex();
}
.u-justifySpace {
@include justify-content(space-between);
}
/* Media queries*/ /* Media queries*/
@include media-query-mobile() { @include media-query-mobile() {
.u-showDesktop { .u-showDesktop {