@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,253 @@
|
|
|
1
|
+
@import "../../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-contenteditable {
|
|
4
|
+
|
|
5
|
+
div[dashboard] {
|
|
6
|
+
padding: @grid_spacing/3 0 0 0;
|
|
7
|
+
grid-area: bottom;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// dashboard on top
|
|
12
|
+
.dashboard-top @{P}-contenteditable,
|
|
13
|
+
@{P}-contenteditable.dashboard-top {
|
|
14
|
+
|
|
15
|
+
.@{PCSS}-viewfinder {
|
|
16
|
+
grid-area: bottom;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
div[dashboard] {
|
|
20
|
+
grid-area: top;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* #region dashboard content flow*/
|
|
25
|
+
|
|
26
|
+
@{P}-contenteditable div[dashboard],
|
|
27
|
+
@{P}-contenteditable div[dashboard] .@{PCSS}-toolbar,
|
|
28
|
+
@{P}-contenteditable div[dashboard] .@{PCSS}-contenteditable-toolbar {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-flow: row;
|
|
31
|
+
align-content: start;
|
|
32
|
+
align-items: start;
|
|
33
|
+
justify-content: start;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@{P}-contenteditable div[dashboard] {
|
|
37
|
+
> .@{PCSS}-toolbar,
|
|
38
|
+
> .@{PCSS}-contenteditable-toolbar {
|
|
39
|
+
flex-wrap: nowrap;
|
|
40
|
+
margin-bottom: @grid_spacing/3;
|
|
41
|
+
padding: 0;
|
|
42
|
+
|
|
43
|
+
.@{PCSS}-contenteditable-command {
|
|
44
|
+
// reset input field appearence in the toolbar
|
|
45
|
+
> @{P}-suggest {
|
|
46
|
+
padding: 0;
|
|
47
|
+
|
|
48
|
+
.@{PCSS}-input,
|
|
49
|
+
.@{PCSS}-viewfinder {
|
|
50
|
+
background: transparent;
|
|
51
|
+
border: 0;
|
|
52
|
+
color: inherit;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
> @{P}-button,
|
|
57
|
+
> .@{PCSS}-button {
|
|
58
|
+
border-radius: 0;
|
|
59
|
+
display: block;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.toolbar-first when (@border_radius > 0) {
|
|
63
|
+
> @{P}-button,
|
|
64
|
+
> .@{PCSS}-button {
|
|
65
|
+
border-top-left-radius: @border_radius;
|
|
66
|
+
border-bottom-left-radius: @border_radius;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:first-child when (@border_radius > 0) {
|
|
71
|
+
> @{P}-button,
|
|
72
|
+
> .@{PCSS}-button {
|
|
73
|
+
border-top-left-radius: @border_radius;
|
|
74
|
+
border-bottom-left-radius: @border_radius;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.toolbar-last when (@border_radius > 0) {
|
|
79
|
+
> @{P}-button,
|
|
80
|
+
> .@{PCSS}-button {
|
|
81
|
+
border-top-right-radius: @border_radius;
|
|
82
|
+
border-bottom-right-radius: @border_radius;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:last-child when (@border_radius > 0) {
|
|
87
|
+
> @{P}-button,
|
|
88
|
+
> .@{PCSS}-button {
|
|
89
|
+
border-top-right-radius: @border_radius;
|
|
90
|
+
border-bottom-right-radius: @border_radius;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:not(:last-child):not(.toolbar-last) {
|
|
95
|
+
> @{P}-button,
|
|
96
|
+
> .@{PCSS}-button {
|
|
97
|
+
border-right: none;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
> @{P}-button.button,
|
|
102
|
+
> .@{PCSS}-button.button {
|
|
103
|
+
margin: 0;
|
|
104
|
+
box-shadow: none;
|
|
105
|
+
padding: 0 @grid_spacing/2;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& when (@shadows = true) {
|
|
110
|
+
.ButtonShadows();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
> .@{PCSS}-separator,
|
|
115
|
+
> .@{PCSS}-contenteditable-separator {
|
|
116
|
+
display: block;
|
|
117
|
+
width: @grid_spacing/3;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* #endregion */
|
|
122
|
+
|
|
123
|
+
/* #region sticky dasboard */
|
|
124
|
+
|
|
125
|
+
.dashboard-sticky @{P}-contenteditable,
|
|
126
|
+
@{P}-contenteditable.dashboard-sticky {
|
|
127
|
+
|
|
128
|
+
div[dashboard] {
|
|
129
|
+
position: sticky;
|
|
130
|
+
bottom: 0;
|
|
131
|
+
top: auto;
|
|
132
|
+
background: @color_field_back;
|
|
133
|
+
|
|
134
|
+
& when(@blur = true) {
|
|
135
|
+
.Blur(@grid_spacing/4, @color_background);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// dashboard at the bottom
|
|
141
|
+
.dashboard-sticky:not(.dashboard-top) @{P}-contenteditable:not(.dashboard-top),
|
|
142
|
+
:not(.dashboard-top) @{P}-contenteditable.dashboard-sticky:not(.dashboard-top) {
|
|
143
|
+
|
|
144
|
+
.@{PCSS}-viewfinder {
|
|
145
|
+
border-bottom-left-radius: 0;
|
|
146
|
+
border-bottom-right-radius: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
div[dashboard] {
|
|
150
|
+
box-shadow: 0 -1px 0px rgba(0,0,0,.25);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// dashboard on top
|
|
155
|
+
.dashboard-top.dashboard-sticky @{P}-contenteditable,
|
|
156
|
+
@{P}-contenteditable.dashboard-top.dashboard-sticky {
|
|
157
|
+
|
|
158
|
+
.@{PCSS}-viewfinder {
|
|
159
|
+
border-top-left-radius: 0;
|
|
160
|
+
border-top-right-radius: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
div[dashboard] {
|
|
164
|
+
grid-area: top;
|
|
165
|
+
bottom: auto;
|
|
166
|
+
top: 0;
|
|
167
|
+
box-shadow: 0 1px 0px rgba(0,0,0,.25);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// layout-driven sticky position override
|
|
172
|
+
.@{PCSS}-body {
|
|
173
|
+
&[footbar] {
|
|
174
|
+
|
|
175
|
+
@{P}-contenteditable {
|
|
176
|
+
div[dashboard] {
|
|
177
|
+
top: auto;
|
|
178
|
+
bottom: @layout_toolbar_height;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&[footer] {
|
|
184
|
+
@{P}-contenteditable {
|
|
185
|
+
div[dashboard] {
|
|
186
|
+
top: auto;
|
|
187
|
+
bottom: @layout_footer_height;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&[bigfooter] {
|
|
193
|
+
@{P}-contenteditable {
|
|
194
|
+
div[dashboard] {
|
|
195
|
+
top: auto;
|
|
196
|
+
bottom: @layout_bigfooter_height;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&[footer][footbar] {
|
|
202
|
+
@{P}-contenteditable {
|
|
203
|
+
div[dashboard] {
|
|
204
|
+
top: auto;
|
|
205
|
+
bottom: @layout_footer_height + @layout_toolbar_height;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&[bigfooter][footbar] {
|
|
211
|
+
@{P}-contenteditable {
|
|
212
|
+
div[dashboard] {
|
|
213
|
+
top: auto;
|
|
214
|
+
bottom: @layout_bigfooter_height + @layout_toolbar_height;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
// layout-driven sticky position override (top)
|
|
220
|
+
.@{PCSS}-body {
|
|
221
|
+
&[headbar] {
|
|
222
|
+
|
|
223
|
+
.dashboard-top @{P}-contenteditable,
|
|
224
|
+
@{P}-contenteditable.dashboard-top {
|
|
225
|
+
div[dashboard] {
|
|
226
|
+
top: @layout_toolbar_height;
|
|
227
|
+
bottom: auto;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&[header] {
|
|
233
|
+
.dashboard-top @{P}-contenteditable,
|
|
234
|
+
@{P}-contenteditable.dashboard-top {
|
|
235
|
+
div[dashboard] {
|
|
236
|
+
top: @layout_header_height;
|
|
237
|
+
bottom: auto;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&[header][headbar] {
|
|
243
|
+
.dashboard-top @{P}-contenteditable,
|
|
244
|
+
@{P}-contenteditable.dashboard-top {
|
|
245
|
+
div[dashboard] {
|
|
246
|
+
top: @layout_header_height + @layout_toolbar_height;
|
|
247
|
+
bottom: auto;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
/* #endregion */
|
|
253
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@import "../../shared";
|
|
2
|
+
|
|
3
|
+
div[contenteditable=true] {
|
|
4
|
+
|
|
5
|
+
picture,
|
|
6
|
+
img {
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
picture /*:focus-within*/ {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
|
|
13
|
+
> img {
|
|
14
|
+
display: block;
|
|
15
|
+
|
|
16
|
+
&::selection {
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> .@{PCSS}-rescale {
|
|
22
|
+
|
|
23
|
+
@_clr: @color_primary;
|
|
24
|
+
@_brd: 2px;
|
|
25
|
+
|
|
26
|
+
opacity: .5;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.rescale-bottomleft,
|
|
33
|
+
&.rescale-topleft,
|
|
34
|
+
&.rescale-bottomright,
|
|
35
|
+
&.rescale-topright {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
background-color: @_clr;
|
|
38
|
+
border: @_brd solid @_clr;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.rescale-bottomleft {
|
|
42
|
+
transform: translate(-@_brd, @_brd);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.rescale-topleft {
|
|
46
|
+
transform: translate(-@_brd, -@_brd);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.rescale-bottomright {
|
|
50
|
+
transform: translate(@_brd, @_brd);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.rescale-topright {
|
|
54
|
+
transform: translate(@_brd, -@_brd);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.rescale-right {
|
|
58
|
+
.GradientHorizontal(0, 50%, 50%, 100%, transparent, transparent, @_clr, @_clr);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.rescale-left {
|
|
62
|
+
.GradientHorizontal(0, 50%, 50%, 100%, @_clr, @_clr, transparent, transparent);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.rescale-bottom {
|
|
66
|
+
.GradientVertical(0, 50%, 50%, 100%, transparent, transparent, @_clr, @_clr);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.rescale-top {
|
|
70
|
+
.GradientVertical(0, 50%, 50%, 100%, @_clr, @_clr, transparent, transparent);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "../../shared";
|
|
2
|
+
|
|
3
|
+
div[contenteditable=true] {
|
|
4
|
+
|
|
5
|
+
@_clr: @color_primary;
|
|
6
|
+
@_brd: 3px;
|
|
7
|
+
|
|
8
|
+
ins {
|
|
9
|
+
text-decoration: inherit;
|
|
10
|
+
|
|
11
|
+
&::selection {
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:hover {
|
|
16
|
+
outline: @_brd solid fade(@_clr, 50);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:active, &:focus, &.placeholder-selected {
|
|
20
|
+
outline: @_brd solid @_clr;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
@import "../../ui/shared";
|
|
4
|
+
|
|
5
|
+
@{P}-contenteditable {
|
|
6
|
+
.FormFieldItemWrapperCore();
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-rows: auto auto;
|
|
9
|
+
grid-template-areas: 'top' 'bottom';
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
div[contenteditable=true] {
|
|
13
|
+
// max-height: 7.5 * @grid_spacing;
|
|
14
|
+
overflow: auto;
|
|
15
|
+
.FormFieldItem();
|
|
16
|
+
.FormFieldItemMultiline();
|
|
17
|
+
min-height: @field_height;
|
|
18
|
+
padding: @grid_spacing / 3;
|
|
19
|
+
|
|
20
|
+
ul, ol {
|
|
21
|
+
margin: 1em 2em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
ul {
|
|
25
|
+
list-style: disc;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
ol {
|
|
29
|
+
list-style: decimal;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.@{PCSS}-readonly {
|
|
34
|
+
|
|
35
|
+
.@{PCSS}-contenteditable {
|
|
36
|
+
border: none;
|
|
37
|
+
margin-bottom: @border_field_size;
|
|
38
|
+
|
|
39
|
+
& when (@border_field_underline = false) {
|
|
40
|
+
margin-top: @border_field_size;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
div[pacem][readonly] {
|
|
45
|
+
font-size: 1.1em;
|
|
46
|
+
min-height: @field_height;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
padding: @grid_spacing / 3;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.@{PCSS}-viewfinder {
|
|
53
|
+
grid-area: top;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.field-stretch @{P}-contenteditable,
|
|
58
|
+
/* obsolete */
|
|
59
|
+
// @{P}-contenteditable.input-stretch,
|
|
60
|
+
@{P}-contenteditable.field-stretch {
|
|
61
|
+
|
|
62
|
+
.@{PCSS}-contenteditable {
|
|
63
|
+
.FormFieldStretch();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* #region print sizes */
|
|
68
|
+
|
|
69
|
+
.contenteditable-pagesize @{P}-contenteditable,
|
|
70
|
+
@{P}-contenteditable.contenteditable-pagesize {
|
|
71
|
+
|
|
72
|
+
@_pad_vert: 1.95cm;
|
|
73
|
+
@_line_h: .6cm;
|
|
74
|
+
@_font_sz: .4cm;
|
|
75
|
+
|
|
76
|
+
div[contenteditable=true],
|
|
77
|
+
div[pacem][readonly] {
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
padding: @_pad_vert 1cm;
|
|
80
|
+
line-height: @_line_h;
|
|
81
|
+
font-size: @_font_sz;
|
|
82
|
+
margin: @grid_spacing auto;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
|
|
85
|
+
p {
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
blockquote {
|
|
90
|
+
padding-top: @_line_h/2;
|
|
91
|
+
padding-bottom: $padding-top;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
p, blockquote {
|
|
95
|
+
margin: 0 0 @_line_h/2 0;
|
|
96
|
+
|
|
97
|
+
&:last-child {
|
|
98
|
+
margin-bottom: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
h1 {
|
|
103
|
+
line-height: 1.5 * @_line_h;
|
|
104
|
+
font-size: $line-height * @_font_sz / @_line_h;
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
margin: 12pt 0 2pt 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
h2 {
|
|
110
|
+
line-height: 1.25 * @_line_h;
|
|
111
|
+
font-size: $line-height * @_font_sz / @_line_h;
|
|
112
|
+
font-weight: 700;
|
|
113
|
+
margin: 12pt 0 2pt 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
& when (@dark_theme = true) {
|
|
117
|
+
box-shadow: 0 0 @grid_spacing rgba(0,0,0,.5);
|
|
118
|
+
background-color: @color_input_back;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
& when (@dark_theme = false) {
|
|
122
|
+
border: 1px solid @color_border;
|
|
123
|
+
border-top: 1px solid #fff;
|
|
124
|
+
box-shadow: 0 0 @grid_spacing rgba(0,0,0,.1);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.pagesize-a4 {
|
|
129
|
+
div[contenteditable=true],
|
|
130
|
+
div[pacem][readonly] {
|
|
131
|
+
width: 21cm;
|
|
132
|
+
|
|
133
|
+
/*&when (@dark_theme = true) {
|
|
134
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMinYMin slice' viewBox='0 0 210 297'%3E%3Cline x1='0' y1='0' x2='210' y2='0' stroke-width='1' stroke-dasharray='1 1' stroke='rgba%28255,255,255,0.1%29' /%3E%3C/svg%3E");
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&when (@dark_theme = false) {
|
|
138
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMinYMin slice' viewBox='0 0 210 297'%3E%3Cline x1='0' y1='0' x2='210' y2='0' stroke-width='1' stroke-dasharray='1 1' stroke='rgba%280,0,0,0.1%29' /%3E%3C/svg%3E");
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
background-size: 21cm 29.7cm - 2 * @_pad_vert;
|
|
142
|
+
background-repeat: repeat;
|
|
143
|
+
background-position-y: @_pad_vert;*/
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.pagesize-a5 {
|
|
148
|
+
div[contenteditable=true],
|
|
149
|
+
div[pacem][readonly] {
|
|
150
|
+
width: 148mm;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* #endregion */
|
|
156
|
+
|
|
157
|
+
@import "contenteditable/index";
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
@{P}-datetime-picker {
|
|
5
|
+
.FormFieldItemWrapper();
|
|
6
|
+
|
|
7
|
+
.@{PCSS}-datetime-picker-fields {
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
> div,
|
|
11
|
+
> @{P}-panel {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.@{PCSS}-datetime-picker-hours {
|
|
17
|
+
|
|
18
|
+
@_sz: @grid_spacing /1.5;
|
|
19
|
+
|
|
20
|
+
padding-left: @_sz;
|
|
21
|
+
position: relative;
|
|
22
|
+
|
|
23
|
+
&:before {
|
|
24
|
+
.Icon('access_time', @grid_spacing / 2);
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 0;
|
|
27
|
+
top: @grid_spacing / 3;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.@{PCSS}-datetime-picker {
|
|
33
|
+
// overriding pacem-select rules...
|
|
34
|
+
@{P}-select {
|
|
35
|
+
border: 0;
|
|
36
|
+
min-width: 56px;
|
|
37
|
+
|
|
38
|
+
.@{PCSS}-select {
|
|
39
|
+
// remove borders
|
|
40
|
+
min-height: @field_height;
|
|
41
|
+
line-height: $min-height;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.@{PCSS}-datetime-picker-hours,
|
|
46
|
+
.@{PCSS}-datetime-picker-minutes,
|
|
47
|
+
.@{PCSS}-datetime-picker-seconds {
|
|
48
|
+
min-width: 40px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.@{PCSS}-datetime-picker-fields {
|
|
52
|
+
display: inline-block;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
dl {
|
|
57
|
+
@_h: @grid_spacing * 1.3333;
|
|
58
|
+
padding: @grid_spacing/6 0;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
height: @_h;
|
|
61
|
+
|
|
62
|
+
dt, dd {
|
|
63
|
+
line-height: @_h * .5;
|
|
64
|
+
height: @_h * .5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
dt {
|
|
68
|
+
float: left;
|
|
69
|
+
vertical-align: middle;
|
|
70
|
+
width: @grid_spacing / 1.5;
|
|
71
|
+
background: center center no-repeat;
|
|
72
|
+
background-size: contain;
|
|
73
|
+
font-size: 0;
|
|
74
|
+
|
|
75
|
+
&:nth-of-type(2)::before {
|
|
76
|
+
.Icon('language', @grid_spacing * 2 / 4);
|
|
77
|
+
position: static;
|
|
78
|
+
line-height: @_h * .5;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:nth-of-type(1)::before {
|
|
82
|
+
.Icon('location_on', @grid_spacing * 2 / 4);
|
|
83
|
+
position: static;
|
|
84
|
+
line-height: @_h * .5;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
dd {
|
|
89
|
+
clear: right;
|
|
90
|
+
// margin-left: @grid_spacing;
|
|
91
|
+
.FontTech(.8);
|
|
92
|
+
|
|
93
|
+
&:nth-of-type(2) {
|
|
94
|
+
color: fade(@color_tech, 100);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.@{PCSS}-hidden {
|
|
99
|
+
transition: all .3s;
|
|
100
|
+
transform: none;
|
|
101
|
+
height: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.@{PCSS}-shown {
|
|
105
|
+
transition: all .3s /*cubic-bezier(0.23, 1, 0.32, 1)*/ .1s;
|
|
106
|
+
transform: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.@{PCSS}-readonly {
|
|
111
|
+
/*padding-left: @grid_spacing;
|
|
112
|
+
&::before {
|
|
113
|
+
.Icon('access_time', @field_left);
|
|
114
|
+
line-height: @field_height;
|
|
115
|
+
color: @color_primary;
|
|
116
|
+
left: 0;
|
|
117
|
+
}*/
|
|
118
|
+
.FormFieldLabelIcon('access_time');
|
|
119
|
+
|
|
120
|
+
&.date::before {
|
|
121
|
+
content: 'date_range';
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.datetime-picker-nodetails .@{PCSS}-datetime-picker-preview{
|
|
128
|
+
.Inert();
|
|
129
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-dialog {
|
|
4
|
+
|
|
5
|
+
@{P}-input-search {
|
|
6
|
+
display: block;
|
|
7
|
+
|
|
8
|
+
.@{PCSS}-input {
|
|
9
|
+
display: block;
|
|
10
|
+
width: 100%;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
//color: @color_lightblue;
|
|
13
|
+
//border-color: fade(@color_teal, 20);
|
|
14
|
+
//&:focus {
|
|
15
|
+
// color: @color_blue;
|
|
16
|
+
// border-color: @color_teal;
|
|
17
|
+
//}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@{P}-contenteditable {
|
|
22
|
+
.@{PCSS}-contenteditable {
|
|
23
|
+
border-color: fade(@color_default, 10);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.@{PCSS}-focus {
|
|
27
|
+
.@{PCSS}-contenteditable {
|
|
28
|
+
border-color: fade(@color_default, 40);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|