Moved common styles from CartoDB.js and Deep-insights to CartoAssets

This commit is contained in:
xavijam
2016-01-14 14:38:10 +01:00
parent 4b73fe68de
commit d5592585f3
3 changed files with 267 additions and 3 deletions
+33
View File
@@ -0,0 +1,33 @@
// Sizes variables
// ----------------------------------------------
// Widths
$desktopLayout: 352px;
$mobileLayout: 280px;
// Margins
$sMargin-section: 24px; // To separate main section
$sMargin-element: 14px; // To separate elements inside a group
// Font sizes
$sFontSize-smaller: 10px;
$sFontSize-small: 12px;
$sFontSize-normal: 14px;
$sFontSize-larger: 16px;
$sFontSize-huge: 26px;
// Font weights
$sFontWeight-lighter: 300;
$sFontWeight-normal: 400;
$sFontWeight-semibold: 600;
$sFontWeight-bold: 700;
// Line heights
$sLineHeight-smaller: 15px;
$sLineHeight-small: 16px;
$sLineHeight-normal: 20px;
$sLineHeight-large: 22px;
$sLineHeight-larger: 24px;
$sLineHeight-largest: 27px;
$sLineHeight-huge: 34px;
$sLineHeight-button: 15px;