PluginProbe
The Innovative Form Builder – IvyForms / 0.9
The Innovative Form Builder – IvyForms v0.9
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 0.9, at frontend/src/assets/scss/base/_typography.scss

164 lines 3.3 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 /* Secondary */
14 .text-secondary {
15 color: var(--map-base-text--1) !important;
16 }
17
18 /* Muted */
19 .text-muted {
20 color: var(--map-base-text--2) !important;
21 }
22
23 /* Danger */
24 .text-danger {
25 color: var(--map-status-error-symbol-0) !important;
26 }
27
28 /* Link */
29 .text-link {
30 color: var(--map-base-brand-symbol-0) !important;
31 text-decoration: none;
32 box-shadow: none !important;
33 outline: none !important;
34
35 // Hover
36 &:hover {
37 color: var(--map-base-brand-symbol-0) !important;
38 text-decoration: underline;
39 cursor: pointer;
40 }
41 }
42
43 /* Text Align */
44 .text-align-center {
45 text-align: center;
46 }
47
48 /* Three Dots */
49 .ivyforms-text-cut {
50 text-overflow: ellipsis;
51 overflow: hidden;
52 white-space: nowrap;
53 }
54
55 /* Word Break */
56 .ivyforms-word-break {
57 word-break: break-word;
58 }
59
60 /* Regular */
61 .regular-68 {
62 @include text-style(68, 76, $font-weight-regular);
63 }
64 .regular-42 {
65 @include text-style(42, 52, $font-weight-regular);
66 }
67 .regular-32 {
68 @include text-style(32, 40, $font-weight-regular);
69 }
70 .regular-28 {
71 @include text-style(28, 36, $font-weight-regular);
72 }
73 .regular-24 {
74 @include text-style(24, 32, $font-weight-regular);
75 }
76 .regular-20 {
77 @include text-style(20, 28, $font-weight-regular);
78 }
79 .regular-18 {
80 @include text-style(18, 24, $font-weight-regular);
81 }
82 .regular-16 {
83 @include text-style(16, 22, $font-weight-regular);
84 }
85 .regular-14 {
86 @include text-style(14, 20, $font-weight-regular);
87 }
88 .regular-12 {
89 @include text-style(12, 16, $font-weight-regular);
90 }
91 .regular-10 {
92 @include text-style(10, 14, $font-weight-regular);
93 }
94
95 /* Medium */
96 .medium-68 {
97 @include text-style(68, 76, $font-weight-medium);
98 }
99 .medium-42 {
100 @include text-style(42, 52, $font-weight-medium);
101 }
102 .medium-32 {
103 @include text-style(32, 40, $font-weight-medium);
104 }
105 .medium-28 {
106 @include text-style(28, 36, $font-weight-medium);
107 }
108 .medium-24 {
109 @include text-style(24, 32, $font-weight-medium);
110 }
111 .medium-20 {
112 @include text-style(20, 28, $font-weight-medium);
113 }
114 .medium-18 {
115 @include text-style(18, 24, $font-weight-medium);
116 }
117 .medium-16 {
118 @include text-style(16, 22, $font-weight-medium);
119 }
120 .medium-14 {
121 @include text-style(14, 20, $font-weight-medium);
122 }
123 .medium-12 {
124 @include text-style(12, 16, $font-weight-medium);
125 }
126 .medium-10 {
127 @include text-style(10, 14, $font-weight-medium);
128 }
129
130 /* Bold */
131 .bold-68 {
132 @include text-style(68, 76, $font-weight-bold);
133 }
134 .bold-42 {
135 @include text-style(42, 52, $font-weight-bold);
136 }
137 .bold-32 {
138 @include text-style(32, 40, $font-weight-bold);
139 }
140 .bold-28 {
141 @include text-style(28, 36, $font-weight-bold);
142 }
143 .bold-24 {
144 @include text-style(24, 32, $font-weight-bold);
145 }
146 .bold-20 {
147 @include text-style(20, 28, $font-weight-bold);
148 }
149 .bold-18 {
150 @include text-style(18, 24, $font-weight-bold);
151 }
152 .bold-16 {
153 @include text-style(16, 22, $font-weight-bold);
154 }
155 .bold-14 {
156 @include text-style(14, 20, $font-weight-bold);
157 }
158 .bold-12 {
159 @include text-style(12, 16, $font-weight-bold);
160 }
161 .bold-10 {
162 @include text-style(10, 14, $font-weight-bold);
163 }
164