@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,110 @@
1
+ @import "../shared";
2
+
3
+ body {
4
+ font-family: @font_std;
5
+ color: @color_default;
6
+ }
7
+
8
+ h1, h2, h3 {
9
+ margin: @grid_spacing/3 0;
10
+ }
11
+
12
+ h1, h2, h3, h4, h5, h6 {
13
+ font-weight: @font_main_weight;
14
+ font-family: ~"var(--@{PCSS}-font-main)";
15
+ line-height: 1.1;
16
+
17
+ &.@{PCSS}-title {
18
+ color: @color_title;
19
+ background-color: @color_title_inv;
20
+ }
21
+
22
+ &.@{PCSS}-title when (@uppercase_titles = true) {
23
+ text-transform: uppercase;
24
+ }
25
+ }
26
+
27
+ h1 {
28
+ .FontMainSize(2);
29
+ }
30
+
31
+ h2 {
32
+ .FontMainSize(1.75);
33
+ }
34
+
35
+ h3 {
36
+ .FontMainSize(1.5);
37
+ }
38
+
39
+ h4 {
40
+ .FontMainSize(1.3333);
41
+ }
42
+
43
+ h5 {
44
+ .FontMainSize(1.25);
45
+ }
46
+
47
+ h6 {
48
+ .FontMainSize(1.1);
49
+ }
50
+
51
+ p {
52
+ margin-bottom: .5rem;
53
+ }
54
+
55
+ small {
56
+ opacity: .8;
57
+ font-size: 0.86667em;
58
+ }
59
+
60
+ code,
61
+ samp,
62
+ kbd {
63
+ .FontTech();
64
+ padding: 0 @grid_spacing/6;
65
+ }
66
+
67
+ samp,
68
+ code {
69
+ color: @color_code;
70
+ background: @color_code_back;
71
+ }
72
+
73
+ kbd {
74
+ color: @color_background;
75
+ .FontTech(.86667);
76
+ //font-weight: bold;
77
+ background: fade(@color_default, 90);
78
+ border-radius: @grid_spacing/12;
79
+ }
80
+
81
+ mark, .@{PCSS}-highlight {
82
+ background-color: @color_primary;
83
+ color: @color_light;
84
+ }
85
+
86
+ blockquote {
87
+ border: 0;
88
+ padding: 1em 1em 1em 2em;
89
+ position: static;
90
+ text-align: inherit;
91
+ margin: 1em 0;
92
+ font-style: italic;
93
+ color: inherit;
94
+ border-left: @grid_spacing/6 solid @color_border;
95
+ }
96
+
97
+ hr {
98
+ margin: @grid_spacing/2 0;
99
+ height: 0;
100
+ border: 0;
101
+ border-top: 1px solid fade(@color_default, 10);
102
+
103
+ &.spacer {
104
+ margin-bottom: @grid_spacing;
105
+ }
106
+ }
107
+
108
+ a, a:hover, a:visited {
109
+ color: @color_link;
110
+ }
@@ -0,0 +1,406 @@
1
+ @import "../shared";
2
+
3
+ .full-width {
4
+ width: 100%;
5
+ }
6
+
7
+ .full-height {
8
+ height: 100%;
9
+ }
10
+
11
+ /* #region overflow-specific*/
12
+
13
+ .overflow-visible {
14
+ overflow: visible !important;
15
+ }
16
+
17
+ .overflow-scroll {
18
+ overflow: scroll !important;
19
+ }
20
+
21
+ .overflow-auto {
22
+ overflow: auto !important;
23
+ }
24
+
25
+ .overflow-hidden {
26
+ overflow: hidden !important;
27
+ }
28
+
29
+ .overflow-y-scroll {
30
+ overflow-y: scroll !important;
31
+ }
32
+
33
+ .overflow-y-auto {
34
+ overflow-y: auto !important;
35
+ }
36
+
37
+ .overflow-x-auto {
38
+ overflow-x: auto !important;
39
+ }
40
+
41
+ .overflow-x-scroll {
42
+ overflow-x: scroll !important;
43
+ }
44
+
45
+ .overflow-y-hidden {
46
+ overflow-y: hidden !important;
47
+ }
48
+
49
+ .overflow-x-hidden {
50
+ overflow-x: hidden !important;
51
+ }
52
+
53
+ /* #endregion*/
54
+
55
+ .hit-none,
56
+ .@{PCSS}-inert {
57
+ pointer-events: none !important;
58
+ }
59
+
60
+ .hit-auto {
61
+ pointer-events: auto !important;
62
+ }
63
+
64
+ .@{PCSS}-hide {
65
+ display: none;
66
+ }
67
+
68
+ .select-none,
69
+ .@{PCSS}-unselect {
70
+ user-select: none;
71
+ }
72
+
73
+ .@{PCSS}-invisibile {
74
+ visibility: hidden;
75
+ }
76
+
77
+ .@{PCSS}-show {
78
+ display: inherit;
79
+ }
80
+
81
+ .@{PCSS}-transparent {
82
+ opacity: 0 !important;
83
+ }
84
+
85
+ .display-block {
86
+ display: block !important;
87
+ }
88
+
89
+ .display-grid {
90
+ display: grid !important;
91
+ }
92
+
93
+ .display-inline-grid {
94
+ display: inline-grid !important;
95
+ }
96
+
97
+ .display-grid,
98
+ .display-inline-grid {
99
+
100
+ &.grid-right {
101
+ justify-content: right;
102
+ }
103
+
104
+ &.grid-end {
105
+ justify-content: end;
106
+ }
107
+
108
+ &.grid-left {
109
+ justify-content: left;
110
+ }
111
+
112
+ &.grid-start {
113
+ justify-content: start;
114
+ }
115
+
116
+ &.grid-center {
117
+ justify-content: center;
118
+ }
119
+
120
+ &.grid-top {
121
+ align-items: start;
122
+ }
123
+
124
+ &.grid-middle {
125
+ align-items: center;
126
+ }
127
+
128
+ &.grid-bottom {
129
+ align-items: end;
130
+ }
131
+ }
132
+
133
+ .display-inline-flex {
134
+ display: inline-flex !important;
135
+ }
136
+
137
+ .display-flex {
138
+ display: flex !important;
139
+ }
140
+
141
+ .display-flex,
142
+ .display-inline-flex {
143
+ flex-flow: row wrap;
144
+ align-content: stretch;
145
+ align-items: flex-start;
146
+
147
+ &.flex-nowrap {
148
+ flex-wrap: nowrap;
149
+ }
150
+
151
+ &.flex-fill {
152
+ align-items: stretch;
153
+
154
+ > * {
155
+ flex: 1 1 100%;
156
+
157
+ &.flex-auto,
158
+ &.self-auto {
159
+ flex: 0 0 auto;
160
+ }
161
+ }
162
+ }
163
+
164
+ > .flex-stretch,
165
+ > .self-stretch,
166
+ > .self-fill {
167
+ align-self: stretch;
168
+ }
169
+
170
+ &.flex-fill > .flex-noshrink,
171
+ > .flex-noshrink {
172
+ flex-shrink: 0;
173
+ }
174
+
175
+ &.flex-fill > .flex-nogrow,
176
+ > .flex-nogrow {
177
+ flex-grow: 0;
178
+ }
179
+
180
+ &.flex-vertical {
181
+ flex-direction: column;
182
+ }
183
+
184
+ &.flex-right {
185
+ justify-content: right;
186
+ }
187
+
188
+ &.flex-end {
189
+ justify-content: flex-end;
190
+ }
191
+
192
+ &.flex-left {
193
+ justify-content: left;
194
+ }
195
+
196
+ &.flex-start {
197
+ justify-content: flex-start;
198
+ }
199
+
200
+ &.flex-center {
201
+ justify-content: center;
202
+ }
203
+
204
+ &.flex-top {
205
+ align-items: flex-start;
206
+ }
207
+
208
+ &.flex-middle {
209
+ align-items: center;
210
+ }
211
+
212
+ &.flex-bottom {
213
+ align-items: flex-end;
214
+ }
215
+ }
216
+
217
+ .display-inline {
218
+ display: inline !important;
219
+
220
+ &.inline-middle {
221
+ vertical-align: middle;
222
+ }
223
+ }
224
+
225
+ .display-inline-block {
226
+ display: inline-block !important;
227
+
228
+ &.inline-block-middle{
229
+ vertical-align: middle;
230
+ }
231
+ }
232
+
233
+ .HideWhenAtMost(@size) {
234
+ // BUGGY. check and fix.
235
+ .hide-@{size} {
236
+ .Inert();
237
+ }
238
+ }
239
+
240
+ .HideWhenLessThan(@size) {
241
+ .show-@{size} {
242
+ .Inert();
243
+ }
244
+ }
245
+
246
+ .ShowWhenAtLeast(@size) {
247
+
248
+ .show-@{size}-block {
249
+ display: block;
250
+ }
251
+
252
+ .show-@{size}-inline-block {
253
+ display: inline-block;
254
+ }
255
+
256
+ .show-@{size}-inline {
257
+ display: inline;
258
+ }
259
+ }
260
+ // hide when below 'small' width
261
+ @media (max-width: @threshold_sm - 1) {
262
+ .HideWhenLessThan(sm);
263
+ .HideWhenAtMost(xs);
264
+ // exception (show-xs: show only when EXACTLY 'xs')
265
+ .ShowWhenAtLeast(xs);
266
+ }
267
+ // show when at least 'small' wide
268
+ @media (min-width: @threshold_sm) {
269
+ .ShowWhenAtLeast(sm);
270
+ }
271
+ // hide when at most 'small' wide
272
+ @media (max-width: @threshold_md - 1) {
273
+ .HideWhenLessThan(md);
274
+ .HideWhenAtMost(sm);
275
+ }
276
+ // show when at least 'medium' wide
277
+ @media (min-width: @threshold_md) {
278
+ .ShowWhenAtLeast(md);
279
+ }
280
+ // hide when at most 'medium' wide
281
+ @media (max-width: @threshold_lg - 1) {
282
+ .HideWhenLessThan(lg);
283
+ .HideWhenAtMost(md);
284
+ }
285
+ // show when at least 'lg' wide
286
+ @media (min-width: @threshold_lg) {
287
+ .ShowWhenAtLeast(lg);
288
+ }
289
+ // hide when at most 'lg' wide
290
+ @media (max-width: @threshold_xl - 1) {
291
+ .HideWhenLessThan(xl);
292
+ .HideWhenAtMost(lg);
293
+ }
294
+ // show when at least 'xl' wide
295
+ @media (min-width: @threshold_xl) {
296
+ .ShowWhenAtLeast(xl);
297
+ }
298
+ // hide when at most 'xl' wide
299
+ @media (max-width: @threshold_hd - 1) {
300
+ .HideWhenLessThan(hd);
301
+ .HideWhenAtMost(xl);
302
+ }
303
+ // show when at least 'hd' wide
304
+ @media (min-width: @threshold_hd) {
305
+ .ShowWhenAtLeast(hd);
306
+ }
307
+ // hide when at most 'hd' wide
308
+ @media (max-width: @threshold_2k - 1) {
309
+ .HideWhenLessThan(2k);
310
+ .HideWhenAtMost(hd);
311
+ }
312
+ // show when at least '2k' wide
313
+ @media (min-width: @threshold_2k) {
314
+ .ShowWhenAtLeast(2k);
315
+ }
316
+ // hide when at most '2k' wide
317
+ @media (max-width: @threshold_4k - 1) {
318
+ .HideWhenLessThan(4k);
319
+ .HideWhenAtMost(2k);
320
+ }
321
+ // show when at least '4k' wide
322
+ @media (min-width: @threshold_4k) {
323
+ .ShowWhenAtLeast(4k);
324
+ }
325
+ // show/hide when portrait
326
+ @media (orientation: portrait) {
327
+ .HideWhenLessThan(o);
328
+ .HideWhenAtMost(v);
329
+ .ShowWhenAtLeast(v);
330
+ }
331
+ // show/hide when landscape
332
+ @media (orientation: landscape) {
333
+ .HideWhenLessThan(v);
334
+ .HideWhenAtMost(h);
335
+ .ShowWhenAtLeast(h);
336
+ }
337
+
338
+ @PCSSs: ~"@{PCSS} ";
339
+
340
+ .@{PCSS}-container {
341
+ // hide when below 'small' width
342
+ @container @PCSSs (max-width: @threshold_sm - 1) {
343
+ .HideWhenLessThan(sm);
344
+ .HideWhenAtMost(xs);
345
+ // exception (show-xs: show only when EXACTLY 'xs')
346
+ .ShowWhenAtLeast(xs);
347
+ }
348
+ // show when at least 'small' wide
349
+ @container @PCSSs (min-width: @threshold_sm) {
350
+ .ShowWhenAtLeast(sm);
351
+ }
352
+ // hide when at most 'small' wide
353
+ @container @PCSSs (max-width: @threshold_md - 1) {
354
+ .HideWhenLessThan(md);
355
+ .HideWhenAtMost(sm);
356
+ }
357
+ // show when at least 'medium' wide
358
+ @container @PCSSs (min-width: @threshold_md) {
359
+ .ShowWhenAtLeast(md);
360
+ }
361
+ // hide when at most 'medium' wide
362
+ @container @PCSSs (max-width: @threshold_lg - 1) {
363
+ .HideWhenLessThan(lg);
364
+ .HideWhenAtMost(md);
365
+ }
366
+ // show when at least 'lg' wide
367
+ @container @PCSSs (min-width: @threshold_lg) {
368
+ .ShowWhenAtLeast(lg);
369
+ }
370
+ // hide when at most 'lg' wide
371
+ @container @PCSSs (max-width: @threshold_xl - 1) {
372
+ .HideWhenLessThan(xl);
373
+ .HideWhenAtMost(lg);
374
+ }
375
+ // show when at least 'xl' wide
376
+ @container @PCSSs (min-width: @threshold_xl) {
377
+ .ShowWhenAtLeast(xl);
378
+ }
379
+ // hide when at most 'xl' wide
380
+ @container @PCSSs (max-width: @threshold_hd - 1) {
381
+ .HideWhenLessThan(hd);
382
+ .HideWhenAtMost(xl);
383
+ }
384
+ // show when at least 'hd' wide
385
+ @container @PCSSs (min-width: @threshold_hd) {
386
+ .ShowWhenAtLeast(hd);
387
+ }
388
+ // hide when at most 'hd' wide
389
+ @container @PCSSs (max-width: @threshold_2k - 1) {
390
+ .HideWhenLessThan(2k);
391
+ .HideWhenAtMost(hd);
392
+ }
393
+ // show when at least '2k' wide
394
+ @container @PCSSs (min-width: @threshold_2k) {
395
+ .ShowWhenAtLeast(2k);
396
+ }
397
+ // hide when at most '2k' wide
398
+ @container @PCSSs (max-width: @threshold_4k - 1) {
399
+ .HideWhenLessThan(4k);
400
+ .HideWhenAtMost(2k);
401
+ }
402
+ // show when at least '4k' wide
403
+ @container @PCSSs (min-width: @threshold_4k) {
404
+ .ShowWhenAtLeast(4k);
405
+ }
406
+ }
@@ -0,0 +1,2 @@
1
+ @import "animations";
2
+ @import "@{theme}/index";
@@ -0,0 +1,2 @@
1
+ // theme-dark is the 'cookie-cutter'
2
+ @import "../dark/index";
@@ -0,0 +1,2 @@
1
+ // theme-dark is the 'cookie-cutter'
2
+ @import "../dark/layout";