@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.
- package/README.md +117 -3
- package/dist/buildMatchPatternFn-BV4I8r8j.js +63 -0
- package/dist/buildMatchPatternFn-T5KjFTBQ.cjs +1 -0
- package/dist/craftable.css +2 -0
- package/dist/cs-B5QMxFrl.js +682 -0
- package/dist/cs-MAoetkhe.cjs +1 -0
- package/dist/de-BlQ2ZKmc.js +526 -0
- package/dist/de-BoVLAn6U.cjs +1 -0
- package/dist/en-US-BLvEnhs4.js +443 -0
- package/dist/en-US-Dz8vkDZ_.cjs +1 -0
- package/dist/en-US-X9gX759i.cjs +1 -0
- package/dist/es-DBHDeXHI.cjs +1 -0
- package/dist/es-YEqfkBY2.js +437 -0
- package/dist/fr-B7MHC2AN.js +407 -0
- package/dist/fr-DLs3QoNB.cjs +1 -0
- package/dist/hu-BKZPI9jH.cjs +1 -0
- package/dist/hu-reoJgNxD.js +425 -0
- package/dist/index.cjs +1 -0
- package/dist/index.mjs +3922 -0
- package/dist/isSameWeek-CC6GX_zp.js +40 -0
- package/dist/isSameWeek-Mctj6Tdj.cjs +1 -0
- package/dist/pl-B5A0Rjp7.js +628 -0
- package/dist/pl-BMyrOO-Q.cjs +1 -0
- package/dist/sk-B7JF2MoV.cjs +1 -0
- package/dist/sk-Btro3W4S.js +602 -0
- package/package.json +68 -40
- package/scripts/publish-components.js +118 -0
- package/scss/_images.scss +1 -1
- package/scss/_variables.scss +13 -6
- package/scss/app.scss +4 -4
- package/scss/overrides/_alerts.scss +0 -2
- package/scss/overrides/_badges.scss +1 -17
- package/scss/overrides/_buttons.scss +64 -7
- package/scss/overrides/_cards.scss +4 -51
- package/scss/overrides/_checkboxes.scss +54 -59
- package/scss/overrides/_forms.scss +270 -176
- package/scss/overrides/_index.scss +18 -18
- package/scss/overrides/_keyframes.scss +6 -4
- package/scss/overrides/_layout.scss +24 -30
- package/scss/overrides/_media-wysiwyg.scss +9 -111
- package/scss/overrides/_modal.scss +0 -18
- package/scss/overrides/_multiselect.scss +63 -7
- package/scss/overrides/_nav.scss +55 -33
- package/scss/overrides/_notifications.scss +6 -1
- package/scss/overrides/_pagination.scss +3 -3
- package/scss/overrides/_sidebar.scss +84 -0
- package/scss/overrides/_tables.scss +52 -37
- package/scss/overrides/_text.scss +1 -3
- package/scss/overrides/_wysiwyg.scss +151 -48
- package/scss/styles/_auth.scss +32 -37
- package/scss/styles/_custom.scss +44 -1
- package/scss/styles/_index.scss +4 -4
- package/scss/styles/_legacy.scss +5 -81
- package/scss/styles/_others.scss +232 -337
- package/scss/vendor/_index.scss +5 -4
- package/src/auth/ActivationError.vue +23 -0
- package/src/auth/ActivationForm.vue +69 -0
- package/src/auth/ForgotPasswordForm.vue +74 -0
- package/src/auth/LoginForm.vue +107 -0
- package/src/auth/ResetPasswordForm.vue +122 -0
- package/src/components/ConfirmModal.vue +65 -0
- package/src/components/UserDetailTooltip.vue +88 -0
- package/src/components/form/CkeditorEditor.vue +205 -0
- package/src/components/form/FormCheckbox.vue +29 -0
- package/src/components/form/FormDatePicker.vue +52 -0
- package/src/components/form/FormEmail.vue +17 -0
- package/src/components/form/FormInput.vue +31 -0
- package/src/components/form/FormLocalizedInput.vue +47 -0
- package/src/components/form/FormLocalizedWysiwyg.vue +55 -0
- package/src/components/form/FormLocalizedWysiwygSimple.vue +55 -0
- package/src/components/form/FormMultiSelect.vue +36 -0
- package/src/components/form/FormPasswordConfirm.vue +49 -0
- package/src/components/form/FormSelect.vue +35 -0
- package/src/components/form/FormSubmit.vue +13 -0
- package/src/components/form/FormTagInput.vue +36 -0
- package/src/components/form/FormTextarea.vue +31 -0
- package/src/components/form/FormWysiwyg.vue +31 -0
- package/src/components/form/FormWysiwygSimple.vue +31 -0
- package/src/components/form/LocalizationBar.vue +90 -0
- package/src/components/form/MediaUpload.vue +317 -0
- package/src/components/form/TiptapEditor.vue +238 -0
- package/src/components/listing/BulkCheckboxHeader.vue +18 -0
- package/src/components/listing/BulkCheckboxRow.vue +21 -0
- package/src/components/listing/BulkOperationsBar.vue +41 -0
- package/src/components/listing/DeleteButton.vue +46 -0
- package/src/components/listing/EditButton.vue +17 -0
- package/src/components/listing/EmptyState.vue +25 -0
- package/src/components/listing/ListingHeader.vue +24 -0
- package/src/components/listing/Pagination.vue +158 -0
- package/src/components/listing/PerPage.vue +15 -0
- package/src/components/listing/PublishedAtColumn.vue +226 -0
- package/src/components/listing/Search.vue +81 -0
- package/src/components/listing/Sortable.vue +28 -0
- package/src/components/listing/ToggleSwitch.vue +47 -0
- package/src/composables/useAdmin.js +39 -0
- package/src/composables/useBaseAuth.js +81 -0
- package/src/composables/useBaseForm.js +265 -0
- package/src/composables/useBaseListing.js +316 -0
- package/src/composables/useResponsiveColumns.js +62 -0
- package/src/index.js +63 -0
- package/src/translation/TranslationListing.vue +230 -0
- package/src/translation/modals/TranslationEditModal.vue +86 -0
- package/src/translation/modals/TranslationExportModal.vue +74 -0
- package/src/translation/modals/TranslationImportModal.vue +255 -0
- package/src/ui/index.js +99 -0
- package/src/utils/ckeditorHelpers.js +36 -0
- package/src/utils/dateFnsLocale.js +24 -0
- package/src/utils/dateFormatters.js +30 -0
- package/src/utils/mediaProps.js +14 -0
- package/src/utils/notify.js +22 -0
- package/dist/admin/Admin.js +0 -42
- package/dist/auth/Form.js +0 -15
- package/dist/base-components/Form/BaseForm.js +0 -395
- package/dist/base-components/Form/BaseUpload.js +0 -188
- package/dist/base-components/Form/bootstrap.js +0 -21
- package/dist/base-components/Listing/BaseListing.js +0 -454
- package/dist/base-components/Listing/components/Pagination.js +0 -105
- package/dist/base-components/Listing/components/Sortable.js +0 -48
- package/dist/base-components/Listing/components/UserDetailTooltip.js +0 -55
- package/dist/index.js +0 -70
- package/dist/overrides/trumbowyg.edit-embed-template.js +0 -72
- package/dist/overrides/trumbowyg.reupload.js +0 -146
- package/dist/overrides/trumbowyg.template.js +0 -67
- package/dist/translation/Form.js +0 -15
- package/dist/translation/Listing.js +0 -283
- package/dist/ui/index.js +0 -33
- package/scss/overrides/_switches.scss +0 -25
|
@@ -1,86 +1,81 @@
|
|
|
1
|
-
@use "../variables" as *;
|
|
2
|
-
|
|
3
1
|
/* Base for label styling */
|
|
4
|
-
[type=
|
|
5
|
-
[type=
|
|
6
|
-
|
|
7
|
-
|
|
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=
|
|
11
|
-
[type=
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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=
|
|
19
|
-
[type=
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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=
|
|
35
|
-
[type=
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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=
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
[type='checkbox']:not(:checked) + label::after {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
transform: scale(0);
|
|
53
49
|
}
|
|
54
50
|
|
|
55
|
-
[type=
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
[type='checkbox']:checked + label::after {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
transform: scale(1);
|
|
58
54
|
}
|
|
59
55
|
|
|
60
|
-
|
|
61
56
|
/* disabled checkbox */
|
|
62
|
-
[type=
|
|
63
|
-
[type=
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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=
|
|
70
|
-
|
|
64
|
+
[type='checkbox']:disabled:checked + label::after {
|
|
65
|
+
color: #999;
|
|
71
66
|
}
|
|
72
67
|
|
|
73
|
-
[type=
|
|
74
|
-
|
|
68
|
+
[type='checkbox']:disabled + label {
|
|
69
|
+
color: #aaa;
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
/* accessibility */
|
|
78
|
-
[type=
|
|
79
|
-
[type=
|
|
80
|
-
|
|
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
|
|
85
|
-
|
|
86
|
-
}
|
|
79
|
+
label:hover::before {
|
|
80
|
+
border: 1px solid $primary !important;
|
|
81
|
+
}
|
|
@@ -1,234 +1,328 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// Datepicker compatibility
|
|
2
|
+
.dp__input {
|
|
3
|
+
background-color: white;
|
|
4
|
+
}
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
21
|
-
|
|
18
|
+
&:focus {
|
|
19
|
+
border: 1px solid $mutedText;
|
|
20
|
+
}
|
|
22
21
|
}
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
&:focus {
|
|
29
|
+
border-color: $mutedText;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
.
|
|
39
|
-
|
|
44
|
+
.invalid-feedback {
|
|
45
|
+
color: $danger;
|
|
46
|
+
font-weight: 500;
|
|
40
47
|
}
|
|
41
48
|
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
53
|
+
.form-check-label {
|
|
54
|
+
color: #3e515b;
|
|
55
|
+
margin-bottom: 0.5rem;
|
|
61
56
|
}
|
|
62
57
|
|
|
63
58
|
.input-icon {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
74
|
-
|
|
68
|
+
width: 20px;
|
|
69
|
+
background-image: $icon-envelope;
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
.input-icon--lock {
|
|
78
|
-
|
|
79
|
-
|
|
73
|
+
margin: 0 3px;
|
|
74
|
+
background-image: $icon-lock;
|
|
80
75
|
}
|
|
81
76
|
|
|
82
77
|
.form-control::placeholder {
|
|
83
|
-
|
|
78
|
+
color: $mutedText;
|
|
84
79
|
}
|
|
85
80
|
|
|
86
|
-
.form-check
|
|
87
|
-
|
|
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
|
-
|
|
113
|
-
|
|
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
|
-
.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
border:
|
|
120
|
-
|
|
91
|
+
.dp__range_start,
|
|
92
|
+
.dp__range_end {
|
|
93
|
+
background: $primary !important;
|
|
94
|
+
border-color: $primary !important;
|
|
95
|
+
}
|
|
121
96
|
|
|
122
|
-
|
|
123
|
-
color:
|
|
124
|
-
|
|
125
|
-
margin-bottom: 10px;
|
|
126
|
-
}
|
|
97
|
+
.dp__today {
|
|
98
|
+
border-color: $primary !important;
|
|
99
|
+
}
|
|
127
100
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
101
|
+
.base-upload {
|
|
102
|
+
margin-bottom: 1rem;
|
|
103
|
+
}
|
|
131
104
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
left: calc(50% - 70px) !important;
|
|
136
|
-
}
|
|
105
|
+
.upload-label-title {
|
|
106
|
+
color: $primary;
|
|
107
|
+
}
|
|
137
108
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
height: 200px !important;
|
|
109
|
+
small select {
|
|
110
|
+
margin: 0 10px;
|
|
111
|
+
}
|
|
142
112
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
-
.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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 (
|
|
231
|
-
|
|
232
|
-
|
|
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
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
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';
|