pacem-less 0.40.5-byblos → 0.50.0-atlantis
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.
- package/fonts-empty.less +9 -2
- package/pacem/fonts-dark.less +6 -4
- package/pacem/fonts-light.less +7 -4
- package/pacem/fonts-phousys.less +8 -6
- package/pacem/icons.less +24 -2
- package/pacem/layout/dark/typography.less +1 -1
- package/pacem/layout/mixins.less +1 -1
- package/pacem/maps/index.less +10 -3
- package/pacem/pacem.less +14 -5
- package/pacem/plus/carousel.less +1 -2
- package/pacem/scaffolding/dark/calendar-picker.less +1 -1
- package/pacem/scaffolding/dark/char-counter.less +1 -1
- package/pacem/scaffolding/dark/checkbox.less +4 -0
- package/pacem/scaffolding/dark/geolocate.less +12 -0
- package/pacem/scaffolding/dark/index.less +3 -2
- package/pacem/scaffolding/dark/radio.less +3 -0
- package/pacem/scaffolding/dark/suggest.less +1 -1
- package/pacem/scaffolding/dark/validators.less +2 -2
- package/pacem/theme-dark.less +16 -3
- package/pacem/theme-light.less +5 -1
- package/pacem/theme-phousys.less +1 -1
- package/pacem/ui/dark/balloon.less +30 -4
- package/pacem/ui/dark/icon.less +68 -0
- package/pacem/ui/dark/markdown.less +1 -1
- package/pacem/ui/dark/toc.less +1 -1
- package/package.json +1 -1
- package/shared.less +7 -0
- package/theme-empty.less +1 -1
package/fonts-empty.less
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
@import
|
|
1
|
+
@import 'shared';
|
|
2
|
+
|
|
3
|
+
@font_icons_apiurl: @material_symbols_font;
|
|
4
|
+
@font_std_apiurl: https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700;
|
|
5
|
+
@font_main_apiurl: https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700;
|
|
6
|
+
@font_tech_apiurl: https://fonts.googleapis.com/css?family=Share+Tech+Mono;
|
|
7
|
+
|
|
8
|
+
/*@import url("@{material_symbols_font}");
|
|
2
9
|
@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);
|
|
3
10
|
@import url(https://fonts.googleapis.com/css?family=Share+Tech+Mono);
|
|
4
|
-
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700)
|
|
11
|
+
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700);*/
|
package/pacem/fonts-dark.less
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@
|
|
3
|
-
|
|
4
|
-
@
|
|
1
|
+
@import "../shared";
|
|
2
|
+
@font_icons_apiurl: @material_symbols_font;
|
|
3
|
+
// wrap in quotes when ';' in the url
|
|
4
|
+
@font_main_apiurl: ~"'https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap'";
|
|
5
|
+
@font_std_apiurl: ~"'https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;700&display=swap'";
|
|
6
|
+
@font_tech_apiurl: ~"'https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;700&display=swap'";
|
package/pacem/fonts-light.less
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
@import
|
|
2
|
-
|
|
3
|
-
@
|
|
4
|
-
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@font_icons_apiurl: @material_symbols_font;
|
|
4
|
+
// wrap in quotes when ';' in the url
|
|
5
|
+
@font_main_apiurl: ~"'https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap'";
|
|
6
|
+
@font_std_apiurl: ~"'https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap'";
|
|
7
|
+
@font_tech_apiurl: ~"'https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;700&display=swap'";
|
package/pacem/fonts-phousys.less
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
@import
|
|
2
|
-
|
|
3
|
-
@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@font_icons_apiurl: @material_symbols_font;
|
|
4
|
+
// wrap in quotes when ';' in the url
|
|
5
|
+
@font_main_apiurl: ~"'https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap'";
|
|
6
|
+
@font_std_apiurl: ~"'https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;700&display=swap'";
|
|
7
|
+
@font_tech_apiurl: ~"https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap";
|
|
8
|
+
@font_btn_apiurl: ~"https://fonts.googleapis.com/css2?family=Teko:wght@300&display=swap";
|
package/pacem/icons.less
CHANGED
|
@@ -4,7 +4,15 @@
|
|
|
4
4
|
i.@{PCSS}-icon {
|
|
5
5
|
.IconCore();
|
|
6
6
|
.PacemIconCore();
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
&.icon-fill {
|
|
9
|
+
.IconVariation(1);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.icon-outline {
|
|
13
|
+
.IconVariation(0);
|
|
14
|
+
}
|
|
15
|
+
|
|
8
16
|
&.space-left {
|
|
9
17
|
margin-left: @grid_spacing/2;
|
|
10
18
|
|
|
@@ -22,7 +30,6 @@ i.@{PCSS}-icon {
|
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
transform-origin: center center;
|
|
25
|
-
|
|
26
33
|
// rotate
|
|
27
34
|
&.rotate-45 {
|
|
28
35
|
transform: rotate(45deg);
|
|
@@ -52,3 +59,18 @@ i.@{PCSS}-icon {
|
|
|
52
59
|
transform: rotate(315deg);
|
|
53
60
|
}
|
|
54
61
|
}
|
|
62
|
+
|
|
63
|
+
i.material-icons {
|
|
64
|
+
font-family: ~"var(--@{PCSS}-font-icons)" !important;
|
|
65
|
+
font-size: @font_icon_size;
|
|
66
|
+
font-weight: normal;
|
|
67
|
+
font-style: normal;
|
|
68
|
+
line-height: 1;
|
|
69
|
+
letter-spacing: normal;
|
|
70
|
+
text-transform: none;
|
|
71
|
+
display: inline-block;
|
|
72
|
+
white-space: nowrap;
|
|
73
|
+
word-wrap: normal;
|
|
74
|
+
direction: ltr;
|
|
75
|
+
-webkit-font-smoothing: antialiased;
|
|
76
|
+
}
|
package/pacem/layout/mixins.less
CHANGED
package/pacem/maps/index.less
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
@import "../theme-dark";
|
|
2
2
|
|
|
3
3
|
@{P}-map,
|
|
4
|
-
@{P}-map-marker
|
|
5
|
-
|
|
4
|
+
@{P}-map-marker,
|
|
5
|
+
@{P}-map-circle,
|
|
6
|
+
@{P}-map-polygon,
|
|
7
|
+
@{P}-map-polyline,
|
|
8
|
+
@{P}-map-rectangle,
|
|
9
|
+
@{P}-map-geocoder,
|
|
10
|
+
@{P}-map-adapter-leaflet,
|
|
11
|
+
@{P}-map-adapter-google,
|
|
12
|
+
@{P}-map-adapter-azure {
|
|
6
13
|
font-size: 0;
|
|
7
14
|
display: none !important;
|
|
8
|
-
|
|
15
|
+
user-select: none;
|
|
9
16
|
}
|
|
10
17
|
|
|
11
18
|
.@{PCSS}-map > div{
|
package/pacem/pacem.less
CHANGED
|
@@ -63,8 +63,6 @@ html .@{PCSS}-preloader {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
@{shell} when (@shell_only = false), (@full_theme = true) {
|
|
66
|
-
// fonts
|
|
67
|
-
@import "@{fonts}";
|
|
68
66
|
|
|
69
67
|
@import "logging/index";
|
|
70
68
|
@import "body";
|
|
@@ -153,9 +151,12 @@ html .@{PCSS}-preloader {
|
|
|
153
151
|
@import "text-overrides";
|
|
154
152
|
}
|
|
155
153
|
|
|
156
|
-
// do not render variables in shell-only mode in order to ease themeable scenarios
|
|
157
154
|
@{shell}:root when (@shell_only = false), (@full_theme = true) {
|
|
158
155
|
|
|
156
|
+
// fonts
|
|
157
|
+
@import "@{fonts}";
|
|
158
|
+
|
|
159
|
+
|
|
159
160
|
@_size_1: @grid_spacing/3;
|
|
160
161
|
@_size_2: @_size_1 * 2;
|
|
161
162
|
@_size_3: @_size_1 * 3;
|
|
@@ -198,7 +199,7 @@ html .@{PCSS}-preloader {
|
|
|
198
199
|
@_r: round(red(@value));
|
|
199
200
|
@_g: round(green(@value));
|
|
200
201
|
@_b: round(blue(@value));
|
|
201
|
-
|
|
202
|
+
|
|
202
203
|
--@{PCSS}-color-@{key}-rgb: @_r, @_g, @_b;
|
|
203
204
|
}
|
|
204
205
|
|
|
@@ -306,9 +307,16 @@ each(range(12), {
|
|
|
306
307
|
});
|
|
307
308
|
// font-faces
|
|
308
309
|
--@{PCSS}-font-std: @font_std;
|
|
310
|
+
--@{PCSS}-font-icons: @font_icons;
|
|
309
311
|
--@{PCSS}-font-main: @font_main;
|
|
310
312
|
--@{PCSS}-font-tech: @font_tech;
|
|
311
313
|
--@{PCSS}-font-btn: @button_fontfamily;
|
|
314
|
+
// font api urls, just in case
|
|
315
|
+
--@{PCSS}-font-std-api-url: @font_std_apiurl;
|
|
316
|
+
--@{PCSS}-font-main-api-url: @font_main_apiurl;
|
|
317
|
+
--@{PCSS}-font-tech-api-url: @font_tech_apiurl;
|
|
318
|
+
--@{PCSS}-font-btn-api-url: @font_btn_apiurl;
|
|
319
|
+
--@{PCSS}-font-icons-api-url: @font_icons_apiurl;
|
|
312
320
|
// z-indexing
|
|
313
321
|
--@{PCSS}-zindex-toast: @toast_z_index;
|
|
314
322
|
--@{PCSS}-zindex-balloon: @balloon_z_index;
|
|
@@ -358,6 +366,7 @@ each(range(12), {
|
|
|
358
366
|
/* #endregion deprecated */
|
|
359
367
|
}
|
|
360
368
|
|
|
369
|
+
|
|
361
370
|
// extra
|
|
362
371
|
@extra: "your-extra.less";
|
|
363
|
-
@import (optional) "@{extra}";
|
|
372
|
+
@import (optional) "@{extra}";
|
package/pacem/plus/carousel.less
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
label.@{PCSS}-label.@{PCSS}-checkbox {
|
|
13
13
|
&::before {
|
|
14
14
|
.Icon('check_box_outline_blank', @_checkbox_size);
|
|
15
|
+
.IconVariation(0);
|
|
15
16
|
left: @input_padding_horiz;
|
|
16
17
|
line-height: @field_height;
|
|
17
18
|
color: @color_input_toggle;
|
|
@@ -24,14 +25,17 @@
|
|
|
24
25
|
|
|
25
26
|
&.@{PCSS}-selected label.@{PCSS}-label.@{PCSS}-checkbox:before {
|
|
26
27
|
content: 'check_box';
|
|
28
|
+
.IconVariation(1);
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
.@{PCSS}-readonly.@{PCSS}-checkbox {
|
|
30
32
|
.FormFieldLabelIcon('check_box_outline_blank');
|
|
33
|
+
.IconVariation(0);
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
&.@{PCSS}-selected .@{PCSS}-readonly.@{PCSS}-checkbox::before {
|
|
34
37
|
content: 'check_box';
|
|
38
|
+
.IconVariation(1);
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
41
|
|
|
@@ -47,8 +47,9 @@ label.@{PCSS}-label{
|
|
|
47
47
|
@import "tags";
|
|
48
48
|
@import "snapshot";
|
|
49
49
|
@import "image";
|
|
50
|
-
@import "slider";
|
|
51
|
-
@import "
|
|
50
|
+
@import "slider";
|
|
51
|
+
@import "namevalue-list";
|
|
52
|
+
@import "char-counter";
|
|
52
53
|
@import "formfield";
|
|
53
54
|
@import "form";
|
|
54
55
|
@import "dialog-overrides";
|
|
@@ -10,6 +10,7 @@ label.@{PCSS}-label.@{PCSS}-radio,
|
|
|
10
10
|
|
|
11
11
|
&::before {
|
|
12
12
|
.Icon('radio_button_unchecked', 1.1rem * @font_rem_factor);
|
|
13
|
+
.IconVariation(0);
|
|
13
14
|
left: @input_padding_horiz;
|
|
14
15
|
line-height: @field_height;
|
|
15
16
|
color: @color_input_toggle;
|
|
@@ -20,6 +21,7 @@ label.@{PCSS}-label.@{PCSS}-radio,
|
|
|
20
21
|
|
|
21
22
|
&.@{PCSS}-selected label.@{PCSS}-label.@{PCSS}-radio:before {
|
|
22
23
|
content: 'radio_button_checked';
|
|
24
|
+
.IconVariation(0);
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -28,6 +30,7 @@ label.@{PCSS}-label.@{PCSS}-radio,
|
|
|
28
30
|
|
|
29
31
|
.@{PCSS}-readonly.@{PCSS}-radio {
|
|
30
32
|
.FormFieldLabelIcon('check_circle');
|
|
33
|
+
.IconVariation(1);
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
&.@{PCSS}-disabled {
|
package/pacem/theme-dark.less
CHANGED
|
@@ -44,11 +44,13 @@
|
|
|
44
44
|
@color_watermark: #c0c0c0;
|
|
45
45
|
@color_light: #fff;
|
|
46
46
|
@font_weight: 300;
|
|
47
|
+
@font_std_weight: @font_weight;
|
|
48
|
+
@font_main_weight: 400;
|
|
49
|
+
@font_tech_weight: 400;
|
|
50
|
+
|
|
47
51
|
@font_main: 'PT Sans Narrow', 'Segoe UI Light', Helvetica, sans-serif;
|
|
48
52
|
// @font_tech: Inconsolata, Monospace;
|
|
49
53
|
@font_tech: 'Fira Mono', Monospace;
|
|
50
|
-
@font_icons: 'Material Icons';
|
|
51
|
-
@font_icon_size: @grid_spacing;
|
|
52
54
|
@font_size: 14px;
|
|
53
55
|
@font_rem_factor: 1;
|
|
54
56
|
@font_std: 'Roboto Condensed', 'Segoe UI', Helvetica, sans-serif;
|
|
@@ -56,6 +58,10 @@
|
|
|
56
58
|
@font_main_rem_factor: 1;
|
|
57
59
|
@font_tech_rem_factor: @font_rem_factor;
|
|
58
60
|
|
|
61
|
+
@font_icons: 'Material Symbols Outlined';
|
|
62
|
+
@font_icon_size: @grid_spacing;
|
|
63
|
+
@font_icon_fill: 1;
|
|
64
|
+
|
|
59
65
|
// tweak needed to align the icon to the std font baseline
|
|
60
66
|
@font_icon_offset: -1px;
|
|
61
67
|
|
|
@@ -606,7 +612,7 @@
|
|
|
606
612
|
}
|
|
607
613
|
|
|
608
614
|
.IconCore() {
|
|
609
|
-
font-family:
|
|
615
|
+
font-family: ~"var(--@{PCSS}-font-icons)";
|
|
610
616
|
text-transform: none;
|
|
611
617
|
letter-spacing: normal;
|
|
612
618
|
word-wrap: normal;
|
|
@@ -620,6 +626,13 @@
|
|
|
620
626
|
-moz-osx-font-smoothing: grayscale;
|
|
621
627
|
/* Support for IE. */
|
|
622
628
|
font-feature-settings: 'liga';
|
|
629
|
+
// variable fonts
|
|
630
|
+
transition: font-variation-settings .25s @easing_in_out_sine;
|
|
631
|
+
font-variation-settings: 'FILL' @font_icon_fill, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.IconVariation(@fill) {
|
|
635
|
+
font-variation-settings: 'FILL' @fill, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
623
636
|
}
|
|
624
637
|
|
|
625
638
|
.PacemIcon(@icon) {
|
package/pacem/theme-light.less
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
@font_weight: 400;
|
|
8
8
|
@font_rem_factor: 1;
|
|
9
9
|
|
|
10
|
+
@font_icon_fill: 0;
|
|
11
|
+
|
|
10
12
|
@color_blue: #fff; // #1e2336;
|
|
11
13
|
@color_red: #ff005a; // #af0843;
|
|
12
14
|
@color_teal: #429bbb; // #8fbbcc; //#73c8e9;
|
|
@@ -75,7 +77,8 @@
|
|
|
75
77
|
@balloon_color: #e4e7e9;
|
|
76
78
|
@balloon_shadows: true;
|
|
77
79
|
// contextmenu
|
|
78
|
-
@color_contextmenu_hover_back:
|
|
80
|
+
@color_contextmenu_hover_back: lighten(@color_button_back, 1);
|
|
81
|
+
@color_contextmenu_hover_fore: darken(@color_default, @button_hover_percentage);
|
|
79
82
|
// slider
|
|
80
83
|
@color_slider_thumb: darken(@color_button_back, 5);
|
|
81
84
|
// suggest
|
|
@@ -83,6 +86,7 @@
|
|
|
83
86
|
@color_suggest_back: @color_lightblue;
|
|
84
87
|
@color_suggest_border_light: rgba(255,255,255,0.8);
|
|
85
88
|
@color_suggest_border_dark: rgba(0,0,0,0.075);
|
|
89
|
+
|
|
86
90
|
// tab
|
|
87
91
|
@color_tab_back: @color_background; // @color_button_back;
|
|
88
92
|
@color_tab_highlight: @color_highlight;
|
package/pacem/theme-phousys.less
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@font_btn: 'Teko', sans-serif;
|
|
15
15
|
@font_main: 'PT Sans Narrow', 'Segoe UI Light', Helvetica, sans-serif;
|
|
16
16
|
@font_tech: 'Share Tech Mono', Monospace;
|
|
17
|
-
@font_icons: 'Material
|
|
17
|
+
@font_icons: 'Material Symbols Outlined';
|
|
18
18
|
@font_size: 14px;
|
|
19
19
|
@font_std_rem_factor: 1;
|
|
20
20
|
@font_main_rem_factor: 1;
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&::after {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
@_clr0: fade(@_clr, min(99, @_opacity));
|
|
24
|
+
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='@{grid_spacing}' viewBox='0 0 24 24' width='@{grid_spacing}' fill='@{_clr0}'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&.balloon-corners {
|
|
@@ -66,22 +66,41 @@
|
|
|
66
66
|
@_offset: -2 * @grid_spacing / 3;
|
|
67
67
|
|
|
68
68
|
&::after {
|
|
69
|
-
|
|
69
|
+
position: absolute;
|
|
70
|
+
display: block;
|
|
71
|
+
width: @grid_spacing;
|
|
72
|
+
height: $width;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
.BalloonColorize(@balloon_color, @color_default, @balloon_color, 100);
|
|
73
76
|
|
|
77
|
+
.BalloonTipShadow(@a, @b, @c, @f) {
|
|
78
|
+
|
|
79
|
+
&when (@balloon_shadows = true) and (@dark_theme = true) and (luminance(@color_background) >= 5) {
|
|
80
|
+
filter: drop-shadow(@a @b @c fade( @color_dark, 50 * @f));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&when (@balloon_shadows = true) and (@dark_theme = true) and (luminance(@color_background) < 5) {
|
|
84
|
+
filter: drop-shadow(@a @b @c fade( @color_dark, 75 * @f));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&when (@balloon_shadows = true) and (@dark_theme = false) {
|
|
88
|
+
filter: drop-shadow(@a @b @c fade( @color_dark, 25 * @f));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
74
92
|
&.balloon-right {
|
|
75
93
|
&::after {
|
|
76
94
|
transform: rotateZ(180deg);
|
|
77
95
|
left: @_offset;
|
|
96
|
+
.BalloonTipShadow(2px, -2px, 1px, .5);
|
|
78
97
|
}
|
|
79
98
|
}
|
|
80
99
|
|
|
81
100
|
&.balloon-left {
|
|
82
101
|
&::after {
|
|
83
|
-
//transform: rotateZ(-90deg);
|
|
84
102
|
right: @_offset;
|
|
103
|
+
.BalloonTipShadow(2px, 2px, 1px, .5);
|
|
85
104
|
}
|
|
86
105
|
}
|
|
87
106
|
|
|
@@ -89,6 +108,7 @@
|
|
|
89
108
|
&::after {
|
|
90
109
|
bottom: @_offset;
|
|
91
110
|
transform: rotate(90deg);
|
|
111
|
+
.BalloonTipShadow(3px, 0, 2px, 1);
|
|
92
112
|
}
|
|
93
113
|
}
|
|
94
114
|
|
|
@@ -96,6 +116,8 @@
|
|
|
96
116
|
&::after {
|
|
97
117
|
transform: rotateZ(-90deg);
|
|
98
118
|
top: @_offset;
|
|
119
|
+
// no shadow under the tip
|
|
120
|
+
.BalloonTipShadow(2px, 0, 1px, .5);
|
|
99
121
|
}
|
|
100
122
|
}
|
|
101
123
|
|
|
@@ -205,6 +227,10 @@
|
|
|
205
227
|
.BalloonColorize(@color_primary, @color_primary_inv);
|
|
206
228
|
}
|
|
207
229
|
|
|
230
|
+
&.balloon-secondary {
|
|
231
|
+
.BalloonColorize(@color_secondary, @color_secondary_inv);
|
|
232
|
+
}
|
|
233
|
+
|
|
208
234
|
&.balloon-alternative {
|
|
209
235
|
.BalloonColorize(@color_background, @color_default);
|
|
210
236
|
}
|
package/pacem/ui/dark/icon.less
CHANGED
|
@@ -8,11 +8,26 @@
|
|
|
8
8
|
> i,
|
|
9
9
|
> i.@{PCSS}-icon,
|
|
10
10
|
> i.material-icons,
|
|
11
|
+
> i.material-symbols-outlined,
|
|
12
|
+
> i.material-symbols-sharp,
|
|
13
|
+
> i.material-symbols-rounded,
|
|
11
14
|
> img,
|
|
12
15
|
> svg {
|
|
13
16
|
display: block;
|
|
14
17
|
}
|
|
15
18
|
|
|
19
|
+
&.icon-fill {
|
|
20
|
+
> i {
|
|
21
|
+
.IconVariation(1);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.icon-outline {
|
|
26
|
+
> i {
|
|
27
|
+
.IconVariation(0);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
16
31
|
&.icon-text-bottom {
|
|
17
32
|
vertical-align: text-bottom;
|
|
18
33
|
}
|
|
@@ -71,3 +86,56 @@
|
|
|
71
86
|
}
|
|
72
87
|
}
|
|
73
88
|
}
|
|
89
|
+
|
|
90
|
+
// sizes
|
|
91
|
+
@{P}-icon, i.@{PCSS}-icon {
|
|
92
|
+
|
|
93
|
+
&.icon-size-small {
|
|
94
|
+
font-size: .9 * @font_icon_size;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.icon-size-smaller {
|
|
98
|
+
font-size: .8667 * @font_icon_size;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.icon-size-tiny {
|
|
102
|
+
font-size: .75 * @font_icon_size;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.icon-size-smallest {
|
|
106
|
+
font-size: .6667 * @font_icon_size;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.icon-size-big {
|
|
110
|
+
font-size: 1.3333 * @font_icon_size;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.icon-size-bigger {
|
|
114
|
+
font-size: 1.6667 * @font_icon_size;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.icon-size-huge {
|
|
118
|
+
font-size: 2 * @font_icon_size;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&.icon-size-biggest {
|
|
122
|
+
font-size: 2.5 * @font_icon_size;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.icon-size-regular {
|
|
126
|
+
font-size: @font_icon_size;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.icon-size {
|
|
130
|
+
|
|
131
|
+
each(range(12), {
|
|
132
|
+
|
|
133
|
+
&.icon-size-@{value}{
|
|
134
|
+
font-size: ~"var(--@{PCSS}-size-@{value})";
|
|
135
|
+
}
|
|
136
|
+
&.icon-size--@{value}{
|
|
137
|
+
font-size: ~"var(--@{PCSS}-size--@{value})";
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
}
|
package/pacem/ui/dark/toc.less
CHANGED
package/package.json
CHANGED
package/shared.less
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
@font_icons_apiurl: e("");
|
|
3
|
+
@font_std_apiurl: e("");
|
|
4
|
+
@font_tech_apiurl: e("");
|
|
5
|
+
@font_main_apiurl: e("");
|
|
6
|
+
@font_btn_apiurl: e("");
|
|
7
|
+
@material_symbols_font: ~"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200";
|
|
8
|
+
|
|
2
9
|
.Ellipsed(@max-width) {
|
|
3
10
|
white-space: nowrap;
|
|
4
11
|
overflow: hidden;
|
package/theme-empty.less
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@font_weight: 300;
|
|
13
13
|
@font_main: 'PT Sans Narrow', 'Segoe UI Light', Helvetica, sans-serif;
|
|
14
14
|
@font_tech: 'Share Tech Mono', Monotype;
|
|
15
|
-
@font_icons: 'Material
|
|
15
|
+
@font_icons: 'Material Symbols Outlined';
|
|
16
16
|
@font_size: 14px;
|
|
17
17
|
@font_std: 'Roboto Condensed', 'Segoe UI', Helvetica, sans-serif;
|
|
18
18
|
@font_rem_factor: 1; // <- adjustment factor for @font_std vs @font_size
|