@dejwcake/craftable 0.1.10 → 2.0.1

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 (127) hide show
  1. package/README.md +117 -3
  2. package/dist/buildMatchPatternFn-BV4I8r8j.js +63 -0
  3. package/dist/buildMatchPatternFn-T5KjFTBQ.cjs +1 -0
  4. package/dist/craftable.css +2 -0
  5. package/dist/cs-B5QMxFrl.js +682 -0
  6. package/dist/cs-MAoetkhe.cjs +1 -0
  7. package/dist/de-BlQ2ZKmc.js +526 -0
  8. package/dist/de-BoVLAn6U.cjs +1 -0
  9. package/dist/en-US-BLvEnhs4.js +443 -0
  10. package/dist/en-US-Dz8vkDZ_.cjs +1 -0
  11. package/dist/en-US-X9gX759i.cjs +1 -0
  12. package/dist/es-DBHDeXHI.cjs +1 -0
  13. package/dist/es-YEqfkBY2.js +437 -0
  14. package/dist/fr-B7MHC2AN.js +407 -0
  15. package/dist/fr-DLs3QoNB.cjs +1 -0
  16. package/dist/hu-BKZPI9jH.cjs +1 -0
  17. package/dist/hu-reoJgNxD.js +425 -0
  18. package/dist/index.cjs +1 -0
  19. package/dist/index.mjs +3922 -0
  20. package/dist/isSameWeek-CC6GX_zp.js +40 -0
  21. package/dist/isSameWeek-Mctj6Tdj.cjs +1 -0
  22. package/dist/pl-B5A0Rjp7.js +628 -0
  23. package/dist/pl-BMyrOO-Q.cjs +1 -0
  24. package/dist/sk-B7JF2MoV.cjs +1 -0
  25. package/dist/sk-Btro3W4S.js +602 -0
  26. package/package.json +68 -40
  27. package/scripts/publish-components.js +118 -0
  28. package/scss/_images.scss +1 -1
  29. package/scss/_variables.scss +13 -6
  30. package/scss/app.scss +4 -4
  31. package/scss/overrides/_alerts.scss +0 -2
  32. package/scss/overrides/_badges.scss +1 -17
  33. package/scss/overrides/_buttons.scss +64 -7
  34. package/scss/overrides/_cards.scss +4 -51
  35. package/scss/overrides/_checkboxes.scss +54 -59
  36. package/scss/overrides/_forms.scss +270 -176
  37. package/scss/overrides/_index.scss +18 -18
  38. package/scss/overrides/_keyframes.scss +6 -4
  39. package/scss/overrides/_layout.scss +24 -30
  40. package/scss/overrides/_media-wysiwyg.scss +9 -111
  41. package/scss/overrides/_modal.scss +0 -18
  42. package/scss/overrides/_multiselect.scss +63 -7
  43. package/scss/overrides/_nav.scss +55 -33
  44. package/scss/overrides/_notifications.scss +6 -1
  45. package/scss/overrides/_pagination.scss +3 -3
  46. package/scss/overrides/_sidebar.scss +84 -0
  47. package/scss/overrides/_tables.scss +52 -37
  48. package/scss/overrides/_text.scss +1 -3
  49. package/scss/overrides/_wysiwyg.scss +151 -48
  50. package/scss/styles/_auth.scss +32 -37
  51. package/scss/styles/_custom.scss +44 -1
  52. package/scss/styles/_index.scss +4 -4
  53. package/scss/styles/_legacy.scss +5 -81
  54. package/scss/styles/_others.scss +232 -337
  55. package/scss/vendor/_index.scss +5 -4
  56. package/src/auth/ActivationError.vue +23 -0
  57. package/src/auth/ActivationForm.vue +69 -0
  58. package/src/auth/ForgotPasswordForm.vue +74 -0
  59. package/src/auth/LoginForm.vue +107 -0
  60. package/src/auth/ResetPasswordForm.vue +122 -0
  61. package/src/components/ConfirmModal.vue +65 -0
  62. package/src/components/UserDetailTooltip.vue +88 -0
  63. package/src/components/form/CkeditorEditor.vue +205 -0
  64. package/src/components/form/FormCheckbox.vue +29 -0
  65. package/src/components/form/FormDatePicker.vue +52 -0
  66. package/src/components/form/FormEmail.vue +17 -0
  67. package/src/components/form/FormInput.vue +31 -0
  68. package/src/components/form/FormLocalizedInput.vue +47 -0
  69. package/src/components/form/FormLocalizedWysiwyg.vue +55 -0
  70. package/src/components/form/FormLocalizedWysiwygSimple.vue +55 -0
  71. package/src/components/form/FormMultiSelect.vue +36 -0
  72. package/src/components/form/FormPasswordConfirm.vue +49 -0
  73. package/src/components/form/FormSelect.vue +35 -0
  74. package/src/components/form/FormSubmit.vue +13 -0
  75. package/src/components/form/FormTagInput.vue +36 -0
  76. package/src/components/form/FormTextarea.vue +31 -0
  77. package/src/components/form/FormWysiwyg.vue +31 -0
  78. package/src/components/form/FormWysiwygSimple.vue +31 -0
  79. package/src/components/form/LocalizationBar.vue +90 -0
  80. package/src/components/form/MediaUpload.vue +317 -0
  81. package/src/components/form/TiptapEditor.vue +238 -0
  82. package/src/components/listing/BulkCheckboxHeader.vue +18 -0
  83. package/src/components/listing/BulkCheckboxRow.vue +21 -0
  84. package/src/components/listing/BulkOperationsBar.vue +41 -0
  85. package/src/components/listing/DeleteButton.vue +46 -0
  86. package/src/components/listing/EditButton.vue +17 -0
  87. package/src/components/listing/EmptyState.vue +25 -0
  88. package/src/components/listing/ListingHeader.vue +24 -0
  89. package/src/components/listing/Pagination.vue +158 -0
  90. package/src/components/listing/PerPage.vue +15 -0
  91. package/src/components/listing/PublishedAtColumn.vue +226 -0
  92. package/src/components/listing/Search.vue +81 -0
  93. package/src/components/listing/Sortable.vue +28 -0
  94. package/src/components/listing/ToggleSwitch.vue +47 -0
  95. package/src/composables/useAdmin.js +39 -0
  96. package/src/composables/useBaseAuth.js +81 -0
  97. package/src/composables/useBaseForm.js +265 -0
  98. package/src/composables/useBaseListing.js +316 -0
  99. package/src/composables/useResponsiveColumns.js +62 -0
  100. package/src/index.js +63 -0
  101. package/src/translation/TranslationListing.vue +230 -0
  102. package/src/translation/modals/TranslationEditModal.vue +86 -0
  103. package/src/translation/modals/TranslationExportModal.vue +74 -0
  104. package/src/translation/modals/TranslationImportModal.vue +255 -0
  105. package/src/ui/index.js +99 -0
  106. package/src/utils/ckeditorHelpers.js +36 -0
  107. package/src/utils/dateFnsLocale.js +24 -0
  108. package/src/utils/dateFormatters.js +30 -0
  109. package/src/utils/mediaProps.js +14 -0
  110. package/src/utils/notify.js +22 -0
  111. package/dist/admin/Admin.js +0 -42
  112. package/dist/auth/Form.js +0 -15
  113. package/dist/base-components/Form/BaseForm.js +0 -395
  114. package/dist/base-components/Form/BaseUpload.js +0 -188
  115. package/dist/base-components/Form/bootstrap.js +0 -21
  116. package/dist/base-components/Listing/BaseListing.js +0 -454
  117. package/dist/base-components/Listing/components/Pagination.js +0 -105
  118. package/dist/base-components/Listing/components/Sortable.js +0 -48
  119. package/dist/base-components/Listing/components/UserDetailTooltip.js +0 -55
  120. package/dist/index.js +0 -70
  121. package/dist/overrides/trumbowyg.edit-embed-template.js +0 -72
  122. package/dist/overrides/trumbowyg.reupload.js +0 -146
  123. package/dist/overrides/trumbowyg.template.js +0 -67
  124. package/dist/translation/Form.js +0 -15
  125. package/dist/translation/Listing.js +0 -283
  126. package/dist/ui/index.js +0 -33
  127. package/scss/overrides/_switches.scss +0 -25
@@ -1,86 +1,81 @@
1
- @use "../variables" as *;
2
-
3
1
  /* Base for label styling */
4
- [type="checkbox"]:not(:checked),
5
- [type="checkbox"]:checked {
6
- position: absolute;
7
- left: -9999px;
2
+ [type='checkbox']:not(:checked, [role='switch']),
3
+ [type='checkbox']:checked:not([role='switch']) {
4
+ position: absolute;
5
+ left: -9999px;
8
6
  }
9
7
 
10
- [type="checkbox"]:not(:checked)+label,
11
- [type="checkbox"]:checked+label {
12
- position: relative;
13
- padding-left: 1.95em;
14
- cursor: pointer;
8
+ [type='checkbox']:not(:checked) + label,
9
+ [type='checkbox']:checked + label {
10
+ position: relative;
11
+ padding-left: 1.95em;
12
+ cursor: pointer;
15
13
  }
16
14
 
17
15
  /* checkbox aspect */
18
- [type="checkbox"]:not(:checked)+label:before,
19
- [type="checkbox"]:checked+label:before {
20
- content: '';
21
- position: absolute;
22
- left: 0;
23
- top: 0;
24
- width: 20px;
25
- height: 20px;
26
- border: 1px solid #C3CEDE;
27
- background: white;
28
- border-radius: 4px;
29
- box-shadow: none;
16
+ [type='checkbox']:not(:checked) + label::before,
17
+ [type='checkbox']:checked + label::before {
18
+ content: '';
19
+ position: absolute;
20
+ left: 0;
21
+ top: 0;
22
+ width: 20px;
23
+ height: 20px;
24
+ border: 1px solid #c3cede;
25
+ background: white;
26
+ border-radius: 4px;
27
+ box-shadow: none;
30
28
  }
31
29
 
32
-
33
30
  /* checked mark aspect */
34
- [type="checkbox"]:not(:checked)+label:after,
35
- [type="checkbox"]:checked+label:after {
36
- content: '';
37
- position: absolute;
38
- width: 10px;
39
- height: 10px;
40
- background-color: #4273FA;
41
- top: 5px;
42
- left: 5px;
43
- border-radius: 3px;
44
- color: #4273FA;
45
- transition: all .2s;
31
+ [type='checkbox']:not(:checked) + label::after,
32
+ [type='checkbox']:checked + label::after {
33
+ content: '';
34
+ position: absolute;
35
+ width: 10px;
36
+ height: 10px;
37
+ background-color: #4273fa;
38
+ top: 5px;
39
+ left: 5px;
40
+ border-radius: 3px;
41
+ color: #4273fa;
42
+ transition: all 0.2s;
46
43
  }
47
44
 
48
-
49
45
  /* checked mark aspect changes */
50
- [type="checkbox"]:not(:checked)+label:after {
51
- opacity: 0;
52
- transform: scale(0);
46
+ [type='checkbox']:not(:checked) + label::after {
47
+ opacity: 0;
48
+ transform: scale(0);
53
49
  }
54
50
 
55
- [type="checkbox"]:checked+label:after {
56
- opacity: 1;
57
- transform: scale(1);
51
+ [type='checkbox']:checked + label::after {
52
+ opacity: 1;
53
+ transform: scale(1);
58
54
  }
59
55
 
60
-
61
56
  /* disabled checkbox */
62
- [type="checkbox"]:disabled:not(:checked)+label:before,
63
- [type="checkbox"]:disabled:checked+label:before {
64
- box-shadow: none;
65
- border-color: #bbb;
66
- background-color: #ddd;
57
+ [type='checkbox']:disabled:not(:checked) + label::before,
58
+ [type='checkbox']:disabled:checked + label::before {
59
+ box-shadow: none;
60
+ border-color: #bbb;
61
+ background-color: #ddd;
67
62
  }
68
63
 
69
- [type="checkbox"]:disabled:checked+label:after {
70
- color: #999;
64
+ [type='checkbox']:disabled:checked + label::after {
65
+ color: #999;
71
66
  }
72
67
 
73
- [type="checkbox"]:disabled+label {
74
- color: #aaa;
68
+ [type='checkbox']:disabled + label {
69
+ color: #aaa;
75
70
  }
76
71
 
77
72
  /* accessibility */
78
- [type="checkbox"]:checked:focus+label:before,
79
- [type="checkbox"]:not(:checked):focus+label:before {
80
- //border: 1px solid $primary;
73
+ [type='checkbox']:checked:focus + label::before,
74
+ [type='checkbox']:not(:checked):focus + label::before {
75
+ // border: 1px solid $primary;
81
76
  }
82
77
 
83
78
  /* hover style just for information */
84
- label:hover:before {
85
- border: 1px solid $primary!important;
86
- }
79
+ label:hover::before {
80
+ border: 1px solid $primary !important;
81
+ }
@@ -1,234 +1,328 @@
1
- @use "../variables" as *;
2
- @use "../images" as *;
1
+ // Datepicker compatibility
2
+ .dp__input {
3
+ background-color: white;
4
+ }
3
5
 
4
- .form-control.flatpickr {
5
- background-color: white;
6
+ // Datepicker inside input-group: zero left radius (prepend icon), keep right radius
7
+ .input-group .dp__input {
8
+ border-radius: 0 $border-radius $border-radius 0;
6
9
  }
7
10
 
8
11
  .form-control {
9
- border: 1px solid $mutedText;
10
- border-radius: 0;
11
- padding-right: 2.2rem !important;
12
- background-repeat: no-repeat;
13
- background-position: center right 0.52344rem;
14
- background-size: 1.04688rem 1.04688rem;
15
- &:focus {
16
12
  border: 1px solid $mutedText;
17
- }
18
- }
13
+ padding-right: 2.2rem !important;
14
+ background-repeat: no-repeat;
15
+ background-position: center right 0.52344rem;
16
+ background-size: 1.04688rem 1.04688rem;
19
17
 
20
- .has-success .form-control {
21
- background-image: $icon-correct;
18
+ &:focus {
19
+ border: 1px solid $mutedText;
20
+ }
22
21
  }
23
22
 
24
- .has-danger .form-control {
25
- background-image: $icon-error;
26
- border-color: $danger;
27
- }
23
+ // BS5 validation (class on input pattern)
24
+ .form-control.is-valid {
25
+ background-image: $icon-correct;
26
+ border-color: $mutedText;
28
27
 
29
- .has-danger .form-control-feedback {
30
- color: $danger;
31
- font-weight: 500;
28
+ &:focus {
29
+ border-color: $mutedText;
30
+ box-shadow: none;
31
+ }
32
32
  }
33
33
 
34
- label {
35
- color: $mutedText;
34
+ .form-control.is-invalid {
35
+ background-image: $icon-error;
36
+ border-color: $danger;
37
+
38
+ &:focus {
39
+ border-color: $danger;
40
+ box-shadow: none;
41
+ }
36
42
  }
37
43
 
38
- .form-check-label {
39
- color: #3e515b;
44
+ .invalid-feedback {
45
+ color: $danger;
46
+ font-weight: 500;
40
47
  }
41
48
 
42
- .input-group--custom {
43
- .input-group-addon {
44
- background-color: white;
45
- border-bottom-left-radius: 0;
46
- border-top-left-radius: 0;
47
- i.fa {
48
- color: #c7c7c7;
49
- }
50
- }
51
- .form-control {
52
- border-left: none;
53
- padding-left: 0;
54
- }
49
+ label {
50
+ color: $mutedText;
55
51
  }
56
52
 
57
- .has-danger .input-group--custom {
58
- .input-group-addon {
59
- border-color: $danger;
60
- }
53
+ .form-check-label {
54
+ color: #3e515b;
55
+ margin-bottom: 0.5rem;
61
56
  }
62
57
 
63
58
  .input-icon {
64
- display: inline-block;
65
- background-size: contain;
66
- background-repeat: no-repeat;
67
- background-position: center;
68
- width: 15px;
69
- height: 25px;
59
+ display: inline-block;
60
+ background-size: contain;
61
+ background-repeat: no-repeat;
62
+ background-position: center;
63
+ width: 15px;
64
+ height: 25px;
70
65
  }
71
66
 
72
67
  .input-icon--mail {
73
- width: 20px;
74
- background-image: $icon-envelope;
68
+ width: 20px;
69
+ background-image: $icon-envelope;
75
70
  }
76
71
 
77
72
  .input-icon--lock {
78
- margin: 0 3px;
79
- background-image: $icon-lock;
73
+ margin: 0 3px;
74
+ background-image: $icon-lock;
80
75
  }
81
76
 
82
77
  .form-control::placeholder {
83
- color: $mutedText;
78
+ color: $mutedText;
84
79
  }
85
80
 
86
- .form-check-label {
87
- margin-bottom: 0.5rem;
88
- }
89
-
90
- .flatpickr-day.selected,
91
- .flatpickr-day.startRange,
92
- .flatpickr-day.endRange,
93
- .flatpickr-day.selected.inRange,
94
- .flatpickr-day.startRange.inRange,
95
- .flatpickr-day.endRange.inRange,
96
- .flatpickr-day.selected:focus,
97
- .flatpickr-day.startRange:focus,
98
- .flatpickr-day.endRange:focus,
99
- .flatpickr-day.selected:hover,
100
- .flatpickr-day.startRange:hover,
101
- .flatpickr-day.endRange:hover,
102
- .flatpickr-day.selected.prevMonthDay,
103
- .flatpickr-day.startRange.prevMonthDay,
104
- .flatpickr-day.endRange.prevMonthDay,
105
- .flatpickr-day.selected.nextMonthDay,
106
- .flatpickr-day.startRange.nextMonthDay,
107
- .flatpickr-day.endRange.nextMonthDay {
108
- background: $primary !important;
109
- border-color: $primary !important;
81
+ .form-check {
82
+ padding-inline-start: 0;
110
83
  }
111
84
 
112
- small select {
113
- margin: 0 10px;
85
+ // Vue Datepicker (@vuepic/vue-datepicker) theme
86
+ .dp__active_date {
87
+ background: $primary !important;
88
+ border-color: $primary !important;
114
89
  }
115
90
 
116
- .vue-dropzone.dropzone {
117
- border: 1px solid $mutedText !important;
118
- &:hover, &.dz-drag-hover {
119
- border: 1px dashed $primary !important;
120
- }
91
+ .dp__range_start,
92
+ .dp__range_end {
93
+ background: $primary !important;
94
+ border-color: $primary !important;
95
+ }
121
96
 
122
- i {
123
- color: #c7c7c7 !important;
124
- font-size: 40px !important;
125
- margin-bottom: 10px;
126
- }
97
+ .dp__today {
98
+ border-color: $primary !important;
99
+ }
127
100
 
128
- .dz-message {
129
- color: $mutedText !important;
130
- }
101
+ .base-upload {
102
+ margin-bottom: 1rem;
103
+ }
131
104
 
132
- //fixes https://github.com/rowanwins/vue-dropzone/issues/127
133
- .dz-error-message {
134
- top: calc(100% + 10px) !important;
135
- left: calc(50% - 70px) !important;
136
- }
105
+ .upload-label-title {
106
+ color: $primary;
107
+ }
137
108
 
138
- .dz-preview {
139
- .dz-image {
140
- width: 200px !important;
141
- height: 200px !important;
109
+ small select {
110
+ margin: 0 10px;
111
+ }
142
112
 
143
- img {
144
- width: 100%;
145
- height: 100%;
146
- -webkit-object-fit: cover;
147
- object-fit: cover;
148
- }
113
+ .dropzone,
114
+ .vue3-dropzone {
115
+ border: 2px dashed #b8c4ce !important;
116
+ border-radius: $border-radius;
117
+ min-height: 200px;
118
+ display: flex;
119
+ flex-wrap: wrap;
120
+ align-items: flex-start;
121
+ align-content: flex-start;
149
122
 
150
- i {
151
- width: 100%;
152
- height: 100%;
153
- line-height: 200px;
154
- font-size: 70px !important;
155
- text-align: center;
123
+ &:hover,
124
+ &.dz-drag-hover {
125
+ border: 2px dashed $primary !important;
126
+ }
127
+
128
+ i {
129
+ color: #c7c7c7 !important;
130
+ font-size: 40px !important;
156
131
  margin-bottom: 10px;
132
+ }
157
133
 
158
- &+p {
159
- position: absolute;
160
- bottom: 0px;
161
- width: 100%;
162
- text-align: center;
163
- height: 20px;
164
- overflow: hidden;
165
- white-space: nowrap;
166
- text-overflow: ellipsis;
167
- font-size: 12px;
168
- line-height: 1.2;
169
- padding: 0 15px;
170
- }
171
- }
134
+ .dz-message {
135
+ width: 100%;
136
+ min-height: 180px;
137
+ display: flex;
138
+ flex-direction: column;
139
+ align-items: center;
140
+ justify-content: center;
141
+ color: $mutedText !important;
172
142
  }
173
143
 
174
- .dz-details {
175
- .dz-filename {
176
- a {
177
- cursor: pointer;
178
- color:white;
179
- }
180
- }
144
+ // fixes https://github.com/rowanwins/vue-dropzone/issues/127
145
+ .dz-error-message {
146
+ top: calc(100% + 10px) !important;
147
+ left: calc(50% - 70px) !important;
181
148
  }
182
149
 
183
- //fixes https://github.com/rowanwins/vue-dropzone/issues/127
184
- .dz-error-mark {
185
- text-align: center;
186
- top: 25%!important;
150
+ .dz-preview {
151
+ position: relative;
152
+ width: 200px;
153
+ height: 200px;
154
+ overflow: hidden;
155
+ margin: 8px;
156
+
157
+ &.dz-deleted {
158
+ display: none;
159
+ }
160
+
161
+ .dz-image {
162
+ width: 200px !important;
163
+ height: 200px !important;
164
+
165
+ img {
166
+ width: 100%;
167
+ height: 100%;
168
+ object-fit: cover;
169
+ }
170
+
171
+ .dz-file-icon {
172
+ display: flex;
173
+ flex-direction: column;
174
+ align-items: center;
175
+ justify-content: center;
176
+ width: 100%;
177
+ height: 100%;
178
+ background: #f0f3f5;
179
+
180
+ i {
181
+ font-size: 60px !important;
182
+ color: #b8c4ce !important;
183
+ margin-bottom: 8px;
184
+ line-height: 1;
185
+ }
186
+
187
+ p {
188
+ width: 100%;
189
+ text-align: center;
190
+ overflow: hidden;
191
+ white-space: nowrap;
192
+ text-overflow: ellipsis;
193
+ font-size: 12px;
194
+ line-height: 1.2;
195
+ padding: 0 12px;
196
+ margin: 0;
197
+ color: $mutedText;
198
+ }
199
+ }
200
+ }
201
+
202
+ .dz-hover-overlay {
203
+ position: absolute;
204
+ inset: 0;
205
+ background: rgba($primary, 0.85);
206
+ display: flex;
207
+ flex-direction: column;
208
+ align-items: center;
209
+ justify-content: center;
210
+ padding: 16px;
211
+ opacity: 0;
212
+ transition: opacity 0.2s ease;
213
+
214
+ .dz-file-size {
215
+ color: white;
216
+ font-weight: 700;
217
+ font-size: 16px;
218
+ margin-bottom: 8px;
219
+ }
220
+
221
+ .dz-file-name {
222
+ color: white;
223
+ font-size: 13px;
224
+ text-align: center;
225
+ overflow: hidden;
226
+ white-space: nowrap;
227
+ text-overflow: ellipsis;
228
+ width: 100%;
229
+ margin-bottom: 16px;
230
+ }
231
+
232
+ .dz-remove-btn {
233
+ background: transparent;
234
+ color: white;
235
+ border: 2px solid white;
236
+ padding: 6px 20px;
237
+ font-size: 13px;
238
+ font-weight: 700;
239
+ letter-spacing: 0.5px;
240
+ cursor: pointer;
241
+ transition:
242
+ background 0.15s ease,
243
+ color 0.15s ease;
244
+
245
+ &:hover {
246
+ background: white;
247
+ color: $primary;
248
+ }
249
+ }
250
+ }
251
+
252
+ &:hover .dz-hover-overlay {
253
+ opacity: 1;
254
+ }
255
+
256
+ .dz-success-mark,
257
+ .dz-error-mark {
258
+ position: absolute;
259
+ inset: 0;
260
+ display: flex;
261
+ align-items: center;
262
+ justify-content: center;
263
+ animation: dz-fade-in 0.3s ease;
264
+
265
+ i {
266
+ color: white !important;
267
+ font-size: 50px !important;
268
+ animation: dz-check-pop 0.4s ease;
269
+ margin-bottom: 0;
270
+ }
271
+ }
272
+
273
+ .dz-success-mark {
274
+ background: rgb(40 167 69 / 60%);
275
+ }
276
+
277
+ .dz-error-mark {
278
+ background: rgb(220 53 69 / 70%);
279
+ }
280
+
281
+ .dz-progress {
282
+ position: absolute;
283
+ bottom: 0;
284
+ left: 0;
285
+ width: 100%;
286
+ height: 6px;
287
+ background: rgb(0 0 0 / 20%);
288
+
289
+ .dz-upload {
290
+ display: block;
291
+ height: 100%;
292
+ background: white;
293
+ transition: width 0.2s ease;
294
+ }
295
+ }
187
296
  }
188
- }
189
297
  }
190
298
 
191
299
  .language-mobile {
192
- select {
193
- margin-left: 0;
194
- margin-top: 5px;
195
- margin-bottom: 25px;
196
- }
197
- span, a {
198
- display: none;
199
- }
200
- &.has-error {
201
- small {
202
- color: $danger;
300
+ select {
301
+ margin-left: 0;
302
+ margin-top: 5px;
303
+ margin-bottom: 25px;
203
304
  }
204
- }
205
- }
206
305
 
207
- @media (max-width: 700px) {
208
- select,
209
- textarea,
210
- input,
211
- .ql-editor,
212
- .input-group button {
213
- font-size: 16px !important;
214
- }
306
+ span,
307
+ a {
308
+ display: none;
309
+ }
215
310
  }
216
311
 
217
-
218
- @media (min-width: 576px) {
219
- .control-label {
220
- margin-top: 7px;
221
- }
222
- .language-mobile {
223
- select {
224
- margin: 0;
225
- margin-left: 10px;
312
+ @media (width <= 700px) {
313
+ select,
314
+ textarea,
315
+ input,
316
+ .input-group button {
317
+ font-size: 16px !important;
226
318
  }
227
- }
228
319
  }
229
320
 
230
- @media (max-width: 500px) {
231
- .input-group-btn--search-filter {
232
- display: none;
233
- }
234
- }
321
+ @media (width >= 576px) {
322
+ .language-mobile {
323
+ select {
324
+ margin: 0;
325
+ margin-left: 10px;
326
+ }
327
+ }
328
+ }
@@ -1,19 +1,19 @@
1
1
  // All styles we are overriding (mostly CoreUI)
2
- @use "keyframes" as *;
3
- @use "buttons" as *;
4
- @use "checkboxes" as *;
5
- @use "forms" as *;
6
- @use "multiselect" as *;
7
- @use "switches" as *;
8
- @use "wysiwyg" as *;
9
- @use "cards" as *;
10
- @use "nav" as *;
11
- @use "tables" as *;
12
- @use "modal" as *;
13
- @use "pagination" as *;
14
- @use "badges" as *;
15
- @use "layout" as *;
16
- @use "text" as *;
17
- @use "alerts" as *;
18
- @use "notifications" as *;
19
- @use "media-wysiwyg" as *;
2
+ @import 'keyframes';
3
+ @import 'buttons';
4
+ @import 'checkboxes';
5
+ @import 'forms';
6
+ @import 'multiselect';
7
+ @import 'wysiwyg';
8
+ @import 'cards';
9
+ @import 'nav';
10
+ @import 'sidebar';
11
+ @import 'tables';
12
+ @import 'modal';
13
+ @import 'pagination';
14
+ @import 'badges';
15
+ @import 'layout';
16
+ @import 'text';
17
+ @import 'alerts';
18
+ @import 'notifications';
19
+ @import 'media-wysiwyg';