Merge "InvalidRoleException-junits"
[portal.git] / portal-FE-common / src / styles / bootstrap / utilities / _text.scss
1 // stylelint-disable declaration-no-important
2
3 //
4 // Text
5 //
6
7 // Alignment
8
9 .text-justify  { text-align: justify !important; }
10 .text-nowrap   { white-space: nowrap !important; }
11 .text-truncate { @include text-truncate; }
12
13 // Responsive alignment
14
15 @each $breakpoint in map-keys($grid-breakpoints) {
16   @include media-breakpoint-up($breakpoint) {
17     $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
18
19     .text#{$infix}-left   { text-align: left !important; }
20     .text#{$infix}-right  { text-align: right !important; }
21     .text#{$infix}-center { text-align: center !important; }
22   }
23 }
24
25 // Transformation
26
27 .text-lowercase  { text-transform: lowercase !important; }
28 .text-uppercase  { text-transform: uppercase !important; }
29 .text-capitalize { text-transform: capitalize !important; }
30
31 // Weight and italics
32
33 .font-weight-light  { font-weight: $font-weight-light !important; }
34 .font-weight-normal { font-weight: $font-weight-normal !important; }
35 .font-weight-bold   { font-weight: $font-weight-bold !important; }
36 .font-italic        { font-style: italic !important; }
37
38 // Contextual colors
39
40 .text-white { color: #fff !important; }
41
42 @each $color, $value in $theme-colors {
43   @include text-emphasis-variant(".text-#{$color}", $value);
44 }
45
46 .text-muted { color: $text-muted !important; }
47
48 // Misc
49
50 .text-hide {
51   @include text-hide();
52 }