@finqu/cool 1.2.29 → 2.0.2

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 (221) hide show
  1. package/README.md +694 -1
  2. package/dist/css/cool.css +26902 -14322
  3. package/dist/css/cool.css.map +1 -154
  4. package/dist/css/cool.min.css +2 -7
  5. package/dist/css/cool.min.css.map +1 -1
  6. package/dist/js/cool.bundle.js +16191 -5588
  7. package/dist/js/cool.bundle.js.map +1 -1
  8. package/dist/js/cool.bundle.min.js +13 -8
  9. package/dist/js/cool.bundle.min.js.map +1 -1
  10. package/dist/js/cool.esm.js +4722 -4812
  11. package/dist/js/cool.esm.js.map +1 -1
  12. package/dist/js/cool.esm.min.js +4 -9
  13. package/dist/js/cool.esm.min.js.map +1 -1
  14. package/dist/js/cool.js +5143 -5240
  15. package/dist/js/cool.js.map +1 -1
  16. package/dist/js/cool.min.js +4 -9
  17. package/dist/js/cool.min.js.map +1 -1
  18. package/package.json +125 -60
  19. package/scss/LISENCE +1 -1
  20. package/scss/_badge.scss +134 -102
  21. package/scss/_button-group.scss +80 -129
  22. package/scss/_buttons.scss +257 -201
  23. package/scss/_dark.scss +637 -0
  24. package/scss/_dialog.scss +314 -123
  25. package/scss/_dropdown.scss +165 -233
  26. package/scss/_forms.scss +555 -200
  27. package/scss/_frame.scss +945 -624
  28. package/scss/_grid.scss +215 -35
  29. package/scss/_input-group.scss +326 -285
  30. package/scss/_list-group.scss +127 -82
  31. package/scss/_media.scss +439 -0
  32. package/scss/_navbar.scss +116 -284
  33. package/scss/_notification.scss +111 -9
  34. package/scss/_pagination.scss +82 -88
  35. package/scss/_popover.scss +61 -167
  36. package/scss/_reboot.scss +306 -284
  37. package/scss/_root.scss +848 -15
  38. package/scss/_section.scss +735 -977
  39. package/scss/_select.scss +559 -187
  40. package/scss/_tables.scss +471 -595
  41. package/scss/_tabs.scss +50 -178
  42. package/scss/_toast.scss +242 -147
  43. package/scss/_tooltip.scss +130 -101
  44. package/scss/_typography.scss +166 -0
  45. package/scss/_variables.scss +1154 -748
  46. package/scss/cool.scss +64 -32
  47. package/scss/utilities/_align.scss +51 -41
  48. package/scss/utilities/_animation.scss +165 -0
  49. package/scss/utilities/_background.scss +72 -14
  50. package/scss/utilities/_borders.scss +205 -146
  51. package/scss/utilities/_collapse.scss +20 -25
  52. package/scss/utilities/_cursor.scss +160 -22
  53. package/scss/utilities/_display.scss +116 -16
  54. package/scss/utilities/_embed.scss +89 -78
  55. package/scss/utilities/_fill.scss +79 -0
  56. package/scss/utilities/_filters.scss +233 -0
  57. package/scss/utilities/_flex.scss +216 -52
  58. package/scss/utilities/_grid.scss +136 -0
  59. package/scss/utilities/_opacity.scss +131 -0
  60. package/scss/utilities/_overflow.scss +242 -6
  61. package/scss/utilities/_perfect-scrollbar.scss +147 -141
  62. package/scss/utilities/_pointer-events.scss +125 -0
  63. package/scss/utilities/_position.scss +130 -30
  64. package/scss/utilities/_screen-readers.scss +95 -0
  65. package/scss/utilities/_shadows.scss +195 -0
  66. package/scss/utilities/_sizing.scss +288 -32
  67. package/scss/utilities/_spacing.scss +168 -92
  68. package/scss/utilities/_stroke.scss +124 -0
  69. package/scss/utilities/_text.scss +420 -99
  70. package/scss/utilities/_transform.scss +232 -0
  71. package/scss/utilities/_transitions.scss +147 -0
  72. package/scss/utilities/_user-select.scss +89 -10
  73. package/scss/utilities/_visibility.scss +62 -6
  74. package/scss/utilities/_z-index.scss +169 -0
  75. package/.babelrc.js +0 -20
  76. package/.browserslistrc +0 -13
  77. package/build/.eslintrc.json +0 -10
  78. package/build/banner.js +0 -14
  79. package/build/build-plugins.js +0 -92
  80. package/build/rollup.config.js +0 -46
  81. package/dist/css/cool-grid.css +0 -4390
  82. package/dist/css/cool-grid.css.map +0 -30
  83. package/dist/css/cool-grid.min.css +0 -7
  84. package/dist/css/cool-grid.min.css.map +0 -1
  85. package/dist/css/cool-reboot.css +0 -286
  86. package/dist/css/cool-reboot.css.map +0 -62
  87. package/dist/css/cool-reboot.min.css +0 -7
  88. package/dist/css/cool-reboot.min.css.map +0 -1
  89. package/html/index.html +0 -2703
  90. package/js/dist/collapse.js +0 -5535
  91. package/js/dist/collapse.js.map +0 -1
  92. package/js/dist/common.js +0 -21996
  93. package/js/dist/common.js.map +0 -1
  94. package/js/dist/cooldropdown.js +0 -467
  95. package/js/dist/cooldropdown.js.map +0 -1
  96. package/js/dist/coolpopover.js +0 -391
  97. package/js/dist/coolpopover.js.map +0 -1
  98. package/js/dist/coolsectiontabs.js +0 -256
  99. package/js/dist/coolsectiontabs.js.map +0 -1
  100. package/js/dist/coolselect.js +0 -796
  101. package/js/dist/coolselect.js.map +0 -1
  102. package/js/dist/cooltooltip.js +0 -360
  103. package/js/dist/cooltooltip.js.map +0 -1
  104. package/js/dist/coolui.js +0 -73
  105. package/js/dist/coolui.js.map +0 -1
  106. package/js/dist/dropdown.js +0 -27421
  107. package/js/dist/dropdown.js.map +0 -1
  108. package/js/dist/popover.js +0 -9472
  109. package/js/dist/popover.js.map +0 -1
  110. package/js/dist/sectiontabs.js +0 -4483
  111. package/js/dist/sectiontabs.js.map +0 -1
  112. package/js/dist/select.js +0 -37080
  113. package/js/dist/select.js.map +0 -1
  114. package/js/dist/tooltip.js +0 -8786
  115. package/js/dist/tooltip.js.map +0 -1
  116. package/js/index.esm.js +0 -21
  117. package/js/index.umd.js +0 -21
  118. package/js/src/abstract-ui-component.js +0 -81
  119. package/js/src/collapse.js +0 -286
  120. package/js/src/common.js +0 -296
  121. package/js/src/dialog.js +0 -579
  122. package/js/src/dropdown.js +0 -525
  123. package/js/src/popover.js +0 -632
  124. package/js/src/section-tabs.js +0 -215
  125. package/js/src/select.js +0 -1342
  126. package/js/src/toast.js +0 -581
  127. package/js/src/tooltip.js +0 -591
  128. package/js/src/util/animate-css.js +0 -22
  129. package/js/src/util/index.js +0 -122
  130. package/js/src/util/perfect-scrollbar.js +0 -1316
  131. package/less/alert.less +0 -345
  132. package/less/badge.less +0 -38
  133. package/less/bootstrap-noconflict.less +0 -23
  134. package/less/bootstrap.less +0 -23
  135. package/less/button-group.less +0 -153
  136. package/less/buttons.less +0 -287
  137. package/less/dialog-noconflict.less +0 -174
  138. package/less/dialog.less +0 -203
  139. package/less/dropdown.less +0 -209
  140. package/less/forms.less +0 -770
  141. package/less/images.less +0 -242
  142. package/less/input-group.less +0 -163
  143. package/less/list-group.less +0 -73
  144. package/less/mixins/aspect-ratio.less +0 -23
  145. package/less/mixins/border-radius.less +0 -24
  146. package/less/mixins/box-shadow.less +0 -4
  147. package/less/mixins/buttons.less +0 -17
  148. package/less/mixins/caret.less +0 -51
  149. package/less/mixins/clearfix.less +0 -10
  150. package/less/mixins/gradients.less +0 -34
  151. package/less/mixins/nav-divider.less +0 -7
  152. package/less/mixins/object-fit.less +0 -13
  153. package/less/mixins/reset-text.less +0 -16
  154. package/less/mixins.less +0 -11
  155. package/less/package.json +0 -11
  156. package/less/pagination.less +0 -69
  157. package/less/popover.less +0 -143
  158. package/less/project.sublime-workspace +0 -774
  159. package/less/reboot.less +0 -235
  160. package/less/section.less +0 -793
  161. package/less/select.less +0 -150
  162. package/less/tables.less +0 -737
  163. package/less/tabs.less +0 -162
  164. package/less/tooltip.less +0 -87
  165. package/less/type.less +0 -71
  166. package/less/utilities/align.less +0 -27
  167. package/less/utilities/animate.less +0 -3512
  168. package/less/utilities/background.less +0 -70
  169. package/less/utilities/borders.less +0 -16
  170. package/less/utilities/color.less +0 -70
  171. package/less/utilities/cursor.less +0 -8
  172. package/less/utilities/display.less +0 -38
  173. package/less/utilities/embed.less +0 -61
  174. package/less/utilities/flex.less +0 -76
  175. package/less/utilities/jquery-ui.less +0 -116
  176. package/less/utilities/lazyload.less +0 -29
  177. package/less/utilities/overflow.less +0 -11
  178. package/less/utilities/pace.less +0 -25
  179. package/less/utilities/placeholder.less +0 -60
  180. package/less/utilities/position.less +0 -42
  181. package/less/utilities/scrollbar.less +0 -152
  182. package/less/utilities/spacing.less +0 -197
  183. package/less/utilities/text.less +0 -68
  184. package/less/utilities/transform.less +0 -7
  185. package/less/utilities.less +0 -21
  186. package/less/variables.less +0 -343
  187. package/scss/_alert.scss +0 -102
  188. package/scss/_custom-forms.scss +0 -444
  189. package/scss/_functions.scss +0 -124
  190. package/scss/_images.scss +0 -361
  191. package/scss/_mixins.scss +0 -34
  192. package/scss/_type.scss +0 -129
  193. package/scss/_utilities.scss +0 -23
  194. package/scss/cool-grid.scss +0 -29
  195. package/scss/cool-reboot.scss +0 -11
  196. package/scss/mixins/_alert-variant.scss +0 -20
  197. package/scss/mixins/_aspect-ratio.scss +0 -29
  198. package/scss/mixins/_background-variant.scss +0 -25
  199. package/scss/mixins/_badge-variant.scss +0 -36
  200. package/scss/mixins/_breakpoints.scss +0 -102
  201. package/scss/mixins/_buttons.scss +0 -104
  202. package/scss/mixins/_caret.scss +0 -80
  203. package/scss/mixins/_clearfix.scss +0 -10
  204. package/scss/mixins/_float.scss +0 -14
  205. package/scss/mixins/_forms.scss +0 -67
  206. package/scss/mixins/_gradients.scss +0 -40
  207. package/scss/mixins/_grid-framework.scss +0 -72
  208. package/scss/mixins/_grid.scss +0 -60
  209. package/scss/mixins/_nav-divider.scss +0 -9
  210. package/scss/mixins/_notification-variant.scss +0 -7
  211. package/scss/mixins/_object-fit.scss +0 -16
  212. package/scss/mixins/_reset-text.scss +0 -19
  213. package/scss/mixins/_text-emphasis.scss +0 -21
  214. package/scss/mixins/_text-hide.scss +0 -10
  215. package/scss/mixins/_text-truncate.scss +0 -81
  216. package/scss/mixins/_visibility.scss +0 -7
  217. package/scss/project.sublime-workspace +0 -491
  218. package/scss/utilities/_animate.scss +0 -3512
  219. package/scss/utilities/_clearfix.scss +0 -6
  220. package/scss/utilities/_lazyload.scss +0 -31
  221. package/scss/utilities/_placeholder.scss +0 -77
package/less/section.less DELETED
@@ -1,793 +0,0 @@
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
- }