@pacem/pacem-theme-css 0.0.0-stage → 2.0.0-abel

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 (153) hide show
  1. package/LICENSE +191 -0
  2. package/NOTICE +4 -0
  3. package/README.md +142 -3
  4. package/cli.js +26 -0
  5. package/pacem-themes.json +10 -0
  6. package/package.json +45 -6
  7. package/src/2d/index.css +44 -0
  8. package/src/3d/index.css +49 -0
  9. package/src/base/animations.css +82 -0
  10. package/src/base/attributes.css +19 -0
  11. package/src/base/backgrounds.css +37 -0
  12. package/src/base/body.css +199 -0
  13. package/src/base/content.css +4 -0
  14. package/src/base/icons.css +74 -0
  15. package/src/base/logging.css +5 -0
  16. package/src/base/overrides.css +3 -0
  17. package/src/base/preloader.css +17 -0
  18. package/src/base/reset.css +50 -0
  19. package/src/base/shell.css +3 -0
  20. package/src/base/text.css +184 -0
  21. package/src/basic/index.css +285 -0
  22. package/src/charts/generated/colors.css +49 -0
  23. package/src/charts/index.css +573 -0
  24. package/src/fx/index.css +230 -0
  25. package/src/layout/address.css +46 -0
  26. package/src/layout/animations.css +33 -0
  27. package/src/layout/borders.css +63 -0
  28. package/src/layout/box.css +271 -0
  29. package/src/layout/breadcrumbs.css +114 -0
  30. package/src/layout/cards.css +246 -0
  31. package/src/layout/coloring.css +862 -0
  32. package/src/layout/container.css +40 -0
  33. package/src/layout/corners.css +52 -0
  34. package/src/layout/datatable.css +324 -0
  35. package/src/layout/elevation.css +73 -0
  36. package/src/layout/fetch-feedback.css +125 -0
  37. package/src/layout/generated/borders.css +403 -0
  38. package/src/layout/generated/card-ribbon.css +94 -0
  39. package/src/layout/generated/card-sides.css +888 -0
  40. package/src/layout/generated/grid-system.css +308 -0
  41. package/src/layout/generated/grids.css +952 -0
  42. package/src/layout/generated/layout-stretch.css +132 -0
  43. package/src/layout/generated/positioning.css +323 -0
  44. package/src/layout/generated/sizing.css +478 -0
  45. package/src/layout/generated/spacing.css +1988 -0
  46. package/src/layout/generated/visibility.css +384 -0
  47. package/src/layout/grid-system.css +49 -0
  48. package/src/layout/grids.css +92 -0
  49. package/src/layout/index.css +39 -0
  50. package/src/layout/interactive.css +11 -0
  51. package/src/layout/layout.css +479 -0
  52. package/src/layout/lists.css +104 -0
  53. package/src/layout/other.css +25 -0
  54. package/src/layout/panels.css +337 -0
  55. package/src/layout/positioning.css +108 -0
  56. package/src/layout/scroll.css +85 -0
  57. package/src/layout/shapes.css +20 -0
  58. package/src/layout/shell.css +3 -0
  59. package/src/layout/sizing.css +25 -0
  60. package/src/layout/spacing.css +17 -0
  61. package/src/layout/superposition-system.css +116 -0
  62. package/src/layout/tokens-chips.css +15 -0
  63. package/src/layout/toolbar.css +30 -0
  64. package/src/layout/typography.css +106 -0
  65. package/src/layout/visibility.css +231 -0
  66. package/src/maps/index.css +20 -0
  67. package/src/media/index.css +6 -0
  68. package/src/media.css +18 -0
  69. package/src/pacem-content.css +24 -0
  70. package/src/pacem-shell.css +14 -0
  71. package/src/pacem.css +35 -0
  72. package/src/plus/carousel.css +327 -0
  73. package/src/plus/datagrid.css +68 -0
  74. package/src/plus/gallery.css +186 -0
  75. package/src/plus/icons.css +25 -0
  76. package/src/plus/index.css +7 -0
  77. package/src/plus/misc.css +194 -0
  78. package/src/scaffolding/calendar-picker.css +291 -0
  79. package/src/scaffolding/checkbox-radio.css +118 -0
  80. package/src/scaffolding/checkbox.css +200 -0
  81. package/src/scaffolding/childform.css +156 -0
  82. package/src/scaffolding/color.css +129 -0
  83. package/src/scaffolding/contenteditable.css +403 -0
  84. package/src/scaffolding/datepicker.css +126 -0
  85. package/src/scaffolding/elements.css +30 -0
  86. package/src/scaffolding/fieldset.css +346 -0
  87. package/src/scaffolding/form.css +36 -0
  88. package/src/scaffolding/formfield.css +364 -0
  89. package/src/scaffolding/generated/calendar-picker.css +40 -0
  90. package/src/scaffolding/generated/colors.css +115 -0
  91. package/src/scaffolding/generated/formfield.css +500 -0
  92. package/src/scaffolding/hierarchy.css +76 -0
  93. package/src/scaffolding/icons.css +64 -0
  94. package/src/scaffolding/image.css +195 -0
  95. package/src/scaffolding/index.css +40 -0
  96. package/src/scaffolding/input.css +163 -0
  97. package/src/scaffolding/inputs.css +77 -0
  98. package/src/scaffolding/latlng.css +173 -0
  99. package/src/scaffolding/markdown.css +14 -0
  100. package/src/scaffolding/password.css +7 -0
  101. package/src/scaffolding/pickers.css +150 -0
  102. package/src/scaffolding/radio.css +68 -0
  103. package/src/scaffolding/select.css +59 -0
  104. package/src/scaffolding/slider.css +236 -0
  105. package/src/scaffolding/snapshot.css +167 -0
  106. package/src/scaffolding/suggest.css +92 -0
  107. package/src/scaffolding/tags.css +132 -0
  108. package/src/scaffolding/textarea.css +45 -0
  109. package/src/scaffolding/upload.css +283 -0
  110. package/src/scaffolding/validators.css +29 -0
  111. package/src/tokens/colors.css +403 -0
  112. package/src/tokens/components.css +16 -0
  113. package/src/tokens/system.css +92 -0
  114. package/src/tokens/theme.css +221 -0
  115. package/src/traits.css +18 -0
  116. package/src/transforms/index.css +5 -0
  117. package/src/ui/anchor.css +55 -0
  118. package/src/ui/balloon.css +573 -0
  119. package/src/ui/binder.css +28 -0
  120. package/src/ui/blade.css +83 -0
  121. package/src/ui/bottom-sheet.css +53 -0
  122. package/src/ui/button.css +626 -0
  123. package/src/ui/calendar.css +415 -0
  124. package/src/ui/collapse.css +25 -0
  125. package/src/ui/dialog.css +230 -0
  126. package/src/ui/divider.css +42 -0
  127. package/src/ui/generated/calendar.css +363 -0
  128. package/src/ui/hidden.css +40 -0
  129. package/src/ui/icon.css +90 -0
  130. package/src/ui/image.css +140 -0
  131. package/src/ui/index.css +30 -0
  132. package/src/ui/led.css +84 -0
  133. package/src/ui/loader.css +174 -0
  134. package/src/ui/markdown.css +352 -0
  135. package/src/ui/marquee.css +41 -0
  136. package/src/ui/menu.css +386 -0
  137. package/src/ui/pager.css +133 -0
  138. package/src/ui/progressbar.css +137 -0
  139. package/src/ui/shell.css +4 -0
  140. package/src/ui/sidebar.css +103 -0
  141. package/src/ui/sticky-header.css +22 -0
  142. package/src/ui/tabs.css +355 -0
  143. package/src/ui/ticker.css +105 -0
  144. package/src/ui/timeline.css +106 -0
  145. package/src/ui/toast.css +182 -0
  146. package/src/ui/toc.css +58 -0
  147. package/src/ui/tuner.css +196 -0
  148. package/src/ui/view.css +30 -0
  149. package/src/ui/window.css +287 -0
  150. package/templates/theme.css +28 -0
  151. package/themebuilder.js +19 -0
  152. package/themes/dark.css +6 -0
  153. package/themes/light.css +97 -0
@@ -0,0 +1,327 @@
1
+ /* Carousel. carousel.less and gallery.less declare the same top-level variables (@padding, @height_block, @bg_color,
2
+ @duration...): Less variables are global and lazy, so the carousel of the shipped theme uses the values of
3
+ gallery.less, the last ones: blocks 75vh tall (not --pacem-height-block), a transparent background, .333s transitions
4
+ (.1332s delays, .05328s second delays). */
5
+ .pacem-carousel {
6
+ background-color: transparent;
7
+ min-height: 75vh;
8
+
9
+ .pacem-carousel-item {
10
+ .pacem-carousel-splash {
11
+ border: solid rgb(from var(--pacem-color-background) r g b / 25%);
12
+ border-width: round(calc(var(--pacem-grid-spacing) / 3), 1px) 0 0 0;
13
+ min-height: 75vh;
14
+ position: relative;
15
+ box-sizing: border-box;
16
+ display: block;
17
+ /* (fade(transparent, 85%): black) */
18
+ box-shadow: inset 0 -15vh 15vh rgba(0,0,0,0.85);
19
+ background-origin: border-box;
20
+ }
21
+
22
+ h3 {
23
+ font-family: var(--pacem-font-main);
24
+ font-weight: var(--pacem-font-main-weight);
25
+ font-size: calc(2rem * var(--pacem-font-main-rem-factor));
26
+ margin-bottom: var(--pacem-grid-spacing);
27
+ }
28
+
29
+ div.paragraph {
30
+ padding: 0 0 var(--pacem-grid-spacing) 0;
31
+ }
32
+
33
+ a.in-depth {
34
+ font-family: var(--pacem-font-main);
35
+ font-size: calc(1rem * var(--pacem-font-main-rem-factor));
36
+ display: inline-block;
37
+ line-height: calc(var(--pacem-grid-spacing) * 3 / 4);
38
+ padding-right: var(--pacem-grid-spacing);
39
+ background-position: right center;
40
+ background-repeat: no-repeat;
41
+ background-size: contain;
42
+ }
43
+
44
+ .oblo {
45
+ width: 20vw;
46
+ min-height: 12vw;
47
+ flex: 0 0 20vw;
48
+ background-color: #000;
49
+ background-position: center center;
50
+ background-repeat: no-repeat;
51
+ background-size: cover;
52
+ box-shadow: inset 0 0 var(--pacem-grid-spacing) #000;
53
+ }
54
+
55
+ > pacem-a {
56
+ display: block;
57
+ }
58
+
59
+ /* .Spaced(): round(block height * .333), or twice the spacing. (The mixin resolves @height_block in the scope of
60
+ theme-dark.less, where it is 50vh: 17vh) */
61
+ &.spaced {
62
+ margin-top: 17vh;
63
+
64
+ &.less {
65
+ margin-top: calc(2 * var(--pacem-grid-spacing));
66
+ }
67
+ }
68
+
69
+ .floating.image {
70
+ float: left;
71
+ display: inline-block;
72
+ width: 116px;
73
+ height: 116px;
74
+ background-position: 0 0;
75
+ background-repeat: no-repeat;
76
+ background-size: contain;
77
+ margin: 0 var(--pacem-grid-spacing) var(--pacem-grid-spacing) 0;
78
+ background-image: url(../images/cms/img_placeholder.svg);
79
+ }
80
+
81
+ h3 {
82
+ font-family: var(--pacem-font-main);
83
+ font-weight: 400;
84
+ font-size: calc(2rem * var(--pacem-font-main-rem-factor));
85
+ margin-bottom: calc(var(--pacem-grid-spacing) / 2);
86
+ }
87
+
88
+ :is(p, div.paragraph) {
89
+ padding: 0 var(--pacem-grid-spacing) var(--pacem-grid-spacing) 0;
90
+ font-size: 1.25em;
91
+ }
92
+ }
93
+
94
+ .pacem-carousel-item {
95
+ position: absolute;
96
+ z-index: 1;
97
+ width: 100%;
98
+ top: 0;
99
+ left: 0;
100
+
101
+ .pacem-carousel-content {
102
+ position: relative;
103
+ width: var(--pacem-width-desktop);
104
+ margin: auto;
105
+
106
+ .pacem-carousel-caption {
107
+ position: absolute;
108
+ background-clip: padding-box;
109
+ bottom: var(--pacem-grid-spacing);
110
+ left: var(--pacem-grid-spacing);
111
+ padding: var(--pacem-grid-spacing) var(--pacem-grid-spacing) 0 var(--pacem-grid-spacing);
112
+ box-sizing: border-box;
113
+ text-shadow: 0 4px transparent;
114
+ color: var(--pacem-theme-light);
115
+ font-family: var(--pacem-font-main);
116
+ font-size: calc(1.5rem * var(--pacem-font-main-rem-factor));
117
+ /* @uppercase_carousels */
118
+ text-transform: var(--pacem-transform-carousel);
119
+ }
120
+ }
121
+ }
122
+ }
123
+
124
+ /* animations */
125
+ .pacem-carousel {
126
+ position: relative;
127
+
128
+ > .pacem-carousel-item {
129
+ .pacem-carousel-splash {
130
+ transition: transform cubic-bezier(0.785, 0.135, 0.15, 0.86), opacity linear;
131
+ transition-delay: .1332s;
132
+ transition-duration: .333s;
133
+ transform: translateX(100%);
134
+ opacity: 0;
135
+ }
136
+
137
+ .pacem-carousel-caption {
138
+ transition: transform ease-in, opacity linear;
139
+ transition-duration: .333s;
140
+ transition-delay: .1332s;
141
+ transform: translateX(0) translateZ(0);
142
+ opacity: 0;
143
+
144
+ :is(h3, .paragraph) {
145
+ transition: transform linear, opacity linear;
146
+ transition-duration: .1332s;
147
+ transition-delay: .05328s;
148
+ transform: translateY(calc(.5 * var(--pacem-grid-cell))) translateZ(0);
149
+ opacity: 0;
150
+ }
151
+
152
+ .paragraph {
153
+ transition-delay: -.04672s;
154
+ }
155
+ }
156
+
157
+ &.pacem-carousel-previous {
158
+ .pacem-carousel-splash {
159
+ transform: translateX(-100%) translateZ(0);
160
+ }
161
+
162
+ .pacem-carousel-caption {
163
+ transform: translateX(0) translateZ(0);
164
+ }
165
+ }
166
+
167
+ &.pacem-carousel-focus {
168
+ z-index: 2;
169
+
170
+ .pacem-carousel-splash {
171
+ transform: translateX(0) translateZ(0);
172
+ opacity: 1;
173
+ }
174
+
175
+ .pacem-carousel-caption {
176
+ transform: translateX(0) translateZ(0);
177
+ opacity: 1;
178
+
179
+ :is(h3, .paragraph) {
180
+ transform: translateY(0) translateZ(0);
181
+ opacity: 1;
182
+ transition-delay: .333s;
183
+ }
184
+
185
+ .paragraph {
186
+ transition-delay: .433s;
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+
193
+ pacem-carousel {
194
+ position: relative;
195
+ display: block;
196
+ }
197
+
198
+ /* #region adapter: previous and next buttons grid cell / 1.414 wide; dashboard spacing * .75 tall, 2px borders */
199
+ .pacem-carousel-adapter {
200
+ position: absolute;
201
+ z-index: 2;
202
+ width: 100%;
203
+ bottom: 0;
204
+ left: 0;
205
+
206
+ pacem-button[pacem] {
207
+ border: none;
208
+ position: absolute;
209
+ background: transparent;
210
+ box-shadow: none;
211
+ padding: 0;
212
+ margin: 0;
213
+ font-size: 0;
214
+ min-height: 0;
215
+ min-width: 0;
216
+ color: var(--pacem-color-primary);
217
+
218
+ &:is(.pacem-adapter-next, .pacem-adapter-previous) {
219
+ > button {
220
+ border: none;
221
+ }
222
+
223
+ width: calc(var(--pacem-grid-cell) / 1.414);
224
+ height: calc(var(--pacem-grid-cell) / 1.414);
225
+ bottom: 37.5vh;
226
+ margin-top: calc(var(--pacem-grid-cell) / -2.828);
227
+ text-shadow: 0 4px transparent;
228
+ }
229
+
230
+ &.pacem-adapter-previous {
231
+ left: calc(var(--pacem-grid-spacing) / 3);
232
+
233
+ &::before {
234
+ /* .Icon(): icons.css */
235
+ content: 'chevron_left';
236
+ font-size: calc(var(--pacem-grid-cell) / 1.414);
237
+ }
238
+ }
239
+
240
+ &.pacem-adapter-next {
241
+ right: calc(var(--pacem-grid-spacing) / 3);
242
+
243
+ &::before {
244
+ /* .Icon(): icons.css */
245
+ content: 'chevron_right';
246
+ font-size: calc(var(--pacem-grid-cell) / 1.414);
247
+ }
248
+ }
249
+ }
250
+
251
+ .pacem-adapter-dashboard {
252
+ transform: translateY(calc(var(--pacem-grid-spacing) / 3));
253
+ display: flex;
254
+ width: 100%;
255
+ height: calc(var(--pacem-grid-spacing) * .75);
256
+ position: absolute;
257
+ left: 0;
258
+ justify-content: center;
259
+ list-style-type: none;
260
+ flex-direction: row;
261
+
262
+ > li {
263
+ flex-grow: 0;
264
+ flex-shrink: 0;
265
+ width: calc(var(--pacem-grid-spacing) * .75 * 1.125);
266
+ font-size: 0;
267
+ display: inline-block;
268
+ }
269
+
270
+ :is(.pacem-adapter-page, .pacem-play-pause) {
271
+ cursor: pointer;
272
+ margin: 0 auto;
273
+ padding: 0;
274
+ width: calc(var(--pacem-grid-spacing) * .75 - 4px);
275
+ height: calc(var(--pacem-grid-spacing) * .75 - 4px);
276
+ border: 2px solid var(--pacem-theme-light);
277
+ border-radius: 50%;
278
+ display: block;
279
+ background: transparent;
280
+ position: relative;
281
+ z-index: 3;
282
+ font-size: 0;
283
+ box-sizing: content-box;
284
+ }
285
+
286
+ .pacem-play-pause {
287
+ &:is(.playing, .paused)::before {
288
+ font-size: calc(var(--pacem-grid-spacing) * .75 - 6px);
289
+ top: 1px;
290
+ left: 1px;
291
+ }
292
+
293
+ &.playing::before {
294
+ /* .Icon(): icons.css */
295
+ content: 'play_arrow';
296
+ }
297
+
298
+ &.paused::before {
299
+ /* .Icon(): icons.css */
300
+ content: 'pause';
301
+ }
302
+ }
303
+
304
+ .pacem-adapter-page {
305
+ &::before {
306
+ position: absolute;
307
+ top: 1px;
308
+ left: 1px;
309
+ width: calc(var(--pacem-grid-spacing) * .75 - 6px);
310
+ height: calc(var(--pacem-grid-spacing) * .75 - 6px);
311
+ display: block;
312
+ border-radius: 50%;
313
+ content: '';
314
+ background-color: var(--pacem-theme-light);
315
+ transition: transform .2s ease-in;
316
+ transform-origin: calc((var(--pacem-grid-spacing) * .75 - 6px) * .5) calc((var(--pacem-grid-spacing) * .75 - 6px) * .5);
317
+ transform: scale(0);
318
+ z-index: -3;
319
+ }
320
+
321
+ &.pacem-adapter-active::before {
322
+ transform: scale(1);
323
+ }
324
+ }
325
+ }
326
+ }
327
+ /* #endregion */
@@ -0,0 +1,68 @@
1
+ /* datagrid/index.less and datagrid/headcell.less (datagrid/datacell.less has no declarations) */
2
+ pacem-datagrid {
3
+ display: block;
4
+ /* scrollable content (horizontally) */
5
+ overflow: auto;
6
+
7
+ .pacem-datatable {
8
+ overflow: auto;
9
+ }
10
+
11
+ &.datagrid-noborders .pacem-datatable {
12
+ border-width: 0;
13
+
14
+ .pacem-datacell.datacell-lastrow {
15
+ border-bottom-width: 0;
16
+ }
17
+
18
+ .pacem-footcell {
19
+ border-top: 1px solid var(--pacem-color-border);
20
+ border-bottom-width: 0;
21
+ }
22
+ }
23
+
24
+ &.datagrid-no-sideborders .pacem-datatable {
25
+ border-left-width: 0;
26
+ border-right-width: 0;
27
+ }
28
+
29
+ &.datagrid-norows .pacem-datatable .pacem-datarow {
30
+ pointer-events: none !important;
31
+ display: none !important;
32
+ }
33
+ }
34
+
35
+ pacem-datacolumn {
36
+ pointer-events: none !important;
37
+ display: none !important;
38
+ }
39
+
40
+ .pacem-datatable pacem-headcell.pacem-headcell {
41
+ display: grid;
42
+ grid-template-columns: 1fr auto auto auto;
43
+ position: relative;
44
+
45
+ > .headcell-sort {
46
+ margin: 0;
47
+ text-transform: none;
48
+ grid-column: 2;
49
+
50
+ &::before {
51
+ line-height: .6;
52
+ vertical-align: middle;
53
+ }
54
+ }
55
+
56
+ > .headcell-actions {
57
+ grid-column: 3;
58
+ }
59
+
60
+ > .headcell-rescale {
61
+ grid-column: 4;
62
+ position: absolute;
63
+ right: 3px;
64
+ top: calc(var(--pacem-grid-spacing) / 3);
65
+ bottom: calc(var(--pacem-grid-spacing) / 3);
66
+ border-right: 1px dashed var(--pacem-color-border);
67
+ }
68
+ }
@@ -0,0 +1,186 @@
1
+ /* Gallery: images 75vh tall and as wide as the desktop content (.GalleryImage()); transitions .333s (.1332s delays). */
2
+ pacem-gallery {
3
+ pacem-slideshow {
4
+ min-height: 75vh;
5
+ }
6
+
7
+ /* (Less also emitted `::part(lightbox-wrapper).pacem-shown`, an invalid selector: not ported) */
8
+ pacem-lightbox.pacem-gallery {
9
+ &::part(lightbox) {
10
+ margin: 0 auto;
11
+ width: var(--pacem-width-desktop);
12
+ height: 75vh;
13
+ padding: 0;
14
+ box-shadow: none;
15
+ background: transparent;
16
+ backdrop-filter: none;
17
+ }
18
+
19
+ &::part(scrollable) {
20
+ border: none;
21
+ position: static;
22
+ }
23
+
24
+ pacem-img {
25
+ width: var(--pacem-width-desktop);
26
+ height: 75vh;
27
+ display: block;
28
+ }
29
+ }
30
+ }
31
+
32
+ .pacem-gallery-hero-target {
33
+ /* .GalleryImage() */
34
+ margin: 0 auto;
35
+ background-color: transparent;
36
+ width: var(--pacem-width-desktop);
37
+ height: 75vh;
38
+ padding: 0;
39
+ position: fixed;
40
+ top: 12.5vh;
41
+ left: calc(.5 * (100vw - var(--pacem-width-desktop)));
42
+ pointer-events: none;
43
+ opacity: 0;
44
+ z-index: var(--pacem-zindex-lightbox);
45
+ }
46
+
47
+ /* animations */
48
+ .pacem-gallery .pacem-gallery-item {
49
+ position: absolute;
50
+ top: 0;
51
+ left: 0;
52
+ display: grid;
53
+ justify-content: stretch;
54
+
55
+ .pacem-gallery-splash {
56
+ transition: transform cubic-bezier(0.785, 0.135, 0.15, 0.86), opacity linear;
57
+ transition-delay: .1332s;
58
+ transition-duration: .333s;
59
+ /* gallery-next (default) */
60
+ transform: translateX(calc((100vw - var(--pacem-width-desktop)) * .5 + var(--pacem-width-desktop)));
61
+ opacity: 0;
62
+ grid-column: 1;
63
+ grid-row: 1;
64
+ }
65
+
66
+ .pacem-gallery-caption {
67
+ transition: transform ease-in, opacity linear;
68
+ transition-duration: .333s;
69
+ transition-delay: .1332s;
70
+ transform: translateY(0) translateZ(0);
71
+ opacity: 0;
72
+ grid-column: 1;
73
+ grid-row: 1;
74
+ align-self: end;
75
+ justify-self: center;
76
+ margin-bottom: calc(var(--pacem-grid-spacing) / 3);
77
+
78
+ &.gallery-caption-default {
79
+ background-color: rgb(from var(--pacem-theme-dark) r g b / 70%);
80
+ padding: calc(var(--pacem-grid-spacing) / 3) var(--pacem-grid-spacing);
81
+ text-align: center;
82
+ border-radius: var(--pacem-border-radius);
83
+
84
+ :is(.paragraph, .gallery-caption-text) {
85
+ color: var(--pacem-theme-light);
86
+ }
87
+ }
88
+
89
+ :is(.paragraph, .gallery-caption-text) {
90
+ transition: transform linear, opacity linear;
91
+ transition-duration: .1332s;
92
+ transition-delay: .05328s;
93
+ transform: translateY(calc(.05 * var(--pacem-grid-cell))) translateZ(0);
94
+ opacity: 0;
95
+ }
96
+ }
97
+
98
+ &.pacem-gallery-previous {
99
+ .pacem-gallery-splash {
100
+ transform: translateX(calc(-1 * (100vw - (100vw - var(--pacem-width-desktop)) * .5))) translateZ(0);
101
+ }
102
+
103
+ .pacem-gallery-caption {
104
+ transform: translateX(0) translateZ(0);
105
+ }
106
+ }
107
+
108
+ &.pacem-gallery-focus {
109
+ z-index: 2;
110
+
111
+ .pacem-gallery-splash {
112
+ transform: translateX(0) translateZ(0);
113
+ opacity: 1;
114
+ }
115
+
116
+ .pacem-gallery-caption {
117
+ transform: translateY(0) translateZ(0);
118
+ opacity: 1;
119
+
120
+ :is(.paragraph, .gallery-caption-text) {
121
+ transform: translateY(0) translateZ(0);
122
+ opacity: 1;
123
+ transition-delay: .333s;
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ /* adapter: previous and next buttons grid cell / 1.414 wide */
130
+ .pacem-gallery pacem-adapter {
131
+ position: absolute;
132
+ z-index: 2;
133
+ width: 100vw;
134
+ bottom: 0;
135
+ left: calc(-0.5 * (100vw - var(--pacem-width-desktop)));
136
+
137
+ pacem-button[pacem] {
138
+ /* .Btn() */
139
+ border: none;
140
+ position: absolute;
141
+ background: transparent;
142
+ box-shadow: none;
143
+ padding: 0;
144
+ margin: 0;
145
+ font-size: 0;
146
+ min-height: 0;
147
+ min-width: 0;
148
+ color: var(--pacem-color-primary);
149
+
150
+ &:is(.pacem-adapter-next, .pacem-adapter-previous) {
151
+ width: calc(var(--pacem-grid-cell) / 1.414);
152
+ height: calc(var(--pacem-grid-cell) / 1.414);
153
+ bottom: 37.5vh;
154
+ margin-top: calc(var(--pacem-grid-cell) / -2.828);
155
+ text-shadow: 0 4px transparent;
156
+ }
157
+
158
+ &.pacem-adapter-previous {
159
+ left: calc(var(--pacem-grid-spacing) / 3);
160
+
161
+ &::before {
162
+ /* .Icon(): icons.css */
163
+ content: 'chevron_left';
164
+ font-size: calc(var(--pacem-grid-cell) / 1.414);
165
+ left: 0;
166
+ top: 0;
167
+ }
168
+ }
169
+
170
+ &.pacem-adapter-next {
171
+ right: calc(var(--pacem-grid-spacing) / 3);
172
+
173
+ &::before {
174
+ /* .Icon(): icons.css */
175
+ content: 'chevron_right';
176
+ font-size: calc(var(--pacem-grid-cell) / 1.414);
177
+ left: 0;
178
+ top: 0;
179
+ }
180
+ }
181
+ }
182
+
183
+ .pacem-adapter-dashboard {
184
+ display: none !important;
185
+ }
186
+ }
@@ -0,0 +1,25 @@
1
+ /* .Icon() (theme-dark.less): the declarations shared by the icons of the folder (see scaffolding/icons.css). */
2
+ .pacem-carousel-adapter pacem-button[pacem].pacem-adapter-previous::before,
3
+ .pacem-carousel-adapter pacem-button[pacem].pacem-adapter-next::before,
4
+ .pacem-carousel-adapter .pacem-adapter-dashboard .pacem-play-pause.playing::before,
5
+ .pacem-carousel-adapter .pacem-adapter-dashboard .pacem-play-pause.paused::before,
6
+ .pacem-gallery pacem-adapter pacem-button[pacem].pacem-adapter-previous::before,
7
+ .pacem-gallery pacem-adapter pacem-button[pacem].pacem-adapter-next::before,
8
+ .pacem-editing pacem-button.pacem-edit-button::before {
9
+ position: absolute;
10
+ display: inline-block;
11
+ line-height: 1;
12
+ text-align: center;
13
+ font-family: var(--pacem-font-icons);
14
+ text-transform: none;
15
+ letter-spacing: normal;
16
+ word-wrap: normal;
17
+ white-space: nowrap;
18
+ direction: ltr;
19
+ -webkit-font-smoothing: antialiased;
20
+ text-rendering: optimizeLegibility;
21
+ -moz-osx-font-smoothing: grayscale;
22
+ font-feature-settings: 'liga';
23
+ transition: font-variation-settings .25s var(--pacem-easing-in-out-sine);
24
+ font-variation-settings: 'FILL' var(--pacem-font-icon-fill), 'wght' 400, 'GRAD' 0, 'opsz' 24;
25
+ }
@@ -0,0 +1,7 @@
1
+ /* plus, same order as theme/less/pacem/plus/index.less (icons.css: the .Icon() declarations of the folder). */
2
+ @import "icons.css";
3
+ @import "carousel.css";
4
+ @import "gallery.css";
5
+ /* edit, modal-form, context-menu, router-hash-state */
6
+ @import "misc.css";
7
+ @import "datagrid.css";