@@ -72,35 +107,45 @@ Description
.CDB-Shape-threePoints {
display: inline-block;
}
+.CDB-Shape-threePoints.is-horizontal {
+ transform: rotate(90deg);
+}
.CDB-Shape-threePointsItem {
width: 2px;
height: 2px;
margin-bottom: 5px;
- background: $cMainDark;
- &:last-child {
- margin-bottom: 0;
- }
+ background: $cMainBg;
+}
+.CDB-Shape-threePointsItem.is-round {
+ border-radius: 50%;
+}
+.CDB-Shape-threePointsItem:last-child {
+ margin-bottom: 0;
}
.CDB-Shape-threePoints.is-small {
padding-top: 2px;
-
- .CDB-Shape-threePointsItem {
- width: 2px;
- height: 2px;
- margin-bottom: 3px;
- }
+}
+.CDB-Shape-threePoints.is-small .CDB-Shape-threePointsItem {
+ width: 2px;
+ height: 2px;
+ margin-bottom: 3px;
}
-.CDB-Shape-threePoints.is-blue {
- .CDB-Shape-threePointsItem {
- background: $cBlue;
- }
+.CDB-Shape-threePoints.is-medium {
+ padding-top: 2px;
+}
+.CDB-Shape-threePoints.is-medium .CDB-Shape-threePointsItem {
+ width: 4px;
+ height: 4px;
+ margin-bottom: 3px;
}
-.CDB-Shape-threePoints.is-white {
- .CDB-Shape-threePointsItem {
- background: $cWhite;
- }
+.CDB-Shape-threePoints.is-blue .CDB-Shape-threePointsItem {
+ background: $cBlue;
+}
+
+.CDB-Shape-threePoints.is-white .CDB-Shape-threePointsItem {
+ background: $cWhite;
}
diff --git a/src/scss/cdb-components/shapes/toogle-arrow.scss b/src/scss/cdb-components/shapes/toogle-arrow.scss
index 86f302a..90381da 100644
--- a/src/scss/cdb-components/shapes/toogle-arrow.scss
+++ b/src/scss/cdb-components/shapes/toogle-arrow.scss
@@ -97,7 +97,7 @@ Description
width: 10px;
height: 1px;
transform: rotate(-45deg);
- background: $cMainDark;
+ background: $cMainBg;
content: '';
}
&::after {
@@ -108,7 +108,7 @@ Description
width: 10px;
height: 1px;
transform: rotate(45deg);
- background: $cMainDark;
+ background: $cMainBg;
content: '';
}
}
diff --git a/src/scss/cdb-components/typography.scss b/src/scss/cdb-components/typography.scss
index 67b7f34..bff3796 100644
--- a/src/scss/cdb-components/typography.scss
+++ b/src/scss/cdb-components/typography.scss
@@ -9,8 +9,10 @@
Open Sans 26/34 Light
Open Sans 16/22 Regular
Open Sans 12/16 Semibold
-
Open Sans 12/16 Semibold Uppercase
-
Open Sans 12/16 Regular
+
Open Sans 12/16 Semibold Uppercase
+
Open Sans 12/16 Regular
+
Open Sans 12/16 Regular
+
Open Sans 12/16 Regular
Open Sans 10/14 Semibold
Open Sans 10/14 Regular
```
@@ -28,9 +30,6 @@
&.is-light {
font-weight: $sFontWeight-lighter;
}
- &.is-upper {
- text-transform: uppercase;
- }
}
.CDB-Size-huge {
@@ -52,3 +51,11 @@
font-size: $sFontSize-small;
line-height: $sLineHeight-small;
}
+
+.CDB-FontSize-small {
+ font-size: $sFontSize-small;
+}
+
+.CDB-FontSize-medium {
+ font-size: $sFontSize-medium;
+}
diff --git a/src/scss/cdb-utilities/defaults.css.scss b/src/scss/cdb-utilities/defaults.css.scss
index c7998f1..aaabb14 100644
--- a/src/scss/cdb-utilities/defaults.css.scss
+++ b/src/scss/cdb-utilities/defaults.css.scss
@@ -3,6 +3,10 @@
@import '../cdb-variables/colors';
+body {
+ color: $cMainText;
+}
+
a {
color: $cBlue;
text-decoration: none;
diff --git a/src/scss/cdb-utilities/helpers.scss b/src/scss/cdb-utilities/helpers.scss
index 1cb8a7b..aab62bc 100644
--- a/src/scss/cdb-utilities/helpers.scss
+++ b/src/scss/cdb-utilities/helpers.scss
@@ -2,7 +2,9 @@
// ----------------------------------------------
@import './mixins';
+@import '../cdb-variables/colors';
+/* Margins */
.u-tSpace {
margin-top: 4px;
}
@@ -24,19 +26,49 @@
.u-rSpace--xl {
margin-right: 12px;
}
-.u-lSpace {
- margin-left: 4px;
-}
-.u-lSpace--xl {
- margin-left: 12px;
-}
.u-bSpace {
margin-bottom: 4px;
}
.u-bSpace--m {
margin-bottom: 8px;
}
+.u-bSpace--xl {
+ margin-bottom: 12px;
+}
+.u-lSpace {
+ margin-left: 4px;
+}
+.u-lSpace--xl {
+ margin-left: 12px;
+}
+.u-ellipsis {
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+}
+
+// Colors
+// Main Text Color is default color
+// ----------------------------------------------
+
+.u-actionTextColor {
+ color: $cBlue;
+}
+.u-mainTextColor {
+ color: $cMainText;
+}
+.u-secondaryTextColor {
+ color: $cSecondaryText;
+}
+.u-altTextColor {
+ color: $cAltText;
+}
+.u-hintTextColor {
+ color: $cHintText;
+}
+
+/* Displays */
.u-iBlock {
@include inline-block();
}
@@ -47,6 +79,12 @@
display: none !important;
}
+/* Decoration */
+.u-upperCase {
+ text-transform: uppercase;
+}
+
+/* Media queries*/
@include media-query-mobile() {
.u-showDesktop {
display: none !important;
diff --git a/src/scss/cdb-variables/_colors.scss b/src/scss/cdb-variables/_colors.scss
index fc0bc81..bc31a89 100644
--- a/src/scss/cdb-variables/_colors.scss
+++ b/src/scss/cdb-variables/_colors.scss
@@ -5,7 +5,7 @@
$cBlue: #3AA9E3;
$cBlack: #000;
$cWhite: #FFF;
-$cMainDark: #2E3C43;
+$cMainBg: #2E3C43;
//Structure
$cSecondaryDark: #282C2F;
@@ -18,9 +18,10 @@ $cMainLine: #DDD;
$cSecondaryLine: #EEE;
//Typography
-$cTypo2: #636D72;
-$cTypo3: #979EA1;
-$cTypo4: #CBCED0;
+$cMainText: #2E3C43;
+$cSecondaryText: #636D72;
+$cAltText: #979EA1;
+$cHintText: #CBCED0;
//Others
$cHighlight: #9DE0AD;