1 | @import '../mixins';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | @mixin gl-text-left {
|
7 | text-align: left;
|
8 | }
|
9 |
|
10 | @mixin gl-text-center {
|
11 | text-align: center;
|
12 | }
|
13 |
|
14 | @mixin gl-text-right {
|
15 | text-align: right;
|
16 | }
|
17 |
|
18 | @mixin gl-reset-text-align {
|
19 | text-align: inherit;
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | @mixin gl-text-decoration-none($active: true, $focus: true, $hover: true) {
|
26 | text-decoration: none;
|
27 | }
|
28 |
|
29 | @mixin gl-text-decoration-underline {
|
30 | text-decoration: underline;
|
31 | }
|
32 |
|
33 | @mixin gl-reset-text-decoration-color {
|
34 | text-decoration-color: inherit;
|
35 | }
|
36 |
|
37 | @mixin gl-text-decoration-color-gray-500 {
|
38 | text-decoration-color: $gray-500;
|
39 | }
|
40 |
|
41 | @mixin gl-text-decoration-color-gray-700 {
|
42 | text-decoration-color: $gray-700;
|
43 | }
|
44 |
|
45 | @mixin gl-text-decoration-color-gray-900 {
|
46 | text-decoration-color: $gray-900;
|
47 | }
|
48 |
|
49 | @mixin gl-text-transform-none {
|
50 | text-transform: none;
|
51 | }
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 | @mixin gl-text-overflow-ellipsis {
|
59 | text-overflow: ellipsis;
|
60 | }
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 | @mixin gl-text-indent-0 {
|
68 | text-indent: 0;
|
69 | }
|
70 |
|
71 | @mixin gl-text-indent-hide {
|
72 | text-indent: -9999px;
|
73 | }
|
74 |
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 | @mixin gl-white-space-normal {
|
81 | white-space: normal;
|
82 | }
|
83 |
|
84 | @mixin gl-white-space-nowrap {
|
85 | white-space: nowrap;
|
86 | }
|
87 |
|
88 | @mixin gl-white-space-pre-wrap {
|
89 | white-space: pre-wrap;
|
90 | }
|
91 |
|
92 | @mixin gl-white-space-pre-line {
|
93 | white-space: pre-line;
|
94 | }
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 |
|
101 |
|
102 | @mixin gl-word-break-all {
|
103 | word-break: break-all;
|
104 | }
|
105 |
|
106 | @mixin gl-overflow-break-word {
|
107 | overflow-wrap: break-word;
|
108 | word-wrap: break-word;
|
109 | hyphens: auto;
|
110 | }
|
111 |
|
112 |
|
113 | @mixin gl-str-truncated {
|
114 | @include str-truncated;
|
115 | }
|
116 |
|
117 |
|
118 | @mixin gl-text-truncate {
|
119 | overflow: hidden;
|
120 | text-overflow: ellipsis;
|
121 | white-space: nowrap;
|
122 | }
|