@concretecms/bedrock 1.3.2 → 1.3.3
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.
|
@@ -386,8 +386,8 @@
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
if (!my.getElem().parent().is('#ccm-stack-container')) {
|
|
389
|
-
var template = _(ccmi18n.emptyArea).template()
|
|
390
|
-
elem.
|
|
389
|
+
var template = _('<span>' + ccmi18n.emptyArea + '</span>').template()
|
|
390
|
+
elem.html(template({ area_handle: my.getElem().data('area-display-name') }))
|
|
391
391
|
}
|
|
392
392
|
my.getDragAreas().push(drag_area)
|
|
393
393
|
return drag_area
|
|
@@ -129,12 +129,13 @@ div.ccm-area.ccm-menu-item-hover {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
div.ccm-area-footer {
|
|
132
|
-
|
|
132
|
+
bottom: 0;
|
|
133
133
|
left: 0;
|
|
134
134
|
max-width: 100%;
|
|
135
135
|
opacity: 0;
|
|
136
136
|
padding-left: 20px;
|
|
137
137
|
position: absolute;
|
|
138
|
+
transform: translateY(100%);
|
|
138
139
|
transition: opacity 0.5 s cubic-bezier(0.19, 1, 0.22, 1);
|
|
139
140
|
white-space: nowrap;
|
|
140
141
|
//padding-top: 15px;
|
|
@@ -148,7 +149,6 @@ div.ccm-area-footer {
|
|
|
148
149
|
color: #666;
|
|
149
150
|
display: inline-block;
|
|
150
151
|
font-size: $font-size-base !important;
|
|
151
|
-
height: 35px;
|
|
152
152
|
max-width: 100%;
|
|
153
153
|
padding: 8px 15px;
|
|
154
154
|
|
|
@@ -409,9 +409,12 @@ div.ccm-area-drag-area {
|
|
|
409
409
|
outline-color: rgb(170, 255, 170);
|
|
410
410
|
outline-style: solid;
|
|
411
411
|
outline-width: 0;
|
|
412
|
-
text-indent: -10000em;
|
|
413
412
|
transition: outline-width 0.5s cubic-bezier(0.19, 1, 0.22, 1), outline-color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
|
|
414
413
|
|
|
414
|
+
span {
|
|
415
|
+
display: none;
|
|
416
|
+
}
|
|
417
|
+
|
|
415
418
|
&.ccm-area-drag-area-contender {
|
|
416
419
|
background-color: rgba(221, 255, 221, 0.5);
|
|
417
420
|
outline: solid 5px rgba(221, 255, 221, 0.7) !important;
|
|
@@ -445,9 +448,12 @@ html.ccm-block-dragging {
|
|
|
445
448
|
div.ccm-area[data-total-blocks='0'] {
|
|
446
449
|
div.ccm-area-drag-area {
|
|
447
450
|
color: #bbb;
|
|
451
|
+
display: block;
|
|
448
452
|
padding: 24px;
|
|
449
453
|
text-align: center !important; /* https://github.com/concrete5/concrete5/issues/10249 */
|
|
450
|
-
|
|
454
|
+
span {
|
|
455
|
+
display: inline-block;
|
|
456
|
+
}
|
|
451
457
|
}
|
|
452
458
|
}
|
|
453
459
|
|
package/package.json
CHANGED