PluginProbe
The Innovative Form Builder – IvyForms / 1.5
The Innovative Form Builder – IvyForms v1.5
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / frontend / src / assets / scss / base / _typography.scss

_typography.scss in The Innovative Form Builder – IvyForms 1.5, at frontend/src/assets/scss/base/_typography.scss

177 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 $font-weight-regular: 400;
2 $font-weight-medium: 500;
3 $font-weight-bold: 700;
4
5 @mixin text-style($font-size, $line-height, $font-weight: $font-weight-regular) {
6 font-size: #{$font-size}px;
7 line-height: #{$line-height}px;
8 font-weight: $font-weight;
9 // TODO check with Elina about this
10 //color: var(--map-base-text-0);
11 }
12
13 /* Primary body text */
14 .text-primary {
15 color: var(--map-base-text-0) !important;
16 }
17
18 /* Secondary */
19 .text-secondary {
20 color: var(--map-base-text--1) !important;
21 }
22
23 /* Muted */
24 .text-muted {
25 color: var(--map-base-text--2) !important;
26 }
27
28 /* Danger */
29 .text-danger {
30 color: var(--map-status-error-symbol-0) !important;
31 }
32
33 /* Link */
34 .text-link {
35 color: var(--map-base-brand-symbol-0) !important;
36 text-decoration: none;
37 box-shadow: none !important;
38 outline: none !important;
39
40 // Hover
41 &:hover {
42 color: var(--map-base-brand-symbol-0) !important;
43 text-decoration: underline;
44 cursor: pointer;
45 }
46 }
47
48 /* Text Align */
49 .text-align-center {
50 text-align: center;
51 }
52
53 .text-align-right {
54 text-align: right;
55 }
56
57 .ivyforms-whitespace-nowrap {
58 white-space: nowrap;
59 }
60
61 /* Three Dots */
62 .ivyforms-text-cut {
63 text-overflow: ellipsis;
64 overflow: hidden;
65 white-space: nowrap;
66 }
67
68 /* Word Break */
69 .ivyforms-word-break {
70 word-break: break-word;
71 }
72
73 /* Regular */
74 .regular-68 {
75 @include text-style(68, 76, $font-weight-regular);
76 }
77 .regular-42 {
78 @include text-style(42, 52, $font-weight-regular);
79 }
80 .regular-32 {
81 @include text-style(32, 40, $font-weight-regular);
82 }
83 .regular-28 {
84 @include text-style(28, 36, $font-weight-regular);
85 }
86 .regular-24 {
87 @include text-style(24, 32, $font-weight-regular);
88 }
89 .regular-20 {
90 @include text-style(20, 28, $font-weight-regular);
91 }
92 .regular-18 {
93 @include text-style(18, 24, $font-weight-regular);
94 }
95 .regular-16 {
96 @include text-style(16, 22, $font-weight-regular);
97 }
98 .regular-14 {
99 @include text-style(14, 20, $font-weight-regular);
100 }
101 .regular-12 {
102 @include text-style(12, 16, $font-weight-regular);
103 }
104 .regular-10 {
105 @include text-style(10, 14, $font-weight-regular);
106 }
107
108 /* Medium */
109 .medium-68 {
110 @include text-style(68, 76, $font-weight-medium);
111 }
112 .medium-42 {
113 @include text-style(42, 52, $font-weight-medium);
114 }
115 .medium-32 {
116 @include text-style(32, 40, $font-weight-medium);
117 }
118 .medium-28 {
119 @include text-style(28, 36, $font-weight-medium);
120 }
121 .medium-24 {
122 @include text-style(24, 32, $font-weight-medium);
123 }
124 .medium-20 {
125 @include text-style(20, 28, $font-weight-medium);
126 }
127 .medium-18 {
128 @include text-style(18, 24, $font-weight-medium);
129 }
130 .medium-16 {
131 @include text-style(16, 22, $font-weight-medium);
132 }
133 .medium-14 {
134 @include text-style(14, 20, $font-weight-medium);
135 }
136 .medium-12 {
137 @include text-style(12, 16, $font-weight-medium);
138 }
139 .medium-10 {
140 @include text-style(10, 14, $font-weight-medium);
141 }
142
143 /* Bold */
144 .bold-68 {
145 @include text-style(68, 76, $font-weight-bold);
146 }
147 .bold-42 {
148 @include text-style(42, 52, $font-weight-bold);
149 }
150 .bold-32 {
151 @include text-style(32, 40, $font-weight-bold);
152 }
153 .bold-28 {
154 @include text-style(28, 36, $font-weight-bold);
155 }
156 .bold-24 {
157 @include text-style(24, 32, $font-weight-bold);
158 }
159 .bold-20 {
160 @include text-style(20, 28, $font-weight-bold);
161 }
162 .bold-18 {
163 @include text-style(18, 24, $font-weight-bold);
164 }
165 .bold-16 {
166 @include text-style(16, 22, $font-weight-bold);
167 }
168 .bold-14 {
169 @include text-style(14, 20, $font-weight-bold);
170 }
171 .bold-12 {
172 @include text-style(12, 16, $font-weight-bold);
173 }
174 .bold-10 {
175 @include text-style(10, 14, $font-weight-bold);
176 }
177