@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,108 @@
1
+ @import "../shared";
2
+
3
+ .@{PCSS}-size {
4
+ min-height: @grid_cell;
5
+
6
+ &.size-xl {
7
+ min-height: 2 * @grid_cell;
8
+ }
9
+
10
+ &.size-lg {
11
+ min-height: ceil( @grid_cell * 1.414);
12
+ }
13
+
14
+ &.size-sm {
15
+ min-height: 2 * @grid_spacing;
16
+ }
17
+
18
+ &.size-xs {
19
+ min-height: @grid_spacing;
20
+ }
21
+ }
22
+
23
+ .@{PCSS}-borderbox {
24
+ box-sizing: border-box;
25
+ }
26
+
27
+ .Width(@size) when (@size > 1) {
28
+ &.width-@{size} {
29
+ width: ~"var(--@{PCSS}-size-@{size})";
30
+ }
31
+
32
+ .Width(@size - 1);
33
+ }
34
+
35
+ .WidthMid(@mid, @size) when (@size > 1) {
36
+ &.width-@{mid}-@{size} {
37
+ width: ~"var(--@{PCSS}-size-@{size})";
38
+ }
39
+
40
+ .WidthMid(@mid, @size - 1);
41
+ }
42
+
43
+ .@{PCSS}-width {
44
+ .Width(12);
45
+ }
46
+
47
+ @media (max-width: @threshold_sm - 1) {
48
+
49
+ .@{PCSS}-width {
50
+ .WidthMid(xs, 12);
51
+ }
52
+ }
53
+
54
+ @media (min-width: @threshold_sm) {
55
+
56
+ .@{PCSS}-width {
57
+ .WidthMid(sm, 12);
58
+ }
59
+ }
60
+
61
+ @media (min-width: @threshold_md) {
62
+
63
+ .@{PCSS}-width {
64
+ .WidthMid(md, 12);
65
+ }
66
+ }
67
+
68
+ @media (min-width: @threshold_lg) {
69
+
70
+ .@{PCSS}-width {
71
+ .WidthMid(lg, 12);
72
+ }
73
+ }
74
+
75
+ @media (min-width: @threshold_xl) {
76
+
77
+ .@{PCSS}-width {
78
+ .WidthMid(xl, 12);
79
+ }
80
+ }
81
+
82
+ @media (min-width: @threshold_hd) {
83
+
84
+ .@{PCSS}-width {
85
+ .WidthMid(hd, 12);
86
+ }
87
+ }
88
+
89
+ @media (min-width: @threshold_2k) {
90
+
91
+ .@{PCSS}-width {
92
+ .WidthMid(2k, 12);
93
+ }
94
+ }
95
+
96
+ @media (min-width: @threshold_4k) {
97
+
98
+ .@{PCSS}-width {
99
+ .WidthMid(4k, 12);
100
+ }
101
+ }
102
+
103
+ @media (orientation: portrait) {
104
+
105
+ .@{PCSS}-width {
106
+ .WidthMid(v, 12);
107
+ }
108
+ }
@@ -0,0 +1,296 @@
1
+ @import "../shared";
2
+
3
+ hr.spacer {
4
+ margin-bottom: @grid_spacing;
5
+ }
6
+
7
+ .@{PCSS}-spacer {
8
+ margin-bottom: @grid_spacing;
9
+
10
+ &.spacer-2x {
11
+ margin-bottom: 2 * @grid_spacing;
12
+ }
13
+
14
+ &.spacer-3x {
15
+ margin-bottom: 3 * @grid_spacing;
16
+ }
17
+ }
18
+
19
+ // amended
20
+ @_segmentation: 3;
21
+ @_spacing_unit: @grid_spacing / @_segmentation;
22
+
23
+ .Spaced(@what, @prefix, @count, @index) when (@index >= 0) {
24
+
25
+ @_spacing_indexed_unit: @index * @_spacing_unit;
26
+
27
+ &.@{prefix}-@{index} {
28
+ @{what}: @_spacing_indexed_unit;
29
+ }
30
+
31
+ &.@{prefix}-y-@{index} {
32
+ @{what}-top: @_spacing_indexed_unit;
33
+ @{what}-bottom: @_spacing_indexed_unit;
34
+ }
35
+
36
+ &.@{prefix}-x-@{index} {
37
+ @{what}-left: @_spacing_indexed_unit;
38
+ @{what}-right: @_spacing_indexed_unit;
39
+ }
40
+
41
+ &.@{prefix}-top-@{index} {
42
+ @{what}-top: @_spacing_indexed_unit;
43
+ }
44
+
45
+ &.@{prefix}-right-@{index} {
46
+ @{what}-right: @_spacing_indexed_unit;
47
+ }
48
+
49
+ &.@{prefix}-bottom-@{index} {
50
+ @{what}-bottom: @_spacing_indexed_unit;
51
+ }
52
+
53
+ &.@{prefix}-left-@{index} {
54
+ @{what}-left: @_spacing_indexed_unit;
55
+ }
56
+
57
+ .Spaced(@what,@prefix, @count, @index - 1);
58
+ }
59
+
60
+
61
+ .SpacedPx(@what, @prefix, @px) when (@px > 0) {
62
+
63
+ @_px: @px * 1px;
64
+
65
+ &.@{prefix}--@{px} {
66
+ @{what}: @_px;
67
+ }
68
+
69
+ &.@{prefix}-y--@{px} {
70
+ @{what}-top: @_px;
71
+ @{what}-bottom: @_px;
72
+ }
73
+
74
+ &.@{prefix}-x--@{px} {
75
+ @{what}-left: @_px;
76
+ @{what}-right: @_px;
77
+ }
78
+
79
+ &.@{prefix}-top--@{px} {
80
+ @{what}-top: @_px;
81
+ }
82
+
83
+ &.@{prefix}-right--@{px} {
84
+ @{what}-right: @_px;
85
+ }
86
+
87
+ &.@{prefix}-bottom--@{px} {
88
+ @{what}-bottom: @_px;
89
+ }
90
+
91
+ &.@{prefix}-left--@{px} {
92
+ @{what}-left: @_px;
93
+ }
94
+
95
+ .SpacedPx(@what,@prefix, @px - 1);
96
+ }
97
+
98
+
99
+ .Spaced(@what, @prefix) {
100
+ .Spaced(@what, @prefix, 2 * @_segmentation, 2 * @_segmentation);
101
+ .SpacedPx(@what, @prefix, 12);
102
+
103
+ &.@{prefix}-auto{
104
+ @{what}: auto;
105
+ }
106
+ }
107
+
108
+ .@{PCSS}-margin {
109
+ .Spaced(margin, margin);
110
+ }
111
+
112
+ .@{PCSS}-pad {
113
+ .Spaced(padding, pad);
114
+ }
115
+
116
+ .SpacedThresholded(@what, @prefix,@threshold, @count, @index) when (@index >= 0) {
117
+
118
+ @_spacing_indexed_unit: @index * @_spacing_unit;
119
+
120
+ &.@{prefix}-@{threshold}-@{index} {
121
+ @{what}: @_spacing_indexed_unit;
122
+ }
123
+
124
+ &.@{prefix}-y-@{threshold}-@{index} {
125
+ @{what}-top: @_spacing_indexed_unit;
126
+ @{what}-bottom: @_spacing_indexed_unit;
127
+ }
128
+
129
+ &.@{prefix}-x-@{threshold}-@{index} {
130
+ @{what}-left: @_spacing_indexed_unit;
131
+ @{what}-right: @_spacing_indexed_unit;
132
+ }
133
+
134
+ &.@{prefix}-top-@{threshold}-@{index} {
135
+ @{what}-top: @_spacing_indexed_unit;
136
+ }
137
+
138
+ &.@{prefix}-right-@{threshold}-@{index} {
139
+ @{what}-right: @_spacing_indexed_unit;
140
+ }
141
+
142
+ &.@{prefix}-bottom-@{threshold}-@{index} {
143
+ @{what}-bottom: @_spacing_indexed_unit;
144
+ }
145
+
146
+ &.@{prefix}-left-@{threshold}-@{index} {
147
+ @{what}-left: @_spacing_indexed_unit;
148
+ }
149
+
150
+ .SpacedThresholded(@what,@prefix,@threshold, @count, @index - 1);
151
+ }
152
+
153
+ .SpacedPxThresholded(@what, @prefix, @threshold, @px) when (@px > 0) {
154
+
155
+ @_px: @px * 1px;
156
+
157
+ &.@{prefix}-@{threshold}--@{px} {
158
+ @{what}: @_px;
159
+ }
160
+
161
+ &.@{prefix}-y-@{threshold}--@{px} {
162
+ @{what}-top: @_px;
163
+ @{what}-bottom: @_px;
164
+ }
165
+
166
+ &.@{prefix}-x-@{threshold}--@{px} {
167
+ @{what}-left: @_px;
168
+ @{what}-right: @_px;
169
+ }
170
+
171
+ &.@{prefix}-top-@{threshold}--@{px} {
172
+ @{what}-top: @_px;
173
+ }
174
+
175
+ &.@{prefix}-right-@{threshold}--@{px} {
176
+ @{what}-right: @_px;
177
+ }
178
+
179
+ &.@{prefix}-bottom-@{threshold}--@{px} {
180
+ @{what}-bottom: @_px;
181
+ }
182
+
183
+ &.@{prefix}-left-@{threshold}--@{px} {
184
+ @{what}-left: @_px;
185
+ }
186
+
187
+ .SpacedPxThresholded(@what,@prefix,@threshold, @px - 1);
188
+ }
189
+
190
+ .SpacedThresholded(@what, @prefix, @threshold) {
191
+ .SpacedThresholded(@what, @prefix, @threshold, 2 * @_segmentation, 2 * @_segmentation);
192
+ .SpacedPxThresholded(@what, @prefix, @threshold, 12);
193
+
194
+ &.@{prefix}-@{threshold}-auto {
195
+ @{what}: auto;
196
+ }
197
+ }
198
+
199
+ @media (max-width: @threshold_sm - 1) {
200
+
201
+ .@{PCSS}-margin {
202
+ .SpacedThresholded(margin, margin, xs);
203
+ }
204
+
205
+ .@{PCSS}-pad {
206
+ .SpacedThresholded(padding, pad, xs);
207
+ }
208
+ }
209
+
210
+ @media (min-width: @threshold_sm) {
211
+
212
+ .@{PCSS}-margin {
213
+ .SpacedThresholded(margin, margin, sm);
214
+ }
215
+
216
+ .@{PCSS}-pad {
217
+ .SpacedThresholded(padding, pad, sm);
218
+ }
219
+ }
220
+
221
+ @media (min-width: @threshold_md) {
222
+
223
+ .@{PCSS}-margin {
224
+ .SpacedThresholded(margin, margin, md);
225
+ }
226
+
227
+ .@{PCSS}-pad {
228
+ .SpacedThresholded(padding, pad, md);
229
+ }
230
+ }
231
+
232
+ @media (min-width: @threshold_lg) {
233
+
234
+ .@{PCSS}-margin {
235
+ .SpacedThresholded(margin, margin, lg);
236
+ }
237
+
238
+ .@{PCSS}-pad {
239
+ .SpacedThresholded(padding, pad, lg);
240
+ }
241
+ }
242
+
243
+ @media (min-width: @threshold_xl) {
244
+
245
+ .@{PCSS}-margin {
246
+ .SpacedThresholded(margin, margin, xl);
247
+ }
248
+
249
+ .@{PCSS}-pad {
250
+ .SpacedThresholded(padding, pad, xl);
251
+ }
252
+ }
253
+
254
+ @media (min-width: @threshold_hd) {
255
+
256
+ .@{PCSS}-margin {
257
+ .SpacedThresholded(margin, margin, hd);
258
+ }
259
+
260
+ .@{PCSS}-pad {
261
+ .SpacedThresholded(padding, pad, hd);
262
+ }
263
+ }
264
+
265
+ @media (min-width: @threshold_2k) {
266
+
267
+ .@{PCSS}-margin {
268
+ .SpacedThresholded(margin, margin, 2k);
269
+ }
270
+
271
+ .@{PCSS}-pad {
272
+ .SpacedThresholded(padding, pad, 2k);
273
+ }
274
+ }
275
+
276
+ @media (min-width: @threshold_4k) {
277
+
278
+ .@{PCSS}-margin {
279
+ .SpacedThresholded(margin, margin, 4k);
280
+ }
281
+
282
+ .@{PCSS}-pad {
283
+ .SpacedThresholded(padding, pad, 4k);
284
+ }
285
+ }
286
+
287
+ @media (orientation: portrait) {
288
+
289
+ .@{PCSS}-margin {
290
+ .SpacedThresholded(margin, margin, v);
291
+ }
292
+
293
+ .@{PCSS}-pad {
294
+ .SpacedThresholded(padding, pad, v);
295
+ }
296
+ }
@@ -0,0 +1,116 @@
1
+ @import "../shared";
2
+
3
+ .@{PCSS}-relative {
4
+ position: relative;
5
+
6
+ > .@{PCSS}-hover {
7
+ position: absolute;
8
+ top: 0;
9
+ left: 0;
10
+ width: 100%;
11
+ height: 100%;
12
+
13
+ &.top {
14
+ height: auto;
15
+ }
16
+
17
+ &.bottom {
18
+ height: auto;
19
+ top: auto;
20
+ bottom: 0;
21
+ }
22
+
23
+ &.left {
24
+ width: auto;
25
+ }
26
+
27
+ &.right {
28
+ width: auto;
29
+ left: auto;
30
+ right: 0;
31
+ }
32
+ }
33
+ }
34
+
35
+
36
+ .@{PCSS}-overlap {
37
+ display: grid;
38
+ /* #region horiz (with relevant default vert) */
39
+ &.overlap-center {
40
+ align-items: center; // vertical
41
+ justify-content: center; // horizontal
42
+ }
43
+
44
+ &.overlap-fill {
45
+ align-items: stretch;
46
+ justify-content: stretch;
47
+ }
48
+
49
+ &.overlap-start {
50
+ align-items: start;
51
+ justify-content: start;
52
+ }
53
+
54
+ &.overlap-end {
55
+ align-items: end;
56
+ justify-content: end;
57
+ }
58
+ /* #endregion */
59
+ /* #region vert override */
60
+ &.overlap-middle {
61
+ align-items: center;
62
+ }
63
+
64
+ &.overlap-top {
65
+ align-items: start;
66
+ }
67
+
68
+ &.overlap-bottom {
69
+ align-items: end;
70
+ }
71
+
72
+ &.overlap-stretch {
73
+ align-items: stretch;
74
+ }
75
+ /* #endregion */
76
+ > * {
77
+ grid-row: 1;
78
+ grid-column: 1;
79
+
80
+ &.overlap-self-center {
81
+ align-self: center; // vertical
82
+ justify-self: center; // horizontal
83
+ }
84
+
85
+ &.overlap-self-fill {
86
+ align-self: stretch;
87
+ justify-self: stretch;
88
+ }
89
+
90
+ &.overlap-self-start {
91
+ align-self: start;
92
+ justify-self: start;
93
+ }
94
+
95
+ &.overlap-self-end {
96
+ align-self: end;
97
+ justify-self: end;
98
+ }
99
+
100
+ &.overlap-self-middle {
101
+ align-self: center;
102
+ }
103
+
104
+ &.overlap-self-top {
105
+ align-self: start;
106
+ }
107
+
108
+ &.overlap-self-bottom {
109
+ align-self: end;
110
+ }
111
+
112
+ &.overlap-self-stretch {
113
+ align-self: stretch;
114
+ }
115
+ }
116
+ }
@@ -0,0 +1,71 @@
1
+ @import "../shared";
2
+
3
+ .@{PCSS}-tile {
4
+ display: grid;
5
+ grid-template-columns: @grid_cell 1fr;
6
+ grid-template-rows: @grid_cell auto;
7
+ grid-template-areas: 'icon body' 'footer footer';
8
+ align-items: center;
9
+ background-color: @color_background_alt;
10
+ border-radius: @border_radius;
11
+ overflow: hidden;
12
+
13
+ > .tile-body {
14
+ grid-area: body;
15
+ }
16
+
17
+ > i.@{PCSS}-icon,
18
+ > .tile-icon {
19
+ grid-area: icon;
20
+ font-size: 2.25rem;
21
+ justify-self: center;
22
+ }
23
+
24
+ > .tile-body,
25
+ > i.@{PCSS}-icon {
26
+ padding: @grid_spacing/2;
27
+ }
28
+
29
+ > .tile-footer {
30
+ padding: @grid_spacing/6 @grid_spacing/2;
31
+ grid-area: footer;
32
+ line-height: @grid_spacing;
33
+ background-color: rgba(0,0,0,.25);
34
+ color: @color_light;
35
+
36
+ > i.@{PCSS}-icon {
37
+ height: @grid_spacing;
38
+ width: $height;
39
+ background-color: rgba(0,0,0,.125);
40
+ border-radius: 50%;
41
+ line-height: $height;
42
+ text-align: center;
43
+ font-size: @grid_spacing * .75;
44
+ }
45
+ }
46
+
47
+ &.tile-danger {
48
+ background-color: @color_danger;
49
+ color: @color_danger_inv;
50
+ }
51
+
52
+ &.tile-primary {
53
+ background-color: @color_primary;
54
+ color: @color_primary_inv;
55
+ }
56
+
57
+ &.tile-warning {
58
+ background-color: @color_warning;
59
+ color: @color_warning_inv;
60
+ }
61
+
62
+ &.tile-success {
63
+ background-color: @color_success;
64
+ color: @color_success_inv;
65
+ }
66
+
67
+ &.tile-accent {
68
+ background-color: @color_accent;
69
+ color: @color_accent_inv;
70
+ }
71
+ }
@@ -0,0 +1,16 @@
1
+ @import "../shared";
2
+
3
+ .@{PCSS}-chip {
4
+ padding: ~"0 var(--@{PCSS}-size--12)";
5
+ height: ~"var(--@{PCSS}-grid-spacing)";
6
+ line-height: $height;
7
+ border-radius: ~"calc(var(--@{PCSS}-grid-spacing) / 2)";
8
+ box-sizing: border-box;
9
+ display: inline-block;
10
+ }
11
+ .@{PCSS}-token {
12
+ padding: 0 2px;
13
+ border-radius: ~"min(3px, var(--@{PCSS}-border-radius))";
14
+ box-sizing: border-box;
15
+ display: inline-block;
16
+ }
@@ -0,0 +1,32 @@
1
+ @import "../shared";
2
+
3
+ .@{PCSS}-toolbar {
4
+ display: grid;
5
+ grid-gap: 0;
6
+ padding: @grid_spacing/2 0;
7
+ grid-template-columns: auto 1fr auto 1fr auto;
8
+ grid-template-areas: 'left . center . right';
9
+ white-space: nowrap;
10
+
11
+ .toolbar-left,
12
+ .toolbar-center,
13
+ .toolbar-right {
14
+ display: flex;
15
+ flex-direction: row;
16
+ }
17
+
18
+ .toolbar-left {
19
+ grid-area: left;
20
+ align-content: flex-start;
21
+ }
22
+
23
+ .toolbar-center {
24
+ grid-area: center;
25
+ align-content: center;
26
+ }
27
+
28
+ .toolbar-right {
29
+ grid-area: right;
30
+ align-content: flex-end;
31
+ }
32
+ }