@concretecms/bedrock 1.1.10 → 1.1.13
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/assets/cms/js/base.js +1 -1
- package/assets/cms/js/in-context-menu.js +11 -3
- package/assets/cms/scss/_panels.scss +1 -0
- package/assets/cms/scss/_sitemap.scss +8 -0
- package/assets/cms/scss/_variables.scss +1 -0
- package/assets/cms/scss/panels/_page-relations.scss +28 -0
- package/package.json +2 -2
package/assets/cms/js/base.js
CHANGED
|
@@ -7,7 +7,7 @@ import PNotify from './pnotify'
|
|
|
7
7
|
import 'json5'
|
|
8
8
|
import 'jquery.cookie'
|
|
9
9
|
import 'jquery-form'
|
|
10
|
-
import 'bootstrap-select'
|
|
10
|
+
import 'bootstrap-select/js/bootstrap-select'
|
|
11
11
|
import './modifiable-bootstrap-select'
|
|
12
12
|
import 'ajax-bootstrap-select'
|
|
13
13
|
import './modifiable-ajax-bootstrap-select'
|
|
@@ -203,7 +203,11 @@
|
|
|
203
203
|
var hshift = mwidth / 2 - 5
|
|
204
204
|
var vshift = mheight / 2 - 5
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
// The right and left positions do weird things, and are especially weird without the arrow
|
|
207
|
+
// Which has been removed for better appearance. Let's limit this to something that's less
|
|
208
|
+
// jumpy and support just bottom and top.
|
|
209
|
+
var available = ['bottom', 'top']; var all = available.slice(0)
|
|
210
|
+
// var available = ['bottom', 'top', 'right', 'left']; var all = available.slice(0)
|
|
207
211
|
|
|
208
212
|
if (clientX < mwidth + 30) {
|
|
209
213
|
available = _(available).without('left')
|
|
@@ -229,10 +233,14 @@
|
|
|
229
233
|
}
|
|
230
234
|
|
|
231
235
|
var placement = available.shift()
|
|
236
|
+
if (!placement) {
|
|
237
|
+
// we have to have a valid placement
|
|
238
|
+
placement = 'bottom'
|
|
239
|
+
}
|
|
232
240
|
$menu.removeClass(all).addClass('bs-popover-' + placement)
|
|
233
241
|
|
|
234
|
-
pageX
|
|
235
|
-
pageY
|
|
242
|
+
pageX += 5
|
|
243
|
+
pageY += 5
|
|
236
244
|
switch (placement) {
|
|
237
245
|
case 'left':
|
|
238
246
|
pageX = pageX - mwidth
|
|
@@ -121,6 +121,7 @@ $dropdown-box-shadow: 0 1px 1px 0 rgba(65, 69, 73, 0.3), 0 1px 3px 1px rgba(65,
|
|
|
121
121
|
$popover-border-color: transparent;
|
|
122
122
|
$popover-border-radius: 5px;
|
|
123
123
|
$popover-inner-border-radius: 5px;
|
|
124
|
+
$popover-border-width: 0;
|
|
124
125
|
$popover-box-shadow: 0 1px 1px 0 rgba(65, 69, 73, 0.3), 0 1px 3px 1px rgba(65, 69, 73, 0.15);
|
|
125
126
|
$popover-arrow-width: 0;
|
|
126
127
|
$popover-arrow-height: 0;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
div#ccm-panel-page_relations {
|
|
2
|
+
ul.item-select-list {
|
|
3
|
+
li {
|
|
4
|
+
border-bottom: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
a.ccm-panel-multilingual-menu-hover,
|
|
8
|
+
a.ccm-menu-item-active {
|
|
9
|
+
@include item-select-list-hover();
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
a.ccm-panel-multilingual-section-no-mappings {
|
|
13
|
+
color: #999;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
div#ccm-popover-menu-container.ccm-panel-multilingual-menu-container,
|
|
19
|
+
div#ccm-popover-menu-container.ccm-panel-multilingual-menu-container div.popover {
|
|
20
|
+
z-index: $index-level-menu-panel-and-dialog;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
div#ccm-menu-click-proxy {
|
|
24
|
+
&.ccm-panel-multilingual-menu-hover {
|
|
25
|
+
z-index: $index-level-menu-panel-and-dialog;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@concretecms/bedrock",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "The asset framework and dependencies for Concrete CMS.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"blueimp-file-upload": "^10.31.0",
|
|
20
20
|
"bootbox": "^5.5.1",
|
|
21
21
|
"bootstrap": "^5.0.1",
|
|
22
|
-
"bootstrap-select": "
|
|
22
|
+
"bootstrap-select": "github:snapappointments/bootstrap-select",
|
|
23
23
|
"bootstrap-tourist": "git+https://git@github.com/concrete5/bootstrap-tourist.git",
|
|
24
24
|
"ckeditor4": "^4.17.1",
|
|
25
25
|
"ckeditor4-vue": "^1.3.2",
|