pacem-less 0.40.0-berbera → 0.40.0-borsippa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ h1, h2, h3 {
|
|
|
11
11
|
|
|
12
12
|
h1, h2, h3, h4, h5, h6 {
|
|
13
13
|
font-weight: 400;
|
|
14
|
-
font-family:
|
|
14
|
+
font-family: ~"var(--@{PCSS}-font-main)";
|
|
15
15
|
line-height: 1.1;
|
|
16
16
|
|
|
17
17
|
&.@{PCSS}-title {
|
|
@@ -105,18 +105,6 @@ hr {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.border-dashed {
|
|
109
|
-
border-style: dashed;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.border-dotted {
|
|
113
|
-
border-style: dotted;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.border-solid {
|
|
117
|
-
border-style: solid;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
108
|
a, a:hover, a:visited {
|
|
121
109
|
color: @color_link;
|
|
122
110
|
}
|
package/pacem/pacem.less
CHANGED
|
@@ -198,58 +198,59 @@ html .@{PCSS}-preloader {
|
|
|
198
198
|
@_r: round(red(@value));
|
|
199
199
|
@_g: round(green(@value));
|
|
200
200
|
@_b: round(blue(@value));
|
|
201
|
+
|
|
201
202
|
--@{PCSS}-color-@{key}-rgb: @_r, @_g, @_b;
|
|
202
203
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
204
|
+
|
|
205
|
+
@__color_background: @color_background;
|
|
206
|
+
@__color_background_inv: @color_default;
|
|
207
|
+
@__color_root: @color_root_background;
|
|
208
|
+
@__color_root_inv: @color_default;
|
|
209
|
+
@__color_default: @color_default;
|
|
210
|
+
@__color_default_inv: @color_default_inv;
|
|
211
|
+
@__color_invert: @color_default;
|
|
212
|
+
@__color_invert_inv: @color_background;
|
|
213
|
+
@__color_primary: @color_primary;
|
|
214
|
+
@__color_primary_inv: @color_primary_inv;
|
|
215
|
+
@__color_secondary: @color_secondary;
|
|
216
|
+
@__color_secondary_inv: @color_secondary_inv;
|
|
217
|
+
@__color_accent: @color_accent;
|
|
218
|
+
@__color_accent_inv: @color_accent_inv;
|
|
219
|
+
@__color_info: @color_info;
|
|
220
|
+
@__color_info_inv: @color_info_inv;
|
|
221
|
+
@__color_success: @color_success;
|
|
222
|
+
@__color_success_inv: @color_success_inv;
|
|
223
|
+
@__color_warning: @color_warning;
|
|
224
|
+
@__color_warning_inv: @color_warning_inv;
|
|
225
|
+
@__color_danger: @color_danger;
|
|
226
|
+
@__color_danger_inv: @color_danger_inv;
|
|
227
|
+
@__color_error: @color_error;
|
|
228
|
+
@__color_error_inv: @color_error_inv;
|
|
229
|
+
@__color_disabled: @color_disabled;
|
|
230
|
+
@__color_disabled_inv: @color_disabled_inv;
|
|
231
|
+
|
|
232
|
+
@__color_green: @palette_green;
|
|
233
|
+
@__color_green_inv: @palette_green_inv;
|
|
234
|
+
@__color_yellow: @palette_yellow;
|
|
235
|
+
@__color_yellow_inv: @palette_yellow_inv;
|
|
236
|
+
@__color_brown: @palette_brown;
|
|
237
|
+
@__color_brown_inv: @palette_brown_inv;
|
|
238
|
+
@__color_red: @palette_red;
|
|
239
|
+
@__color_red_inv: @palette_red_inv;
|
|
240
|
+
@__color_pink: @palette_pink;
|
|
241
|
+
@__color_pink_inv: @palette_pink_inv;
|
|
242
|
+
@__color_blue: @palette_blue;
|
|
243
|
+
@__color_blue_inv: @palette_blue_inv;
|
|
244
|
+
@__color_orange: @palette_orange;
|
|
245
|
+
@__color_orange_inv: @palette_orange_inv;
|
|
246
|
+
@__color_purple: @palette_purple;
|
|
247
|
+
@__color_purple_inv: @palette_purple_inv;
|
|
248
|
+
@__color_teal: @palette_teal;
|
|
249
|
+
@__color_teal_inv: @palette_teal_inv;
|
|
250
|
+
|
|
251
|
+
@_colors: root, background, default, invert, primary, secondary, accent, info, success, warning, danger, error, disabled, green, yellow, brown, red, pink, blue, orange, purple, teal;
|
|
252
|
+
|
|
253
|
+
// basic palette
|
|
253
254
|
each(@_colors, {
|
|
254
255
|
|
|
255
256
|
@_color_var: ~"__color_@{value}";
|
|
@@ -297,6 +298,11 @@ each(range(12), {
|
|
|
297
298
|
--@{PCSS}-size-@{value}: @@_s;
|
|
298
299
|
--@{PCSS}-size--@{value}: @@__s;
|
|
299
300
|
});
|
|
301
|
+
// font-faces
|
|
302
|
+
--@{PCSS}-font-std: @font_std;
|
|
303
|
+
--@{PCSS}-font-main: @font_main;
|
|
304
|
+
--@{PCSS}-font-tech: @font_tech;
|
|
305
|
+
--@{PCSS}-font-btn: @button_fontfamily;
|
|
300
306
|
// z-indexing
|
|
301
307
|
--@{PCSS}-zindex-toast: @toast_z_index;
|
|
302
308
|
--@{PCSS}-zindex-balloon: @balloon_z_index;
|
|
@@ -337,7 +343,7 @@ each(range(12), {
|
|
|
337
343
|
--grid-cell: @grid_cell;
|
|
338
344
|
--grid-spacing: @grid_spacing;
|
|
339
345
|
--grid-double-spacing: @double_grid_spacing;
|
|
340
|
-
|
|
346
|
+
/* #endregion deprecated */
|
|
341
347
|
}
|
|
342
348
|
|
|
343
349
|
// extra
|
|
@@ -2,11 +2,63 @@
|
|
|
2
2
|
|
|
3
3
|
/* #region text overrides */
|
|
4
4
|
|
|
5
|
+
@_font_faces: std, main, tech;
|
|
6
|
+
|
|
7
|
+
each(@_font_faces, {
|
|
8
|
+
|
|
9
|
+
.type-@{value}{
|
|
10
|
+
font-family: ~"var(--@{PCSS}-font-@{value})" !important;
|
|
11
|
+
|
|
12
|
+
@_f: ~"font_@{value}_rem_factor";
|
|
13
|
+
@_factor : @@_f;
|
|
14
|
+
|
|
15
|
+
font-size: 1rem * @_factor;
|
|
16
|
+
|
|
17
|
+
&.font-size-regular{
|
|
18
|
+
font-size: 1rem * @_factor;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.font-size-small{
|
|
22
|
+
font-size: 1rem * .9 * @_factor;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.font-size-smaller{
|
|
26
|
+
font-size: 1rem * .8667 * @_factor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.font-size-tiny{
|
|
30
|
+
font-size: 1rem * .75 * @_factor;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.font-size-smallest{
|
|
34
|
+
font-size: 1rem * .6667 * @_factor;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.font-size-big{
|
|
38
|
+
font-size: 1rem * 1.3333 * @_factor;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.font-size-bigger{
|
|
42
|
+
font-size: 1rem * 1.6667 * @_factor;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.font-size-huge{
|
|
46
|
+
font-size: 1rem * 2 * @_factor;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.font-size-biggest{
|
|
50
|
+
font-size: 1rem * 2.5 * @_factor;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
|
|
5
58
|
.text-strike {
|
|
6
59
|
text-decoration: line-through !important;
|
|
7
60
|
}
|
|
8
61
|
|
|
9
|
-
|
|
10
62
|
.text-small {
|
|
11
63
|
font-size: .9em !important;
|
|
12
64
|
}
|
|
@@ -112,7 +164,6 @@
|
|
|
112
164
|
.text-main {
|
|
113
165
|
font-family: @font_main !important;
|
|
114
166
|
}
|
|
115
|
-
|
|
116
167
|
.text-normal {
|
|
117
168
|
text-transform: none !important;
|
|
118
169
|
font-style: normal !important;
|
|
@@ -126,7 +177,7 @@
|
|
|
126
177
|
}
|
|
127
178
|
.text-reset {
|
|
128
179
|
.text-normal();
|
|
129
|
-
|
|
180
|
+
font-family: ~"var(--@{PCSS}-font-std)" !important;
|
|
130
181
|
.FontStdSize(1);
|
|
131
182
|
}
|
|
132
183
|
/* #endregion */
|
package/pacem/theme-dark.less
CHANGED
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.FontStd(@rem, @weight) {
|
|
97
|
-
font-family:
|
|
97
|
+
font-family: ~"var(--@{PCSS}-font-std)";
|
|
98
98
|
.FontStdSize(@rem);
|
|
99
99
|
font-weight: @weight;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.FontStd(@rem) {
|
|
103
|
-
font-family:
|
|
103
|
+
font-family: ~"var(--@{PCSS}-font-std)";
|
|
104
104
|
.FontStdSize(@rem);
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -113,13 +113,13 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.FontMain(@rem, @weight) {
|
|
116
|
-
font-family:
|
|
116
|
+
font-family: ~"var(--@{PCSS}-font-main)";
|
|
117
117
|
font-weight: @weight;
|
|
118
118
|
.FontMainSize(@rem);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.FontMain(@rem) {
|
|
122
|
-
font-family:
|
|
122
|
+
font-family: ~"var(--@{PCSS}-font-main)";
|
|
123
123
|
.FontMainSize(@rem);
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -132,13 +132,13 @@
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.FontTech(@rem, @weight) {
|
|
135
|
-
font-family:
|
|
135
|
+
font-family: ~"var(--@{PCSS}-font-tech)";
|
|
136
136
|
.FontTechSize(@rem);
|
|
137
137
|
font-weight: @weight;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.FontTech(@rem) {
|
|
141
|
-
font-family:
|
|
141
|
+
font-family: ~"var(--@{PCSS}-font-tech)";
|
|
142
142
|
.FontTechSize(@rem);
|
|
143
143
|
}
|
|
144
144
|
|
package/pacem/theme-phousys.less
CHANGED
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
@font_tech: 'Share Tech Mono', Monospace;
|
|
17
17
|
@font_icons: 'Material Icons';
|
|
18
18
|
@font_size: 14px;
|
|
19
|
-
@
|
|
19
|
+
@font_std_rem_factor: 1;
|
|
20
|
+
@font_main_rem_factor: 1;
|
|
21
|
+
@font_tech_rem_factor: 1;
|
|
20
22
|
@font_std: 'Roboto Condensed', 'Segoe UI', Helvetica, sans-serif; //'Yanone Kaffeesatz', 'Segoe UI', Helvetica, sans-serif;
|
|
21
23
|
// tweak needed to align the icon to the std font baseline
|
|
22
24
|
@font_icon_offset: -2px;
|
package/package.json
CHANGED