@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,313 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@window_dock_width: @grid_spacing;
|
|
4
|
+
|
|
5
|
+
@{P}-window-area {
|
|
6
|
+
position: fixed;
|
|
7
|
+
top: 0;
|
|
8
|
+
left: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
right: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: 1fr @window_dock_width;
|
|
17
|
+
grid-gap: 0;
|
|
18
|
+
grid-template-areas: 'float dock';
|
|
19
|
+
grid-auto-rows: min-content;
|
|
20
|
+
z-index: @lightbox_z_index - 2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.WinTitle(@bg, @clr) {
|
|
24
|
+
background-color: fade(@bg, 80);
|
|
25
|
+
color: @clr;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
background-color: @bg;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@{P}-window {
|
|
33
|
+
|
|
34
|
+
@_gap: @grid_spacing/3;
|
|
35
|
+
@_pad: @grid_spacing/2;
|
|
36
|
+
@_h: @grid_spacing * 1.3333;
|
|
37
|
+
|
|
38
|
+
display: grid;
|
|
39
|
+
grid-column-gap: @_gap;
|
|
40
|
+
grid-row-gap: @_gap;
|
|
41
|
+
grid-template-columns: 1fr auto;
|
|
42
|
+
grid-template-rows: auto 1fr;
|
|
43
|
+
grid-template-areas: 'title buttons' 'content content';
|
|
44
|
+
padding: @_pad;
|
|
45
|
+
border-radius: @border_radius;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
|
|
48
|
+
&.window-border {
|
|
49
|
+
border: 1px solid @color_window_border;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
& when (@blur = false) {
|
|
53
|
+
background-color: @color_background;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& when (@blur = true) {
|
|
57
|
+
.Blur(6px, @color_background);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.window-corners when (@border_radius = 0) {
|
|
61
|
+
.Corners(fade(@color_window_border, 100), 0, @corner_size);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
> .window-title {
|
|
65
|
+
grid-area: title;
|
|
66
|
+
.FontMain(1.1);
|
|
67
|
+
.Ellipsed();
|
|
68
|
+
.WinTitle(@color_button_back, @color_button_fore);
|
|
69
|
+
cursor: default;
|
|
70
|
+
|
|
71
|
+
> * {
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.window-accent > .window-title {
|
|
77
|
+
.WinTitle(@color_accent, @color_accent_inv);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.window-primary > .window-title {
|
|
81
|
+
.WinTitle(@color_primary, @color_primary_inv);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.window-success > .window-title {
|
|
85
|
+
.WinTitle(@color_success, @color_success_inv);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.window-danger > .window-title {
|
|
89
|
+
.WinTitle(@color_danger, @color_danger_inv);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.window-warning > .window-title {
|
|
93
|
+
.WinTitle(@color_warning, @color_warning_inv);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
> .window-buttons {
|
|
97
|
+
grid-area: buttons;
|
|
98
|
+
padding: 0;
|
|
99
|
+
margin: 0;
|
|
100
|
+
|
|
101
|
+
@{P}-button[data-icon-glyph]::before {
|
|
102
|
+
.FontStdSize(1.125);
|
|
103
|
+
padding: 0;
|
|
104
|
+
margin: 0;
|
|
105
|
+
vertical-align: middle;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
> .window-content {
|
|
110
|
+
grid-area: content;
|
|
111
|
+
overflow: auto;
|
|
112
|
+
|
|
113
|
+
& when (@dark_theme = true) {
|
|
114
|
+
background-color: fade(@color_light, 1.25);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
& when (@dark_theme = false) {
|
|
118
|
+
background-color: fade(@color_dark, 1.25);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
> .window-title,
|
|
123
|
+
> .window-buttons @{P}-button {
|
|
124
|
+
height: @_h;
|
|
125
|
+
line-height: $height;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
> .window-content,
|
|
129
|
+
> .window-title,
|
|
130
|
+
> .window-buttons @{P}-button {
|
|
131
|
+
padding: 0 @grid_spacing/3;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.window-min:not(.window-dock) {
|
|
135
|
+
padding-bottom: @_pad - @_gap;
|
|
136
|
+
height: @_h + 2 * @_pad !important;
|
|
137
|
+
|
|
138
|
+
.window-content {
|
|
139
|
+
opacity: 0;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
min-width: @layout_aside_width;
|
|
144
|
+
min-height: @_h + 2 * @_pad;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@{P}-window-area > @{P}-window {
|
|
148
|
+
@_pad: @grid_spacing/2;
|
|
149
|
+
|
|
150
|
+
grid-area: float;
|
|
151
|
+
position: absolute;
|
|
152
|
+
top: @layout_header_height + @grid_spacing;
|
|
153
|
+
left: @layout_aside_width + @grid_spacing;
|
|
154
|
+
width: 25vw;
|
|
155
|
+
height: 15.45vw;
|
|
156
|
+
pointer-events: auto;
|
|
157
|
+
|
|
158
|
+
&.window-dock {
|
|
159
|
+
position: fixed;
|
|
160
|
+
transform: translateX(@layout_aside_width) !important;
|
|
161
|
+
z-index: 1 !important;
|
|
162
|
+
width: @layout_aside_width !important;
|
|
163
|
+
right: 0;
|
|
164
|
+
top: 0;
|
|
165
|
+
bottom: 0;
|
|
166
|
+
left: auto;
|
|
167
|
+
height: auto !important;
|
|
168
|
+
padding-right: @_pad + @window_dock_width;
|
|
169
|
+
opacity: 0;
|
|
170
|
+
|
|
171
|
+
&.dock-open:not(.docking-in) {
|
|
172
|
+
transform: matrix(1,0,0,1,0,0) !important;
|
|
173
|
+
z-index: 2 !important;
|
|
174
|
+
opacity: 1;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
& when (@shadows = true) {
|
|
179
|
+
box-shadow: 0 @grid_spacing/3 @grid_spacing rgba(0,0,0,0.25);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
& when (@shadows = false) {
|
|
183
|
+
box-shadow: 0 @grid_spacing/12 @grid_spacing/3 rgba(0,0,0,0.125);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// adapter
|
|
188
|
+
@{P}-window-area > @{P}-adapter.windows-adapter {
|
|
189
|
+
grid-area: dock;
|
|
190
|
+
z-index: 2;
|
|
191
|
+
|
|
192
|
+
> @{P}-button.@{PCSS}-adapter-previous,
|
|
193
|
+
> @{P}-button.@{PCSS}-adapter-next {
|
|
194
|
+
.Inert();
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
ol.@{PCSS}-adapter-dashboard {
|
|
198
|
+
display: grid;
|
|
199
|
+
grid-row-gap: @window_dock_width / 10;
|
|
200
|
+
padding: 0;
|
|
201
|
+
margin: 0;
|
|
202
|
+
|
|
203
|
+
> li {
|
|
204
|
+
list-style-type: none;
|
|
205
|
+
padding: 0;
|
|
206
|
+
margin: 0;
|
|
207
|
+
|
|
208
|
+
> @{P}-button.@{PCSS}-adapter-page {
|
|
209
|
+
pointer-events: auto;
|
|
210
|
+
padding: 0 0 0 @window_dock_width/6;
|
|
211
|
+
height: @grid_cell;
|
|
212
|
+
box-sizing: border-box;
|
|
213
|
+
|
|
214
|
+
& when (@shadows = true) {
|
|
215
|
+
box-shadow: 0 @grid_spacing/8 @grid_spacing/4 rgba(0,0,0,.3333);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
> @{P}-span {
|
|
219
|
+
.WinTitle(@color_button_back, @color_button_fore);
|
|
220
|
+
display: block;
|
|
221
|
+
writing-mode: vertical-lr;
|
|
222
|
+
text-align: start;
|
|
223
|
+
padding: @window_dock_width/6 0;
|
|
224
|
+
box-sizing: border-box;
|
|
225
|
+
height: 100%;
|
|
226
|
+
width: @window_dock_width * 5/6;
|
|
227
|
+
line-height: $width;
|
|
228
|
+
font-size: @window_dock_width * 2/3;
|
|
229
|
+
.Ellipsed();
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&.@{PCSS}-adapter-active {
|
|
233
|
+
> @{P}-span {
|
|
234
|
+
.WinTitle(@color_primary, @color_primary_inv);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.@{PCSS}-body {
|
|
243
|
+
|
|
244
|
+
&[footer] {
|
|
245
|
+
@{P}-window-area > @{P}-window.window-dock {
|
|
246
|
+
bottom: @layout_footer_height;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@{P}-window-area > @{P}-adapter.windows-adapter ol.@{PCSS}-adapter-dashboard {
|
|
250
|
+
padding-bottom: @layout_footer_height;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&[bigfooter] {
|
|
255
|
+
@{P}-window-area > @{P}-window.window-dock {
|
|
256
|
+
bottom: @layout_bigfooter_height;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@{P}-window-area > @{P}-adapter.windows-adapter ol.@{PCSS}-adapter-dashboard {
|
|
260
|
+
padding-bottom: @layout_bigfooter_height;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&[header] {
|
|
265
|
+
|
|
266
|
+
@{P}-window-area > @{P}-window.window-dock {
|
|
267
|
+
top: @layout_header_height;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@{P}-window-area > @{P}-adapter.windows-adapter ol.@{PCSS}-adapter-dashboard {
|
|
271
|
+
padding-top: @layout_header_height;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.@{PCSS}-animations @{P}-window:not(.window-dock) {
|
|
277
|
+
animation: fade-in @easing_out_sine .2s;
|
|
278
|
+
|
|
279
|
+
.window-content {
|
|
280
|
+
transition: opacity linear .2s;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&:not(.window-rescaling) {
|
|
284
|
+
transition: height @easing_in_out_sine .15s;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.@{PCSS}-animations @{P}-window.window-dock:not(.docking-in) {
|
|
289
|
+
transition: transform @easing_in_out_sine .3s, opacity linear .2s .1s;
|
|
290
|
+
|
|
291
|
+
&.dock-open {
|
|
292
|
+
transition: transform @easing_in_out_sine .3s, opacity linear .2s;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.@{PCSS}-animations {
|
|
297
|
+
@{P}-window-area > @{P}-adapter.windows-adapter {
|
|
298
|
+
|
|
299
|
+
ol.@{PCSS}-adapter-dashboard {
|
|
300
|
+
|
|
301
|
+
> li {
|
|
302
|
+
|
|
303
|
+
> @{P}-button.@{PCSS}-adapter-page {
|
|
304
|
+
animation: list-item-right @easing_out_sine .35s;
|
|
305
|
+
|
|
306
|
+
> @{P}-span {
|
|
307
|
+
transition: background-color linear .3s;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
.DialogWithFixedButtons() {
|
|
4
|
+
@{P}-lightbox {
|
|
5
|
+
|
|
6
|
+
> .@{PCSS}-dialog-buttons {
|
|
7
|
+
padding: 0 /*@grid_spacing / 2*/ @lightbox_padding @lightbox_padding @lightbox_padding;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
z-index: @lightbox_z_index;
|
|
10
|
+
border-bottom-left-radius: @border_radius;
|
|
11
|
+
border-bottom-right-radius: @border_radius;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
> .@{PCSS}-dialog-heading {
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
// padding: @lightbox_padding @lightbox_padding 0 /*@grid_spacing / 2*/ @lightbox_padding;
|
|
17
|
+
> * {
|
|
18
|
+
margin: 0 @lightbox_padding;
|
|
19
|
+
|
|
20
|
+
&:first-child {
|
|
21
|
+
margin-top: @lightbox_padding;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
> .@{PCSS}-dialog-heading,
|
|
27
|
+
&::part(scrollable), // already defined in the lightbox
|
|
28
|
+
> .@{PCSS}-dialog-buttons {
|
|
29
|
+
max-width: 80vw;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.modal-corners,
|
|
34
|
+
&.dialog-corners {
|
|
35
|
+
&::part(lightbox) when (@border_radius = 0) {
|
|
36
|
+
.Corners(fade(@color_border, 100), 0, @corner_size);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.DialogSizeAbsolute(@prefix, @suffix, @vw) {
|
|
42
|
+
|
|
43
|
+
&.@{prefix}-@{suffix} @{P}-lightbox::part(lightbox),
|
|
44
|
+
&.@{prefix}-@{suffix}::part(lightbox) {
|
|
45
|
+
max-width: @vw;
|
|
46
|
+
|
|
47
|
+
> .@{PCSS}-dialog-heading,
|
|
48
|
+
> .@{PCSS}-dialog-buttons,
|
|
49
|
+
> .@{PCSS}-scrollable {
|
|
50
|
+
max-width: @vw;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.DialogSizeResponsive(@prefix, @mid, @suffix, @vw) {
|
|
56
|
+
|
|
57
|
+
&.@{prefix}-@{mid}-@{suffix} @{P}-lightbox::part(lightbox),
|
|
58
|
+
&.@{prefix}-@{mid}-@{suffix}::part(lightbox) {
|
|
59
|
+
max-width: @vw;
|
|
60
|
+
|
|
61
|
+
> .@{PCSS}-dialog-heading,
|
|
62
|
+
> .@{PCSS}-dialog-buttons,
|
|
63
|
+
> .@{PCSS}-scrollable {
|
|
64
|
+
max-width: @vw;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.DialogPositioning(@prefix) {
|
|
70
|
+
&.@{prefix}-top @{P}-lightbox::part(lightbox-wrapper),
|
|
71
|
+
&.@{prefix}-top::part(lightbox-wrapper) {
|
|
72
|
+
justify-content: start;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.@{prefix}-bottom @{P}-lightbox::part(lightbox-wrapper),
|
|
76
|
+
&.@{prefix}-bottom::part(lightbox-wrapper) {
|
|
77
|
+
justify-content: end;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.DialogAlignment(@prefix) {
|
|
82
|
+
&.@{prefix}-right:dir(ltr) @{P}-lightbox,
|
|
83
|
+
&.@{prefix}-left:dir(rtl) @{P}-lightbox,
|
|
84
|
+
&.@{prefix}-end @{P}-lightbox,
|
|
85
|
+
&.@{prefix}-right:dir(ltr),
|
|
86
|
+
&.@{prefix}-left:dir(rtl),
|
|
87
|
+
&.@{prefix}-end {
|
|
88
|
+
&::part(lightbox-wrapper) {
|
|
89
|
+
align-items: end;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.@{prefix}-left:dir(ltr) @{P}-lightbox,
|
|
94
|
+
&.@{prefix}-right:dir(rtl) @{P}-lightbox,
|
|
95
|
+
&.@{prefix}-start @{P}-lightbox,
|
|
96
|
+
&.@{prefix}-left:dir(ltr),
|
|
97
|
+
&.@{prefix}-right:dir(rtl),
|
|
98
|
+
&.@{prefix}-start {
|
|
99
|
+
&::part(lightbox-wrapper) {
|
|
100
|
+
align-items: start;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.DialogSize(@prefix) {
|
|
106
|
+
|
|
107
|
+
@_slim: 25vw;
|
|
108
|
+
@_medium: 50vw;
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
.DialogSizeAbsolute(@prefix, slim, @_slim);
|
|
112
|
+
.DialogSizeAbsolute(@prefix, medium, @_medium);
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@media (max-width: @threshold_sm - 1) {
|
|
116
|
+
.DialogSizeResponsive(@prefix, xs, slim, @_slim);
|
|
117
|
+
.DialogSizeResponsive(@prefix, xs, medium, @_medium);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@media (min-width: @threshold_sm) {
|
|
121
|
+
.DialogSizeResponsive(@prefix, sm, slim, @_slim);
|
|
122
|
+
.DialogSizeResponsive(@prefix, sm, medium, @_medium);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (min-width: @threshold_md) {
|
|
126
|
+
.DialogSizeResponsive(@prefix, md, slim, @_slim);
|
|
127
|
+
.DialogSizeResponsive(@prefix, md, medium, @_medium);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media (min-width: @threshold_lg) {
|
|
131
|
+
.DialogSizeResponsive(@prefix, lg, slim, @_slim);
|
|
132
|
+
.DialogSizeResponsive(@prefix, lg, medium, @_medium);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (min-width: @threshold_xl) {
|
|
136
|
+
.DialogSizeResponsive(@prefix, xl, slim, @_slim);
|
|
137
|
+
.DialogSizeResponsive(@prefix, xl, medium, @_medium);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@media (min-width: @threshold_hd) {
|
|
141
|
+
.DialogSizeResponsive(@prefix, hd, slim, @_slim);
|
|
142
|
+
.DialogSizeResponsive(@prefix, hd, medium, @_medium);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media (min-width: @threshold_2k) {
|
|
146
|
+
.DialogSizeResponsive(@prefix, 2k, slim, @_slim);
|
|
147
|
+
.DialogSizeResponsive(@prefix, 2k, medium, @_medium);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@media (min-width: @threshold_4k) {
|
|
151
|
+
.DialogSizeResponsive(@prefix, 4k, slim, @_slim);
|
|
152
|
+
.DialogSizeResponsive(@prefix, 4k, medium, @_medium);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media (orientation: portrait) {
|
|
156
|
+
.DialogSizeResponsive(@prefix, v, slim, @_slim);
|
|
157
|
+
.DialogSizeResponsive(@prefix, v, medium, @_medium);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@{theme}/index";
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@import "../layout/shared";
|
|
2
|
+
@import "../theme-dark.less";
|
|
3
|
+
@import "../../shared";
|
|
4
|
+
|
|
5
|
+
@lightbox_padding: 1em;
|
|
6
|
+
|
|
7
|
+
.ButtonShadows() {
|
|
8
|
+
box-shadow: 0 2px @grid_spacing / 3 rgba(0,0,0,0.5);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.HorizontalItemSet(@type) {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-gap: 0;
|
|
14
|
+
grid-template-columns: auto 1fr auto 1fr auto;
|
|
15
|
+
grid-template-areas: 'left . center . right';
|
|
16
|
+
align-items: start;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
|
|
19
|
+
.@{PCSS}-@{type}set-left, .@{type}set-left,
|
|
20
|
+
.@{PCSS}-@{type}set-center, .@{type}set-center,
|
|
21
|
+
.@{PCSS}-@{type}set-right, .@{type}set-right {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
align-items: flex-start;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.@{PCSS}-@{type}set-left, .@{type}set-left {
|
|
28
|
+
grid-area: left;
|
|
29
|
+
align-content: flex-start;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.@{PCSS}-@{type}set-center, .@{type}set-center {
|
|
33
|
+
grid-area: center;
|
|
34
|
+
align-content: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.@{PCSS}-@{type}set-right, .@{type}set-right {
|
|
38
|
+
grid-area: right;
|
|
39
|
+
align-content: flex-end;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.@{PCSS}-@{type}set-auto, .@{type}set-auto {
|
|
43
|
+
grid-column-start: 1;
|
|
44
|
+
grid-column-end: 6;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
flex-wrap: nowrap;
|
|
48
|
+
|
|
49
|
+
> * {
|
|
50
|
+
flex: 1 0 auto;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.HorizontalItem(@type) {
|
|
56
|
+
border-radius: 0;
|
|
57
|
+
display: block;
|
|
58
|
+
|
|
59
|
+
@_r0: ~"var(--@{PCSS}-border-button-radius)";
|
|
60
|
+
@_r1: ~"var(--@{PCSS}-border-radius)";
|
|
61
|
+
@_r: if((@type = button), @_r0, @_r1);
|
|
62
|
+
@_radius: if((@type = button), @border_button_radius, @border_radius);
|
|
63
|
+
|
|
64
|
+
&.@{type}set-first when (@_radius > 0) {
|
|
65
|
+
border-top-left-radius: @_r;
|
|
66
|
+
border-bottom-left-radius: @_r;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:first-child when (@_radius > 0) {
|
|
70
|
+
border-top-left-radius: @_r;
|
|
71
|
+
border-bottom-left-radius: @_r;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.@{type}set-last when (@_radius > 0) {
|
|
75
|
+
border-top-right-radius: @_r;
|
|
76
|
+
border-bottom-right-radius: @_r;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:last-child when (@_radius > 0) {
|
|
80
|
+
border-top-right-radius: @_r;
|
|
81
|
+
border-bottom-right-radius: @_r;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:not(:last-child):not(.@{type}set-last) {
|
|
85
|
+
border-right: none;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* #region TUNER */
|
|
90
|
+
|
|
91
|
+
.GradientTuner(@clr) {
|
|
92
|
+
.GradientRadialContain(50%, 85%, 87%, 88%, 88%, 90%, 91%, 96%, 98%, 100%, rgba(@clr, 0), rgba(@clr, .20), rgba(@clr, .50), rgba(@clr, 0), rgba(@clr, 0), rgba(@clr, .10), rgba(@clr, .10), rgba(@clr, 0), rgba(@clr, .25), rgba(@clr, 0));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.Tuner(@size) {
|
|
96
|
+
@_ratio: 10.8;
|
|
97
|
+
.Tuner(@size, round(@size / @_ratio));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.Tuner(@size, @stroke) {
|
|
101
|
+
@_scale: 108 / @size;
|
|
102
|
+
@_thickness: @stroke * @_scale;
|
|
103
|
+
@_outer_diam: @size;
|
|
104
|
+
|
|
105
|
+
width: @_outer_diam;
|
|
106
|
+
height: $width;
|
|
107
|
+
|
|
108
|
+
&::part(tuner),
|
|
109
|
+
&::part(content) {
|
|
110
|
+
top: @_thickness * .5;
|
|
111
|
+
left: $top;
|
|
112
|
+
width: @_outer_diam - @_thickness;
|
|
113
|
+
height: $width;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&::part(tuner) {
|
|
117
|
+
stroke-width: @_thickness;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&::part(content) {
|
|
121
|
+
font-size: round(@size/3.2);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* #endregion */
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0-amaldi",
|
|
3
|
+
"name": "@pacem/pacem-theme-less",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"homepage": "https://js.pacem.it",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/pacem-it/pacem.git"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"pacem/*.less",
|
|
12
|
+
"pacem/**/*.less",
|
|
13
|
+
"*.less",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE",
|
|
16
|
+
"NOTICE",
|
|
17
|
+
"themebuilder.js",
|
|
18
|
+
"package.json"
|
|
19
|
+
],
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "Pacem",
|
|
22
|
+
"url": "https://pacem.it"
|
|
23
|
+
},
|
|
24
|
+
"maintainers": [
|
|
25
|
+
{
|
|
26
|
+
"name": "Cristian Merighi",
|
|
27
|
+
"url": "https://pacem.it"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"license": "Apache-2.0",
|
|
31
|
+
"description": "Pacem JS theme generator. LESS-based.",
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@pacem/pacem-foundation": "*",
|
|
34
|
+
"@pacem/pacem-numerical": "*"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"less": "4.8.0"
|
|
38
|
+
}
|
|
39
|
+
}
|