82 lines
1.1 KiB
SCSS
82 lines
1.1 KiB
SCSS
// Helper classes
|
|
// ----------------------------------------------
|
|
|
|
@import './mixins';
|
|
@import '../cdb-variables/colors';
|
|
|
|
/* Margins */
|
|
.u-tSpace {
|
|
margin-top: 4px;
|
|
}
|
|
.u-tSpace--m {
|
|
margin-top: 8px;
|
|
}
|
|
.u-tSpace-xl {
|
|
margin-top: 12px;
|
|
}
|
|
.u-rSpace--s {
|
|
margin-right: 2px;
|
|
}
|
|
.u-rSpace {
|
|
margin-right: 4px;
|
|
}
|
|
.u-rSpace--m {
|
|
margin-right: 8px;
|
|
}
|
|
.u-rSpace--xl {
|
|
margin-right: 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;
|
|
}
|
|
|
|
// Colors
|
|
// Main Text Color is default color
|
|
// ----------------------------------------------
|
|
|
|
.u-mainTextColor {
|
|
color: $cMainText;
|
|
}
|
|
.u-secondaryTextColor {
|
|
color: $cSecondaryText;
|
|
}
|
|
.u-altTextColor {
|
|
color: $cAltText;
|
|
}
|
|
.u-hintTextColor {
|
|
color: $cHintText;
|
|
}
|
|
|
|
/* Displays */
|
|
.u-iBlock {
|
|
@include inline-block();
|
|
}
|
|
.u-showDesktop {
|
|
display: block !important;
|
|
}
|
|
.u-showMobile {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Media queries*/
|
|
@include media-query-mobile() {
|
|
.u-showDesktop {
|
|
display: none !important;
|
|
}
|
|
.u-showMobile {
|
|
display: block !important;
|
|
}
|
|
}
|