corrade-http-templates – Blame information for rev 62
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
62 | office | 1 | // stylelint-disable declaration-no-important |
2 | |||
3 | // |
||
4 | // Text |
||
5 | // |
||
6 | |||
7 | .text-monospace { font-family: $font-family-monospace; } |
||
8 | |||
9 | // Alignment |
||
10 | |||
11 | .text-justify { text-align: justify !important; } |
||
12 | .text-nowrap { white-space: nowrap !important; } |
||
13 | .text-truncate { @include text-truncate; } |
||
14 | |||
15 | // Responsive alignment |
||
16 | |||
17 | @each $breakpoint in map-keys($grid-breakpoints) { |
||
18 | @include media-breakpoint-up($breakpoint) { |
||
19 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); |
||
20 | |||
21 | .text#{$infix}-left { text-align: left !important; } |
||
22 | .text#{$infix}-right { text-align: right !important; } |
||
23 | .text#{$infix}-center { text-align: center !important; } |
||
24 | } |
||
25 | } |
||
26 | |||
27 | // Transformation |
||
28 | |||
29 | .text-lowercase { text-transform: lowercase !important; } |
||
30 | .text-uppercase { text-transform: uppercase !important; } |
||
31 | .text-capitalize { text-transform: capitalize !important; } |
||
32 | |||
33 | // Weight and italics |
||
34 | |||
35 | .font-weight-light { font-weight: $font-weight-light !important; } |
||
36 | .font-weight-normal { font-weight: $font-weight-normal !important; } |
||
37 | .font-weight-bold { font-weight: $font-weight-bold !important; } |
||
38 | .font-italic { font-style: italic !important; } |
||
39 | |||
40 | // Contextual colors |
||
41 | |||
42 | .text-white { color: $white !important; } |
||
43 | |||
44 | @each $color, $value in $theme-colors { |
||
45 | @include text-emphasis-variant(".text-#{$color}", $value); |
||
46 | } |
||
47 | |||
48 | .text-body { color: $body-color !important; } |
||
49 | .text-muted { color: $text-muted !important; } |
||
50 | |||
51 | .text-black-50 { color: rgba($black, .5) !important; } |
||
52 | .text-white-50 { color: rgba($white, .5) !important; } |
||
53 | |||
54 | // Misc |
||
55 | |||
56 | .text-hide { |
||
57 | @include text-hide($ignore-warning: true); |
||
58 | } |