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