@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.
Files changed (211) hide show
  1. package/LICENSE +191 -0
  2. package/NOTICE +4 -0
  3. package/README.md +23 -0
  4. package/fonts-empty.less +11 -0
  5. package/pacem/2d/index.less +14 -0
  6. package/pacem/2d/stage.less +31 -0
  7. package/pacem/2d/text.less +16 -0
  8. package/pacem/3d/index.less +24 -0
  9. package/pacem/3d/stage.less +30 -0
  10. package/pacem/attributes.less +8 -0
  11. package/pacem/basic/dock.less +19 -0
  12. package/pacem/basic/drag-drop.less +75 -0
  13. package/pacem/basic/index.less +42 -0
  14. package/pacem/basic/repeater.less +3 -0
  15. package/pacem/basic/rescale.less +157 -0
  16. package/pacem/basic/resize.less +3 -0
  17. package/pacem/basic/scroll-aware.less +4 -0
  18. package/pacem/basic/swipe.less +22 -0
  19. package/pacem/basic/viewport-aware.less +4 -0
  20. package/pacem/body.less +197 -0
  21. package/pacem/charts/dark/column-line.less +10 -0
  22. package/pacem/charts/dark/column.less +61 -0
  23. package/pacem/charts/dark/index.less +9 -0
  24. package/pacem/charts/dark/line.less +111 -0
  25. package/pacem/charts/dark/pie.less +210 -0
  26. package/pacem/charts/dark/shared.less +88 -0
  27. package/pacem/charts/index.less +1 -0
  28. package/pacem/charts/light/index.less +2 -0
  29. package/pacem/charts/phousys/index.less +2 -0
  30. package/pacem/cms/datagrid-columns.less +41 -0
  31. package/pacem/cms/grid.less +23 -0
  32. package/pacem/cms/index.less +3 -0
  33. package/pacem/cms/shared.less +3 -0
  34. package/pacem/cms/widget.less +81 -0
  35. package/pacem/fonts-dark.less +7 -0
  36. package/pacem/fonts-light.less +7 -0
  37. package/pacem/fonts-none.less +1 -0
  38. package/pacem/fonts-phousys.less +8 -0
  39. package/pacem/fx/fancy.less +138 -0
  40. package/pacem/fx/gradient.less +21 -0
  41. package/pacem/fx/hero.less +12 -0
  42. package/pacem/fx/index.less +6 -0
  43. package/pacem/fx/list.less +11 -0
  44. package/pacem/fx/pulse.less +105 -0
  45. package/pacem/fx/ripple.less +66 -0
  46. package/pacem/icons.less +76 -0
  47. package/pacem/layout/animations.less +37 -0
  48. package/pacem/layout/dark/address.less +37 -0
  49. package/pacem/layout/dark/borders.less +102 -0
  50. package/pacem/layout/dark/breadcrumbs.less +85 -0
  51. package/pacem/layout/dark/cards.less +555 -0
  52. package/pacem/layout/dark/coloring.less +184 -0
  53. package/pacem/layout/dark/container.less +50 -0
  54. package/pacem/layout/dark/datatable.less +454 -0
  55. package/pacem/layout/dark/elevation.less +74 -0
  56. package/pacem/layout/dark/fetch-feedback.less +124 -0
  57. package/pacem/layout/dark/grid-system.less +181 -0
  58. package/pacem/layout/dark/grids.less +268 -0
  59. package/pacem/layout/dark/index.less +27 -0
  60. package/pacem/layout/dark/interactive.less +10 -0
  61. package/pacem/layout/dark/layout.less +616 -0
  62. package/pacem/layout/dark/lists.less +112 -0
  63. package/pacem/layout/dark/other.less +29 -0
  64. package/pacem/layout/dark/panels.less +299 -0
  65. package/pacem/layout/dark/positioning.less +273 -0
  66. package/pacem/layout/dark/scroll.less +93 -0
  67. package/pacem/layout/dark/shapes.less +22 -0
  68. package/pacem/layout/dark/sizing.less +108 -0
  69. package/pacem/layout/dark/spacing.less +296 -0
  70. package/pacem/layout/dark/superposition-system.less +116 -0
  71. package/pacem/layout/dark/tiles.less +71 -0
  72. package/pacem/layout/dark/tokens-chips.less +16 -0
  73. package/pacem/layout/dark/toolbar.less +32 -0
  74. package/pacem/layout/dark/typography.less +110 -0
  75. package/pacem/layout/dark/visibility.less +406 -0
  76. package/pacem/layout/index.less +2 -0
  77. package/pacem/layout/light/index.less +2 -0
  78. package/pacem/layout/light/layout.less +2 -0
  79. package/pacem/layout/mixins.less +445 -0
  80. package/pacem/layout/phousys/index.less +2 -0
  81. package/pacem/layout/phousys/layout.less +2 -0
  82. package/pacem/layout/shared.less +18 -0
  83. package/pacem/logging/console.less +3 -0
  84. package/pacem/logging/fps.less +6 -0
  85. package/pacem/logging/index.less +2 -0
  86. package/pacem/maps/index.less +21 -0
  87. package/pacem/media/dark/index.less +6 -0
  88. package/pacem/media/index.less +1 -0
  89. package/pacem/media/light/index.less +2 -0
  90. package/pacem/media/phousys/index.less +2 -0
  91. package/pacem/pacem-animations.less +202 -0
  92. package/pacem/pacem.less +448 -0
  93. package/pacem/palette-dark.less +0 -0
  94. package/pacem/palette-light.less +0 -0
  95. package/pacem/plus/carousel.less +370 -0
  96. package/pacem/plus/context-menu.less +31 -0
  97. package/pacem/plus/datagrid/datacell.less +10 -0
  98. package/pacem/plus/datagrid/headcell.less +32 -0
  99. package/pacem/plus/datagrid/index.less +48 -0
  100. package/pacem/plus/edit.less +42 -0
  101. package/pacem/plus/gallery.less +239 -0
  102. package/pacem/plus/index.less +7 -0
  103. package/pacem/plus/modal-form.less +27 -0
  104. package/pacem/plus/router-hash-state.less +6 -0
  105. package/pacem/reset.less +51 -0
  106. package/pacem/scaffolding/dark/calendar-picker.less +415 -0
  107. package/pacem/scaffolding/dark/char-counter.less +68 -0
  108. package/pacem/scaffolding/dark/chars.less +29 -0
  109. package/pacem/scaffolding/dark/checkbox-radio-shared.less +150 -0
  110. package/pacem/scaffolding/dark/checkbox.less +232 -0
  111. package/pacem/scaffolding/dark/childform.less +191 -0
  112. package/pacem/scaffolding/dark/color.less +128 -0
  113. package/pacem/scaffolding/dark/contenteditable/alignment.less +6 -0
  114. package/pacem/scaffolding/dark/contenteditable/dashboard.less +253 -0
  115. package/pacem/scaffolding/dark/contenteditable/index.less +4 -0
  116. package/pacem/scaffolding/dark/contenteditable/picture.less +74 -0
  117. package/pacem/scaffolding/dark/contenteditable/placeholder.less +24 -0
  118. package/pacem/scaffolding/dark/contenteditable.less +157 -0
  119. package/pacem/scaffolding/dark/datepicker.less +129 -0
  120. package/pacem/scaffolding/dark/dialog-overrides.less +32 -0
  121. package/pacem/scaffolding/dark/element-picker.less +11 -0
  122. package/pacem/scaffolding/dark/expression.less +34 -0
  123. package/pacem/scaffolding/dark/form.less +16 -0
  124. package/pacem/scaffolding/dark/formfield.less +1149 -0
  125. package/pacem/scaffolding/dark/geolocate.less +12 -0
  126. package/pacem/scaffolding/dark/hierarchy.less +82 -0
  127. package/pacem/scaffolding/dark/image.less +195 -0
  128. package/pacem/scaffolding/dark/index.less +57 -0
  129. package/pacem/scaffolding/dark/input.less +134 -0
  130. package/pacem/scaffolding/dark/latlng.less +163 -0
  131. package/pacem/scaffolding/dark/markdown.less +20 -0
  132. package/pacem/scaffolding/dark/namevalue-list.less +13 -0
  133. package/pacem/scaffolding/dark/number.less +12 -0
  134. package/pacem/scaffolding/dark/password.less +12 -0
  135. package/pacem/scaffolding/dark/property-picker.less +11 -0
  136. package/pacem/scaffolding/dark/radio.less +78 -0
  137. package/pacem/scaffolding/dark/search.less +29 -0
  138. package/pacem/scaffolding/dark/select.less +55 -0
  139. package/pacem/scaffolding/dark/slider.less +176 -0
  140. package/pacem/scaffolding/dark/snapshot.less +183 -0
  141. package/pacem/scaffolding/dark/suggest.less +115 -0
  142. package/pacem/scaffolding/dark/tags.less +149 -0
  143. package/pacem/scaffolding/dark/tel.less +11 -0
  144. package/pacem/scaffolding/dark/textarea.less +29 -0
  145. package/pacem/scaffolding/dark/upload.less +252 -0
  146. package/pacem/scaffolding/dark/url.less +9 -0
  147. package/pacem/scaffolding/dark/validators.less +36 -0
  148. package/pacem/scaffolding/index.less +2 -0
  149. package/pacem/scaffolding/light/index.less +2 -0
  150. package/pacem/scaffolding/phousys/index.less +2 -0
  151. package/pacem/scaffolding/shared.less +249 -0
  152. package/pacem/text-overrides.less +219 -0
  153. package/pacem/theme-dark.less +676 -0
  154. package/pacem/theme-light.less +119 -0
  155. package/pacem/theme-phousys-old.less +130 -0
  156. package/pacem/theme-phousys.less +153 -0
  157. package/pacem/transforms/index.less +7 -0
  158. package/pacem/ui/dark/anchor.less +45 -0
  159. package/pacem/ui/dark/balloon.less +566 -0
  160. package/pacem/ui/dark/binder.less +50 -0
  161. package/pacem/ui/dark/blade.less +110 -0
  162. package/pacem/ui/dark/body.less +5 -0
  163. package/pacem/ui/dark/bottom-sheet.less +69 -0
  164. package/pacem/ui/dark/button.less +716 -0
  165. package/pacem/ui/dark/calendar.less +660 -0
  166. package/pacem/ui/dark/collapse.less +23 -0
  167. package/pacem/ui/dark/dialog.less +17 -0
  168. package/pacem/ui/dark/divider.less +49 -0
  169. package/pacem/ui/dark/header-footer.less +5 -0
  170. package/pacem/ui/dark/icon.less +141 -0
  171. package/pacem/ui/dark/image.less +90 -0
  172. package/pacem/ui/dark/index.less +82 -0
  173. package/pacem/ui/dark/infinite-scroller.less +5 -0
  174. package/pacem/ui/dark/led.less +142 -0
  175. package/pacem/ui/dark/lightbox.less +140 -0
  176. package/pacem/ui/dark/loader.less +219 -0
  177. package/pacem/ui/dark/markdown.less +292 -0
  178. package/pacem/ui/dark/marquee.less +49 -0
  179. package/pacem/ui/dark/menu.less +578 -0
  180. package/pacem/ui/dark/pager.less +166 -0
  181. package/pacem/ui/dark/picture.less +146 -0
  182. package/pacem/ui/dark/progressbar.less +167 -0
  183. package/pacem/ui/dark/sidebar.less +144 -0
  184. package/pacem/ui/dark/slideshow.less +1 -0
  185. package/pacem/ui/dark/social.less +5 -0
  186. package/pacem/ui/dark/sticky-header.less +41 -0
  187. package/pacem/ui/dark/tabs.less +423 -0
  188. package/pacem/ui/dark/ticker.less +173 -0
  189. package/pacem/ui/dark/timeline.less +159 -0
  190. package/pacem/ui/dark/toast.less +232 -0
  191. package/pacem/ui/dark/toc.less +47 -0
  192. package/pacem/ui/dark/tuner.less +155 -0
  193. package/pacem/ui/dark/view.less +17 -0
  194. package/pacem/ui/dark/window.less +313 -0
  195. package/pacem/ui/dialog-vars.less +159 -0
  196. package/pacem/ui/index.less +1 -0
  197. package/pacem/ui/light/button.less +8 -0
  198. package/pacem/ui/light/index.less +3 -0
  199. package/pacem/ui/light/loader.less +2 -0
  200. package/pacem/ui/light/menu.less +2 -0
  201. package/pacem/ui/light/sidebar.less +2 -0
  202. package/pacem/ui/phousys/button.less +8 -0
  203. package/pacem/ui/phousys/index.less +3 -0
  204. package/pacem/ui/phousys/loader.less +2 -0
  205. package/pacem/ui/phousys/menu.less +2 -0
  206. package/pacem/ui/phousys/sidebar.less +2 -0
  207. package/pacem/ui/shared.less +125 -0
  208. package/package.json +39 -0
  209. package/shared.less +161 -0
  210. package/theme-empty.less +116 -0
  211. package/themebuilder.js +290 -0
@@ -0,0 +1,660 @@
1
+ @import "../shared";
2
+
3
+ @_brd_clr: @color_border;
4
+ @_dis_clr: @color_calendarday_hover;
5
+ @_pad: 2px;
6
+
7
+ @{P}-calendar-event {
8
+ .Inert();
9
+ }
10
+
11
+ .EventItem() {
12
+ display: block;
13
+ background: @color_event_back;
14
+ //margin: 0 @_pad @_pad @_pad;
15
+ box-sizing: border-box;
16
+ border: 1px solid transparent;
17
+ padding: 0 2 * @_pad;
18
+ font-size: .9em;
19
+ pointer-events: auto;
20
+
21
+ &:focus {
22
+ border-color: @color_border;
23
+ }
24
+
25
+ .event-caption,
26
+ .event-startdate {
27
+ display: inline-block;
28
+ pointer-events: none;
29
+ }
30
+
31
+ .event-startdate {
32
+ margin-right: @_pad;
33
+ //font-weight: 700;
34
+ }
35
+
36
+ .event-caption {
37
+ color: @color_event_fore;
38
+ font-weight: 700;
39
+ }
40
+ }
41
+
42
+ .InteractiveTile() {
43
+ &:hover {
44
+ background-color: @color_calendarday_hover;
45
+ }
46
+
47
+ &.@{PCSS}-disabled,
48
+ &.@{PCSS}-disabled:hover {
49
+ background-color: @_dis_clr;
50
+ opacity: 0.5;
51
+ }
52
+ }
53
+
54
+ /* #region calendar*/
55
+ .Day(@count, @index, @offset) when (@index > 0) {
56
+ &.day-@{index} {
57
+ grid-column: @index + @offset;
58
+ }
59
+ // next iteration
60
+ .Day( @count, @index - 1, @offset);
61
+ }
62
+
63
+ .Day(@count) {
64
+ .Day(@count, 0);
65
+ }
66
+
67
+ .Day(@count, @offset) {
68
+ .Day(@count, @count, @offset);
69
+ }
70
+
71
+ .DayStart(@count, @index) when (@index > 0) {
72
+ &.day-start-@{index} {
73
+ grid-column-start: @index;
74
+ }
75
+ // next iteration
76
+ .DayStart(@count, @index - 1);
77
+ }
78
+
79
+ .DayStart() {
80
+ .DayStart(7, 7);
81
+ }
82
+
83
+ .DayEnd(@count, @index) when (@index > 1) {
84
+ &.day-end-@{index} {
85
+ grid-column-end: @index;
86
+ }
87
+ // next iteration
88
+ .DayEnd(@count, @index - 1);
89
+ }
90
+
91
+ .DayEnd() {
92
+ .DayEnd(8, 8);
93
+ }
94
+
95
+ .Week(@count, @index) when (@index > 0) {
96
+ &.week-@{index} {
97
+ grid-row: @index;
98
+ }
99
+ // next iteration
100
+ .Week( @count, @index - 1);
101
+ }
102
+
103
+ .Week(@count) {
104
+ .Week(@count, @count);
105
+ }
106
+
107
+ @{P}-calendar {
108
+ display: block;
109
+
110
+ .@{PCSS}-calendar {
111
+
112
+ &.calendar-grid {
113
+ display: grid;
114
+ grid-template-columns: repeat(7, 1fr);
115
+ grid-template-rows: repeat(6, auto);
116
+
117
+ .calendar-day {
118
+ padding: @grid_spacing / 3;
119
+ margin: 0;
120
+ border: 0;
121
+ border-right: 1px solid @_brd_clr;
122
+ border-bottom: 1px solid @_brd_clr;
123
+ box-sizing: border-box;
124
+
125
+ &.viewday {
126
+ // background-color: @color_calendarday_focus;
127
+ }
128
+
129
+ &.today {
130
+ background-color: @color_calendarday_today;
131
+ }
132
+
133
+ .InteractiveTile();
134
+
135
+ &:not(.viewmonth) {
136
+ color: @color_disabled;
137
+ }
138
+
139
+ &::before {
140
+ content: '';
141
+ float: left;
142
+ padding-top: 100%;
143
+ }
144
+
145
+ .Week(6);
146
+ .Day(7);
147
+
148
+ &.week-1 {
149
+ border-top: 1px solid @_brd_clr;
150
+ }
151
+
152
+ &.day-1 {
153
+ border-left: 1px solid @_brd_clr;
154
+ }
155
+ }
156
+
157
+ .calendar-week {
158
+ // events
159
+ box-sizing: border-box;
160
+ padding: @grid_spacing * 1.5 @_pad @_pad @_pad;
161
+ overflow: hidden;
162
+ grid-column: ~"1/8";
163
+ display: grid;
164
+ grid-auto-rows: min-content;
165
+ grid-template-columns: repeat(7, 1fr);
166
+ grid-gap: @_pad 2 * @_pad;
167
+ grid-auto-flow: dense;
168
+ pointer-events: none;
169
+
170
+ &:nth-child(43) {
171
+ grid-row: 1;
172
+ }
173
+
174
+ &:nth-child(44) {
175
+ grid-row: 2;
176
+ }
177
+
178
+ &:nth-child(45) {
179
+ grid-row: 3;
180
+ }
181
+
182
+ &:nth-child(46) {
183
+ grid-row: 4;
184
+ }
185
+
186
+ &:nth-child(47) {
187
+ grid-row: 5;
188
+ }
189
+
190
+ &:nth-child(48) {
191
+ grid-row: 6;
192
+ }
193
+
194
+ .calendar-event {
195
+ .EventItem();
196
+ height: @grid_spacing;
197
+ line-height: @grid_spacing;
198
+ .Ellipsed();
199
+ .DayStart();
200
+ .DayEnd();
201
+ }
202
+ }
203
+ }
204
+ }
205
+ }
206
+ /* #endregion */
207
+
208
+ /* #region agenda */
209
+
210
+ @_agenda_slot_size: 1.5 * @grid_spacing;
211
+
212
+ .Hour (@count, @index) when (@index > 0 ) {
213
+
214
+ &.hour-@{index} {
215
+ grid-row: @index + 1;
216
+ }
217
+ // next iteration
218
+ .Hour( @count, @index - 1);
219
+ }
220
+
221
+ .Hour (@count) {
222
+ .Hour(@count, @count);
223
+ }
224
+
225
+ .Hour() {
226
+ .Hour(48);
227
+ }
228
+
229
+ .Slot(@count, @index) when (@index > 0) {
230
+ &.day-@{index} {
231
+ grid-column: @index+1;
232
+ }
233
+ // next iteration
234
+ .Slot( @count, @index - 1);
235
+ }
236
+
237
+ .Slot(@count) {
238
+ .Slot(@count, @count);
239
+ }
240
+
241
+ .ClockHourSlot(@count, @hours) when (@hours >= 0) {
242
+ &.hour-@{hours} {
243
+ grid-row: 2 * @hours + 2;
244
+ }
245
+ // next iteration
246
+ .ClockHourSlot( @count, @hours - 1);
247
+ }
248
+
249
+ .ClockHourSlot(@count) {
250
+ .ClockHourSlot( @count, @count)
251
+ }
252
+
253
+ .ClockHourSlot() {
254
+ .ClockHourSlot(23);
255
+ }
256
+
257
+ .ClockMinuteSlot(@count, @mins) when (@mins >= 0) {
258
+ &.minute-@{mins} {
259
+ transform: translateY(round(@_agenda_slot_size * @mins / 30));
260
+ }
261
+ // next iteration
262
+ .ClockMinuteSlot( @count, @mins - 1);
263
+ }
264
+
265
+ .ClockMinuteSlot(@count) {
266
+ .ClockMinuteSlot( @count, @count)
267
+ }
268
+
269
+ .ClockMinuteSlot() {
270
+ .ClockMinuteSlot(59);
271
+ }
272
+
273
+ .HourStart(@count, @index) when (@index > 0) {
274
+ &.hour-start-@{index} {
275
+ grid-row-start: @index;
276
+ }
277
+ // next iteration
278
+ .HourStart(@count, @index - 1);
279
+ }
280
+
281
+ .HourStart() {
282
+ .HourStart(48, 48);
283
+ }
284
+
285
+ .HourEnd(@count, @index) when (@index > 1) {
286
+ &.hour-end-@{index} {
287
+ grid-row-end: @index;
288
+ }
289
+ // next iteration
290
+ .HourEnd(@count, @index - 1);
291
+ }
292
+
293
+ .HourEnd() {
294
+ .HourEnd(49, 49);
295
+ }
296
+
297
+ @{P}-clock {
298
+ display: block;
299
+ }
300
+
301
+ @{P}-agenda {
302
+ font-size: .76em;
303
+ display: block;
304
+
305
+ @_slot_size: @_agenda_slot_size;
306
+
307
+ .@{PCSS}-agenda {
308
+ &.agenda-grid {
309
+ display: grid;
310
+ grid-template-columns: @_slot_size repeat(7, 1fr);
311
+ grid-template-rows: repeat(49, auto);
312
+ transition: grid-template-columns @easing_out_sine .2s;
313
+
314
+ .agenda-slot {
315
+ height: @_slot_size;
316
+ box-sizing: border-box;
317
+ font-family: @font_tech;
318
+ border-left: 1px solid @_brd_clr;
319
+ .Hour();
320
+ .Slot(7);
321
+ border-bottom: 1px solid @_brd_clr;
322
+
323
+ &.hour-whole {
324
+ border-bottom-style: dashed;
325
+ }
326
+
327
+ .InteractiveTile();
328
+ }
329
+
330
+ .agenda-left {
331
+ grid-column: 1;
332
+ grid-row: span 2;
333
+ .Hour();
334
+
335
+ &.hour-half {
336
+ border-bottom: 1px solid @_brd_clr;
337
+ }
338
+ }
339
+
340
+ .all-day {
341
+ border-bottom: @grid_spacing/8 solid @_brd_clr;
342
+ grid-row: 1;
343
+ .Slot(7);
344
+ height: auto;
345
+ }
346
+
347
+ .today {
348
+ background-color: @color_calendarday_today;
349
+ }
350
+
351
+ @{P}-clock {
352
+ pointer-events: none;
353
+ border-top: 2px dotted @color_agenda_clock;
354
+ grid-column: ~"2/9";
355
+ .ClockHourSlot();
356
+ .ClockMinuteSlot();
357
+ }
358
+
359
+ .agenda-allday {
360
+ box-sizing: border-box;
361
+ padding: @_pad @_pad @_slot_size @_pad;
362
+ overflow: hidden;
363
+ grid-column: ~"2/9";
364
+ grid-row: 1;
365
+ grid-template-columns: repeat(7, 1fr);
366
+ grid-gap: @_pad 2 * @_pad;
367
+ grid-auto-flow: dense;
368
+ pointer-events: none;
369
+ display: grid;
370
+
371
+ .agenda-event {
372
+ .EventItem();
373
+ height: @grid_spacing;
374
+ line-height: @grid_spacing;
375
+ .Ellipsed();
376
+ .DayStart();
377
+ .DayEnd();
378
+ }
379
+ }
380
+
381
+ .agenda-day {
382
+ // events
383
+ box-sizing: border-box;
384
+ padding: @_pad @grid_spacing/2 @_pad @_pad;
385
+ overflow: hidden;
386
+ grid-row: ~"2/50";
387
+ display: grid;
388
+ //grid-auto-columns: max-content;
389
+ grid-template-rows: repeat(48, 1fr);
390
+ grid-template-columns: min-content;
391
+ grid-gap: @_pad 2 * @_pad;
392
+ grid-auto-flow: dense;
393
+ pointer-events: none;
394
+
395
+ &:nth-child(370) {
396
+ grid-column: 2;
397
+ }
398
+
399
+ &:nth-child(371) {
400
+ grid-column: 3;
401
+ }
402
+
403
+ &:nth-child(372) {
404
+ grid-column: 4;
405
+ }
406
+
407
+ &:nth-child(373) {
408
+ grid-column: 5;
409
+ }
410
+
411
+ &:nth-child(374) {
412
+ grid-column: 6;
413
+ }
414
+
415
+ &:nth-child(375) {
416
+ grid-column: 7;
417
+ }
418
+
419
+ &:nth-child(376) {
420
+ grid-column: 8;
421
+ }
422
+
423
+ .agenda-event-wrapper {
424
+ .HourStart();
425
+ .HourEnd();
426
+ position: relative;
427
+
428
+ .agenda-event {
429
+ .EventItem();
430
+ position: absolute;
431
+ width: 100%;
432
+ }
433
+
434
+ &.day-start-false,
435
+ &.day-end-false {
436
+ width: round(@grid_spacing * .3333);
437
+
438
+ .agenda-event {
439
+ font-size: 0;
440
+ opacity: .5;
441
+ }
442
+ }
443
+ }
444
+ }
445
+ }
446
+ }
447
+ }
448
+ /* #endregion
449
+ */
450
+ @_headr_height: 1.5 * @grid_spacing;
451
+
452
+ @{P}-schedule {
453
+ display: block;
454
+
455
+ .@{PCSS}-schedule {
456
+
457
+ .schedule-header {
458
+ background-color: @color_schedule_header;
459
+
460
+ &.schedule-grid {
461
+ display: grid;
462
+ grid-template-columns: @_headr_height repeat(7, 1fr);
463
+
464
+ .schedule-left {
465
+ grid-column: 1;
466
+ }
467
+
468
+ .schedule-heading {
469
+ .Slot(7);
470
+ //font-weight: 700;
471
+ text-align: center;
472
+ line-height: @_headr_height;
473
+ }
474
+ }
475
+
476
+ position: sticky;
477
+ top: 0;
478
+ z-index: 2;
479
+ }
480
+
481
+ @{P}-agenda {
482
+ .agenda-allday,
483
+ .all-day {
484
+ position: sticky;
485
+ top: @_headr_height;
486
+ z-index: 1;
487
+ }
488
+
489
+ .all-day,
490
+ .all-day.today {
491
+ background-color: @color_schedule_subheader;
492
+ }
493
+ }
494
+
495
+ &.schedule-month {
496
+ @{P}-agenda {
497
+ display: none;
498
+ }
499
+
500
+ .schedule-header.schedule-grid {
501
+ grid-template-columns: 0 repeat(7, 1fr);
502
+ }
503
+ }
504
+
505
+ &:not(.schedule-month) {
506
+ @{P}-calendar {
507
+ display: none;
508
+ }
509
+ }
510
+
511
+ &.schedule-day {
512
+
513
+ @{P}-agenda {
514
+
515
+ .@{PCSS}-agenda.agenda-grid {
516
+ grid-template-columns: @grid_spacing * 1.5 1fr;
517
+
518
+ .agenda-slot {
519
+ grid-column: 2;
520
+
521
+ &:not(.viewday) {
522
+ display: none;
523
+ }
524
+ }
525
+
526
+ .agenda-allday {
527
+ grid-template-columns: 1fr;
528
+ }
529
+
530
+ @{P}-clock {
531
+ grid-column-end: 3;
532
+ }
533
+ }
534
+ }
535
+
536
+ .schedule-header.schedule-grid {
537
+ grid-template-columns: @grid_spacing * 1.5 1fr;
538
+
539
+ .schedule-heading {
540
+ grid-column: 2;
541
+
542
+ &:not(.viewday) {
543
+ display: none;
544
+ }
545
+ }
546
+ }
547
+ }
548
+ }
549
+ }
550
+
551
+ @keyframes schedule-month {
552
+ 0% {
553
+ transform: translateX(@grid_spacing);
554
+ opacity: 0;
555
+ }
556
+
557
+ 100% {
558
+ opacity: 1;
559
+ transform: none;
560
+ }
561
+ }
562
+
563
+ @keyframes schedule-week {
564
+ 0% {
565
+ transform: translateX(@grid_spacing);
566
+ opacity: 0;
567
+ }
568
+
569
+ 100% {
570
+ opacity: 1;
571
+ transform: none;
572
+ }
573
+ }
574
+
575
+ @keyframes schedule-day {
576
+ 0% {
577
+ transform: translateX(@grid_spacing);
578
+ opacity: 0;
579
+ }
580
+
581
+ 100% {
582
+ opacity: 1;
583
+ transform: none;
584
+ }
585
+ }
586
+
587
+ @keyframes schedule-events {
588
+ 0% {
589
+ transform: translateY(@grid_spacing);
590
+ opacity: 0;
591
+ }
592
+
593
+ 100% {
594
+ opacity: 1;
595
+ transform: none;
596
+ }
597
+ }
598
+
599
+ .@{PCSS}-animations {
600
+ @{P}-schedule.@{PCSS}-animatable,
601
+ @{P}-schedule.@{PCSS}-anim {
602
+
603
+ @{P}-calendar, @{P}-agenda {
604
+ animation: default-anim .2s @easing_in_out_sine both;
605
+
606
+ .agenda-day,
607
+ .agenda-allday,
608
+ .calendar-week {
609
+ animation: default-anim .125s @easing_in_out_sine both .1s;
610
+ }
611
+ }
612
+
613
+ .schedule-month @{P}-calendar {
614
+ animation-name: schedule-month;
615
+ }
616
+
617
+ .schedule-week @{P}-agenda {
618
+ animation-name: schedule-week;
619
+ }
620
+
621
+ .schedule-day @{P}-agenda {
622
+ animation-name: schedule-day;
623
+
624
+ .agenda-day,
625
+ .agenda-allday,
626
+ .calendar-week {
627
+ animation-name: schedule-events;
628
+ }
629
+ }
630
+
631
+ @{P}-calendar.viewdate-next,
632
+ @{P}-agenda.viewdate-next {
633
+ animation-name: list-item-right;
634
+ }
635
+
636
+ @{P}-calendar.viewdate-previous,
637
+ @{P}-agenda.viewdate-previous {
638
+ animation-name: list-item-left;
639
+ }
640
+ }
641
+
642
+ @{P}-calendar.@{PCSS}-animatable,
643
+ @{P}-calendar.@{PCSS}-anim,
644
+ @{P}-agenda.@{PCSS}-anim,
645
+ @{P}-agenda.@{PCSS}-animatable {
646
+ &.viewdate-next {
647
+ animation: list-item-right .2s @easing_out_sine both;
648
+ }
649
+
650
+ &.viewdate-previous {
651
+ animation: list-item-left .2s @easing_out_sine both;
652
+ }
653
+
654
+ .agenda-day,
655
+ .agenda-allday,
656
+ .calendar-week {
657
+ animation: default-anim .125s @easing_in_out_sine both .1s;
658
+ }
659
+ }
660
+ }
@@ -0,0 +1,23 @@
1
+ @import "../shared";
2
+
3
+ @{P}-collapse {
4
+ display: block;
5
+ overflow: hidden !important;
6
+ transition: height .35s @easing_in_out_sine;
7
+
8
+ &::part(container) {
9
+ position: relative;
10
+ }
11
+
12
+ &::part(content) {
13
+ position: static;
14
+ }
15
+
16
+ &.@{PCSS}-horizontal {
17
+ transition: width .35s @easing_in_out_sine;
18
+
19
+ &::part(content) {
20
+ position: absolute;
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,17 @@
1
+ @import "../dialog-vars";
2
+
3
+ @{P}-dialog {
4
+ .DialogWithFixedButtons();
5
+ .DialogPositioning(dialog);
6
+ .DialogAlignment(dialog);
7
+ .DialogSize(dialog);
8
+ display: none;
9
+
10
+ &[pacem] {
11
+ display: block;
12
+ }
13
+
14
+ &[pacem][cloak] {
15
+ display: none !important;
16
+ }
17
+ }