@concretecms/bedrock 1.3.7 → 1.4.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/.eslintrc.yml +2 -0
- package/assets/account/js/frontend/components/AvatarCropper.vue +159 -0
- package/assets/account/js/frontend.js +1 -1
- package/assets/account/scss/frontend/_frontend.scss +2 -0
- package/assets/account/scss/frontend/avatar/_avatar-cropper.scss +82 -0
- package/assets/account/scss/frontend/avatar/_avatar.scss +6 -0
- package/assets/bedrock/scss/_frontend.scss +0 -1
- package/assets/calendar/js/backend/duration.js +13 -13
- package/assets/calendar/js/vendor/fullcalendar.js +1 -0
- package/assets/cms/components/Announcement/Action/ExternalLinkAction.vue +25 -0
- package/assets/cms/components/Announcement/Action/GuideAction.vue +36 -0
- package/assets/cms/components/Announcement/Action/VideoAction.vue +31 -0
- package/assets/cms/components/Announcement/Broadcast.vue +63 -0
- package/assets/cms/components/Announcement/Button/ExternalLinkButton.vue +26 -0
- package/assets/cms/components/Announcement/Header/Header.vue +33 -0
- package/assets/cms/components/Announcement/Item/Item.vue +50 -0
- package/assets/cms/components/Announcement/Modal/Modal.vue +77 -0
- package/assets/cms/components/Announcement/Slide/CollectSiteInformationSlide.vue +61 -0
- package/assets/cms/components/Announcement/Slide/FeatureSlide.vue +81 -0
- package/assets/cms/components/Announcement/Slide/WelcomeSlide.vue +87 -0
- package/assets/cms/components/Help/Modal.vue +48 -0
- package/assets/cms/components/Image/ThumbnailEditor.vue +117 -0
- package/assets/cms/components/RunningProcessList.vue +6 -1
- package/assets/cms/components/customizer/FontFamilyPageCustomizerWidget.vue +27 -7
- package/assets/cms/components/file-manager/Chooser/FileManager.vue +0 -1
- package/assets/cms/components/file-manager/Chooser/FolderBookmark.vue +0 -1
- package/assets/cms/components/file-manager/Chooser.vue +1 -1
- package/assets/cms/components/form/ConcreteAjaxSelect.vue +173 -0
- package/assets/cms/components/form/ConcreteExpressEntrySelect.vue +74 -0
- package/assets/cms/components/form/ConcreteFileDirectoryInput.vue +28 -26
- package/assets/cms/components/form/ConcreteFileInput.vue +17 -5
- package/assets/cms/components/form/ConcreteGroupInput.vue +134 -0
- package/assets/cms/components/form/ConcreteLocaleSelect.vue +58 -0
- package/assets/cms/components/form/ConcreteOptionSelect.vue +92 -0
- package/assets/cms/components/form/ConcretePageSelect.vue +67 -0
- package/assets/cms/components/form/ConcreteSelect.vue +75 -0
- package/assets/cms/components/form/ConcreteThemeColorInput.vue +19 -14
- package/assets/cms/components/form/ConcreteUserInput.vue +24 -4
- package/assets/cms/components/form/ConcreteUserSelect.vue +126 -0
- package/assets/cms/components/form/IconSelector.vue +14 -5
- package/assets/cms/components/form/PasswordInput.vue +141 -24
- package/assets/cms/components/groups/Chooser.vue +6 -5
- package/assets/cms/components/index.js +24 -0
- package/assets/cms/components/toolbar/ConcreteToolbarSiteList.vue +62 -0
- package/assets/cms/components/user/Chooser/Search.vue +5 -0
- package/assets/cms/components/user/Chooser/Users.vue +6 -2
- package/assets/cms/components/user/Chooser.vue +9 -3
- package/assets/cms/js/ajax-request/base.js +13 -4
- package/assets/cms/js/alert.js +2 -1
- package/assets/cms/js/base.js +3 -10
- package/assets/cms/js/edit-mode/area.js +0 -35
- package/assets/cms/js/edit-mode/block.js +27 -0
- package/assets/cms/js/edit-mode/containerblock.js +33 -3
- package/assets/cms/js/edit-mode/editmode.js +12 -0
- package/assets/cms/js/edit-mode/layout.js +56 -0
- package/assets/cms/js/edit-mode/style-customizer/style-customizer.js +0 -1
- package/assets/cms/js/file-manager/uploader.js +30 -206
- package/assets/cms/js/help/help.js +11 -8
- package/assets/cms/js/in-context-menu.js +5 -0
- package/assets/cms/js/jquery-vue.js +22 -0
- package/assets/cms/js/legacy-dialog.js +74 -65
- package/assets/cms/js/modal.js +73 -0
- package/assets/cms/js/panels.js +8 -0
- package/assets/cms/js/search/base.js +0 -18
- package/assets/cms/js/search/field-selector.js +6 -14
- package/assets/cms/js/select-combo-box.js +2 -0
- package/assets/cms/js/sitemap/sitemap-selector.js +2 -2
- package/assets/cms/js/sitemap/sitemap.js +15 -20
- package/assets/cms/js/toolbar.js +25 -2
- package/assets/cms/js/tree.js +7 -7
- package/assets/cms/js/users/group-manager.js +55 -0
- package/assets/cms/js/users/user-manager.js +2 -1
- package/assets/cms/js/users.js +1 -0
- package/assets/cms/js/vue/Manager.js +6 -3
- package/assets/cms/scss/_base.scss +2 -8
- package/assets/cms/scss/_cards.scss +7 -0
- package/assets/cms/scss/_file-manager.scss +1 -0
- package/assets/cms/scss/_file-uploader.scss +13 -3
- package/assets/cms/scss/_help.scss +11 -2
- package/assets/cms/scss/_item-selector.scss +10 -0
- package/assets/cms/scss/_layouts.scss +16 -0
- package/assets/cms/scss/_page-areas.scss +524 -245
- package/assets/cms/scss/_popover.scss +5 -0
- package/assets/cms/scss/_select-combo-box.scss +18 -0
- package/assets/cms/scss/_toolbar.scss +5 -14
- package/assets/cms/scss/_transitions.scss +13 -0
- package/assets/cms/scss/_variables.scss +18 -7
- package/assets/cms/scss/bootstrap/_reboot-tags.scss +17 -32
- package/assets/cms/scss/bootstrap/_reboot.scss +17 -7
- package/assets/cms/scss/bootstrap/_root-modified.scss +41 -20
- package/assets/cms/scss/file-manager/_thumbnail-image-editor.scss +45 -0
- package/assets/cms/scss/panels/_help.scss +0 -10
- package/assets/staging/scss/frontend/_frontend.scss +12 -0
- package/assets/staging/scss/frontend.scss +4 -0
- package/package.json +9 -9
- package/assets/account/js/frontend/components/Avatar/Avatar.js +0 -270
- package/assets/account/js/frontend/components/Avatar/Avatar.scss +0 -17
- package/assets/account/js/frontend/components/Avatar/Avatar.vue +0 -18
- package/assets/account/js/frontend/components/Avatar/Cropper.js +0 -202
- package/assets/account/js/frontend/components/Avatar/Cropper.scss +0 -136
- package/assets/account/js/frontend/components/Avatar/Cropper.vue +0 -40
- package/assets/bedrock/scss/_theme-grid.scss +0 -7
- package/assets/cms/js/edit-mode/style-customizer/inline-toolbar.js +0 -279
- package/assets/cms/js/modifiable-ajax-bootstrap-select.js +0 -78
- package/assets/cms/js/modifiable-bootstrap-select.js +0 -112
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handles fancy selects (currently TomSelect, formerly a million different things like Bootstrap Select,
|
|
3
|
+
* Selectize, select2, etc... Most of the styles for these components are contained in their own
|
|
4
|
+
* library styles included in _base.scss, but this includes extensions to those component styles
|
|
5
|
+
*/
|
|
6
|
+
@import '~tom-select/src/scss/tom-select.bootstrap5';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Customize TomSelect drop shadow. Wish we could do this with some variables but the box shadow is not
|
|
10
|
+
* exposed as a variable
|
|
11
|
+
*/
|
|
12
|
+
.ccm-ui {
|
|
13
|
+
.ts-dropdown,
|
|
14
|
+
.ts-dropdown.form-select,
|
|
15
|
+
.ts-dropdown.form-control {
|
|
16
|
+
box-shadow: $dropdown-box-shadow;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -131,6 +131,10 @@ div#ccm-toolbar {
|
|
|
131
131
|
padding: 0 17px;
|
|
132
132
|
position: relative;
|
|
133
133
|
text-decoration: none;
|
|
134
|
+
|
|
135
|
+
> .ts-wrapper {
|
|
136
|
+
width: 100%;
|
|
137
|
+
}
|
|
134
138
|
}
|
|
135
139
|
|
|
136
140
|
}
|
|
@@ -260,26 +264,13 @@ div#ccm-toolbar {
|
|
|
260
264
|
div.ccm-menu-item-site-list-container {
|
|
261
265
|
padding: 0 17px;
|
|
262
266
|
text-align: left;
|
|
263
|
-
width:
|
|
264
|
-
|
|
265
|
-
&:hover {
|
|
266
|
-
background-color: transparent;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.btn {
|
|
270
|
-
padding-left: 9px;
|
|
271
|
-
padding-right: 9px;
|
|
272
|
-
}
|
|
267
|
+
width: 360px;
|
|
273
268
|
|
|
274
269
|
i {
|
|
275
270
|
margin-left: 0;
|
|
276
271
|
margin-right: 8px;
|
|
277
272
|
}
|
|
278
273
|
|
|
279
|
-
.dropdown-menu {
|
|
280
|
-
max-height: 400px;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
274
|
}
|
|
284
275
|
|
|
285
276
|
a.ccm-menu-item-site-list {
|
|
@@ -24,4 +24,17 @@
|
|
|
24
24
|
opacity: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
/**
|
|
28
|
+
* General fade
|
|
29
|
+
*/
|
|
30
|
+
.concrete-fade-enter-active,
|
|
31
|
+
.concrete-fade-leave-active {
|
|
32
|
+
transition: opacity 0.15s ease-out;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.concrete-fade-enter,
|
|
36
|
+
.concrete-fade-leave-to {
|
|
37
|
+
opacity: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
27
40
|
|
|
@@ -23,6 +23,8 @@ $dark-blue: #005163;
|
|
|
23
23
|
|
|
24
24
|
$primary: #4a90e2;
|
|
25
25
|
|
|
26
|
+
$min-contrast-ratio: 3;
|
|
27
|
+
|
|
26
28
|
/* typography */
|
|
27
29
|
$body-color: $gray-700;
|
|
28
30
|
$small-font-size: 0.9rem;
|
|
@@ -43,6 +45,7 @@ $hr-opacity: 1;
|
|
|
43
45
|
/* borders */
|
|
44
46
|
$border-radius: 3px;
|
|
45
47
|
$border-radius-sm: 2px;
|
|
48
|
+
$border-color-translucent: rgba(#000, 0.075);
|
|
46
49
|
|
|
47
50
|
/* buttons */
|
|
48
51
|
$btn-font-weight: 600;
|
|
@@ -69,7 +72,7 @@ $form-label-font-weight: 600;
|
|
|
69
72
|
|
|
70
73
|
/* cards */
|
|
71
74
|
$card-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
|
|
72
|
-
$card-border-width:
|
|
75
|
+
$card-border-width: 1px;
|
|
73
76
|
|
|
74
77
|
/* transitions */
|
|
75
78
|
$transition-base: all 0.25s ease-in-out;
|
|
@@ -84,13 +87,13 @@ $modal-sm: 420px;
|
|
|
84
87
|
$modal-header-border-width: 0;
|
|
85
88
|
$modal-content-border-width: 0;
|
|
86
89
|
$modal-footer-border-width: 0;
|
|
87
|
-
$modal-content-border-radius:
|
|
88
|
-
$modal-content-inner-border-radius:
|
|
90
|
+
$modal-content-border-radius: 5px;
|
|
91
|
+
$modal-content-inner-border-radius: 5px;
|
|
89
92
|
$modal-header-padding-y: 1.25rem;
|
|
90
93
|
$modal-header-padding-x: 1.8rem;
|
|
91
94
|
$modal-title-line-height: 1.25em;
|
|
92
95
|
$modal-inner-padding: 1.8rem;
|
|
93
|
-
$modal-fade-transform:
|
|
96
|
+
$modal-fade-transform: scale(0.8);
|
|
94
97
|
$modal-transition: 0.1s ease-in-out;
|
|
95
98
|
$modal-content-box-shadow-sm-up: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
|
|
96
99
|
$modal-content-box-shadow-xs: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
|
|
@@ -134,10 +137,18 @@ $dropdown-box-shadow: 0 1px 1px 0 rgba(65, 69, 73, 0.3), 0 1px 3px 1px rgba(65,
|
|
|
134
137
|
$popover-border-color: transparent;
|
|
135
138
|
$popover-border-radius: 5px;
|
|
136
139
|
$popover-inner-border-radius: 5px;
|
|
137
|
-
$popover-border-width: 0;
|
|
138
140
|
$popover-box-shadow: 0 1px 1px 0 rgba(65, 69, 73, 0.3), 0 1px 3px 1px rgba(65, 69, 73, 0.15);
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
// Originally I had set the following three items as well, but I can't do that. Why?
|
|
142
|
+
// Setting these unintentionally removes the arrow from guide popovers (the walk throughs we launch
|
|
143
|
+
// from the help dialog. The arrows are very important in that context so let's not globally disable them.
|
|
144
|
+
// (Why does border width set those to zero? No idea. But I had to disable my setting of border width to
|
|
145
|
+
// get this to work as well.)
|
|
146
|
+
// So instead, in order to remove the arrow from the in-page popovers (which I think looks gauche) let's
|
|
147
|
+
// Use separate CSS within the _popover.scss file, rather than globally removing them. Finally, let's
|
|
148
|
+
// Get rid of the outer border around popovers by setting a transparent color rather than border width of 0.
|
|
149
|
+
// $popover-border-width: 0;
|
|
150
|
+
// $popover-arrow-width: 0;
|
|
151
|
+
// $popover-arrow-height: 0;
|
|
141
152
|
|
|
142
153
|
/* Links */
|
|
143
154
|
$link-decoration: none;
|
|
@@ -2,20 +2,15 @@
|
|
|
2
2
|
// Content grouping
|
|
3
3
|
//
|
|
4
4
|
// 1. Reset Firefox's gray color
|
|
5
|
-
// 2. Set correct height and prevent the `size` attribute to make the `hr` look like an input field
|
|
6
5
|
|
|
7
6
|
hr {
|
|
8
7
|
margin: $hr-margin-y 0;
|
|
9
8
|
color: $hr-color; // 1
|
|
10
|
-
background-color: currentColor;
|
|
11
9
|
border: 0;
|
|
10
|
+
border-top: $hr-border-width solid $hr-border-color;
|
|
12
11
|
opacity: $hr-opacity;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
|
-
hr:not([size]) {
|
|
16
|
-
height: $hr-height; // 2
|
|
17
|
-
}
|
|
18
|
-
|
|
19
14
|
|
|
20
15
|
// Typography
|
|
21
16
|
//
|
|
@@ -77,16 +72,14 @@ p {
|
|
|
77
72
|
|
|
78
73
|
// Abbreviations
|
|
79
74
|
//
|
|
80
|
-
// 1.
|
|
81
|
-
// 2. Add
|
|
82
|
-
// 3.
|
|
83
|
-
// 4. Prevent the text-decoration to be skipped.
|
|
75
|
+
// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
|
|
76
|
+
// 2. Add explicit cursor to indicate changed behavior.
|
|
77
|
+
// 3. Prevent the text-decoration to be skipped.
|
|
84
78
|
|
|
85
|
-
abbr[title]
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
text-decoration-skip-ink: none; // 4
|
|
79
|
+
abbr[title] {
|
|
80
|
+
text-decoration: underline dotted; // 1
|
|
81
|
+
cursor: help; // 2
|
|
82
|
+
text-decoration-skip-ink: none; // 3
|
|
90
83
|
}
|
|
91
84
|
|
|
92
85
|
|
|
@@ -162,7 +155,7 @@ small {
|
|
|
162
155
|
|
|
163
156
|
mark {
|
|
164
157
|
padding: $mark-padding;
|
|
165
|
-
background-color: $
|
|
158
|
+
background-color: var(--#{$prefix}highlight-bg);
|
|
166
159
|
}
|
|
167
160
|
|
|
168
161
|
|
|
@@ -186,11 +179,11 @@ sup { top: -.5em; }
|
|
|
186
179
|
// Links
|
|
187
180
|
|
|
188
181
|
a {
|
|
189
|
-
color: $link-color;
|
|
182
|
+
color: var(--#{$prefix}link-color);
|
|
190
183
|
text-decoration: $link-decoration;
|
|
191
184
|
|
|
192
185
|
&:hover {
|
|
193
|
-
color: $link-hover-color;
|
|
186
|
+
color: var(--#{$prefix}link-hover-color);
|
|
194
187
|
text-decoration: $link-hover-decoration;
|
|
195
188
|
}
|
|
196
189
|
}
|
|
@@ -217,8 +210,6 @@ kbd,
|
|
|
217
210
|
samp {
|
|
218
211
|
font-family: $font-family-code;
|
|
219
212
|
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
|
220
|
-
direction: ltr #{"/* rtl:ignore */"};
|
|
221
|
-
unicode-bidi: bidi-override;
|
|
222
213
|
}
|
|
223
214
|
|
|
224
215
|
// 1. Remove browser default top margin
|
|
@@ -243,7 +234,7 @@ pre {
|
|
|
243
234
|
|
|
244
235
|
code {
|
|
245
236
|
@include font-size($code-font-size);
|
|
246
|
-
color: $code-color;
|
|
237
|
+
color: var(--#{$prefix}code-color);
|
|
247
238
|
word-wrap: break-word;
|
|
248
239
|
|
|
249
240
|
// Streamline the style when inside anchors to avoid broken underline and more
|
|
@@ -382,11 +373,11 @@ select {
|
|
|
382
373
|
}
|
|
383
374
|
}
|
|
384
375
|
|
|
385
|
-
// Remove the dropdown arrow
|
|
376
|
+
// Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
|
|
386
377
|
// See https://stackoverflow.com/a/54997118
|
|
387
378
|
|
|
388
|
-
[list]::-webkit-calendar-picker-indicator {
|
|
389
|
-
display: none;
|
|
379
|
+
[list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
|
|
380
|
+
display: none !important;
|
|
390
381
|
}
|
|
391
382
|
|
|
392
383
|
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
|
@@ -508,16 +499,10 @@ legend {
|
|
|
508
499
|
}
|
|
509
500
|
|
|
510
501
|
|
|
511
|
-
// Inherit font family and line height for file input buttons
|
|
512
|
-
|
|
513
|
-
::file-selector-button {
|
|
514
|
-
font: inherit;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
// 1. Change font properties to `inherit`
|
|
502
|
+
// 1. Inherit font family and line height for file input buttons
|
|
518
503
|
// 2. Correct the inability to style clickable types in iOS and Safari.
|
|
519
504
|
|
|
520
|
-
|
|
505
|
+
::file-selector-button {
|
|
521
506
|
font: inherit; // 1
|
|
522
507
|
-webkit-appearance: button; // 2
|
|
523
508
|
}
|
|
@@ -22,13 +22,23 @@
|
|
|
22
22
|
|
|
23
23
|
body div.ccm-ui { // Added body for extra specificity
|
|
24
24
|
margin: 0; // 1
|
|
25
|
-
font-family: $font-family
|
|
26
|
-
|
|
27
|
-
font
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
//
|
|
25
|
+
font-family: var(--#{$prefix}body-font-family);
|
|
26
|
+
// Concrete CMS
|
|
27
|
+
// I know this is not ideal – font size root is usually 1rem and then you use the browser defaults. However
|
|
28
|
+
// In the case of our CMS css intermingling with theme CSS, there are older theme frameworks that explicitly
|
|
29
|
+
// set font size on html (as in Bootstrap 3, etc...). In those cases, sometimes they set really low font sizes
|
|
30
|
+
// on html, which then in turn means the Concrete panels, etc... have tiny font sizes. For the CMS CSS to get
|
|
31
|
+
// around this we need to just be explicit about our root font size.
|
|
32
|
+
// And NO – before you ask – we cannot just change our $font-size-base to 16px in our variables.scss CMS file
|
|
33
|
+
// because a million Bootstrap things are derived from this, and they're all using 1rem and 1.2rem and
|
|
34
|
+
// !@#$! like that, so when they try to use 16px / 1.2rem or whatever they complain about mixing units.
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
//@include font-size(var(--#{$prefix}body-font-size));
|
|
37
|
+
font-weight: var(--#{$prefix}body-font-weight);
|
|
38
|
+
line-height: var(--#{$prefix}body-line-height);
|
|
39
|
+
color: var(--#{$prefix}body-color);
|
|
40
|
+
// text-align: var(--#{$prefix}body-text-align); // Concrete can't have this
|
|
41
|
+
// background-color: var(--#{$prefix}body-bg); ; // 2 Concrete can't have this
|
|
32
42
|
-webkit-text-size-adjust: 100%; // 3
|
|
33
43
|
-webkit-tap-highlight-color: rgba($black, 0); // 4
|
|
34
44
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable order/order */
|
|
1
2
|
.ccm-ui {
|
|
2
3
|
// Note: Custom variable values only support SassScript inside `#{}`.
|
|
3
4
|
|
|
@@ -6,48 +7,68 @@
|
|
|
6
7
|
// Generate palettes for full colors, grays, and theme colors.
|
|
7
8
|
|
|
8
9
|
@each $color, $value in $colors {
|
|
9
|
-
--#{$
|
|
10
|
+
--#{$prefix}#{$color}: #{$value};
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
@each $color, $value in $grays {
|
|
13
|
-
--#{$
|
|
14
|
+
--#{$prefix}gray-#{$color}: #{$value};
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
@each $color, $value in $theme-colors {
|
|
17
|
-
--#{$
|
|
18
|
+
--#{$prefix}#{$color}: #{$value};
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
@each $color, $value in $theme-colors-rgb {
|
|
21
|
-
--#{$
|
|
22
|
+
--#{$prefix}#{$color}-rgb: #{$value};
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
--#{$
|
|
25
|
-
--#{$
|
|
26
|
-
--#{$
|
|
25
|
+
--#{$prefix}white-rgb: #{to-rgb($white)};
|
|
26
|
+
--#{$prefix}black-rgb: #{to-rgb($black)};
|
|
27
|
+
--#{$prefix}body-color-rgb: #{to-rgb($body-color)};
|
|
28
|
+
--#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
|
|
27
29
|
|
|
28
30
|
// Fonts
|
|
29
31
|
|
|
30
32
|
// Note: Use `inspect` for lists so that quoted items keep the quotes.
|
|
31
33
|
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
|
32
|
-
--#{$
|
|
33
|
-
--#{$
|
|
34
|
-
--#{$
|
|
34
|
+
--#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
|
|
35
|
+
--#{$prefix}font-monospace: #{inspect($font-family-monospace)};
|
|
36
|
+
--#{$prefix}gradient: #{$gradient};
|
|
35
37
|
|
|
36
38
|
// Root and body
|
|
37
|
-
// stylelint-disable custom-property-empty-line-before
|
|
38
39
|
// scss-docs-start root-body-variables
|
|
39
40
|
@if $font-size-root != null {
|
|
40
|
-
--#{$
|
|
41
|
+
--#{$prefix}root-font-size: #{$font-size-root};
|
|
41
42
|
}
|
|
42
|
-
--#{$
|
|
43
|
-
--#{$
|
|
44
|
-
--#{$
|
|
45
|
-
--#{$
|
|
46
|
-
--#{$
|
|
43
|
+
--#{$prefix}body-font-family: #{$font-family-base};
|
|
44
|
+
@include rfs($font-size-base, --#{$prefix}body-font-size);
|
|
45
|
+
--#{$prefix}body-font-weight: #{$font-weight-base};
|
|
46
|
+
--#{$prefix}body-line-height: #{$line-height-base};
|
|
47
|
+
--#{$prefix}body-color: #{$body-color};
|
|
47
48
|
@if $body-text-align != null {
|
|
48
|
-
--#{$
|
|
49
|
+
--#{$prefix}body-text-align: #{$body-text-align};
|
|
49
50
|
}
|
|
50
|
-
--#{$
|
|
51
|
+
--#{$prefix}body-bg: #{$body-bg};
|
|
51
52
|
// scss-docs-end root-body-variables
|
|
52
|
-
|
|
53
|
+
|
|
54
|
+
// scss-docs-start root-border-var
|
|
55
|
+
--#{$prefix}border-width: #{$border-width};
|
|
56
|
+
--#{$prefix}border-style: #{$border-style};
|
|
57
|
+
--#{$prefix}border-color: #{$border-color};
|
|
58
|
+
--#{$prefix}border-color-translucent: #{$border-color-translucent};
|
|
59
|
+
|
|
60
|
+
--#{$prefix}border-radius: #{$border-radius};
|
|
61
|
+
--#{$prefix}border-radius-sm: #{$border-radius-sm};
|
|
62
|
+
--#{$prefix}border-radius-lg: #{$border-radius-lg};
|
|
63
|
+
--#{$prefix}border-radius-xl: #{$border-radius-xl};
|
|
64
|
+
--#{$prefix}border-radius-2xl: #{$border-radius-2xl};
|
|
65
|
+
--#{$prefix}border-radius-pill: #{$border-radius-pill};
|
|
66
|
+
// scss-docs-end root-border-var
|
|
67
|
+
|
|
68
|
+
--#{$prefix}link-color: #{$link-color};
|
|
69
|
+
--#{$prefix}link-hover-color: #{$link-hover-color};
|
|
70
|
+
|
|
71
|
+
--#{$prefix}code-color: #{$code-color};
|
|
72
|
+
|
|
73
|
+
--#{$prefix}highlight-bg: #{$mark-bg};
|
|
53
74
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
div.ccm-image-thumbnail-editor {
|
|
2
|
+
.ccm-image-thumbnail-editor-cropper {
|
|
3
|
+
background: #ddd;
|
|
4
|
+
height: 600px;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ccm-image-thumbnail-editor-controls {
|
|
9
|
+
left: 20px;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 50%;
|
|
12
|
+
transform: translateY(-50%);
|
|
13
|
+
|
|
14
|
+
a {
|
|
15
|
+
align-items: center;
|
|
16
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
display: flex;
|
|
19
|
+
height: 40px;
|
|
20
|
+
margin-bottom: 10px;
|
|
21
|
+
text-align: center;
|
|
22
|
+
width: 40px;
|
|
23
|
+
|
|
24
|
+
&:last-child {
|
|
25
|
+
margin-bottom: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: $primary;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
svg {
|
|
33
|
+
margin-left: auto;
|
|
34
|
+
margin-right: auto;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ccm-image-thumbnail-editor-save {
|
|
40
|
+
bottom: 20px;
|
|
41
|
+
left: 20px;
|
|
42
|
+
position: absolute;
|
|
43
|
+
right: 20px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// This is an entry point so it just includes the partial that includes everything else.
|
|
2
|
+
// That way if we want to include full support in our theme we just include the partial (rather
|
|
3
|
+
// than including the entry point because I think it's bad practice.)
|
|
4
|
+
@import 'frontend/frontend';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@concretecms/bedrock",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "The asset framework and dependencies for Concrete CMS.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
"ajax-bootstrap-select": "^1.4.5",
|
|
18
18
|
"backstretch": "^1.2.2",
|
|
19
19
|
"blueimp-file-upload": "^10.31.0",
|
|
20
|
-
"bootbox": "
|
|
21
|
-
"bootstrap": "^5.0
|
|
20
|
+
"bootbox": "github:makeusabrew/bootbox#master",
|
|
21
|
+
"bootstrap": "^5.2.0",
|
|
22
22
|
"bootstrap-select": "github:snapappointments/bootstrap-select",
|
|
23
23
|
"bootstrap-tourist": "git+https://git@github.com/concrete5/bootstrap-tourist.git",
|
|
24
|
+
"check-password-strength": "^2.0.7",
|
|
24
25
|
"ckeditor4": "^4.17.1",
|
|
25
26
|
"ckeditor4-vue": "^1.3.2",
|
|
26
27
|
"dropzone": "^5.7.2",
|
|
@@ -35,20 +36,19 @@
|
|
|
35
36
|
"jquery.cookie": "^1.4.1",
|
|
36
37
|
"jquery.fancytree": "^2.37.0",
|
|
37
38
|
"json5": "^2.1.1",
|
|
38
|
-
"less": "^3.12.2",
|
|
39
|
-
"less-loader": "^5.0.0",
|
|
40
39
|
"magnific-popup": "^1.1.0",
|
|
41
40
|
"moment": "^2.29.1",
|
|
42
41
|
"moment-timezone": "^0.5.32",
|
|
43
42
|
"nprogress": "^0.2.0",
|
|
44
43
|
"pnotify": "^5.2.0",
|
|
45
|
-
"selectize": "^0.12.6",
|
|
46
44
|
"selectize-bootstrap4-theme": "^2.0.2",
|
|
47
45
|
"spectrum-colorpicker2": "^2.0.0",
|
|
46
|
+
"tom-select": "^2.2.2",
|
|
48
47
|
"tristate": "^1.2.0",
|
|
49
48
|
"underscore": "^1.13",
|
|
50
49
|
"v-calendar": "^1.0.8",
|
|
51
50
|
"vue": "^2.6.12",
|
|
51
|
+
"vue-advanced-cropper": "^1.11.6",
|
|
52
52
|
"vue-js-toggle-button": "^1.3.3",
|
|
53
53
|
"vuedraggable": "^2.24.3"
|
|
54
54
|
},
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"homepage": "https://github.com/concrete5/concrete5#readme",
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@babel/core": "^7.12.3",
|
|
67
|
-
"@storybook/vue": "^5.
|
|
67
|
+
"@storybook/vue": "^6.5.13",
|
|
68
68
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
69
69
|
"@vue/babel-preset-jsx": "^1.2.4",
|
|
70
70
|
"babel-loader": "^8.2.1",
|
|
71
71
|
"babel-preset-vue": "^2.0.2",
|
|
72
72
|
"caniuse-lite": "^1.0",
|
|
73
73
|
"eslint-plugin-vue": "^6.2.2",
|
|
74
|
-
"laravel-mix": "^
|
|
75
|
-
"resolve-url-loader": "^
|
|
74
|
+
"laravel-mix": "^6.0.49",
|
|
75
|
+
"resolve-url-loader": "^5.0.0",
|
|
76
76
|
"sass": "^1.32.13",
|
|
77
77
|
"sass-loader": "^8.0.2",
|
|
78
78
|
"standardx": "^5.0.0",
|