@finqu/cool 1.0.0

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 (199) hide show
  1. package/README.md +1 -0
  2. package/build/.eslintrc.json +10 -0
  3. package/build/banner.js +14 -0
  4. package/build/build-plugins.js +92 -0
  5. package/build/rollup.config.js +78 -0
  6. package/dist/css/cool-grid.css +3672 -0
  7. package/dist/css/cool-grid.css.map +30 -0
  8. package/dist/css/cool-grid.min.css +7 -0
  9. package/dist/css/cool-grid.min.css.map +1 -0
  10. package/dist/css/cool-reboot.css +281 -0
  11. package/dist/css/cool-reboot.css.map +58 -0
  12. package/dist/css/cool-reboot.min.css +7 -0
  13. package/dist/css/cool-reboot.min.css.map +1 -0
  14. package/dist/css/cool.css +14841 -0
  15. package/dist/css/cool.css.map +144 -0
  16. package/dist/css/cool.min.css +7 -0
  17. package/dist/css/cool.min.css.map +1 -0
  18. package/dist/js/cool.bundle.js +15304 -0
  19. package/dist/js/cool.bundle.js.map +1 -0
  20. package/dist/js/cool.bundle.min.js +45 -0
  21. package/dist/js/cool.bundle.min.js.map +1 -0
  22. package/dist/js/cool.esm.js +4766 -0
  23. package/dist/js/cool.esm.js.map +1 -0
  24. package/dist/js/cool.esm.min.js +7 -0
  25. package/dist/js/cool.esm.min.js.map +1 -0
  26. package/dist/js/cool.js +4948 -0
  27. package/dist/js/cool.js.map +1 -0
  28. package/dist/js/cool.min.js +7 -0
  29. package/dist/js/cool.min.js.map +1 -0
  30. package/html/index.html +892 -0
  31. package/js/dist/collapse.js +321 -0
  32. package/js/dist/collapse.js.map +1 -0
  33. package/js/dist/common.js +1474 -0
  34. package/js/dist/common.js.map +1 -0
  35. package/js/dist/cooldropdown.js +467 -0
  36. package/js/dist/cooldropdown.js.map +1 -0
  37. package/js/dist/coolpopover.js +391 -0
  38. package/js/dist/coolpopover.js.map +1 -0
  39. package/js/dist/coolsectiontabs.js +256 -0
  40. package/js/dist/coolsectiontabs.js.map +1 -0
  41. package/js/dist/coolselect.js +796 -0
  42. package/js/dist/coolselect.js.map +1 -0
  43. package/js/dist/cooltooltip.js +360 -0
  44. package/js/dist/cooltooltip.js.map +1 -0
  45. package/js/dist/coolui.js +73 -0
  46. package/js/dist/coolui.js.map +1 -0
  47. package/js/dist/dropdown.js +1716 -0
  48. package/js/dist/dropdown.js.map +1 -0
  49. package/js/dist/popover.js +587 -0
  50. package/js/dist/popover.js.map +1 -0
  51. package/js/dist/sectiontabs.js +263 -0
  52. package/js/dist/sectiontabs.js.map +1 -0
  53. package/js/dist/select.js +2029 -0
  54. package/js/dist/select.js.map +1 -0
  55. package/js/dist/tooltip.js +555 -0
  56. package/js/dist/tooltip.js.map +1 -0
  57. package/js/index.esm.js +21 -0
  58. package/js/index.umd.js +21 -0
  59. package/js/src/abstract-ui-component.js +70 -0
  60. package/js/src/collapse.js +258 -0
  61. package/js/src/common.js +280 -0
  62. package/js/src/dialog.js +570 -0
  63. package/js/src/dropdown.js +443 -0
  64. package/js/src/popover.js +615 -0
  65. package/js/src/section-tabs.js +204 -0
  66. package/js/src/select.js +832 -0
  67. package/js/src/toast.js +581 -0
  68. package/js/src/tooltip.js +575 -0
  69. package/js/src/util/animate-css.js +22 -0
  70. package/js/src/util/index.js +112 -0
  71. package/js/src/util/perfect-scrollbar.js +1316 -0
  72. package/less/alert.less +345 -0
  73. package/less/badge.less +38 -0
  74. package/less/bootstrap-noconflict.less +23 -0
  75. package/less/bootstrap.less +23 -0
  76. package/less/button-group.less +153 -0
  77. package/less/buttons.less +287 -0
  78. package/less/dialog-noconflict.less +174 -0
  79. package/less/dialog.less +203 -0
  80. package/less/dropdown.less +209 -0
  81. package/less/forms.less +770 -0
  82. package/less/images.less +242 -0
  83. package/less/input-group.less +163 -0
  84. package/less/list-group.less +73 -0
  85. package/less/mixins/aspect-ratio.less +23 -0
  86. package/less/mixins/border-radius.less +24 -0
  87. package/less/mixins/box-shadow.less +4 -0
  88. package/less/mixins/buttons.less +17 -0
  89. package/less/mixins/caret.less +51 -0
  90. package/less/mixins/clearfix.less +10 -0
  91. package/less/mixins/gradients.less +34 -0
  92. package/less/mixins/nav-divider.less +7 -0
  93. package/less/mixins/object-fit.less +13 -0
  94. package/less/mixins/reset-text.less +16 -0
  95. package/less/mixins.less +11 -0
  96. package/less/package.json +11 -0
  97. package/less/pagination.less +69 -0
  98. package/less/popover.less +143 -0
  99. package/less/project.sublime-workspace +774 -0
  100. package/less/reboot.less +235 -0
  101. package/less/section.less +793 -0
  102. package/less/select.less +150 -0
  103. package/less/tables.less +737 -0
  104. package/less/tabs.less +162 -0
  105. package/less/tooltip.less +87 -0
  106. package/less/type.less +71 -0
  107. package/less/utilities/align.less +27 -0
  108. package/less/utilities/animate.less +3512 -0
  109. package/less/utilities/background.less +70 -0
  110. package/less/utilities/borders.less +16 -0
  111. package/less/utilities/color.less +70 -0
  112. package/less/utilities/cursor.less +8 -0
  113. package/less/utilities/display.less +38 -0
  114. package/less/utilities/embed.less +61 -0
  115. package/less/utilities/flex.less +76 -0
  116. package/less/utilities/jquery-ui.less +116 -0
  117. package/less/utilities/lazyload.less +29 -0
  118. package/less/utilities/overflow.less +11 -0
  119. package/less/utilities/pace.less +25 -0
  120. package/less/utilities/placeholder.less +60 -0
  121. package/less/utilities/position.less +42 -0
  122. package/less/utilities/scrollbar.less +152 -0
  123. package/less/utilities/spacing.less +197 -0
  124. package/less/utilities/text.less +68 -0
  125. package/less/utilities/transform.less +7 -0
  126. package/less/utilities.less +21 -0
  127. package/less/variables.less +343 -0
  128. package/package.json +71 -0
  129. package/scss/LISENCE +15 -0
  130. package/scss/_alert.scss +125 -0
  131. package/scss/_badge.scss +58 -0
  132. package/scss/_button-group.scss +124 -0
  133. package/scss/_buttons.scss +206 -0
  134. package/scss/_custom-forms.scss +423 -0
  135. package/scss/_dialog.scss +149 -0
  136. package/scss/_dropdown.scss +234 -0
  137. package/scss/_forms.scss +257 -0
  138. package/scss/_frame.scss +523 -0
  139. package/scss/_functions.scss +114 -0
  140. package/scss/_grid.scss +35 -0
  141. package/scss/_images.scss +312 -0
  142. package/scss/_input-group.scss +245 -0
  143. package/scss/_list-group.scss +82 -0
  144. package/scss/_mixins.scss +32 -0
  145. package/scss/_navbar.scss +214 -0
  146. package/scss/_pagination.scss +79 -0
  147. package/scss/_popover.scss +165 -0
  148. package/scss/_reboot.scss +279 -0
  149. package/scss/_root.scss +15 -0
  150. package/scss/_section.scss +851 -0
  151. package/scss/_select.scss +166 -0
  152. package/scss/_tables.scss +707 -0
  153. package/scss/_tabs.scss +175 -0
  154. package/scss/_toast.scss +182 -0
  155. package/scss/_tooltip.scss +101 -0
  156. package/scss/_type.scss +90 -0
  157. package/scss/_utilities.scss +21 -0
  158. package/scss/_variables.scss +697 -0
  159. package/scss/cool-grid.scss +29 -0
  160. package/scss/cool-reboot.scss +11 -0
  161. package/scss/cool.scss +36 -0
  162. package/scss/mixins/_alert-variant.scss +40 -0
  163. package/scss/mixins/_aspect-ratio.scss +29 -0
  164. package/scss/mixins/_background-variant.scss +25 -0
  165. package/scss/mixins/_badge-variant.scss +13 -0
  166. package/scss/mixins/_breakpoints.scss +102 -0
  167. package/scss/mixins/_buttons.scss +104 -0
  168. package/scss/mixins/_caret.scss +80 -0
  169. package/scss/mixins/_clearfix.scss +10 -0
  170. package/scss/mixins/_float.scss +14 -0
  171. package/scss/mixins/_forms.scss +51 -0
  172. package/scss/mixins/_gradients.scss +40 -0
  173. package/scss/mixins/_grid-framework.scss +72 -0
  174. package/scss/mixins/_grid.scss +60 -0
  175. package/scss/mixins/_nav-divider.scss +9 -0
  176. package/scss/mixins/_object-fit.scss +16 -0
  177. package/scss/mixins/_reset-text.scss +19 -0
  178. package/scss/mixins/_text-emphasis.scss +21 -0
  179. package/scss/mixins/_text-hide.scss +10 -0
  180. package/scss/mixins/_text-truncate.scss +8 -0
  181. package/scss/project.sublime-workspace +491 -0
  182. package/scss/utilities/_align.scss +41 -0
  183. package/scss/utilities/_animate.scss +3512 -0
  184. package/scss/utilities/_background.scss +14 -0
  185. package/scss/utilities/_borders.scss +146 -0
  186. package/scss/utilities/_clearfix.scss +6 -0
  187. package/scss/utilities/_collapse.scss +33 -0
  188. package/scss/utilities/_cursor.scss +10 -0
  189. package/scss/utilities/_display.scss +16 -0
  190. package/scss/utilities/_embed.scss +78 -0
  191. package/scss/utilities/_flex.scss +50 -0
  192. package/scss/utilities/_lazyload.scss +31 -0
  193. package/scss/utilities/_overflow.scss +6 -0
  194. package/scss/utilities/_perfect-scrollbar.scss +154 -0
  195. package/scss/utilities/_placeholder.scss +76 -0
  196. package/scss/utilities/_position.scss +30 -0
  197. package/scss/utilities/_sizing.scss +32 -0
  198. package/scss/utilities/_spacing.scss +92 -0
  199. package/scss/utilities/_text.scss +97 -0
@@ -0,0 +1,851 @@
1
+ // Section
2
+ // ---------------------------------------------------------------------------------------------------------------
3
+
4
+ .section-container {
5
+ margin-bottom: $section-spacer;
6
+ @include media-breakpoint-down(sm) {
7
+ margin-bottom: $section-spacer-mobile;
8
+ }
9
+ }
10
+
11
+ .section-subtitle {
12
+ display: block;
13
+ margin-bottom: $section-spacer;
14
+ @include media-breakpoint-down(sm) {
15
+ margin-bottom: $section-spacer-mobile;
16
+ }
17
+ }
18
+
19
+ .section {
20
+ display: flex;
21
+ flex-direction: column;
22
+ height: 100%;
23
+ margin-bottom: $section-spacer;
24
+ box-shadow: $section-box-shadow;
25
+ border-radius: $border-radius;
26
+ @include media-breakpoint-down(sm) {
27
+ margin-bottom: $section-spacer-mobile;
28
+ }
29
+
30
+ &:last-child {
31
+ margin-bottom: 0;
32
+ }
33
+
34
+ &.section-height-auto {
35
+ height: auto;
36
+ }
37
+
38
+ &.section-parent {
39
+ > .section-content {
40
+ padding: 0;
41
+ }
42
+ }
43
+
44
+ // Guide
45
+ &.section-guide {
46
+ &:not(.show-more) {
47
+ .section-content {
48
+ @include media-breakpoint-down(md) {
49
+ p {
50
+ &:not(:first-child) {
51
+ display: none;
52
+ }
53
+
54
+ &:first-child {
55
+ white-space: nowrap;
56
+ overflow: hidden;
57
+ text-overflow: ellipsis;
58
+ margin-bottom: 0;
59
+ }
60
+ }
61
+ }
62
+
63
+ @include media-breakpoint-up(md) {
64
+ [name="guide-read-more"] {
65
+ display: none;
66
+ }
67
+ }
68
+ }
69
+
70
+ .guide-videos {
71
+ @include media-breakpoint-down(md) {
72
+ display: none;
73
+ }
74
+ }
75
+ }
76
+ .guide-content {
77
+ & + .guide-videos {
78
+ @include media-breakpoint-down(md) {
79
+ margin-top: 20px;
80
+ }
81
+ }
82
+ }
83
+ }
84
+
85
+ // Image
86
+ .section-image {
87
+ position: relative;
88
+ background-color: color('white');
89
+ background-size: cover;
90
+ background-repeat: no-repeat;
91
+ overflow: hidden;
92
+ border-top-left-radius: $border-radius;
93
+ border-top-right-radius: $border-radius;
94
+
95
+ &.size-sm {
96
+ min-height: 170px;
97
+ }
98
+
99
+ &.size-md {
100
+ min-height: 230px;
101
+ }
102
+
103
+ &.size-lg {
104
+ min-height: 326px;
105
+ }
106
+
107
+ &.darken-image {
108
+ z-index: 1;
109
+ &:after {
110
+ position: absolute;
111
+ top: 0;
112
+ right: 0;
113
+ bottom: 0;
114
+ left: 0;
115
+ background-color: rgba(0,0,0,0.15);
116
+ content: '';
117
+ z-index: -1;
118
+ }
119
+ }
120
+
121
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
122
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
123
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
124
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
125
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
126
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
127
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
128
+ border-top-left-radius: 0;
129
+ border-top-right-radius: 0;
130
+ }
131
+
132
+ .image-badge {
133
+ position: absolute;
134
+ top: 30px;
135
+ left: -40px;
136
+ transform: rotate(-40deg);
137
+ background-color: color('blue');
138
+ color: color('white');
139
+ box-shadow: 0 0 3px rgba(0,0,0,0.3);
140
+ text-align: center;
141
+ letter-spacing: 1px;
142
+ width: 220px;
143
+ text-overflow: ellipsis;
144
+ overflow: hidden;
145
+ box-sizing: border-box;
146
+ padding: 10px 0;
147
+ font-size: 12px;
148
+
149
+ .image-badge-content {
150
+ display: block;
151
+ width: 145px;
152
+ height: 18px;
153
+ margin-left: 28px;
154
+ text-overflow: ellipsis;
155
+ overflow: hidden;
156
+ }
157
+ }
158
+ }
159
+
160
+ // Video
161
+ .section-video {
162
+ height: 100%;
163
+ background-color: color('black');
164
+ border-radius: $border-radius;
165
+ overflow: hidden;
166
+
167
+ &.size-md {
168
+ height: 230px;
169
+ }
170
+
171
+ &.size-lg {
172
+ max-height: 326px;
173
+ }
174
+
175
+ &.has-content {
176
+ border-bottom-left-radius: 0;
177
+ border-bottom-right-radius: 0;
178
+ }
179
+
180
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
181
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
182
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
183
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
184
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
185
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
186
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
187
+ border-top-left-radius: 0;
188
+ border-top-right-radius: 0;
189
+ }
190
+ }
191
+
192
+ // Bg
193
+ &.section-bg {
194
+ .section-content {
195
+ background-color: transparent;
196
+ background-size: cover;
197
+ background-repeat: no-repeat;
198
+
199
+ &.darken-bg {
200
+ position: relative;
201
+ z-index: 2;
202
+
203
+ &:after {
204
+ position: absolute;
205
+ top: 0;
206
+ right: 0;
207
+ bottom: 0;
208
+ left: 0;
209
+ background-color: rgba(0,0,0,0.15);
210
+ content: '';
211
+ z-index: -1;
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ // Diviner
218
+ .section-hr {
219
+ background: $section-bg;
220
+ padding-top: $section-padding / 2;
221
+ padding-bottom: $section-padding / 2;
222
+
223
+ &.content-full-width {
224
+ &:after {
225
+ margin-left: 0;
226
+ margin-right: 0;
227
+ }
228
+ }
229
+
230
+ &:after {
231
+ display: block;
232
+ content: '';
233
+ height: 1px;
234
+ background: $section-divider-color;
235
+ margin-left: $section-padding;
236
+ margin-right: $section-padding;
237
+ }
238
+ }
239
+
240
+ // Tabs
241
+ .section-tabs {
242
+ background: $section-tabs-bg;
243
+ color: $section-color;
244
+ border-top-left-radius: $section-border-radius;
245
+ border-top-right-radius: $section-border-radius;
246
+
247
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
248
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
249
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
250
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
251
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
252
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
253
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
254
+ border-top-left-radius: 0;
255
+ border-top-right-radius: 0;
256
+ }
257
+
258
+ & + .section-hr {
259
+ margin-top: -$section-padding / 2;
260
+ margin-bottom: -$section-padding / 2;
261
+ }
262
+
263
+ > .tabs-container {
264
+ display: flex;
265
+ align-items: stretch;
266
+ flex-wrap: nowrap;
267
+ list-style: none;
268
+ padding: 0;
269
+ margin: 0;
270
+ overflow: visible;
271
+ border-bottom: 1px solid $section-tabs-border-color;
272
+
273
+ > .tab-item {
274
+ display: flex;
275
+ align-items: stretch;
276
+ flex-grow: 0;
277
+ flex-shrink: 0;
278
+ position: relative;
279
+ margin: 0;
280
+
281
+ &:first-child {
282
+ > .tab-item-action {
283
+ margin-left: $section-tabs-item-margin-x;
284
+ }
285
+ }
286
+
287
+ &.dropdown-container {
288
+ display: none;
289
+ &.visible {
290
+ display: flex;
291
+ }
292
+ }
293
+
294
+ > .tab-item-action {
295
+ display: flex;
296
+ align-items: center;
297
+ justify-content: center;
298
+ flex-grow: 1;
299
+ line-height: 1;
300
+ position: relative;
301
+ text-align: center;
302
+ cursor: pointer;
303
+ min-width: $section-tabs-item-min-width;
304
+ padding: $section-tabs-item-padding-y 0;
305
+ margin-right: $section-tabs-item-margin-x;
306
+ color: $section-tabs-color;
307
+ border-bottom: $section-tabs-border-width solid transparent;
308
+
309
+ &:hover {
310
+ color: $section-tabs-hover-color;
311
+ border-color: $section-tabs-border-hover-color;
312
+ }
313
+
314
+ &.active {
315
+ color: $section-tabs-active-color;
316
+ border-color: $section-tabs-border-active-color;
317
+ }
318
+ }
319
+
320
+ > span.tab-item-action {
321
+ cursor: default;
322
+ }
323
+ }
324
+ }
325
+ }
326
+
327
+ // Filters
328
+ .section-filters {
329
+ position: absolute;
330
+ visibility: hidden;
331
+ flex-wrap: wrap;
332
+ background: $section-bg;
333
+ color: $section-color;
334
+ padding: $section-padding / 2;
335
+ box-sizing: border-box;
336
+ border-top: 1px solid $section-divider-color;
337
+
338
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
339
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
340
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
341
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
342
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
343
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
344
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
345
+ margin-top: -$border-radius;
346
+ }
347
+
348
+ & + .section-hr {
349
+ margin-top: -$section-padding / 2;
350
+ margin-bottom: -$section-padding / 2;
351
+ }
352
+
353
+ &.active {
354
+ display: flex;
355
+ position: static;
356
+ visibility: visible;
357
+ }
358
+
359
+ .filter {
360
+ position: absolute;
361
+ visibility: hidden;
362
+ flex: 0 0 25%;
363
+ max-width: 25%;
364
+ padding: $section-padding / 2;
365
+ box-sizing: border-box;
366
+ @include media-breakpoint-only(md) {
367
+ flex: 0 0 50%;
368
+ max-width: 50%;
369
+ }
370
+ @include media-breakpoint-down(sm) {
371
+ flex: 0 0 100%;
372
+ max-width: 100%;
373
+ }
374
+
375
+ &.active {
376
+ position: static;
377
+ visibility: visible;
378
+ }
379
+ }
380
+ }
381
+
382
+ // Bulk actions
383
+ .section-bulk-actions {
384
+ position: absolute;
385
+ visibility: hidden;
386
+ flex-wrap: wrap;
387
+ background: $section-bg;
388
+ color: $section-color;
389
+ padding: $section-padding / 2;
390
+ box-sizing: border-box;
391
+ border-top: 1px solid $section-divider-color;
392
+
393
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
394
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
395
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
396
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
397
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
398
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
399
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
400
+ margin-top: -$border-radius;
401
+ }
402
+
403
+ & + .section-hr {
404
+ margin-top: -$section-padding / 2;
405
+ margin-bottom: -$section-padding / 2;
406
+ }
407
+
408
+ &.active {
409
+ display: flex;
410
+ position: static;
411
+ visibility: visible;
412
+ }
413
+
414
+ .bulk-action {
415
+ display: flex;
416
+ align-items: center;
417
+ width: 100%;
418
+ position: absolute;
419
+ visibility: hidden;
420
+ padding: $section-padding / 2;
421
+ box-sizing: border-box;
422
+ @include media-breakpoint-down(md) {
423
+ flex-wrap: wrap;
424
+ flex-direction: column;
425
+ align-items: flex-start;
426
+ }
427
+
428
+ &.active {
429
+ position: static;
430
+ visibility: visible;
431
+ }
432
+
433
+ .bulk-action-select {
434
+ display: inline-flex;
435
+ flex: 1;
436
+ align-items: center;
437
+ font-size: 12px;
438
+ max-width: 200px;
439
+ width: 100%;
440
+ @include media-breakpoint-down(md) {
441
+ margin-top: 15px;
442
+ }
443
+ @include media-breakpoint-up(md) {
444
+ margin-left: auto;
445
+ margin-right: 10px;
446
+ }
447
+
448
+ & + .bulk-action-actions {
449
+ margin-left: 0;
450
+ }
451
+
452
+ .form-control {
453
+ margin-left: 5px;
454
+ }
455
+ }
456
+
457
+ .bulk-action-actions {
458
+ @include media-breakpoint-down(md) {
459
+ margin-top: 15px;
460
+ }
461
+ @include media-breakpoint-up(md) {
462
+ margin-left: auto;
463
+ }
464
+ }
465
+ }
466
+ }
467
+
468
+ // Placeholder
469
+ .section-placeholder {
470
+ flex-direction: column;
471
+ flex-grow: 1;
472
+ align-items: center;
473
+ justify-content: center;
474
+ background: $section-bg;
475
+ color: $section-color;
476
+ border-radius: $section-border-radius;
477
+ padding: $section-padding * 3 $section-padding;
478
+ overflow-x: auto;
479
+ box-sizing: border-box;
480
+
481
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
482
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
483
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
484
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
485
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
486
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
487
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
488
+ margin-top: -$border-radius;
489
+ }
490
+
491
+ & + .section-hr {
492
+ margin-top: -$section-padding / 2;
493
+ margin-bottom: -$section-padding / 2;
494
+ }
495
+
496
+ .placeholder-icon {
497
+ .icon-container {
498
+ display: flex;
499
+ align-items: center;
500
+ justify-content: center;
501
+ border-radius: 50%;
502
+ width: 100px;
503
+ height: 100px;
504
+ color: color('grey-darker');
505
+ background-color: color('grey-lighter');
506
+ padding: 10px;
507
+ margin: 0 auto;
508
+ box-sizing: content-box;
509
+
510
+ .icon {
511
+ font-size: 5rem;
512
+ }
513
+ }
514
+
515
+ & + .placeholder-title,
516
+ & + .placeholder-description,
517
+ & + .placeholder-action,
518
+ & + .placeholder-action-secondary {
519
+ margin-top: 20px;
520
+ }
521
+ }
522
+
523
+ .placeholder-title {
524
+ text-align: center;
525
+ color: darken(color('grey-darker'), 10%);
526
+
527
+ & + .placeholder-description {
528
+ margin-top: 10px;
529
+ }
530
+
531
+ & + .placeholder-action,
532
+ & + .placeholder-action-secondary {
533
+ margin-top: 20px;
534
+ }
535
+ }
536
+
537
+ .placeholder-description {
538
+ text-align: center;
539
+ font-weight: $font-weight-light;
540
+ color: color('grey-darker');
541
+
542
+ .description {
543
+ margin-bottom: 0;
544
+ }
545
+
546
+ & + .placeholder-action,
547
+ & + .placeholder-action-secondary {
548
+ margin-top: 20px;
549
+ }
550
+ }
551
+
552
+ .placeholder-action {
553
+ text-align: center;
554
+
555
+ & + .placeholder-action-secondary {
556
+ margin-top: 20px;
557
+ }
558
+ }
559
+ }
560
+
561
+ // Header
562
+ .section-title,
563
+ .section-sub-heading {
564
+ font-family: $section-header-font-family;
565
+ font-size: $section-header-font-size;
566
+ font-weight: $section-header-font-weight;
567
+ color: $section-header-color;
568
+ background: $section-header-bg;
569
+ border-radius: $border-radius;
570
+ padding: $section-padding;
571
+ align-items: center;
572
+ display: flex;
573
+ @include media-breakpoint-down(sm) {
574
+ display: block;
575
+ }
576
+
577
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
578
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none):not(.section-collapse),
579
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
580
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
581
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
582
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
583
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
584
+ margin-top: -$border-radius;
585
+ padding-top: 0;
586
+ }
587
+
588
+ & + .section-collapse.visible:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
589
+ padding-top: 0;
590
+ }
591
+
592
+ & + .section-hr {
593
+ margin-top: -$section-padding / 2;
594
+ margin-bottom: -$section-padding / 2;
595
+ }
596
+
597
+ .title {
598
+ align-self: center;
599
+ text-align: left;
600
+ @include media-breakpoint-down(sm) {
601
+ display: block;
602
+ }
603
+
604
+ p {
605
+ font-weight: $font-weight-normal;
606
+ font-size: $font-size-base;
607
+ }
608
+ }
609
+
610
+ .actions {
611
+ color: $section-header-actions-color;
612
+ font-weight: $font-weight-normal;
613
+ font-size: $font-size-base;
614
+ margin-left: auto;
615
+ text-align: right;
616
+ @include media-breakpoint-down(sm) {
617
+ display: block;
618
+ text-align: left;
619
+ margin-top: 15px;
620
+ }
621
+ }
622
+
623
+ > .title > .icon,
624
+ > .icon {
625
+ color: $section-header-icons-color;
626
+ font-size: $section-header-icons-size;
627
+ margin-right: 5px;
628
+ }
629
+
630
+ .btn-group,
631
+ .form-group {
632
+ margin: 0;
633
+ }
634
+
635
+ & + .section-content {
636
+ border-top-left-radius: 0;
637
+ border-top-right-radius: 0;
638
+ }
639
+
640
+ &.inline-actions {
641
+ display: flex;
642
+
643
+ .title {
644
+ display: flex;
645
+ }
646
+
647
+ .actions {
648
+ display: flex;
649
+ margin-top: 0;
650
+ text-align: right;
651
+ }
652
+ }
653
+ }
654
+
655
+ // Content
656
+ .section-content {
657
+ flex-direction: column;
658
+ flex-grow: 1;
659
+ background: $section-bg;
660
+ color: $section-color;
661
+ border-radius: $section-border-radius;
662
+ padding: $section-padding;
663
+ overflow-x: auto;
664
+ box-sizing: border-box;
665
+
666
+ & + .section-tabs:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
667
+ & + .section-content:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none):not(.section-collapse),
668
+ & + .section-filters:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
669
+ & + .section-bulk-actions:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
670
+ & + .section-title:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
671
+ & + .section-sub-heading:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none),
672
+ & + .section-placeholder:not([style*="display:none"]):not([style*="display: none"]):not(.hidden):not(.d-none) {
673
+ margin-top: -$border-radius;
674
+ }
675
+
676
+ & + .section-hr {
677
+ margin-top: -$section-padding / 2;
678
+ margin-bottom: -$section-padding / 2;
679
+ }
680
+
681
+ &.section-collapse {
682
+ transition: padding .35s ease, margin .35s ease;
683
+
684
+ &:not(.visible) {
685
+ margin-top: 0;
686
+ padding-top: 0;
687
+ padding-bottom: 0;
688
+ }
689
+ }
690
+
691
+ &.section-content-parent {
692
+ padding: 0;
693
+ }
694
+
695
+ &.no-background {
696
+ padding: 0;
697
+ background: transparent;
698
+ }
699
+
700
+ &.attribute-trees {
701
+ padding: 0;
702
+ background: transparent;
703
+ padding: 0;
704
+ border-radius: 0;
705
+
706
+ .attribute-tree {
707
+ padding: 15px;
708
+ border-radius: $border-radius;
709
+ background: white;
710
+ padding: 15px;
711
+ }
712
+ }
713
+
714
+ & + .section-sub-heading {
715
+ border-top-left-radius: 0;
716
+ border-top-right-radius: 0;
717
+ }
718
+
719
+ .content-full-width {
720
+ @include media-breakpoint-up(lg) {
721
+ margin-left: -$section-padding;
722
+ margin-right: -$section-padding;
723
+ }
724
+ }
725
+
726
+ .section-content-box {
727
+ padding: $section-padding;
728
+ border: 1px solid rgba(0,0,0,0.1);
729
+ border-radius: 3px;
730
+ }
731
+
732
+ .flex-center {
733
+ display: flex;
734
+ align-items: center;
735
+ flex-wrap: wrap;
736
+ }
737
+
738
+ .definition-spacer {
739
+ height: 20px;
740
+ }
741
+
742
+ .definition {
743
+ padding: 2px 0;
744
+ display: flex;
745
+ flex-wrap: wrap;
746
+ @media (min-width: 500px) {
747
+ flex-wrap: nowrap;
748
+ }
749
+
750
+ &.definition-payment-summary {
751
+ background: color('grey-lighter');
752
+ padding: 10px;
753
+ border-radius: $border-radius;
754
+ margin: 10px 0;
755
+ font-weight: 500;
756
+ }
757
+
758
+ &.definition-payment-detail {
759
+ margin: 5px 0;
760
+ font-size: 13px;
761
+ padding: 5px 10px;
762
+ }
763
+
764
+ &.definition-payment-total {
765
+ border-top: 1px solid $border-color;
766
+ padding: 10px;
767
+ margin: 10px 0;
768
+ font-weight: 500;
769
+ text-transform: uppercase;
770
+ }
771
+
772
+ .definition-heading {
773
+ flex: 0 0 100%;
774
+ color: color('grey-darker');
775
+ font-size: 12px;
776
+ @media (min-width: 500px) {
777
+ color: $body-color;
778
+ font-size: 14px;
779
+ flex: 0 1 180px;
780
+ }
781
+ }
782
+
783
+ .definition-content {
784
+ flex: 1;
785
+ order: 1;
786
+ align-self: center;
787
+ }
788
+
789
+ .definition-edit {
790
+ order: 2;
791
+ flex: 0 1 50px;
792
+ }
793
+
794
+ .definition-total {
795
+ order: 2;
796
+ text-align: right;
797
+ flex: 0 1 auto;
798
+ }
799
+
800
+ &.status {
801
+ padding: 10px;
802
+
803
+ .definition-content {
804
+ font-size: 30px;
805
+ }
806
+
807
+ .definition-edit {
808
+ font-size: 18px;
809
+ }
810
+ }
811
+ }
812
+
813
+ p:last-child {
814
+ margin-bottom: 0;
815
+ }
816
+ }
817
+
818
+ // Greeting
819
+ &.section-greeting {
820
+ border-radius: 0;
821
+ box-shadow: none;
822
+ text-align: center;
823
+ margin-top: 30px;
824
+ margin-bottom: 50px;
825
+ @include media-breakpoint-down(sm) {
826
+ margin-top: 20px;
827
+ margin-bottom: 30px;
828
+ }
829
+
830
+ .greeting-title {
831
+ margin-top: 0;
832
+ color: color('grey-darkest');
833
+ font-weight: 300;
834
+ margin-bottom: 0;
835
+
836
+ & + .greeting-description {
837
+ margin-top: $headings-margin-bottom;
838
+ }
839
+
840
+ strong {
841
+ font-weight: 400;
842
+ }
843
+ }
844
+
845
+ .greeting-description {
846
+ margin-bottom: 0;
847
+ color: color('grey-darkest');
848
+ font-weight: 300;
849
+ }
850
+ }
851
+ }