@pacem/pacem-theme-less 1.0.0-amaldi
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/LICENSE +191 -0
- package/NOTICE +4 -0
- package/README.md +23 -0
- package/fonts-empty.less +11 -0
- package/pacem/2d/index.less +14 -0
- package/pacem/2d/stage.less +31 -0
- package/pacem/2d/text.less +16 -0
- package/pacem/3d/index.less +24 -0
- package/pacem/3d/stage.less +30 -0
- package/pacem/attributes.less +8 -0
- package/pacem/basic/dock.less +19 -0
- package/pacem/basic/drag-drop.less +75 -0
- package/pacem/basic/index.less +42 -0
- package/pacem/basic/repeater.less +3 -0
- package/pacem/basic/rescale.less +157 -0
- package/pacem/basic/resize.less +3 -0
- package/pacem/basic/scroll-aware.less +4 -0
- package/pacem/basic/swipe.less +22 -0
- package/pacem/basic/viewport-aware.less +4 -0
- package/pacem/body.less +197 -0
- package/pacem/charts/dark/column-line.less +10 -0
- package/pacem/charts/dark/column.less +61 -0
- package/pacem/charts/dark/index.less +9 -0
- package/pacem/charts/dark/line.less +111 -0
- package/pacem/charts/dark/pie.less +210 -0
- package/pacem/charts/dark/shared.less +88 -0
- package/pacem/charts/index.less +1 -0
- package/pacem/charts/light/index.less +2 -0
- package/pacem/charts/phousys/index.less +2 -0
- package/pacem/cms/datagrid-columns.less +41 -0
- package/pacem/cms/grid.less +23 -0
- package/pacem/cms/index.less +3 -0
- package/pacem/cms/shared.less +3 -0
- package/pacem/cms/widget.less +81 -0
- package/pacem/fonts-dark.less +7 -0
- package/pacem/fonts-light.less +7 -0
- package/pacem/fonts-none.less +1 -0
- package/pacem/fonts-phousys.less +8 -0
- package/pacem/fx/fancy.less +138 -0
- package/pacem/fx/gradient.less +21 -0
- package/pacem/fx/hero.less +12 -0
- package/pacem/fx/index.less +6 -0
- package/pacem/fx/list.less +11 -0
- package/pacem/fx/pulse.less +105 -0
- package/pacem/fx/ripple.less +66 -0
- package/pacem/icons.less +76 -0
- package/pacem/layout/animations.less +37 -0
- package/pacem/layout/dark/address.less +37 -0
- package/pacem/layout/dark/borders.less +102 -0
- package/pacem/layout/dark/breadcrumbs.less +85 -0
- package/pacem/layout/dark/cards.less +555 -0
- package/pacem/layout/dark/coloring.less +184 -0
- package/pacem/layout/dark/container.less +50 -0
- package/pacem/layout/dark/datatable.less +454 -0
- package/pacem/layout/dark/elevation.less +74 -0
- package/pacem/layout/dark/fetch-feedback.less +124 -0
- package/pacem/layout/dark/grid-system.less +181 -0
- package/pacem/layout/dark/grids.less +268 -0
- package/pacem/layout/dark/index.less +27 -0
- package/pacem/layout/dark/interactive.less +10 -0
- package/pacem/layout/dark/layout.less +616 -0
- package/pacem/layout/dark/lists.less +112 -0
- package/pacem/layout/dark/other.less +29 -0
- package/pacem/layout/dark/panels.less +299 -0
- package/pacem/layout/dark/positioning.less +273 -0
- package/pacem/layout/dark/scroll.less +93 -0
- package/pacem/layout/dark/shapes.less +22 -0
- package/pacem/layout/dark/sizing.less +108 -0
- package/pacem/layout/dark/spacing.less +296 -0
- package/pacem/layout/dark/superposition-system.less +116 -0
- package/pacem/layout/dark/tiles.less +71 -0
- package/pacem/layout/dark/tokens-chips.less +16 -0
- package/pacem/layout/dark/toolbar.less +32 -0
- package/pacem/layout/dark/typography.less +110 -0
- package/pacem/layout/dark/visibility.less +406 -0
- package/pacem/layout/index.less +2 -0
- package/pacem/layout/light/index.less +2 -0
- package/pacem/layout/light/layout.less +2 -0
- package/pacem/layout/mixins.less +445 -0
- package/pacem/layout/phousys/index.less +2 -0
- package/pacem/layout/phousys/layout.less +2 -0
- package/pacem/layout/shared.less +18 -0
- package/pacem/logging/console.less +3 -0
- package/pacem/logging/fps.less +6 -0
- package/pacem/logging/index.less +2 -0
- package/pacem/maps/index.less +21 -0
- package/pacem/media/dark/index.less +6 -0
- package/pacem/media/index.less +1 -0
- package/pacem/media/light/index.less +2 -0
- package/pacem/media/phousys/index.less +2 -0
- package/pacem/pacem-animations.less +202 -0
- package/pacem/pacem.less +448 -0
- package/pacem/palette-dark.less +0 -0
- package/pacem/palette-light.less +0 -0
- package/pacem/plus/carousel.less +370 -0
- package/pacem/plus/context-menu.less +31 -0
- package/pacem/plus/datagrid/datacell.less +10 -0
- package/pacem/plus/datagrid/headcell.less +32 -0
- package/pacem/plus/datagrid/index.less +48 -0
- package/pacem/plus/edit.less +42 -0
- package/pacem/plus/gallery.less +239 -0
- package/pacem/plus/index.less +7 -0
- package/pacem/plus/modal-form.less +27 -0
- package/pacem/plus/router-hash-state.less +6 -0
- package/pacem/reset.less +51 -0
- package/pacem/scaffolding/dark/calendar-picker.less +415 -0
- package/pacem/scaffolding/dark/char-counter.less +68 -0
- package/pacem/scaffolding/dark/chars.less +29 -0
- package/pacem/scaffolding/dark/checkbox-radio-shared.less +150 -0
- package/pacem/scaffolding/dark/checkbox.less +232 -0
- package/pacem/scaffolding/dark/childform.less +191 -0
- package/pacem/scaffolding/dark/color.less +128 -0
- package/pacem/scaffolding/dark/contenteditable/alignment.less +6 -0
- package/pacem/scaffolding/dark/contenteditable/dashboard.less +253 -0
- package/pacem/scaffolding/dark/contenteditable/index.less +4 -0
- package/pacem/scaffolding/dark/contenteditable/picture.less +74 -0
- package/pacem/scaffolding/dark/contenteditable/placeholder.less +24 -0
- package/pacem/scaffolding/dark/contenteditable.less +157 -0
- package/pacem/scaffolding/dark/datepicker.less +129 -0
- package/pacem/scaffolding/dark/dialog-overrides.less +32 -0
- package/pacem/scaffolding/dark/element-picker.less +11 -0
- package/pacem/scaffolding/dark/expression.less +34 -0
- package/pacem/scaffolding/dark/form.less +16 -0
- package/pacem/scaffolding/dark/formfield.less +1149 -0
- package/pacem/scaffolding/dark/geolocate.less +12 -0
- package/pacem/scaffolding/dark/hierarchy.less +82 -0
- package/pacem/scaffolding/dark/image.less +195 -0
- package/pacem/scaffolding/dark/index.less +57 -0
- package/pacem/scaffolding/dark/input.less +134 -0
- package/pacem/scaffolding/dark/latlng.less +163 -0
- package/pacem/scaffolding/dark/markdown.less +20 -0
- package/pacem/scaffolding/dark/namevalue-list.less +13 -0
- package/pacem/scaffolding/dark/number.less +12 -0
- package/pacem/scaffolding/dark/password.less +12 -0
- package/pacem/scaffolding/dark/property-picker.less +11 -0
- package/pacem/scaffolding/dark/radio.less +78 -0
- package/pacem/scaffolding/dark/search.less +29 -0
- package/pacem/scaffolding/dark/select.less +55 -0
- package/pacem/scaffolding/dark/slider.less +176 -0
- package/pacem/scaffolding/dark/snapshot.less +183 -0
- package/pacem/scaffolding/dark/suggest.less +115 -0
- package/pacem/scaffolding/dark/tags.less +149 -0
- package/pacem/scaffolding/dark/tel.less +11 -0
- package/pacem/scaffolding/dark/textarea.less +29 -0
- package/pacem/scaffolding/dark/upload.less +252 -0
- package/pacem/scaffolding/dark/url.less +9 -0
- package/pacem/scaffolding/dark/validators.less +36 -0
- package/pacem/scaffolding/index.less +2 -0
- package/pacem/scaffolding/light/index.less +2 -0
- package/pacem/scaffolding/phousys/index.less +2 -0
- package/pacem/scaffolding/shared.less +249 -0
- package/pacem/text-overrides.less +219 -0
- package/pacem/theme-dark.less +676 -0
- package/pacem/theme-light.less +119 -0
- package/pacem/theme-phousys-old.less +130 -0
- package/pacem/theme-phousys.less +153 -0
- package/pacem/transforms/index.less +7 -0
- package/pacem/ui/dark/anchor.less +45 -0
- package/pacem/ui/dark/balloon.less +566 -0
- package/pacem/ui/dark/binder.less +50 -0
- package/pacem/ui/dark/blade.less +110 -0
- package/pacem/ui/dark/body.less +5 -0
- package/pacem/ui/dark/bottom-sheet.less +69 -0
- package/pacem/ui/dark/button.less +716 -0
- package/pacem/ui/dark/calendar.less +660 -0
- package/pacem/ui/dark/collapse.less +23 -0
- package/pacem/ui/dark/dialog.less +17 -0
- package/pacem/ui/dark/divider.less +49 -0
- package/pacem/ui/dark/header-footer.less +5 -0
- package/pacem/ui/dark/icon.less +141 -0
- package/pacem/ui/dark/image.less +90 -0
- package/pacem/ui/dark/index.less +82 -0
- package/pacem/ui/dark/infinite-scroller.less +5 -0
- package/pacem/ui/dark/led.less +142 -0
- package/pacem/ui/dark/lightbox.less +140 -0
- package/pacem/ui/dark/loader.less +219 -0
- package/pacem/ui/dark/markdown.less +292 -0
- package/pacem/ui/dark/marquee.less +49 -0
- package/pacem/ui/dark/menu.less +578 -0
- package/pacem/ui/dark/pager.less +166 -0
- package/pacem/ui/dark/picture.less +146 -0
- package/pacem/ui/dark/progressbar.less +167 -0
- package/pacem/ui/dark/sidebar.less +144 -0
- package/pacem/ui/dark/slideshow.less +1 -0
- package/pacem/ui/dark/social.less +5 -0
- package/pacem/ui/dark/sticky-header.less +41 -0
- package/pacem/ui/dark/tabs.less +423 -0
- package/pacem/ui/dark/ticker.less +173 -0
- package/pacem/ui/dark/timeline.less +159 -0
- package/pacem/ui/dark/toast.less +232 -0
- package/pacem/ui/dark/toc.less +47 -0
- package/pacem/ui/dark/tuner.less +155 -0
- package/pacem/ui/dark/view.less +17 -0
- package/pacem/ui/dark/window.less +313 -0
- package/pacem/ui/dialog-vars.less +159 -0
- package/pacem/ui/index.less +1 -0
- package/pacem/ui/light/button.less +8 -0
- package/pacem/ui/light/index.less +3 -0
- package/pacem/ui/light/loader.less +2 -0
- package/pacem/ui/light/menu.less +2 -0
- package/pacem/ui/light/sidebar.less +2 -0
- package/pacem/ui/phousys/button.less +8 -0
- package/pacem/ui/phousys/index.less +3 -0
- package/pacem/ui/phousys/loader.less +2 -0
- package/pacem/ui/phousys/menu.less +2 -0
- package/pacem/ui/phousys/sidebar.less +2 -0
- package/pacem/ui/shared.less +125 -0
- package/package.json +39 -0
- package/shared.less +161 -0
- package/theme-empty.less +116 -0
- package/themebuilder.js +290 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import "../../shared";
|
|
2
|
+
@import "../theme-dark";
|
|
3
|
+
|
|
4
|
+
@{P}-swipe {
|
|
5
|
+
.Inert();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.@{PCSS}-swipe {
|
|
9
|
+
/* Prevents the browser from handling scrolling, letting JS capture the swipe. */
|
|
10
|
+
touch-action: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/*.@{PCSS}-swipe-lock {
|
|
14
|
+
user-select: none;
|
|
15
|
+
}
|
|
16
|
+
.@{PCSS}-swipe-go {
|
|
17
|
+
transition: transform .1s @easing_out_sine;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.@{PCSS}-swipe-back {
|
|
21
|
+
transition: transform .3s @easing_out_back;
|
|
22
|
+
}*/
|
package/pacem/body.less
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
@import "theme-dark";
|
|
2
|
+
|
|
3
|
+
&, body {
|
|
4
|
+
font-family: @font_std;
|
|
5
|
+
background-color: ~"var(--@{PCSS}-color-root)";// @color_root_background;
|
|
6
|
+
color:~"var(--@{PCSS}-color-default)";//@color_light;
|
|
7
|
+
font-size: @font_size;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
overflow-x: hidden;
|
|
12
|
+
line-height: 1.5;
|
|
13
|
+
font-weight: @font_weight;
|
|
14
|
+
.Background();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.@{PCSS}-body.@{PCSS}-animations {
|
|
18
|
+
|
|
19
|
+
.@{PCSS}-anim,
|
|
20
|
+
.@{PCSS}-animatable {
|
|
21
|
+
.Animatable(.333s);
|
|
22
|
+
|
|
23
|
+
&.anim-fade-inout,
|
|
24
|
+
&.anim-rotate {
|
|
25
|
+
animation-timing-function: @easing_in_out_sine;
|
|
26
|
+
animation-delay: 0;
|
|
27
|
+
animation-iteration-count: infinite;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.anim-rotate {
|
|
31
|
+
animation-duration: 1s;
|
|
32
|
+
animation-name: rotate-anim;
|
|
33
|
+
|
|
34
|
+
&.rotate-uniform {
|
|
35
|
+
animation-timing-function: linear;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.anim-fade-inout {
|
|
40
|
+
animation-duration: .6s;
|
|
41
|
+
animation-name: fade-in;
|
|
42
|
+
animation-direction: alternate;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.anim-quick {
|
|
46
|
+
animation-duration: .2s;
|
|
47
|
+
|
|
48
|
+
&.anim-rotate {
|
|
49
|
+
animation-duration: .4s;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.anim-fade-inout {
|
|
53
|
+
animation-duration: .3s;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.anim-sudden {
|
|
58
|
+
animation-delay: .0s;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.anim-slow {
|
|
62
|
+
animation-duration: .8s;
|
|
63
|
+
|
|
64
|
+
&.anim-rotate {
|
|
65
|
+
animation-duration: 2s;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.anim-fade-inout {
|
|
69
|
+
animation-duration: 1s;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.anim-delay {
|
|
74
|
+
animation-delay: 1.2s;
|
|
75
|
+
|
|
76
|
+
&.delay-slight {
|
|
77
|
+
animation-delay: .8s;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.delay-fair {
|
|
81
|
+
animation-delay: 1.6s;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.anim-fade-in {
|
|
86
|
+
animation-name: fade-in;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.anim-fade-out {
|
|
90
|
+
animation-name: fade-in;
|
|
91
|
+
animation-direction: reverse;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.anim-alt {
|
|
95
|
+
animation-name: alt-anim;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.anim-pop {
|
|
99
|
+
animation-name: pop-anim;
|
|
100
|
+
animation-timing-function: @easing_out_back;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.anim-bottom-in {
|
|
104
|
+
animation-name: list-item-bottom;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.anim-top-in {
|
|
108
|
+
animation-name: list-item;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.anim-right-in {
|
|
112
|
+
animation-name: list-item-right;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&.anim-left-in {
|
|
116
|
+
animation-name: list-item-left;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.anim-brightout {
|
|
120
|
+
animation-name: bright-out;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.anim-alt-inv {
|
|
124
|
+
animation-name: enhanced-anim;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&.anim-appear {
|
|
128
|
+
animation-name: appear-anim;
|
|
129
|
+
animation-timing-function: @easing_out_sine;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.anim-reverse {
|
|
133
|
+
animation-direction: reverse;
|
|
134
|
+
}
|
|
135
|
+
// hiding
|
|
136
|
+
&.@{PCSS}-hiding {
|
|
137
|
+
animation-direction: reverse;
|
|
138
|
+
animation-duration: .25s;
|
|
139
|
+
animation-delay: 0s;
|
|
140
|
+
animation-timing-function: ease-in;
|
|
141
|
+
|
|
142
|
+
&.anim-pop {
|
|
143
|
+
animation-timing-function: @easing_in_back;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.anim-appear,
|
|
147
|
+
&.anim-bottom-in,
|
|
148
|
+
&.anim-top-in,
|
|
149
|
+
&.anim-left-in,
|
|
150
|
+
&.anim-right-in {
|
|
151
|
+
animation-timing-function: @easing_in_sine;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
h1.@{PCSS}-animatable,
|
|
157
|
+
h1.@{PCSS}-anim,
|
|
158
|
+
.@{PCSS}-animatable.animatable-header,
|
|
159
|
+
.@{PCSS}-animatable.anim-header,
|
|
160
|
+
.@{PCSS}-anim.anim-header {
|
|
161
|
+
.Animatable('header-anim', .2s);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
::-webkit-scrollbar {
|
|
166
|
+
width: @size_scrollbar;
|
|
167
|
+
height: @size_scrollbar;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
::-webkit-scrollbar-button {
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
::-webkit-scrollbar-track {
|
|
174
|
+
background: @color_scrollbar_track;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
::-webkit-scrollbar-track-piece {
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
::-webkit-scrollbar-thumb {
|
|
181
|
+
background-color: @color_scrollbar_thumb;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
::-webkit-scrollbar-thumb when (@shadows=true) {
|
|
185
|
+
box-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
::-webkit-scrollbar-corner {
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
::-webkit-resizer {
|
|
192
|
+
}
|
|
193
|
+
// gecko
|
|
194
|
+
&, * {
|
|
195
|
+
scrollbar-color: @color_scrollbar_thumb @color_scrollbar_track;
|
|
196
|
+
scrollbar-width: thin;
|
|
197
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
.@{PCSS}-chart-area {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
.@{PCSS}-column-chart {
|
|
7
|
+
.chart-series {
|
|
8
|
+
|
|
9
|
+
rect {
|
|
10
|
+
stroke-opacity: 0;
|
|
11
|
+
stroke-width: 0;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
stroke-opacity: 0.5;
|
|
15
|
+
stroke-width: 0.5%;
|
|
16
|
+
z-index: 1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.series-shade {
|
|
21
|
+
.SeriesFade(.67);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.series-light {
|
|
25
|
+
|
|
26
|
+
linearGradient {
|
|
27
|
+
stop {
|
|
28
|
+
stop-opacity: .5;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
rect {
|
|
33
|
+
&:hover {
|
|
34
|
+
stroke-opacity: 0.25;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.series-shade {
|
|
39
|
+
.SeriesFade(.25);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.series-fade {
|
|
44
|
+
.SeriesFade(0);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.@{PCSS}-animations {
|
|
51
|
+
.@{PCSS}-chart-area {
|
|
52
|
+
.@{PCSS}-column-chart {
|
|
53
|
+
.chart-series {
|
|
54
|
+
rect {
|
|
55
|
+
transform-origin: left bottom;
|
|
56
|
+
transition: stroke-width .2s @easing_in_out_sine, stroke-opacity .1s, x .1s, y .5s @easing_in_out_sine, width .1s, height .5s @easing_in_out_sine;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
.@{PCSS}-chart-area {
|
|
4
|
+
|
|
5
|
+
.@{PCSS}-line-chart {
|
|
6
|
+
|
|
7
|
+
.chart-series {
|
|
8
|
+
|
|
9
|
+
line.circle {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
stroke-width: .667%;
|
|
12
|
+
stroke-linecap: round;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
path {
|
|
16
|
+
stroke-width: .333%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
linearGradient {
|
|
20
|
+
stop {
|
|
21
|
+
stop-opacity: .5;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.series-thin {
|
|
26
|
+
line.circle {
|
|
27
|
+
stroke-width: .5%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
path {
|
|
31
|
+
stroke-width: 0.125%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.series-thick {
|
|
36
|
+
line.circle {
|
|
37
|
+
stroke-width: 1%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
path {
|
|
41
|
+
stroke-width: 0.5%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.series-light {
|
|
46
|
+
|
|
47
|
+
linearGradient {
|
|
48
|
+
stop {
|
|
49
|
+
stop-opacity: .3;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
line.circle,
|
|
54
|
+
path {
|
|
55
|
+
stroke-opacity: .5;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.series-datapoints {
|
|
60
|
+
line.circle {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.datapoints-accent {
|
|
65
|
+
line.circle {
|
|
66
|
+
stroke: @color_accent;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.datapoints-primary {
|
|
71
|
+
line.circle {
|
|
72
|
+
stroke: @color_primary;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.datapoints-success {
|
|
77
|
+
line.circle {
|
|
78
|
+
stroke: @color_success;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&.datapoints-warning {
|
|
83
|
+
line.circle {
|
|
84
|
+
stroke: @color_warning;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.datapoints-danger {
|
|
89
|
+
line.circle {
|
|
90
|
+
stroke: @color_danger;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.datapoints-disabled {
|
|
95
|
+
line.circle {
|
|
96
|
+
stroke: @color_disabled;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.series-noline {
|
|
102
|
+
path {
|
|
103
|
+
stroke-opacity: 0;
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.SeriesFade(0);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
@{P}-pie-chart, @{P}-pie-slice {
|
|
4
|
+
.Inert();
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@keyframes pie-anim {
|
|
8
|
+
0% {
|
|
9
|
+
opacity: 0;
|
|
10
|
+
transform: rotate(-90deg);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
100% {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
transform: rotate(0);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
svg.@{PCSS}-pie-chart {
|
|
20
|
+
display: block;
|
|
21
|
+
|
|
22
|
+
defs mask circle {
|
|
23
|
+
transition: r @easing_out_sine .125s;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
g {
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
|
|
29
|
+
path {
|
|
30
|
+
pointer-events: fill;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
transform-origin: 50%;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.@{PCSS}-chart-area {
|
|
38
|
+
> svg.@{PCSS}-pie-chart {
|
|
39
|
+
display: none;
|
|
40
|
+
max-height: 30vh;
|
|
41
|
+
|
|
42
|
+
g.chart-series {
|
|
43
|
+
|
|
44
|
+
path {
|
|
45
|
+
stroke: none;
|
|
46
|
+
opacity: .8;
|
|
47
|
+
fill: @color_default;
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.series-light {
|
|
55
|
+
path {
|
|
56
|
+
opacity: .5;
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
opacity: .8;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.chart-has-data {
|
|
67
|
+
> svg.@{PCSS}-pie-chart {
|
|
68
|
+
display: block;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
&.chart-error,
|
|
74
|
+
&.chart-disabled,
|
|
75
|
+
&.chart-danger,
|
|
76
|
+
&.chart-warning,
|
|
77
|
+
&.chart-success,
|
|
78
|
+
&.chart-primary,
|
|
79
|
+
&.chart-accent,
|
|
80
|
+
&.chart-gradient,
|
|
81
|
+
&.chart-default {
|
|
82
|
+
> svg.@{PCSS}-pie-chart g.chart-series {
|
|
83
|
+
.PieSliceGradient(20, 1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* #region obsolete */
|
|
88
|
+
|
|
89
|
+
&.chart-default {
|
|
90
|
+
.PieSliceGradient(@color_default);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.chart-accent {
|
|
94
|
+
.PieSliceGradient(@color_accent);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.chart-primary {
|
|
98
|
+
.PieSliceGradient(@color_primary);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.chart-success {
|
|
102
|
+
.PieSliceGradient(@color_success);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.chart-warning {
|
|
106
|
+
.PieSliceGradient(@color_warning);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.chart-danger {
|
|
110
|
+
.PieSliceGradient(@color_danger);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.chart-error {
|
|
114
|
+
.PieSliceGradient(@color_error);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.chart-disabled {
|
|
118
|
+
.PieSliceGradient(@color_disabled);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* #endregion*/
|
|
122
|
+
|
|
123
|
+
@colors: @all_colors;
|
|
124
|
+
// text
|
|
125
|
+
each(@colors, {
|
|
126
|
+
&.chart-gradient.chart-@{value} {
|
|
127
|
+
.PieSliceGradient( ~"var(--@{PCSS}-color-@{value})");
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.@{PCSS}-chart-area.chart-has-data {
|
|
133
|
+
|
|
134
|
+
&.chart-small > svg.@{PCSS}-pie-chart {
|
|
135
|
+
height: @grid_spacing * 8;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&.chart-smaller > svg.@{PCSS}-pie-chart {
|
|
139
|
+
height: @grid_spacing * 5;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.PieSliceGradient(@count, @index) when (@index < @count + 1) {
|
|
144
|
+
&:nth-child(@{index}) > path {
|
|
145
|
+
opacity: .8 - (@index - 1) * ((.9-.1) / @count);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.PieSliceGradient(@count, @index + 1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.PieSliceGradient(@clr) {
|
|
152
|
+
> svg.@{PCSS}-pie-chart {
|
|
153
|
+
|
|
154
|
+
g.chart-series > path {
|
|
155
|
+
fill: @clr;
|
|
156
|
+
|
|
157
|
+
&:hover {
|
|
158
|
+
opacity: 1;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.PieSlice (@count, @index) when (@index > 0) {
|
|
165
|
+
&:nth-child(@{index}) {
|
|
166
|
+
animation-delay: 1.25s * @index / @count;
|
|
167
|
+
}
|
|
168
|
+
// next iteration
|
|
169
|
+
.PieSlice(@count, @index - 1);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.PieSlice (@count) {
|
|
173
|
+
.PieSlice(@count, @count);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.PieChartSeries(@clr) {
|
|
177
|
+
path {
|
|
178
|
+
fill: @clr;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.@{PCSS}-animations {
|
|
183
|
+
|
|
184
|
+
svg.@{PCSS}-pie-chart {
|
|
185
|
+
//.Animatable(pop-anim, .4s, @easing_out_back);
|
|
186
|
+
g.@{PCSS}-pie-slice {
|
|
187
|
+
.Animatable(pie-anim, 0s, @easing_out_sine);
|
|
188
|
+
.PieSlice(20);
|
|
189
|
+
|
|
190
|
+
path {
|
|
191
|
+
transition: transform @easing_in_out_sine .2s; /* do not include 'd' as an animatable property: will conflict with transform -> bad UX */ //, d @easing_out_sine .125s;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
g.chart-series {
|
|
196
|
+
|
|
197
|
+
@colors: @all_colors;
|
|
198
|
+
// text
|
|
199
|
+
each(@colors, {
|
|
200
|
+
&.series-@{value} {
|
|
201
|
+
.PieChartSeries( ~"var(--@{PCSS}-color-@{value})");
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
svg.@{PCSS}-pie-chart when (@shadows = true) {
|
|
208
|
+
filter: drop-shadow(0 @grid_spacing/6 @grid_spacing/12 rgba(0,0,0,0.5) );
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../../theme-dark";
|
|
3
|
+
|
|
4
|
+
.ChartSeries(@clr) {
|
|
5
|
+
|
|
6
|
+
line,
|
|
7
|
+
rect,
|
|
8
|
+
path {
|
|
9
|
+
stroke: @clr;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
linearGradient {
|
|
13
|
+
stop {
|
|
14
|
+
stop-color: @clr;
|
|
15
|
+
stop-opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.SeriesFade(@to) {
|
|
21
|
+
linearGradient {
|
|
22
|
+
&:not(.bottom-up) {
|
|
23
|
+
stop:last-child {
|
|
24
|
+
stop-opacity: @to;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.bottom-up {
|
|
29
|
+
stop:first-child {
|
|
30
|
+
stop-opacity: @to;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.Chart() {
|
|
37
|
+
display: block;
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
|
|
42
|
+
.chart-series {
|
|
43
|
+
display: block;
|
|
44
|
+
height: 100%;
|
|
45
|
+
.ChartSeries(@color_default);
|
|
46
|
+
|
|
47
|
+
&.series-accent {
|
|
48
|
+
.ChartSeries(@color_accent);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.series-primary {
|
|
52
|
+
.ChartSeries(@color_primary);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.series-success {
|
|
56
|
+
.ChartSeries(@color_success);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.series-warning {
|
|
60
|
+
.ChartSeries(@color_warning);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.series-danger {
|
|
64
|
+
.ChartSeries(@color_danger);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.series-disabled {
|
|
68
|
+
.ChartSeries(@color_disabled);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.chart-grid {
|
|
73
|
+
display: block;
|
|
74
|
+
height: 100%;
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
|
|
77
|
+
path {
|
|
78
|
+
stroke-width: 0.06%;
|
|
79
|
+
stroke: fade(@color_default, 20);
|
|
80
|
+
fill: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
text {
|
|
84
|
+
fill: fade(@color_default, 25);
|
|
85
|
+
.FontTech(.75);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@{theme}/index";
|