@c10t/nice-component-library 0.0.1-beta

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 (145) hide show
  1. package/components/base/base-add-edit.component.d.ts +28 -0
  2. package/components/base/base-search.component.d.ts +62 -0
  3. package/components/base/base-table.component.d.ts +16 -0
  4. package/components/cva-breadcrumb.component.d.ts +14 -0
  5. package/components/cva-counter-input.component.d.ts +42 -0
  6. package/components/cva-custom-dialog.component.d.ts +30 -0
  7. package/components/cva-input.component.d.ts +60 -0
  8. package/components/cva-loader.component.d.ts +9 -0
  9. package/components/cva-multi-select-autocomplete.d.ts +64 -0
  10. package/components/cva-quill-editor.component.d.ts +66 -0
  11. package/components/cva-radiobutton.component.d.ts +32 -0
  12. package/components/cva-tree.component.d.ts +38 -0
  13. package/components/datepicker/cva-date-picker.component.d.ts +43 -0
  14. package/components/datepicker/cva-range-date-picker.component.d.ts +64 -0
  15. package/components/table/cva-header-expand-button.component.d.ts +22 -0
  16. package/components/table/cva-smart-table.component.d.ts +72 -0
  17. package/components/table/cva-table.component.d.ts +62 -0
  18. package/components/tree/cva-flat-tree-node-left.component.d.ts +22 -0
  19. package/components/tree/cva-flat-tree-node-right.component.d.ts +18 -0
  20. package/components/tree/cva-flat-tree.component.d.ts +96 -0
  21. package/components/upload/cva-dialog-import-file.component.d.ts +30 -0
  22. package/components/upload/cva-multi-upload-img.component.d.ts +24 -0
  23. package/components/upload/cva-multi-upload.component.d.ts +30 -0
  24. package/components/upload/cva-upload-file.component.d.ts +70 -0
  25. package/directives/drag-drop.directive.d.ts +12 -0
  26. package/directives/format-datepicker.d.ts +8 -0
  27. package/directives/format-input.directive.d.ts +29 -0
  28. package/directives/multi-language-table-paginator.d.ts +12 -0
  29. package/directives/pattern.directive.d.ts +16 -0
  30. package/directives/style-paginator.directive.d.ts +31 -0
  31. package/enums/action-type.enum.d.ts +5 -0
  32. package/enums/align.enum.d.ts +5 -0
  33. package/enums/column-type.enum.d.ts +14 -0
  34. package/enums/dialog-type.enum.d.ts +5 -0
  35. package/enums/file-type.enum.d.ts +13 -0
  36. package/enums/icon-type.enum.d.ts +4 -0
  37. package/fesm2022/c10t-nice-component-library.mjs +9024 -0
  38. package/fesm2022/c10t-nice-component-library.mjs.map +1 -0
  39. package/index.d.ts +75 -0
  40. package/models/base.model.d.ts +5 -0
  41. package/models/button-click.event.d.ts +6 -0
  42. package/models/components/bread-crumb.model.d.ts +5 -0
  43. package/models/components/button.model.d.ts +16 -0
  44. package/models/components/checkbox.model.d.ts +7 -0
  45. package/models/components/column.model.d.ts +37 -0
  46. package/models/components/custom-dialog-data-config.model.d.ts +16 -0
  47. package/models/components/dialog-import-file-config.model.d.ts +9 -0
  48. package/models/components/flat-tree-config.model.d.ts +5 -0
  49. package/models/components/flat-tree-node.model.d.ts +16 -0
  50. package/models/components/flat-tree.model.d.ts +7 -0
  51. package/models/components/range-date-picker.model.d.ts +7 -0
  52. package/models/components/select.model.d.ts +7 -0
  53. package/models/components/table-footer.model.d.ts +10 -0
  54. package/models/components/table-paging-request.model.d.ts +6 -0
  55. package/models/components/table-paging-response.model.d.ts +6 -0
  56. package/models/components/upload.model.d.ts +11 -0
  57. package/models/menu.model.d.ts +10 -0
  58. package/models/navigator.model.d.ts +10 -0
  59. package/models/nice-component-library.config.d.ts +13 -0
  60. package/models/oauth/authority.d.ts +3 -0
  61. package/models/oauth/oAuth2AuthenticationDto.d.ts +7 -0
  62. package/models/oauth/principal.d.ts +10 -0
  63. package/models/oauth/user.authentication.d.ts +4 -0
  64. package/models/permission.model.d.ts +7 -0
  65. package/models/role.model.d.ts +12 -0
  66. package/models/ui.state.d.ts +5 -0
  67. package/modules/angular-material.module.d.ts +45 -0
  68. package/modules/nice-component-library.module.d.ts +46 -0
  69. package/package.json +59 -0
  70. package/pipes/secure.pipe.d.ts +13 -0
  71. package/services/MultiTranslateHttpLoader.d.ts +13 -0
  72. package/services/api.service.d.ts +42 -0
  73. package/services/authorities.resolver.service.d.ts +18 -0
  74. package/services/authorities.service.d.ts +12 -0
  75. package/services/date-util.service.d.ts +23 -0
  76. package/services/flat.tree.service.d.ts +7 -0
  77. package/services/form-state.service.d.ts +9 -0
  78. package/services/jsog.http.interceptor.d.ts +11 -0
  79. package/services/loader.interceptor.d.ts +13 -0
  80. package/services/loader.service.d.ts +7 -0
  81. package/services/ns-validator.service.d.ts +48 -0
  82. package/services/singleton.translate.service.d.ts +8 -0
  83. package/services/table.service.d.ts +24 -0
  84. package/services/utils.service.d.ts +47 -0
  85. package/src/styles/base.theme.scss +3112 -0
  86. package/src/styles/components/cva-breadcrumb.scss +38 -0
  87. package/src/styles/components/cva-counter-input.scss +45 -0
  88. package/src/styles/components/cva-custom-dialog.scss +7 -0
  89. package/src/styles/components/cva-date-picker.scss +16 -0
  90. package/src/styles/components/cva-date-range-picker.scss +22 -0
  91. package/src/styles/components/cva-flat-tree.scss +171 -0
  92. package/src/styles/components/cva-input.scss +120 -0
  93. package/src/styles/components/cva-loader.scss +36 -0
  94. package/src/styles/components/cva-multi-select-autocomplete.scss +128 -0
  95. package/src/styles/components/cva-multi-upload.scss +145 -0
  96. package/src/styles/components/cva-radio-button.scss +58 -0
  97. package/src/styles/components/cva-smart-table.scss +129 -0
  98. package/src/styles/components/cva-table.scss +98 -0
  99. package/src/styles/components/cva-tree.scss +76 -0
  100. package/src/styles/fonts/Comfortaa-Medium.ttf +0 -0
  101. package/src/styles/fonts/Exo-Regular.ttf +0 -0
  102. package/src/styles/fonts/Mali-Medium.ttf +0 -0
  103. package/src/styles/fonts/VarelaRound-Regular.ttf +0 -0
  104. package/src/styles/fonts/fa-brands-400.eot +0 -0
  105. package/src/styles/fonts/fa-brands-400.svg +3570 -0
  106. package/src/styles/fonts/fa-brands-400.ttf +0 -0
  107. package/src/styles/fonts/fa-brands-400.woff +0 -0
  108. package/src/styles/fonts/fa-brands-400.woff2 +0 -0
  109. package/src/styles/fonts/fa-duotone-900.eot +0 -0
  110. package/src/styles/fonts/fa-duotone-900.svg +15055 -0
  111. package/src/styles/fonts/fa-duotone-900.ttf +0 -0
  112. package/src/styles/fonts/fa-duotone-900.woff +0 -0
  113. package/src/styles/fonts/fa-duotone-900.woff2 +0 -0
  114. package/src/styles/fonts/fa-light-300.eot +0 -0
  115. package/src/styles/fonts/fa-light-300.svg +12330 -0
  116. package/src/styles/fonts/fa-light-300.ttf +0 -0
  117. package/src/styles/fonts/fa-light-300.woff +0 -0
  118. package/src/styles/fonts/fa-light-300.woff2 +0 -0
  119. package/src/styles/fonts/fa-regular-400.eot +0 -0
  120. package/src/styles/fonts/fa-regular-400.svg +11256 -0
  121. package/src/styles/fonts/fa-regular-400.ttf +0 -0
  122. package/src/styles/fonts/fa-regular-400.woff +0 -0
  123. package/src/styles/fonts/fa-regular-400.woff2 +0 -0
  124. package/src/styles/fonts/fa-solid-900.eot +0 -0
  125. package/src/styles/fonts/fa-solid-900.svg +9588 -0
  126. package/src/styles/fonts/fa-solid-900.ttf +0 -0
  127. package/src/styles/fonts/fa-solid-900.woff +0 -0
  128. package/src/styles/fonts/fa-solid-900.woff2 +0 -0
  129. package/src/styles/fonts/fontawesome-webfont.eot +0 -0
  130. package/src/styles/fonts/fontawesome-webfont.svg +2671 -0
  131. package/src/styles/fonts/fontawesome-webfont.ttf +0 -0
  132. package/src/styles/fonts/fontawesome-webfont.woff +0 -0
  133. package/src/styles/fonts/fontawesome-webfont.woff2 +0 -0
  134. package/src/styles/fonts/glyphter.eot +0 -0
  135. package/src/styles/fonts/glyphter.svg +1 -0
  136. package/src/styles/fonts/glyphter.ttf +0 -0
  137. package/src/styles/fonts/glyphter.woff +0 -0
  138. package/src/styles/themes/athena.theme.scss +1684 -0
  139. package/src/styles/themes/button-default.style.scss +961 -0
  140. package/src/styles/themes/default.theme.scss +939 -0
  141. package/src/styles/themes/fonts-awesome.scss +12756 -0
  142. package/src/styles/themes/glyphter.scss +27 -0
  143. package/src/styles/themes/hera.theme.scss +1600 -0
  144. package/src/styles/themes/poseidon.theme.scss +1639 -0
  145. package/src/styles/themes/zeus.theme.scss +1655 -0
@@ -0,0 +1,3112 @@
1
+ @import 'themes/fonts-awesome';
2
+ @import 'themes/glyphter';
3
+ @import 'themes/default.theme';
4
+ @import 'themes/athena.theme';
5
+ @import 'themes/poseidon.theme';
6
+ @import 'themes/hera.theme';
7
+ @import 'themes/zeus.theme';
8
+
9
+ // import ns-style component
10
+ @import 'components/cva-breadcrumb';
11
+ @import 'components/cva-counter-input';
12
+ @import 'components/cva-date-picker';
13
+ @import 'components/cva-date-range-picker';
14
+ @import 'components/cva-flat-tree';
15
+ @import 'components/cva-input';
16
+ @import 'components/cva-loader';
17
+ @import 'components/cva-multi-select-autocomplete';
18
+ @import 'components/cva-multi-upload';
19
+ @import 'components/cva-radio-button';
20
+ @import 'components/cva-smart-table';
21
+ @import 'components/cva-table';
22
+ @import 'components/cva-tree';
23
+ @import 'components/cva-custom-dialog';
24
+
25
+ // Include the base styles for Angular Material core. We include this here so that you only
26
+ // have to load d single css file for Angular Material in your app.
27
+ // Be sure that you only ever include this mixin once!
28
+
29
+ // Include theme styles for core and each component used in your app.
30
+ // Alternatively, you can import and @include the theme mixins for each component that you are using.
31
+ // @include angular-material-theme($app-theme);
32
+
33
+ body {
34
+ font-size: 13px;
35
+ margin: 0;
36
+ font-family: "Roboto", sans-serif;
37
+ word-break: normal;
38
+ }
39
+
40
+ h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
41
+ margin-top: 0;
42
+ margin-bottom: 15px;
43
+ }
44
+
45
+ a {
46
+ outline: none;
47
+ text-decoration: none;
48
+ cursor: pointer;
49
+ -webkit-transition: .5s;
50
+ -o-transition: .5s;
51
+ transition: .5s;
52
+ }
53
+
54
+ * {
55
+ scrollbar-width: thin;
56
+ scrollbar-color: #9E9E9E #e7e7e7;
57
+ }
58
+
59
+ mat-sidenav-container, mat-drawer-content, form {
60
+ height: auto;
61
+ }
62
+
63
+ // animation
64
+ @keyframes fadeIn {
65
+ 0% {
66
+ opacity: 0;
67
+ }
68
+ 100% {
69
+ opacity: 1;
70
+ }
71
+ }
72
+
73
+ @keyframes fadeOut {
74
+ 0% {
75
+ opacity: 1;
76
+ }
77
+ 100% {
78
+ opacity: 0;
79
+ }
80
+ }
81
+
82
+ @keyframes floatInRight {
83
+ 0% {
84
+ right: -100px;
85
+ }
86
+ 100% {
87
+ right: -70px;
88
+ }
89
+ }
90
+
91
+ @keyframes floatOutRight {
92
+ 0% {
93
+ right: -70px;
94
+ }
95
+ 100% {
96
+ right: -100px;
97
+ }
98
+ }
99
+
100
+ @keyframes rotate90 {
101
+ 0% {
102
+ transform: rotateZ(0deg);
103
+ }
104
+ 100% {
105
+ transform: rotateZ(90deg);
106
+ }
107
+ }
108
+
109
+ @keyframes rotate0 {
110
+ 0% {
111
+ transform: rotateZ(90deg);
112
+ }
113
+ 100% {
114
+ transform: rotateZ(0deg);
115
+ }
116
+ }
117
+
118
+ ////////////////////////////////////////////////////////////////////
119
+ // Cái loại này là cái loại mà theme nào cũng như nhau ^^
120
+ ////////////////////////////////////////////////////////////////////
121
+ .TopToHome {
122
+ cursor: pointer;
123
+ }
124
+
125
+ // set css cho component base label outside mat-form-field
126
+ .labelOutside .mat-form-field-flex .mat-form-field-infix {
127
+ border-top-width: thick;
128
+ }
129
+
130
+ .mat-select-arrow {
131
+ visibility: hidden;
132
+ }
133
+
134
+ .mat-form-field-flex {
135
+ display: flex !important;
136
+ place-content: center !important;
137
+ align-items: center !important;
138
+ }
139
+
140
+ .mat-form-field-flex .mat-form-field-infix {
141
+ width: 100%;
142
+ }
143
+
144
+ .mat-form-field-appearance-legacy .mat-form-field-label {
145
+ top: 20px !important;
146
+ }
147
+
148
+ mat-form-field.mat-form-field-should-float .mat-form-field-label {
149
+ transform: translateY(-20px) scale(0.8);
150
+ }
151
+
152
+ mat-form-field .mat-form-field-prefix, mat-form-field .mat-form-field-suffix {
153
+ top: 0 !important;
154
+ }
155
+
156
+ mat-form-field.input-confirm-dialog {
157
+ .mat-form-field-wrapper {
158
+ .mat-form-field-flex {
159
+ height: 100%;
160
+
161
+ .mat-form-field-infix {
162
+ height: 100%;
163
+ }
164
+ }
165
+
166
+ padding-bottom: 0px !important;
167
+ height: 100%;
168
+ }
169
+
170
+ .mat-form-field-suffix {
171
+
172
+ position: absolute !important;
173
+ right: 0 !important;
174
+ bottom: 0 !important;
175
+ top: auto !important;
176
+ margin-right: 5px;
177
+ margin-bottom: 3px;
178
+ }
179
+ }
180
+
181
+ cva-date-picker, cva-range-date-picker {
182
+ .mat-form-field-prefix {
183
+ position: absolute;
184
+ right: 5px;
185
+ top: 4px !important;
186
+ }
187
+
188
+ .mat-form-field-suffix {
189
+ right: 20px;
190
+ }
191
+ }
192
+
193
+ // small mat form field
194
+ cva-input.small,
195
+ cva-multi-select-autocomplete.small,
196
+ td.small > cva-counter-input,
197
+ cva-counter-input.small {
198
+ mat-form-field {
199
+ .mat-form-field-wrapper {
200
+ margin: 0 !important;
201
+ padding: 0 !important;
202
+
203
+ .mat-form-field-infix {
204
+ padding: 8px 0;
205
+ font-size: 13px;
206
+
207
+ .mat-form-field-label-wrapper {
208
+ display: none !important;
209
+ }
210
+ }
211
+
212
+ .mat-form-field-subscript-wrapper {
213
+ position: absolute;
214
+ white-space: nowrap;
215
+ overflow: visible;
216
+ top: 26px;
217
+ padding: 0 5px;
218
+ }
219
+
220
+ .mat-placeholder-required {
221
+ display: none;
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ cva-multi-select-autocomplete.transparent {
228
+ mat-form-field {
229
+ .mat-form-field-wrapper {
230
+ margin: 0 !important;
231
+ padding: 0 !important;
232
+
233
+ .mat-form-field-infix {
234
+ padding: 0;
235
+ font-size: 13px;
236
+
237
+ .mat-form-field-label-wrapper {
238
+ display: none !important;
239
+ }
240
+ }
241
+
242
+ .mat-form-field-subscript-wrapper {
243
+ position: absolute;
244
+ white-space: nowrap;
245
+ overflow: visible;
246
+ top: 26px;
247
+ padding: 0 5px;
248
+ }
249
+
250
+ .mat-placeholder-required {
251
+ display: none;
252
+ }
253
+ }
254
+ }
255
+ }
256
+
257
+ cva-date-picker.small_label,
258
+ cva-input.small_label,
259
+ cva-multi-select-autocomplete.small_label,
260
+ td.small_label > cva-counter-input,
261
+ cva-counter-input.small_label {
262
+ mat-form-field {
263
+ .mat-form-field-wrapper {
264
+ margin: 0 !important;
265
+ padding: 0 !important;
266
+
267
+ .mat-form-field-prefix {
268
+ right: 0 !important;
269
+ top: 0 !important;
270
+
271
+ mat-datepicker-toggle {
272
+ .mat-icon-button {
273
+ height: 30px;
274
+ width: 30px;
275
+ }
276
+ }
277
+ }
278
+
279
+ .mat-form-field-infix {
280
+ padding: 8px 0;
281
+ font-size: 13px;
282
+
283
+ .mat-form-field-label-wrapper {
284
+ display: initial !important;
285
+
286
+ .mat-form-field-label {
287
+ transform: translateX(-10px) translateY(-15px) scale(1) !important;
288
+ }
289
+ }
290
+
291
+ .mat-select-trigger {
292
+ height: auto;
293
+ }
294
+ }
295
+
296
+ .mat-form-field-suffix {
297
+ right: -5px;
298
+
299
+ .mat-icon-button {
300
+ width: 30px;
301
+ height: 30px;
302
+ }
303
+ }
304
+
305
+ .mat-form-field-subscript-wrapper {
306
+ position: absolute;
307
+ white-space: nowrap;
308
+ overflow: visible;
309
+ top: 26px;
310
+ padding: 0 5px;
311
+ }
312
+
313
+ .mat-placeholder-required {
314
+ display: none;
315
+ }
316
+ }
317
+ }
318
+ }
319
+
320
+ cva-date-picker.small_label {
321
+ .mat-form-field-suffix {
322
+ right: 10px !important;
323
+ }
324
+ }
325
+
326
+ // ADVANCED SEARCH VIEW STYLE
327
+ .advanced-search-area {
328
+ display: none !important;
329
+ }
330
+
331
+ .advanced-search {
332
+ margin-bottom: 20px;
333
+
334
+ &:hover {
335
+ cursor: pointer;
336
+ }
337
+
338
+ .show_advance {
339
+ color: #00977D;
340
+ }
341
+
342
+ .hide_advance {
343
+ color: grey;
344
+ }
345
+ }
346
+
347
+ ::-webkit-scrollbar {
348
+ width: 5px;
349
+ height: 5px;
350
+ }
351
+
352
+ /* Track */
353
+ ::-webkit-scrollbar-track {
354
+ box-shadow: inset 0 0 5px grey;
355
+ border-radius: 3px;
356
+ }
357
+
358
+ /* Handle */
359
+ ::-webkit-scrollbar-thumb {
360
+ background: #9E9E9E;
361
+ border-radius: 3px;
362
+ }
363
+
364
+ /* Handle on hover */
365
+ ::-webkit-scrollbar-thumb:hover {
366
+ background: #878686;
367
+ }
368
+
369
+ // Fix
370
+ .row-wrap-padding {
371
+ padding: 15px 10px;
372
+
373
+ > [fxLayout="column"] {
374
+ padding: 0 10px !important;
375
+ }
376
+
377
+ .row-wrap-padding {
378
+ padding: 0;
379
+ margin: 0 -10px;
380
+ }
381
+ }
382
+
383
+ .form {
384
+ padding: 20px 0;
385
+ }
386
+
387
+ app-login {
388
+ background-color: transparent;
389
+ margin: 0;
390
+
391
+ .login_cover {
392
+ position: absolute;
393
+ top: 0;
394
+ bottom: 0;
395
+ left: 0;
396
+ right: 0;
397
+ display: flex;
398
+ place-content: center;
399
+ align-items: center;
400
+ background: rgb(90, 199, 156);
401
+ background: linear-gradient(45deg, #5bd8c1 0%, #58aeb7 50%, #4aa588 100%);
402
+ }
403
+
404
+ .mat-card {
405
+ width: 400px;
406
+ height: auto;
407
+ padding: 5px 5px 50px 5px;
408
+ color: black !important;
409
+ margin: 0 !important;
410
+ background-color: white !important;
411
+ border-radius: 5px !important;
412
+ box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12) !important;
413
+ }
414
+
415
+ .mat-card-content {
416
+ margin: 20px;
417
+ }
418
+
419
+ .mat-card-title {
420
+ background-color: #064a44;
421
+ color: white;
422
+ padding: 20px 0;
423
+ text-transform: uppercase;
424
+ margin-bottom: 0;
425
+ display: flex;
426
+ place-content: center;
427
+ align-items: center;
428
+
429
+ img {
430
+ width: 100px;
431
+ margin-right: 10px;
432
+ }
433
+
434
+ i {
435
+ margin-right: 5px;
436
+ }
437
+ }
438
+
439
+ input {
440
+
441
+ }
442
+
443
+ p {
444
+ margin: 10px 0 !important;
445
+ }
446
+
447
+ button {
448
+ //position: absolute !important;
449
+ left: 0;
450
+ right: 0;
451
+ margin: auto !important;
452
+ }
453
+
454
+ .mat-form-field-appearance-legacy {
455
+ .mat-form-field-label {
456
+ color: #795548 !important;
457
+ }
458
+
459
+ .mat-form-field-underline {
460
+ background-color: #009688 !important;
461
+ }
462
+ }
463
+ }
464
+
465
+ app-dashboard iframe {
466
+ height: 90vh !important;
467
+ border: none;
468
+ }
469
+
470
+ app-top-nav {
471
+ .banner {
472
+ position: relative;
473
+ width: 90px;
474
+ height: 100%;
475
+
476
+ img {
477
+ width: 83%;
478
+ position: relative;
479
+ top: 5px;
480
+ left: 5px;
481
+ }
482
+ }
483
+ }
484
+
485
+ mat-sidenav {
486
+ position: fixed !important;
487
+ left: 0;
488
+ padding-top: 80px;
489
+ z-index: 1;
490
+ }
491
+
492
+ mat-sidenav-container.non-embbeded mat-sidenav-content {
493
+ margin-top: 70px;
494
+ margin-bottom: 70px;
495
+ }
496
+
497
+ .mat-drawer {
498
+ border: none;
499
+ z-index: 1;
500
+ }
501
+
502
+ .mat-drawer-content {
503
+ padding: 0 15px;
504
+ height: auto !important;
505
+ position: initial;
506
+ overflow: initial !important;
507
+ }
508
+
509
+ // menu
510
+ mat-nav-list {
511
+ padding: 0 10px;
512
+
513
+ app-menu-list-item {
514
+ margin-bottom: 5px;
515
+
516
+ .mat-list-item {
517
+ margin: 0 10px;
518
+
519
+ &.expanded {
520
+ border-bottom: none;
521
+ }
522
+
523
+ &:hover {
524
+ background-color: transparent;
525
+ }
526
+
527
+ .mat-list-item-content {
528
+ font-weight: bold;
529
+ width: 100%;
530
+ padding: 10px 0 !important;
531
+ }
532
+
533
+ i {
534
+ margin-right: 10px;
535
+ font-weight: normal;
536
+ width: 20px;
537
+ text-align: center;
538
+ }
539
+ }
540
+
541
+ &:last-child .mat-list-item-content:last-child {
542
+ border-bottom: none;
543
+ }
544
+
545
+ > div {
546
+ margin: 0 10px;
547
+
548
+ app-menu-list-item {
549
+ background-color: transparent;
550
+
551
+ .mat-list-item {
552
+ border-bottom: none !important;
553
+ margin-bottom: 1px;
554
+
555
+ .mat-list-item-content {
556
+ font-weight: 400;
557
+ padding: 5px 0 5px 18px !important;
558
+ }
559
+
560
+ &.active {
561
+ .mat-list-item-content {
562
+ font-weight: 700;
563
+ }
564
+ }
565
+
566
+ i {
567
+ display: none;
568
+ }
569
+ }
570
+
571
+ &:last-child {
572
+ margin-bottom: -5px;
573
+ }
574
+ }
575
+ }
576
+ }
577
+
578
+ a.mat-list-item,
579
+ app-menu-list-item .mat-list-item .mat-list-item-content,
580
+ app-menu-list-item .mat-list-item .mat-icon,
581
+ app-menu-list-item .mat-list-item i {
582
+ -webkit-transition: .5s;
583
+ -o-transition: .5s;
584
+ transition: .5s;
585
+ }
586
+ }
587
+
588
+ .mat-select-panel {
589
+ padding: 5px 0 !important;
590
+ transform: none !important;
591
+ }
592
+
593
+ .breadcrumb {
594
+ margin: 20px 20px 10px 10px;
595
+ padding: 0 15px;
596
+ height: auto;
597
+
598
+ a {
599
+ text-decoration: none;
600
+ }
601
+
602
+ i.fa-angle-right {
603
+ margin: 0px 10px 0px 5px;
604
+ }
605
+ }
606
+
607
+ .mat-toolbar {
608
+ position: fixed;
609
+ height: 50px !important;
610
+ overflow: hidden;
611
+ z-index: 2;
612
+ }
613
+
614
+ .mat-toolbar-row, .mat-toolbar-single-row {
615
+ padding: 0 !important;
616
+ }
617
+
618
+ .searchFormGroup .form, .searchFormGroup .content {
619
+ box-shadow: 0px 0px 2px #9E9E9E, 3px 2px 5px #9E9E9E;
620
+ }
621
+
622
+ .searchFormGroup .mat-table {
623
+ box-shadow: none !important;
624
+ }
625
+
626
+ // mat tab
627
+ .mat-tab-group {
628
+ background-color: transparent;
629
+ }
630
+
631
+ .mat-tab-group .box-search {
632
+ position: sticky;
633
+ top: 0;
634
+ width: 100%;
635
+ padding: 5px 0;
636
+ z-index: 1;
637
+ }
638
+
639
+ .mat-tab-header {
640
+ border: none !important;
641
+ }
642
+
643
+ .mat-tab-body-wrapper {
644
+ padding-top: 20px;
645
+ }
646
+
647
+ .mat-tab-label {
648
+ opacity: 1 !important;
649
+ height: auto !important;
650
+ min-width: auto !important;
651
+ padding: 0px 0 0 0 !important;
652
+ margin: 0 !important;
653
+ overflow: visible;
654
+ }
655
+
656
+ .mat-tab-label .mat-tab-label-content {
657
+ padding: 5px 10px;
658
+ margin-right: 15px;
659
+ -webkit-transition: .5s;
660
+ -o-transition: .5s;
661
+ transition: .5s;
662
+ }
663
+
664
+ .mat-tab-label.mat-tab-label-active .mat-tab-label-content {
665
+ padding-left: 25px;
666
+ }
667
+
668
+ .mat-tab-label .mat-tab-label-content:before {
669
+ font-family: "FontAwesome";
670
+ content: "\f138";
671
+ position: absolute;
672
+ left: 7px;
673
+ opacity: 0;
674
+ transform: rotateZ(0deg);
675
+ animation: fadeOut 0.5s, rotate0 0.5s;
676
+ }
677
+
678
+ .mat-tab-label.mat-tab-label-active .mat-tab-label-content:before {
679
+ opacity: 1;
680
+ transform: rotateZ(90deg);
681
+ animation: fadeIn 1s, rotate90 1s;
682
+ }
683
+
684
+ .mat-ink-bar {
685
+ height: 0px !important;
686
+ }
687
+
688
+ .mat-tab-body cva-multi-select-autocomplete[name="townships"] .mat-form-field-wrapper,
689
+ .mat-tab-body cva-multi-select-autocomplete[name="manufacturers"] .mat-form-field-wrapper,
690
+ .mat-tab-body cva-multi-select-autocomplete[name="distributors"] .mat-form-field-wrapper {
691
+ padding: 5px 20px 20px 20px;
692
+ }
693
+
694
+ .mat-tab-body cva-multi-select-autocomplete {
695
+ width: 100%;
696
+ }
697
+
698
+ .mat-tab-body cva-multi-select-autocomplete .mat-form-field-underline {
699
+ position: initial;
700
+ width: 100%;
701
+ }
702
+
703
+ .mat-tab-label span.mat-badge {
704
+ position: absolute;
705
+ top: 0;
706
+ right: 5px;
707
+ }
708
+
709
+ .mat-tab-label span.mat-badge-content {
710
+ display: flex;
711
+ place-content: center;
712
+ align-items: center;
713
+ right: 0 !important;
714
+ top: 0 !important;
715
+ }
716
+
717
+ // Tree
718
+ .parent-mat-tree {
719
+ min-height: 335px !important;
720
+ max-height: 335px !important;
721
+ }
722
+
723
+ .btnRemoveGroupMappingStyle, .btnAddGroupMappingStyle {
724
+ margin-left: 10px !important;
725
+ }
726
+
727
+ .topbar_content {
728
+ position: absolute;
729
+ right: 15px;
730
+ padding: 0 10px;
731
+ display: flex;
732
+ }
733
+
734
+ .btn-sec .fixed_bottom {
735
+ position: fixed;
736
+ bottom: 5px;
737
+ margin: 5px 0 !important;
738
+ padding: 5px;
739
+ width: auto !important;
740
+ background-color: transparent;
741
+ border-radius: 5px;
742
+ z-index: 11;
743
+ box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
744
+ }
745
+
746
+ .btn-sec .fixed_bottom.right {
747
+ right: 15px;
748
+ }
749
+
750
+ .btn-sec.fixed_bottom button {
751
+ margin-bottom: 0 !important;
752
+ }
753
+
754
+ // top bar
755
+ .username {
756
+ font-size: 12px;
757
+ margin-right: 5px;
758
+ cursor: pointer;
759
+
760
+ i {
761
+ margin-right: 5px;
762
+ color: #8bc34a;
763
+ }
764
+
765
+ span {
766
+ font-weight: bold;
767
+ }
768
+
769
+ .usermenu {
770
+ position: fixed;
771
+ right: 15px;
772
+ background-color: white;
773
+ padding: 0 15px;
774
+ box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
775
+ animation: fadeIn 0.5s;
776
+ }
777
+
778
+ &.off {
779
+ .usermenu {
780
+ display: none;
781
+ animation: fadeOut 0.5s;
782
+ }
783
+ }
784
+ }
785
+
786
+ .theme_select {
787
+ margin-right: 5px;
788
+ font-size: 12px;
789
+ letter-spacing: 0.5px;
790
+
791
+ i {
792
+ margin-right: 5px;
793
+ }
794
+
795
+ span {
796
+ font-weight: bold;
797
+ -webkit-transition: .5s;
798
+ -o-transition: .5s;
799
+ transition: .5s;
800
+
801
+ .theme {
802
+ margin-right: 5px;
803
+ }
804
+ }
805
+
806
+ .mat-select-theme {
807
+ width: auto !important;
808
+ }
809
+
810
+ .mat-select-value {
811
+ max-width: initial !important;
812
+ }
813
+ }
814
+
815
+ .language_select {
816
+ margin-right: 5px;
817
+
818
+ .mat-select-language {
819
+ width: 100% !important;
820
+ }
821
+ }
822
+
823
+ .languageOption.mat-option {
824
+ text-align: center;
825
+ height: auto !important;
826
+ line-height: initial !important;
827
+ padding: 0 10px;
828
+ }
829
+
830
+ .chat, .notification {
831
+ margin-right: 10px;
832
+ }
833
+
834
+ .open_nav_button {
835
+ font-size: 20px !important;
836
+ top: 0;
837
+ left: 0;
838
+ color: #795548;
839
+ z-index: 2;
840
+ }
841
+
842
+ // ACbox
843
+ .acbox {
844
+ border-radius: 12px;
845
+ margin-bottom: 20px;
846
+ }
847
+
848
+ .acbox_header {
849
+ padding: 20px 15px;
850
+ height: 40px;
851
+ display: flex;
852
+ place-content: space-between;
853
+ align-items: center;
854
+ border-bottom: 1px solid #E9E9E9;
855
+
856
+ .offset {
857
+ padding: 20px 0;
858
+ margin: 0 15px;
859
+ }
860
+ }
861
+
862
+ .acbox_title {
863
+ font-size: 22px;
864
+ font-weight: bold;
865
+ }
866
+
867
+ .acbox_content {
868
+ padding: 15px;
869
+ }
870
+
871
+ .acbox_content [fxLayout="row wrap"] {
872
+ padding: 0;
873
+ }
874
+
875
+ .acbox_footer {
876
+ width: 100%;
877
+ border-radius: 12px;
878
+ box-shadow: 0px -4px 12px rgba(0, 0, 0, 0.08);
879
+ z-index: 2;
880
+ background-color: white;
881
+
882
+ > div {
883
+ padding: 20px 0px 20px 15px;
884
+ margin-right: 20px;
885
+ display: flex;
886
+ place-content: space-between;
887
+ align-items: center;
888
+ }
889
+
890
+ &.center > div {
891
+ place-content: center;
892
+ }
893
+
894
+ &.left > div {
895
+ place-content: flex-start;
896
+ }
897
+
898
+ &.right > div {
899
+ place-content: flex-end;
900
+ }
901
+ }
902
+
903
+ .force-center {
904
+ place-content: center !important;
905
+ }
906
+
907
+ .force-left {
908
+ place-content: flex-start !important;
909
+ }
910
+
911
+ .force-right {
912
+ place-content: flex-end !important;
913
+ }
914
+
915
+ // Order
916
+ .order_note {
917
+ text-align: right;
918
+ padding: 0 15px 20px 10px;
919
+ }
920
+
921
+ small {
922
+ font-size: 12px;
923
+ color: #7A7A7A;
924
+ }
925
+
926
+ // Dialog
927
+ mat-dialog-container {
928
+ height: auto !important;
929
+ width: auto !important;
930
+ padding: 0 !important;
931
+ overflow: hidden !important;
932
+
933
+ .dialog_wrapper {
934
+ position: relative;
935
+ display: block;
936
+ }
937
+
938
+ .dialog_header {
939
+ background-color: white;
940
+ padding: 20px 15px;
941
+ height: 40px;
942
+ position: sticky;
943
+ top: 0;
944
+ display: flex;
945
+ place-content: space-between;
946
+ align-items: center;
947
+ border-bottom: 1px solid #E9E9E9;
948
+
949
+ mat-icon {
950
+ cursor: pointer;
951
+ }
952
+ }
953
+
954
+ .dialog_title {
955
+ font-size: 24px;
956
+ font-weight: bold;
957
+ display: flex;
958
+ align-items: center;
959
+ }
960
+
961
+ .dialog_content {
962
+ min-width: 25vw;
963
+ max-width: 100%;
964
+ max-height: 65vh;
965
+ resize: both;
966
+ overflow: auto;
967
+ padding-bottom: 80px;
968
+
969
+ &:after {
970
+ content: "";
971
+ display: block;
972
+ height: 80px;
973
+ }
974
+ }
975
+
976
+ .dialog_footer {
977
+ width: 100%;
978
+ position: absolute;
979
+ bottom: 0;
980
+ border-bottom-right-radius: 30px;
981
+ box-shadow: 0px -4px 12px rgba(0, 0, 0, 0.08);
982
+ z-index: 2;
983
+
984
+ > div {
985
+ background-color: white;
986
+ padding: 20px 0px 20px 15px;
987
+ margin-right: 10px;
988
+ display: flex;
989
+ place-content: space-between;
990
+ align-items: center;
991
+ }
992
+
993
+ &.center > div {
994
+ place-content: center;
995
+ }
996
+
997
+ &.left > div {
998
+ place-content: flex-start;
999
+ }
1000
+
1001
+ &.right > div {
1002
+ place-content: flex-end;
1003
+ }
1004
+ }
1005
+
1006
+ .dialog_wrapper.no_footer {
1007
+ .dialog_content {
1008
+ padding-bottom: 0px;
1009
+
1010
+ &:after{
1011
+ height: 0;
1012
+ }
1013
+ }
1014
+ }
1015
+
1016
+ mat-dialog-content {
1017
+ margin: 0 !important;
1018
+ padding: 0 !important;
1019
+ height: auto !important;
1020
+ width: auto !important;
1021
+ max-height: initial !important;
1022
+ overflow: initial !important;
1023
+ }
1024
+
1025
+ .mat-horizontal-stepper-header-container {
1026
+ display: flex;
1027
+ place-content: center;
1028
+ align-items: center;
1029
+ }
1030
+ }
1031
+
1032
+ .cdk-overlay-pane {
1033
+ height: auto !important;
1034
+ width: auto !important;
1035
+ max-width: 90vw !important;
1036
+ display: flex;
1037
+ place-content: center;
1038
+ }
1039
+
1040
+ // Custom dialog
1041
+ .dialog-content {
1042
+ margin: 20px;
1043
+ place-content: center;
1044
+ align-items: center;
1045
+
1046
+ &.reject_reason_dialog {
1047
+ height: 300px;
1048
+ width: 500px;
1049
+ max-width: 80vw;
1050
+ }
1051
+
1052
+ .img img {
1053
+ width: 50%;
1054
+ }
1055
+
1056
+ .content {
1057
+ height: 100%;
1058
+ width: 100%;
1059
+
1060
+ .text-msg {
1061
+ font-size: 24px;
1062
+ font-weight: bold;
1063
+ text-align: center;
1064
+ white-space: pre;
1065
+ margin: 0px 20px 25px 15px;
1066
+ }
1067
+
1068
+ .text-msg-detail {
1069
+ font-size: 1rem;
1070
+ font-weight: 400;
1071
+ text-align: center;
1072
+ white-space: pre;
1073
+ margin-bottom: 25px;
1074
+ }
1075
+
1076
+ .text-error {
1077
+ font-size: 1.5rem;
1078
+ font-weight: 600;
1079
+ text-align: justify;
1080
+ white-space: pre-line;
1081
+ }
1082
+
1083
+ .text-area {
1084
+ width: 100%;
1085
+ height: 100%;
1086
+
1087
+ .input-area {
1088
+ width: 100%;
1089
+ height: 100%;
1090
+ margin-top: 20px;
1091
+
1092
+ .input-suffix {
1093
+ color: grey;
1094
+ }
1095
+
1096
+ textarea, textarea:focus {
1097
+ min-height: 100px;
1098
+ width: 100%;
1099
+ height: 100%;
1100
+ border-radius: 10px;
1101
+ border-color: #8F9BB3;
1102
+ outline: none !important;
1103
+ resize: none;
1104
+ }
1105
+ }
1106
+
1107
+ label {
1108
+ font-size: 1.5rem;
1109
+ font-weight: 600;
1110
+ }
1111
+ }
1112
+
1113
+ > mat-form-field {
1114
+ width: 100%;
1115
+
1116
+ .mat-form-field-wrapper {
1117
+ .mat-form-field-infix {
1118
+ textarea {
1119
+ resize: none;
1120
+ }
1121
+ }
1122
+ }
1123
+ }
1124
+ }
1125
+
1126
+ .btn-area {
1127
+ text-align: center;
1128
+ display: block !important;
1129
+ }
1130
+ }
1131
+
1132
+ cva-upload-file.banner-image .label {
1133
+ height: 48px;
1134
+ display: flex;
1135
+ align-items: center;
1136
+ }
1137
+
1138
+ // Upload image
1139
+ .upload-area {
1140
+ .previewInit {
1141
+ i {
1142
+ cursor: pointer;
1143
+ margin: 0 5px;
1144
+ }
1145
+
1146
+ div {
1147
+ margin-bottom: 5px;
1148
+ }
1149
+ }
1150
+ }
1151
+
1152
+ .upload_thumbnail {
1153
+ .upload {
1154
+ align-items: flex-start;
1155
+ }
1156
+
1157
+ .upload_content {
1158
+ height: 175px;
1159
+ }
1160
+
1161
+ .imagePreview {
1162
+ border: none !important;
1163
+ max-width: initial !important;
1164
+ height: 100% !important;
1165
+ }
1166
+
1167
+ .mat-card-content {
1168
+ min-height: 0 !important;
1169
+ }
1170
+
1171
+ .divImgInit, .divImg {
1172
+ padding: 0 !important;
1173
+ display: flex;
1174
+ place-content: center;
1175
+ align-items: center;
1176
+ }
1177
+
1178
+ .image_wrapper {
1179
+ position: absolute;
1180
+ top: 0;
1181
+ bottom: 0;
1182
+ right: 0;
1183
+ left: 0;
1184
+ display: flex;
1185
+ place-content: center;
1186
+ align-items: center;
1187
+ cursor: pointer;
1188
+ -webkit-transition: .5s;
1189
+ -o-transition: .5s;
1190
+ transition: .5s;
1191
+
1192
+ i {
1193
+ color: white;
1194
+ position: relative;
1195
+ font-size: 30px;
1196
+ opacity: 0;
1197
+ -webkit-transition: .5s;
1198
+ -o-transition: .5s;
1199
+ transition: .5s;
1200
+ }
1201
+
1202
+ &:hover {
1203
+ background-color: rgba(0, 0, 0, 0.4);
1204
+
1205
+ i {
1206
+ opacity: 1;
1207
+ }
1208
+ }
1209
+ }
1210
+
1211
+ #popup_container {
1212
+ opacity: 0;
1213
+ height: 100%;
1214
+ width: 100%;
1215
+ z-index: -1;
1216
+ -webkit-transition: .8s;
1217
+ -o-transition: .8s;
1218
+ transition: .8s;
1219
+
1220
+ &.show {
1221
+ opacity: 1;
1222
+ position: fixed;
1223
+ top: 0;
1224
+ bottom: 0;
1225
+ right: 0;
1226
+ left: 0;
1227
+ background-color: transparent;
1228
+ display: flex;
1229
+ z-index: 2;
1230
+
1231
+ &.squarelike, &.height {
1232
+ .popup_content {
1233
+ height: 80%;
1234
+ max-width: 80%;
1235
+ }
1236
+ }
1237
+
1238
+ &.width .popup_content {
1239
+ max-height: 80%;
1240
+ width: 80%;
1241
+ }
1242
+
1243
+ .popup_content {
1244
+ margin: auto;
1245
+ overflow: auto;
1246
+ z-index: 2;
1247
+ box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
1248
+ }
1249
+
1250
+ .popup_close {
1251
+ position: relative;
1252
+ text-align: right;
1253
+ top: -15px;
1254
+ left: -15px;
1255
+
1256
+ button {
1257
+ display: initial;
1258
+ top: initial;
1259
+ }
1260
+ }
1261
+
1262
+ img {
1263
+ display: block;
1264
+ }
1265
+ }
1266
+
1267
+ &.squarelike, &.height {
1268
+ img {
1269
+ height: 100%;
1270
+ }
1271
+ }
1272
+
1273
+ &.width img {
1274
+ width: 100%;
1275
+ }
1276
+
1277
+ img {
1278
+ display: none;
1279
+ }
1280
+
1281
+ .popup_close button {
1282
+ position: fixed;
1283
+ width: 35px;
1284
+ height: 35px;
1285
+ padding-bottom: 3px;
1286
+ color: white;
1287
+ background-color: black;
1288
+ border: 1px solid white;
1289
+ border-radius: 50%;
1290
+ font-size: 20px;
1291
+ cursor: pointer;
1292
+ outline: none;
1293
+ display: none;
1294
+ }
1295
+
1296
+ }
1297
+ }
1298
+
1299
+ .resizer.bottom {
1300
+ height: 5px;
1301
+ background: transparent;
1302
+ position: absolute;
1303
+ bottom: 0;
1304
+ width: 100%;
1305
+ cursor: n-resize;
1306
+ }
1307
+
1308
+ .resizer:before {
1309
+ font-family: "FontAwesome";
1310
+ content: "\f0dc";
1311
+ position: absolute;
1312
+ bottom: 5px;
1313
+ left: 5px;
1314
+ font-size: 20px;
1315
+ text-align: center;
1316
+ }
1317
+
1318
+ // Form
1319
+ app-ns-dialog-choose .mat-form-field-wrapper,
1320
+ ns-choose-category .mat-form-field-wrapper,
1321
+ cva-counter-input .mat-form-field-wrapper,
1322
+ cva-input .mat-form-field-wrapper,
1323
+ cva-multi-select-autocomplete .mat-form-field-wrapper,
1324
+ cva-range-date-picker .mat-form-field-wrapper,
1325
+ cva-date-picker .mat-form-field-wrapper {
1326
+ margin: 0 0 5px 0 !important;
1327
+ padding-bottom: 15px !important;
1328
+ }
1329
+
1330
+ .mat-form-field-appearance-outline .mat-form-field-flex {
1331
+ padding: 0 10px !important;
1332
+ margin: 0 !important;
1333
+ }
1334
+
1335
+ .mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple {
1336
+ height: 2px !important;
1337
+ }
1338
+
1339
+ .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,
1340
+ .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent {
1341
+ background-color: #a13c1c;
1342
+ }
1343
+
1344
+ .labelOutside mat-label .label {
1345
+ height: 48px;
1346
+ display: flex;
1347
+ align-items: center;
1348
+ white-space: pre-line;
1349
+ }
1350
+
1351
+ .float_label {
1352
+ .mat-form-field-wrapper {
1353
+ padding-top: 22px !important;
1354
+ }
1355
+ }
1356
+
1357
+ .label_width {
1358
+ min-width: 165px;
1359
+ max-width: 165px;
1360
+ }
1361
+
1362
+ cva-input.text_area .float_label mat-form-field.mat-form-field-should-float .mat-form-field-label {
1363
+ transform: translateY(-50px) scale(0.8) !important;
1364
+ }
1365
+
1366
+ .mat-form-field-type-mat-date-range-input .mat-form-field-infix {
1367
+ width: auto !important;
1368
+ }
1369
+
1370
+ fieldset {
1371
+ width: 100%;
1372
+ min-width: 0;
1373
+ border: none;
1374
+ padding: 15px 5px;
1375
+ margin-bottom: 20px !important;
1376
+ padding-inline-end: 0;
1377
+ padding-block-end: 0;
1378
+ margin-inline-end: 0;
1379
+ margin-inline-start: 0;
1380
+ /* padding-block-start: 0; */
1381
+ padding-inline-start: 0;
1382
+
1383
+ legend {
1384
+ color: black;
1385
+ font-weight: bold;
1386
+ text-transform: uppercase;
1387
+ padding-inline-start: 0;
1388
+ margin-inline-start: 10px;
1389
+ }
1390
+
1391
+ .row-wrap-padding {
1392
+ padding: 0 !important;
1393
+ margin-bottom: 10px;
1394
+ }
1395
+
1396
+ fieldset, app-policy-recent mat-table {
1397
+ box-shadow: none !important;
1398
+ }
1399
+ }
1400
+
1401
+ .fieldSetContent {
1402
+ padding: 0 10px;
1403
+ }
1404
+
1405
+ .field_title {
1406
+ margin-bottom: 10px;
1407
+ }
1408
+
1409
+ .field_name {
1410
+ margin-bottom: 8px;
1411
+ }
1412
+
1413
+ .field_content {
1414
+ margin-bottom: 20px;
1415
+ word-break: break-word;
1416
+ }
1417
+
1418
+ quill-editor {
1419
+ margin-bottom: 10px;
1420
+
1421
+ .ql-toolbar {
1422
+ border: 1px solid rgba(0, 0, 0, 0.2);
1423
+
1424
+ .ql-picker.ql-expanded .ql-picker-label,
1425
+ button:hover, button:focus, button:focus, button.ql-active, button.ql-active,
1426
+ .ql-picker-label:hover, .ql-picker-label:hover, .ql-picker-label.ql-active, .ql-picker-label.ql-active,
1427
+ .ql-picker-item:hover, .ql-picker-item:hover, .ql-picker-item.ql-selected, .ql-picker-item.ql-selected {
1428
+ color: #f44336;
1429
+
1430
+ .ql-stroke, .ql-stroke-miter {
1431
+ stroke: #f44336;
1432
+ }
1433
+ }
1434
+
1435
+ .ql-fill, .ql-stroke.ql-fill, .ql-stroke {
1436
+ -webkit-transition: .5s;
1437
+ -o-transition: .5s;
1438
+ transition: .5s;
1439
+ }
1440
+
1441
+ .ql-picker {
1442
+ -webkit-transition: .5s;
1443
+ -o-transition: .5s;
1444
+ transition: .5s;
1445
+
1446
+ .ql-picker-label {
1447
+ outline: none;
1448
+ -webkit-transition: .5s;
1449
+ -o-transition: .5s;
1450
+ transition: .5s;
1451
+ }
1452
+
1453
+ .ql-picker-options .ql-picker-item {
1454
+ color: black;
1455
+ }
1456
+ }
1457
+ }
1458
+
1459
+ .ql-container {
1460
+ height: auto;
1461
+
1462
+ .ql-editor {
1463
+ background-color: white;
1464
+ caret-color: black;
1465
+
1466
+ p, ol, ul, pre, blockquote, h1, h2, h3, h4, h5, h6 {
1467
+ color: black;
1468
+ }
1469
+ }
1470
+ }
1471
+ }
1472
+
1473
+ // Button
1474
+ button {
1475
+ &.mat-button {
1476
+ white-space: initial !important;
1477
+ line-height: initial !important;
1478
+
1479
+ i {
1480
+ margin-right: 5px;
1481
+ }
1482
+ }
1483
+
1484
+ .mat-button-wrapper {
1485
+ display: flex;
1486
+ place-content: center;
1487
+ align-items: center;
1488
+ }
1489
+ }
1490
+
1491
+ // Title
1492
+ .form_title {
1493
+ width: 100%;
1494
+ font-size: 20px;
1495
+ font-weight: bold;
1496
+ padding: 0 10px;
1497
+ margin-bottom: 20px;
1498
+ }
1499
+
1500
+ .popup_title {
1501
+ text-align: center;
1502
+ font-size: 24px;
1503
+ font-weight: bold;
1504
+ padding: 20px 15px;
1505
+ }
1506
+
1507
+ app-policy-info-dialog .modal_container {
1508
+ padding: 0 10px;
1509
+ height: 80vh;
1510
+ overflow: auto;
1511
+ }
1512
+
1513
+ app-policy-info-dialog .btn-sec {
1514
+ display: flex;
1515
+ place-content: flex-end;
1516
+ align-items: flex-end;
1517
+ padding: 15px;
1518
+ }
1519
+
1520
+ app-policy-info-dialog .btn-sec button {
1521
+ z-index: 2;
1522
+ }
1523
+
1524
+ .buttonArea {
1525
+ width: 100%;
1526
+ text-align: center;
1527
+ margin-bottom: 15px;
1528
+
1529
+ &.left {
1530
+ text-align: left;
1531
+ }
1532
+
1533
+ &.right {
1534
+ text-align: right;
1535
+ }
1536
+
1537
+ &.space-between {
1538
+ display: flex;
1539
+ place-content: space-between;
1540
+ }
1541
+ }
1542
+
1543
+ .mat-expansion-panel-body {
1544
+ padding: 0 20px;
1545
+ }
1546
+
1547
+ // TablePagingRequestModel
1548
+ .paging {
1549
+ margin-top: 5px;
1550
+ }
1551
+
1552
+ mat-paginator {
1553
+ flex: auto;
1554
+
1555
+ .mat-paginator-container {
1556
+ place-content: space-between;
1557
+ white-space: nowrap;
1558
+ }
1559
+
1560
+ .mat-paginator-page-size .mat-form-field-wrapper {
1561
+ padding-bottom: 0;
1562
+ }
1563
+
1564
+ .mat-custom-page {
1565
+ background-color: transparent !important;
1566
+ box-shadow: none !important;
1567
+ width: auto;
1568
+ margin: 0 5px !important;
1569
+ }
1570
+
1571
+ .mat-focus-indicator {
1572
+ width: auto;
1573
+ }
1574
+
1575
+ .mat-paginator-icon {
1576
+ width: 24px;
1577
+ }
1578
+
1579
+ .mat-paginator-navigation-previous:before {
1580
+ content: "\f060";
1581
+ font-family: "Font Awesome 5 Pro";
1582
+ position: absolute;
1583
+ top: 9px;
1584
+ left: 5px;
1585
+ font-weight: bold;
1586
+ }
1587
+
1588
+ .mat-paginator-navigation-next:after {
1589
+ content: "\f061";
1590
+ font-family: "Font Awesome 5 Pro";
1591
+ position: absolute;
1592
+ top: 1px;
1593
+ right: 5px;
1594
+ font-weight: bold;
1595
+ }
1596
+
1597
+ .mat-paginator-navigation-previous span,
1598
+ .mat-paginator-navigation-next span {
1599
+ opacity: 0;
1600
+ }
1601
+
1602
+ .mat-form-field-underline {
1603
+ bottom: 0 !important;
1604
+ }
1605
+ }
1606
+
1607
+ .go-to-page {
1608
+ place-content: flex-end !important;
1609
+ align-items: center !important;
1610
+ flex: 20%;
1611
+
1612
+ .mat-form-field-appearance-outline .mat-form-field-infix {
1613
+ padding: 5px 0;
1614
+ }
1615
+
1616
+ .mat-form-field-flex .mat-form-field-infix {
1617
+ min-width: 45px;
1618
+ width: 45px;
1619
+ }
1620
+
1621
+ .mat-form-field-wrapper {
1622
+ padding-top: 4px;
1623
+ padding-bottom: 2px !important;
1624
+ margin: 0 !important;
1625
+ }
1626
+
1627
+ .mat-button-base {
1628
+ background-color: transparent;
1629
+ }
1630
+
1631
+ .cva-counter-input,
1632
+ .mat-form-field {
1633
+ padding: 0;
1634
+ }
1635
+ }
1636
+
1637
+ .mat-menu-trigger {
1638
+ position: absolute !important;
1639
+ right: 20px;
1640
+ border: 1px solid transparent !important;
1641
+ width: 32px !important;
1642
+ height: 32px !important;
1643
+ margin-top: 10px !important;
1644
+ line-height: 32px !important;
1645
+
1646
+ &:hover {
1647
+ background-color: #ececec !important;
1648
+ border: 1px solid black !important;
1649
+ }
1650
+
1651
+ .mat-icon {
1652
+ color: #222222;
1653
+ font-size: 20px !important;
1654
+ font-weight: 100 !important;
1655
+ transform: rotateY(45deg);
1656
+ }
1657
+ }
1658
+
1659
+ .mat-menu-panel {
1660
+ min-width: 0 !important;
1661
+ max-width: initial !important;
1662
+ overflow: initial !important;
1663
+ background-color: transparent !important;
1664
+ box-shadow: none !important;
1665
+ }
1666
+
1667
+ .mat-menu-panel .mat-menu-content {
1668
+ background-color: white;
1669
+ box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
1670
+ }
1671
+
1672
+ .mat-menu-panel .header-menu-expand {
1673
+ border-bottom: 1px solid #E9E9E9;
1674
+ padding: 5px;
1675
+ }
1676
+
1677
+ .mat-menu-panel .choose-area {
1678
+ overflow: auto;
1679
+ max-height: 400px;
1680
+ }
1681
+
1682
+ .mat-menu-panel .mat-menu-item {
1683
+ height: auto;
1684
+ line-height: 35px;
1685
+ }
1686
+
1687
+ app-common-ckeditor label {
1688
+ margin-bottom: 10px;
1689
+ }
1690
+
1691
+ app-common-ckeditor .ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items {
1692
+ flex-wrap: wrap !important;
1693
+ }
1694
+
1695
+ .reject_reason {
1696
+ > h6 {
1697
+ color: #FF645C;
1698
+ }
1699
+
1700
+ > div {
1701
+ color: #4E4E4E;
1702
+ background-color: #FFF0EF;
1703
+ padding: 10px;
1704
+ border-radius: 8px;
1705
+ white-space: pre-line;
1706
+ }
1707
+ }
1708
+
1709
+ .image_list {
1710
+ display: flex;
1711
+ width: 100%;
1712
+ overflow: auto;
1713
+
1714
+ .cva-multi-upload {
1715
+ margin-right: 15px;
1716
+
1717
+ &:first-child {
1718
+ margin-left: 10px;
1719
+ }
1720
+ }
1721
+ }
1722
+
1723
+ .mat-calendar-previous-button:after, .mat-calendar-next-button:after {
1724
+ margin: 12px !important;
1725
+ }
1726
+
1727
+ // Selectable list
1728
+ .selectable_list {
1729
+ width: 100%;
1730
+
1731
+ ul {
1732
+ list-style: none;
1733
+ margin: 0 5px;
1734
+ padding: 0;
1735
+
1736
+ li {
1737
+ position: relative;
1738
+ padding-left: 20px;
1739
+ border-left: 1px solid #D3D3D3;
1740
+
1741
+ &:before {
1742
+ font-family: "Font Awesome 5 Pro";
1743
+ content: "\f111";
1744
+ position: absolute;
1745
+ top: 0;
1746
+ left: -10px;
1747
+ font-size: 20px;
1748
+ font-weight: bold;
1749
+ color: #E9E9E9;
1750
+ background-color: white;
1751
+ border-radius: 50%;
1752
+ cursor: pointer;
1753
+ }
1754
+
1755
+ &.completed,
1756
+ &.active {
1757
+ * {
1758
+ pointer-events: initial;
1759
+ }
1760
+ }
1761
+
1762
+ &.active:before {
1763
+ color: #FFA903;
1764
+ font-weight: 100;
1765
+ }
1766
+
1767
+ &.completed {
1768
+ border-left: 1px solid #FFBE41;
1769
+ }
1770
+
1771
+ &.completed:before {
1772
+ color: #FFA903;
1773
+ font-weight: bold;
1774
+ }
1775
+
1776
+ &.disabled {
1777
+ * {
1778
+ color: #7f7f7f;
1779
+ pointer-events: none;
1780
+ }
1781
+ }
1782
+
1783
+ &:last-child {
1784
+ border-left: none;
1785
+ }
1786
+
1787
+ > div > div > label, > label {
1788
+ display: block;
1789
+ color: #222222;
1790
+ font-size: 16px;
1791
+ font-weight: 500;
1792
+ padding-top: 2px;
1793
+ margin-bottom: 5px;
1794
+ cursor: pointer;
1795
+ }
1796
+
1797
+ .products {
1798
+ margin-top: -8px;
1799
+ }
1800
+
1801
+ @media screen and (max-width: 990px) {
1802
+ .products {
1803
+ margin-top: 0;
1804
+ }
1805
+ }
1806
+
1807
+ .variations {
1808
+ background-color: #F9F9F9;
1809
+ padding: 20px;
1810
+
1811
+ .variation_wrap {
1812
+ position: relative;
1813
+ margin-bottom: 20px;
1814
+ }
1815
+
1816
+ .variation_title {
1817
+ width: 100%;
1818
+ font-weight: bold;
1819
+ margin-bottom: 20px;
1820
+ }
1821
+
1822
+ .deleteVariation {
1823
+ position: absolute;
1824
+ top: 10px;
1825
+ right: 15px;
1826
+ }
1827
+
1828
+ .variation_list {
1829
+ padding-right: 15px;
1830
+
1831
+ > div > div > label {
1832
+ height: 48px;
1833
+ display: flex;
1834
+ place-content: flex-start;
1835
+ align-items: center;
1836
+ word-break: break-word;
1837
+ font-weight: bold;
1838
+ margin-right: 5px;
1839
+ }
1840
+
1841
+ @media screen and (max-width: 767px) {
1842
+ padding-right: 0;
1843
+
1844
+ > div > div > label {
1845
+ height: auto;
1846
+ margin-bottom: 5px;
1847
+ }
1848
+ }
1849
+ }
1850
+
1851
+ .variation_reward {
1852
+ padding-left: 15px;
1853
+ border-left: 1px solid #D3D3D3;
1854
+
1855
+ > div > div > label {
1856
+ height: 48px;
1857
+ display: flex;
1858
+ place-content: center;
1859
+ align-items: center;
1860
+ word-break: break-word;
1861
+ font-weight: bold;
1862
+ margin-right: 5px;
1863
+ }
1864
+
1865
+ > div > span {
1866
+ color: #7A7A7A;
1867
+ font-size: 14px;
1868
+ }
1869
+
1870
+ @media screen and (max-width: 767px) {
1871
+ padding-top: 20px;
1872
+ padding-left: 0;
1873
+ border-left: none;
1874
+ border-top: 1px solid #D3D3D3;
1875
+
1876
+ > div > div > label {
1877
+ place-content: flex-start;
1878
+ height: 24px;
1879
+ }
1880
+
1881
+ .reward_discount {
1882
+ padding-left: 0;
1883
+ align-items: flex-start;
1884
+ height: auto;
1885
+ margin-bottom: 20px;
1886
+ }
1887
+ }
1888
+ }
1889
+
1890
+ .variation_detail {
1891
+ align-items: baseline;
1892
+
1893
+ > h6, > span, > cva-counter-input {
1894
+ margin-right: 5px;
1895
+ }
1896
+
1897
+ > span {
1898
+ color: #7A7A7A;
1899
+ }
1900
+
1901
+ > div {
1902
+ align-items: baseline;
1903
+
1904
+ > span, > cva-counter-input {
1905
+ margin-right: 5px;
1906
+ }
1907
+
1908
+ > span {
1909
+ color: #7A7A7A;
1910
+ }
1911
+ }
1912
+
1913
+ .and {
1914
+ margin: 0 0 15px 0;
1915
+ }
1916
+
1917
+ mat-form-field {
1918
+ width: 120px;
1919
+ }
1920
+ }
1921
+
1922
+ .mat-form-field-label-wrapper {
1923
+ display: none !important;
1924
+ }
1925
+ }
1926
+ }
1927
+ }
1928
+ }
1929
+
1930
+ .unselectable_list {
1931
+ .variation_list {
1932
+ .variation {
1933
+ background-color: #F9F9F9;
1934
+ padding: 20px;
1935
+ margin-bottom: 20px;
1936
+ border-radius: 10px;
1937
+ position: relative;
1938
+
1939
+ .variation_detail {
1940
+ align-items: baseline;
1941
+
1942
+ > div {
1943
+ align-items: baseline;
1944
+
1945
+ > h6, > span, > cva-counter-input {
1946
+ margin-right: 5px;
1947
+ }
1948
+ }
1949
+
1950
+ > i {
1951
+ font-weight: 100;
1952
+ margin-left: 5px;
1953
+ margin-right: 10px;
1954
+ }
1955
+
1956
+ mat-form-field {
1957
+ width: 120px;
1958
+ }
1959
+ }
1960
+ }
1961
+
1962
+ .variation_title {
1963
+ font-weight: bold;
1964
+ width: 100%;
1965
+ margin-bottom: 20px;
1966
+ }
1967
+
1968
+ .deleteVariation {
1969
+ position: absolute;
1970
+ top: 10px;
1971
+ right: 15px;
1972
+ }
1973
+
1974
+ .variation_buy, .variation_get {
1975
+ b {
1976
+ margin-bottom: 10px;
1977
+ }
1978
+
1979
+ > div > div > span:not(.mat-button-wrapper):not(.mat-button-ripple) {
1980
+ height: 48px;
1981
+ display: flex;
1982
+ align-items: center;
1983
+ padding-left: 5px;
1984
+ }
1985
+ }
1986
+ }
1987
+ }
1988
+
1989
+ // Campaign
1990
+ .campaign-id {
1991
+ color: #222222;
1992
+ font-size: 22px;
1993
+ font-weight: 500;
1994
+ margin-bottom: 20px;
1995
+ }
1996
+
1997
+ .no-even-odd {
1998
+ .table-responsive {
1999
+ border-radius: 10px;
2000
+
2001
+ table {
2002
+ background-color: #F9F9F9;
2003
+
2004
+ thead {
2005
+ tr {
2006
+ th {
2007
+ background-color: #F9F9F9 !important;
2008
+ border-bottom: 1px solid #D3D3D3 !important;
2009
+ }
2010
+ }
2011
+ }
2012
+
2013
+ tbody {
2014
+ tr {
2015
+ td {
2016
+ background-color: #F9F9F9 !important;
2017
+ border-bottom: 1px solid #D3D3D3 !important;
2018
+
2019
+ .cva-counter-input {
2020
+ width: 140px;
2021
+
2022
+ mat-form-field {
2023
+ .mat-form-field-infix {
2024
+ padding: 5px 0;
2025
+ }
2026
+
2027
+ .mat-form-field-subscript-wrapper {
2028
+ position: absolute;
2029
+ white-space: nowrap;
2030
+ overflow: visible;
2031
+ top: 20px;
2032
+ padding: 0 5px;
2033
+ }
2034
+ }
2035
+ }
2036
+
2037
+ .mat-form-field-subscript-wrapper {
2038
+ position: initial;
2039
+
2040
+ .mat-form-field-hint-wrapper {
2041
+ display: block;
2042
+
2043
+ mat-hint {
2044
+ }
2045
+ }
2046
+ }
2047
+ }
2048
+ }
2049
+ }
2050
+ }
2051
+ }
2052
+ }
2053
+
2054
+ .campaign_setting {
2055
+ th {
2056
+ &:nth-child(1) {
2057
+ width: 5%;
2058
+ }
2059
+
2060
+ &:nth-child(2) {
2061
+ width: 10%;
2062
+ }
2063
+
2064
+ &:nth-child(3) {
2065
+ width: 35%;
2066
+ }
2067
+
2068
+ &:nth-child(4) {
2069
+ width: 20%;
2070
+ }
2071
+
2072
+ &:nth-child(5) {
2073
+ width: 20%;
2074
+ }
2075
+
2076
+ &:nth-child(6) {
2077
+ width: 10%;
2078
+ }
2079
+ }
2080
+ }
2081
+
2082
+ .campaign_setting_edit {
2083
+ th {
2084
+ &:nth-child(1) {
2085
+ width: 5%;
2086
+ }
2087
+
2088
+ &:nth-child(2) {
2089
+ width: 10%;
2090
+ }
2091
+
2092
+ &:nth-child(3) {
2093
+ width: 45%;
2094
+ }
2095
+
2096
+ &:nth-child(4) {
2097
+ width: 25%;
2098
+ }
2099
+
2100
+ &:nth-child(5) {
2101
+ width: 15%;
2102
+ }
2103
+ }
2104
+ }
2105
+
2106
+ .result_section {
2107
+ display: flex;
2108
+ place-content: space-between;
2109
+ align-items: center;
2110
+ margin-bottom: 20px;
2111
+
2112
+ h3 {
2113
+ margin-bottom: 0;
2114
+ }
2115
+
2116
+ button:last-child {
2117
+ margin-right: 0;
2118
+ }
2119
+ }
2120
+
2121
+ // Other
2122
+ .show_sm {
2123
+ display: none;
2124
+ }
2125
+
2126
+ .padding-0 {
2127
+ padding: 0;
2128
+ }
2129
+
2130
+ .padding-5 {
2131
+ padding: 5px;
2132
+ }
2133
+
2134
+ .padding-10 {
2135
+ padding: 10px;
2136
+ }
2137
+
2138
+ .padding-15 {
2139
+ padding: 15px;
2140
+ }
2141
+
2142
+ .padding-20 {
2143
+ padding: 20px;
2144
+ }
2145
+
2146
+ .padding-vertical-0 {
2147
+ padding-top: 0;
2148
+ padding-bottom: 0;
2149
+ }
2150
+
2151
+ .padding-vertical-5 {
2152
+ padding-top: 5px;
2153
+ padding-bottom: 5px;
2154
+ }
2155
+
2156
+ .padding-vertical-10 {
2157
+ padding-top: 10px;
2158
+ padding-bottom: 10px;
2159
+ }
2160
+
2161
+ .padding-vertical-15 {
2162
+ padding-top: 15px;
2163
+ padding-bottom: 15px;
2164
+ }
2165
+
2166
+ .padding-vertical-20 {
2167
+ padding-top: 20px;
2168
+ padding-bottom: 20px;
2169
+ }
2170
+
2171
+ .padding-horizontal-0 {
2172
+ padding-left: 0;
2173
+ padding-right: 0;
2174
+ }
2175
+
2176
+ .padding-horizontal-5 {
2177
+ padding-left: 5px;
2178
+ padding-right: 5px;
2179
+ }
2180
+
2181
+ .padding-horizontal-10 {
2182
+ padding-left: 10px;
2183
+ padding-right: 10px;
2184
+ }
2185
+
2186
+ .padding-horizontal-15 {
2187
+ padding-left: 15px;
2188
+ padding-right: 15px;
2189
+ }
2190
+
2191
+ .padding-horizontal-20 {
2192
+ padding-left: 20px;
2193
+ padding-right: 20px;
2194
+ }
2195
+
2196
+ .padding-top-0 {
2197
+ padding-top: 0;
2198
+ }
2199
+
2200
+ .padding-right-0 {
2201
+ padding-right: 0;
2202
+ }
2203
+
2204
+ .padding-bottom-0 {
2205
+ padding-bottom: 0;
2206
+ }
2207
+
2208
+ .padding-left-0 {
2209
+ padding-left: 0;
2210
+ }
2211
+
2212
+ .padding-top-5 {
2213
+ padding-top: 5px;
2214
+ }
2215
+
2216
+ .padding-right-5 {
2217
+ padding-right: 5px;
2218
+ }
2219
+
2220
+ .padding-bottom-5 {
2221
+ padding-bottom: 5px;
2222
+ }
2223
+
2224
+ .padding-left-5 {
2225
+ padding-left: 5px;
2226
+ }
2227
+
2228
+ .padding-top-10 {
2229
+ padding-top: 10px;
2230
+ }
2231
+
2232
+ .padding-right-10 {
2233
+ padding-right: 10px;
2234
+ }
2235
+
2236
+ .padding-bottom-10 {
2237
+ padding-bottom: 10px;
2238
+ }
2239
+
2240
+ .padding-left-10 {
2241
+ padding-left: 10px;
2242
+ }
2243
+
2244
+ .padding-top-15 {
2245
+ padding-top: 15px;
2246
+ }
2247
+
2248
+ .padding-right-15 {
2249
+ padding-right: 15px;
2250
+ }
2251
+
2252
+ .padding-bottom-15 {
2253
+ padding-bottom: 15px;
2254
+ }
2255
+
2256
+ .padding-left-15 {
2257
+ padding-left: 15px;
2258
+ }
2259
+
2260
+ .padding-top-20 {
2261
+ padding-top: 20px;
2262
+ }
2263
+
2264
+ .padding-right-20 {
2265
+ padding-right: 20px;
2266
+ }
2267
+
2268
+ .padding-bottom-20 {
2269
+ padding-bottom: 20px;
2270
+ }
2271
+
2272
+ .padding-left-20 {
2273
+ padding-left: 20px;
2274
+ }
2275
+
2276
+ .margin-0 {
2277
+ margin: 0;
2278
+ }
2279
+
2280
+ .margin-5 {
2281
+ margin: 5px;
2282
+ }
2283
+
2284
+ .margin-10 {
2285
+ margin: 10px;
2286
+ }
2287
+
2288
+ .margin-15 {
2289
+ margin: 15px;
2290
+ }
2291
+
2292
+ .margin-20 {
2293
+ margin: 20px;
2294
+ }
2295
+
2296
+ .margin-vertical-0 {
2297
+ margin-top: 0;
2298
+ margin-bottom: 0;
2299
+ }
2300
+
2301
+ .margin-vertical-5 {
2302
+ margin-top: 5px;
2303
+ margin-bottom: 5px;
2304
+ }
2305
+
2306
+ .margin-vertical-10 {
2307
+ margin-top: 10px;
2308
+ margin-bottom: 10px;
2309
+ }
2310
+
2311
+ .margin-vertical-15 {
2312
+ margin-top: 15px;
2313
+ margin-bottom: 15px;
2314
+ }
2315
+
2316
+ .margin-vertical-20 {
2317
+ margin-top: 20px;
2318
+ margin-bottom: 20px;
2319
+ }
2320
+
2321
+ .margin-horizontal-0 {
2322
+ margin-left: 0;
2323
+ margin-right: 0;
2324
+ }
2325
+
2326
+ .margin-horizontal-5 {
2327
+ margin-left: 5px;
2328
+ margin-right: 5px;
2329
+ }
2330
+
2331
+ .margin-horizontal-10 {
2332
+ margin-left: 10px;
2333
+ margin-right: 10px;
2334
+ }
2335
+
2336
+ .margin-horizontal-15 {
2337
+ margin-left: 15px;
2338
+ margin-right: 15px;
2339
+ }
2340
+
2341
+ .margin-horizontal-20 {
2342
+ margin-left: 20px;
2343
+ margin-right: 20px;
2344
+ }
2345
+
2346
+ .margin-top-0 {
2347
+ margin-top: 0;
2348
+ }
2349
+
2350
+ .margin-right-0 {
2351
+ margin-right: 0;
2352
+ }
2353
+
2354
+ .margin-bottom-0 {
2355
+ margin-bottom: 0;
2356
+ }
2357
+
2358
+ .margin-left-0 {
2359
+ margin-left: 0;
2360
+ }
2361
+
2362
+ .margin-top-5 {
2363
+ margin-top: 5px;
2364
+ }
2365
+
2366
+ .margin-right-5 {
2367
+ margin-right: 5px;
2368
+ }
2369
+
2370
+ .margin-bottom-5 {
2371
+ margin-bottom: 5px;
2372
+ }
2373
+
2374
+ .margin-left-5 {
2375
+ margin-left: 5px;
2376
+ }
2377
+
2378
+ .margin-top-10 {
2379
+ margin-top: 10px;
2380
+ }
2381
+
2382
+ .margin-right-10 {
2383
+ margin-right: 10px;
2384
+ }
2385
+
2386
+ .margin-bottom-10 {
2387
+ margin-bottom: 10px;
2388
+ }
2389
+
2390
+ .margin-left-10 {
2391
+ margin-left: 10px;
2392
+ }
2393
+
2394
+ .margin-top-15 {
2395
+ margin-top: 15px;
2396
+ }
2397
+
2398
+ .margin-right-15 {
2399
+ margin-right: 15px;
2400
+ }
2401
+
2402
+ .margin-bottom-15 {
2403
+ margin-bottom: 15px;
2404
+ }
2405
+
2406
+ .margin-left-15 {
2407
+ margin-left: 15px;
2408
+ }
2409
+
2410
+ .margin-top-20 {
2411
+ margin-top: 20px;
2412
+ }
2413
+
2414
+ .margin-right-20 {
2415
+ margin-right: 20px;
2416
+ }
2417
+
2418
+ .margin-bottom-20 {
2419
+ margin-bottom: 20px;
2420
+ }
2421
+
2422
+ .margin-left-20 {
2423
+ margin-left: 20px;
2424
+ }
2425
+
2426
+ .full-height {
2427
+ height: 100%;
2428
+ }
2429
+
2430
+ .full-width {
2431
+ width: 100%;
2432
+ }
2433
+
2434
+ .text-center {
2435
+ text-align: center;
2436
+ }
2437
+
2438
+ // Table
2439
+ .table-responsive {
2440
+ width: 100%;
2441
+ margin-bottom: 20px;
2442
+ overflow-y: hidden;
2443
+ -ms-overflow-style: -ms-autohiding-scrollbar;
2444
+
2445
+ //cdk-virtual-scroll-viewport {
2446
+ // height: inherit;
2447
+
2448
+ table {
2449
+ width: 100%;
2450
+ overflow: auto;
2451
+ border-collapse: collapse;
2452
+
2453
+ thead {
2454
+ tr {
2455
+ z-index: 2;
2456
+
2457
+ th {
2458
+ font-weight: bold;
2459
+ padding: 15px 5px;
2460
+ }
2461
+ }
2462
+ }
2463
+
2464
+ tbody {
2465
+ tr {
2466
+ td {
2467
+ padding: 6px 5px;
2468
+ word-break: break-word;
2469
+ vertical-align: middle;
2470
+ height: 40px;
2471
+ }
2472
+ }
2473
+ }
2474
+
2475
+ tfoot {
2476
+
2477
+ }
2478
+
2479
+ th, td {
2480
+ &.opacity {
2481
+ > div {
2482
+ opacity: 0;
2483
+ }
2484
+
2485
+ > cva-counter-input {
2486
+ visibility: hidden;
2487
+ }
2488
+ }
2489
+
2490
+ &.normal {
2491
+ > div {
2492
+ word-break: normal;
2493
+ }
2494
+ }
2495
+
2496
+ &.nowrap {
2497
+ > div {
2498
+ white-space: nowrap;
2499
+ }
2500
+ }
2501
+
2502
+ &.pre-line {
2503
+ > div {
2504
+ white-space: pre-line;
2505
+ }
2506
+ }
2507
+
2508
+ &.ellipsis {
2509
+ > div {
2510
+ display: -webkit-box !important;
2511
+ overflow: hidden;
2512
+ text-overflow: ellipsis;
2513
+ -webkit-line-clamp: 1;
2514
+ -webkit-box-orient: vertical;
2515
+ }
2516
+ }
2517
+ }
2518
+ }
2519
+
2520
+ .mat-table {
2521
+ display: table;
2522
+ width: 100%;
2523
+ overflow: auto;
2524
+
2525
+ .mat-header-row {
2526
+ display: table-row;
2527
+ min-height: 0;
2528
+ z-index: 2;
2529
+
2530
+ .mat-header-cell {
2531
+ font-size: 14px;
2532
+ font-weight: bold;
2533
+ display: table-cell;
2534
+ padding: 15px 5px;
2535
+
2536
+ &:last-child {
2537
+ > div:after {
2538
+ content: "⠀";
2539
+ margin-left: 25px;
2540
+ }
2541
+
2542
+ &.no-space > div:after {
2543
+ display: none;
2544
+ }
2545
+ }
2546
+
2547
+ &.mat-column-edit, &.mat-column-view {
2548
+ width: 5%;
2549
+ }
2550
+ }
2551
+ }
2552
+
2553
+ .mat-row {
2554
+ display: table-row;
2555
+ min-height: 0;
2556
+
2557
+ .mat-cell {
2558
+ display: table-cell;
2559
+ padding: 6px 5px;
2560
+ word-break: break-word;
2561
+ vertical-align: middle;
2562
+ height: 40px;
2563
+ }
2564
+ }
2565
+
2566
+ .mat-footer-cell {
2567
+ font-weight: bold;
2568
+ padding: 5px;
2569
+ }
2570
+
2571
+ .mat-header-cell, .mat-cell, .mat-footer-cell {
2572
+ &:first-child {
2573
+ vertical-align: middle;
2574
+ padding-left: 15px;
2575
+ }
2576
+
2577
+ &.opacity {
2578
+ > div {
2579
+ opacity: 0;
2580
+ }
2581
+
2582
+ > cva-counter-input {
2583
+ visibility: hidden;
2584
+ }
2585
+ }
2586
+
2587
+ &.normal {
2588
+ > div {
2589
+ word-break: normal;
2590
+ }
2591
+ }
2592
+
2593
+ &.nowrap {
2594
+ > div {
2595
+ white-space: nowrap;
2596
+ }
2597
+ }
2598
+
2599
+ &.pre-line {
2600
+ > div {
2601
+ white-space: pre-line;
2602
+ }
2603
+ }
2604
+
2605
+ &.ellipsis {
2606
+ > div {
2607
+ display: -webkit-box !important;
2608
+ overflow: hidden;
2609
+ text-overflow: ellipsis;
2610
+ -webkit-line-clamp: 1;
2611
+ -webkit-box-orient: vertical;
2612
+ }
2613
+ }
2614
+ }
2615
+
2616
+ .mat-cell.mat-column-remove,
2617
+ .mat-header-cell.mat-column-remove {
2618
+ width: 40px;
2619
+ text-align: center;
2620
+ max-width: initial;
2621
+ min-width: initial;
2622
+ }
2623
+
2624
+ mat-form-field {
2625
+ .mat-placeholder-required {
2626
+ display: none;
2627
+ }
2628
+ }
2629
+ }
2630
+
2631
+ &.fixed_header {
2632
+ overflow: auto;
2633
+ max-height: 550px;
2634
+ padding: 0;
2635
+
2636
+ .mat-table {
2637
+ border-collapse: separate;
2638
+
2639
+ .mat-header-row {
2640
+ position: sticky;
2641
+ top: 0px;
2642
+
2643
+ .mat-header-cell {
2644
+ &.mat-column-expandColumn {
2645
+ vertical-align: top;
2646
+ padding: 8px 0;
2647
+ }
2648
+ }
2649
+ }
2650
+ }
2651
+ }
2652
+
2653
+ &.fixed_footer {
2654
+ .mat-footer-cell {
2655
+ position: sticky;
2656
+ bottom: 0px;
2657
+ }
2658
+ }
2659
+
2660
+ .campaign_table {
2661
+ width: calc(100% - 0.3px);
2662
+ margin-left: 0.3px;
2663
+ border-collapse: collapse;
2664
+
2665
+ thead {
2666
+ tr {
2667
+ th {
2668
+ text-align: left;
2669
+ padding: 15px;
2670
+ }
2671
+ }
2672
+ }
2673
+
2674
+ tbody {
2675
+ tr {
2676
+ vertical-align: top;
2677
+ border: 1px solid #E9E9E9;
2678
+
2679
+ &:nth-of-type(even) {
2680
+ background-color: transparent !important;
2681
+ }
2682
+
2683
+ &:hover {
2684
+ background-color: transparent !important;
2685
+ }
2686
+
2687
+ &.space {
2688
+ border: none;
2689
+
2690
+ td {
2691
+ margin: 0 -20px;
2692
+ padding: 0;
2693
+ height: 20px;
2694
+
2695
+
2696
+ }
2697
+ }
2698
+
2699
+ td {
2700
+ padding: 15px;
2701
+ vertical-align: top;
2702
+
2703
+ .product {
2704
+ display: flex;
2705
+ place-content: space-between;
2706
+ align-items: center;
2707
+
2708
+ &:nth-child(n+2) {
2709
+ padding-top: 15px;
2710
+ }
2711
+
2712
+ > div {
2713
+ margin-right: 10px;
2714
+
2715
+ > label {
2716
+ display: block;
2717
+ color: #7A7A7A;
2718
+ font-size: 14px;
2719
+ margin-bottom: 8px;
2720
+ }
2721
+
2722
+ > b {
2723
+ display: block;
2724
+ margin-bottom: 8px;
2725
+ }
2726
+
2727
+ .description {
2728
+ display: -webkit-box;
2729
+ overflow: hidden;
2730
+ text-overflow: ellipsis;
2731
+ -webkit-line-clamp: 2;
2732
+ -webkit-box-orient: vertical;
2733
+ }
2734
+ }
2735
+
2736
+ .image {
2737
+ display: flex;
2738
+ place-content: center;
2739
+ align-items: center;
2740
+
2741
+ img {
2742
+ border: 1px solid #E9E9E9;
2743
+ border-radius: 6px;
2744
+ height: 50px;
2745
+ width: 50px;
2746
+ }
2747
+ }
2748
+ }
2749
+
2750
+ &.main {
2751
+ .product {
2752
+ > div:nth-child(2) {
2753
+ width: 50%;
2754
+ }
2755
+
2756
+ > div:nth-child(3) {
2757
+ width: 200px;
2758
+ }
2759
+
2760
+ > div:nth-child(4) {
2761
+ width: 120px;
2762
+ }
2763
+ }
2764
+ }
2765
+
2766
+ &.addon {
2767
+ padding-left: 0 !important;
2768
+ padding-right: 0 !important;
2769
+
2770
+ .product {
2771
+ padding-left: 15px;
2772
+ padding-right: 15px;
2773
+ border-left: 1px solid #E9E9E9;
2774
+ border-right: 1px solid #E9E9E9;
2775
+
2776
+ > div:nth-child(1) {
2777
+ width: 5%;
2778
+ }
2779
+
2780
+ > div:nth-child(2) {
2781
+ width: 15%;
2782
+ }
2783
+
2784
+ > div:nth-child(3) {
2785
+ width: 80%;
2786
+ }
2787
+ }
2788
+
2789
+ &:last-child {
2790
+ .product {
2791
+ border-right: none;
2792
+ }
2793
+ }
2794
+ }
2795
+
2796
+ .choose-reward-button {
2797
+ margin-top: 20px;
2798
+ margin-left: 15px;
2799
+ }
2800
+ }
2801
+ }
2802
+
2803
+ &:last-child {
2804
+ tr {
2805
+ &.space {
2806
+ display: none;
2807
+ }
2808
+ }
2809
+ }
2810
+ }
2811
+
2812
+ .variation {
2813
+ > div {
2814
+ position: relative;
2815
+ background-color: #FBFBFB;
2816
+ padding: 20px;
2817
+ margin-bottom: 10px;
2818
+ border-radius: 10px;
2819
+
2820
+ button.mat-icon-button {
2821
+ position: absolute;
2822
+ right: 5px;
2823
+ }
2824
+ }
2825
+ }
2826
+
2827
+ .ellipsis {
2828
+ display: -webkit-box !important;
2829
+ overflow: hidden;
2830
+ text-overflow: ellipsis;
2831
+ -webkit-line-clamp: 1;
2832
+ -webkit-box-orient: vertical;
2833
+ }
2834
+
2835
+ .span-margin {
2836
+ margin-right: 100px;
2837
+ }
2838
+
2839
+ .cva-counter-input {
2840
+ width: 100px;
2841
+ display: inline-block !important;
2842
+ }
2843
+ }
2844
+
2845
+ .item-sale_direct {
2846
+ thead {
2847
+ tr {
2848
+ border-top: 1px solid #D3D3D3;
2849
+ border-bottom: 1px solid #D3D3D3;
2850
+
2851
+ th {
2852
+ text-align: left;
2853
+
2854
+ &.border-left {
2855
+ padding: 0;
2856
+
2857
+ > div {
2858
+ padding: 5px 15px;
2859
+ border-left: 1px solid #D3D3D3;
2860
+ }
2861
+ }
2862
+ }
2863
+ }
2864
+ }
2865
+
2866
+ tbody {
2867
+ tr {
2868
+ &.space {
2869
+ background-color: #f4f9ff;
2870
+
2871
+ &:hover {
2872
+ background-color: #f4f9ff;
2873
+ }
2874
+
2875
+ td {
2876
+ margin: 0 -20px;
2877
+ padding: 0;
2878
+ height: 20px;
2879
+ }
2880
+ }
2881
+
2882
+ td {
2883
+ padding: 20px 5px;
2884
+ vertical-align: baseline;
2885
+
2886
+ &.image {
2887
+ vertical-align: top;
2888
+ padding-top: 10px;
2889
+
2890
+ .ns-image-view {
2891
+ height: 40px;
2892
+ }
2893
+ }
2894
+
2895
+ &.border-left {
2896
+ padding: 0 0 10px 0;
2897
+
2898
+ > div {
2899
+ padding: 5px 15px;
2900
+ border-left: 1px solid #D3D3D3;
2901
+ }
2902
+ }
2903
+ }
2904
+ }
2905
+
2906
+ &:last-child {
2907
+ tr {
2908
+ &.space {
2909
+ display: none;
2910
+ }
2911
+ }
2912
+ }
2913
+ }
2914
+
2915
+ &.edit {
2916
+ tbody {
2917
+ tr {
2918
+ &:nth-of-type(even) {
2919
+ background-color: transparent;
2920
+ }
2921
+
2922
+ &:hover {
2923
+ background-color: transparent;
2924
+ }
2925
+
2926
+ td {
2927
+ &.image {
2928
+ vertical-align: middle;
2929
+
2930
+ .ns-image-view {
2931
+ height: 40px;
2932
+ }
2933
+ }
2934
+ }
2935
+ }
2936
+ }
2937
+
2938
+ .cva-counter-input {
2939
+ width: 100px;
2940
+ display: inline-block !important;
2941
+ }
2942
+ }
2943
+
2944
+ .variation {
2945
+ > div {
2946
+ position: relative;
2947
+ background-color: #FBFBFB;
2948
+ padding: 20px;
2949
+ margin-bottom: 10px;
2950
+ border-radius: 10px;
2951
+
2952
+ button.mat-icon-button {
2953
+ position: absolute;
2954
+ right: 5px;
2955
+ }
2956
+ }
2957
+ }
2958
+
2959
+ .ellipsis {
2960
+ display: -webkit-box !important;
2961
+ overflow: hidden;
2962
+ text-overflow: ellipsis;
2963
+ -webkit-line-clamp: 1;
2964
+ -webkit-box-orient: vertical;
2965
+ }
2966
+
2967
+ .span-margin {
2968
+ margin-right: 100px;
2969
+ }
2970
+ }
2971
+ }
2972
+
2973
+ .mat-button, .mat-icon-button, .mat-stroked-button, .mat-flat-button {
2974
+ &.cdk-keyboard-focused, &.cdk-program-focused {
2975
+ .mat-button-focus-overlay {
2976
+ opacity: 0 !important;
2977
+ }
2978
+ }
2979
+ }
2980
+
2981
+ @media screen and (max-width: 767px) {
2982
+ .mat-toolbar {
2983
+ padding: 0 !important;
2984
+ }
2985
+
2986
+ .topbar_content {
2987
+ right: 5px;
2988
+ padding: 0;
2989
+ }
2990
+
2991
+ .table-responsive {
2992
+ width: 100%;
2993
+ margin-bottom: 20px;
2994
+ overflow-y: hidden;
2995
+ -ms-overflow-style: -ms-autohiding-scrollbar;
2996
+
2997
+ .mat-table {
2998
+ overflow: auto;
2999
+
3000
+ .mat-header-row {
3001
+ min-height: 0;
3002
+
3003
+ .mat-header-cell {
3004
+ padding: 10px 5px;
3005
+ white-space: nowrap;
3006
+ }
3007
+ }
3008
+
3009
+ .mat-row {
3010
+ min-height: 0;
3011
+
3012
+ .mat-cell {
3013
+ padding: 5px;
3014
+ white-space: nowrap;
3015
+
3016
+ .viewData {
3017
+ white-space: nowrap !important;
3018
+ }
3019
+ }
3020
+ }
3021
+ }
3022
+ }
3023
+
3024
+ .paging {
3025
+ display: block !important;
3026
+ }
3027
+
3028
+ .upload_thumbnail {
3029
+ #popup_container {
3030
+ &.show {
3031
+ &.height .popup_content {
3032
+ width: auto;
3033
+ max-width: auto;
3034
+ height: 80%;
3035
+ max-height: 80%;
3036
+ }
3037
+
3038
+ &.squarelike .popup_content,
3039
+ &.width .popup_content {
3040
+ width: 80%;
3041
+ max-width: 80%;
3042
+ height: auto;
3043
+ max-height: auto;
3044
+ }
3045
+ }
3046
+
3047
+ &.height img {
3048
+ width: auto;
3049
+ height: 100%;
3050
+ }
3051
+
3052
+ &.squarelike img,
3053
+ &.width img {
3054
+ width: 100%;
3055
+ height: auto;
3056
+ }
3057
+ }
3058
+ }
3059
+
3060
+ mat-sidenav {
3061
+ z-index: 2 !important;
3062
+ }
3063
+
3064
+ mat-sidenav-content {
3065
+ margin-left: 0 !important;
3066
+ }
3067
+
3068
+ .btn-sec {
3069
+ .fixed_bottom {
3070
+ button {
3071
+ font-size: 11px;
3072
+ }
3073
+
3074
+ &.left {
3075
+ right: 15px;
3076
+ bottom: 50px;
3077
+ }
3078
+
3079
+ &.right {
3080
+ bottom: 0;
3081
+ }
3082
+ }
3083
+ }
3084
+
3085
+ .labelOutside mat-label .label {
3086
+ height: 30px;
3087
+ }
3088
+
3089
+ .item-sale_direct {
3090
+ th, td, div {
3091
+ width: auto;
3092
+ white-space: nowrap;
3093
+ }
3094
+ }
3095
+
3096
+ .campaign_table .product > div {
3097
+ width: auto;
3098
+ white-space: nowrap;
3099
+ }
3100
+ }
3101
+
3102
+ @media screen and (max-width: 990px) {
3103
+ .wrap-reverse {
3104
+ flex-flow: wrap-reverse !important;
3105
+ }
3106
+ }
3107
+
3108
+ @media screen and (min-width: 1200px) {
3109
+ .upload_thumbnail #popup_container.show .popup_content {
3110
+ max-width: 1000px;
3111
+ }
3112
+ }