@concretecms/bedrock 1.1.12 → 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.
|
@@ -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
|
|
@@ -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