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