@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
- var available = ['bottom', 'top', 'right', 'left']; var all = available.slice(0)
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 -= 2
235
- pageY -= 2
242
+ pageX += 5
243
+ pageY += 5
236
244
  switch (placement) {
237
245
  case 'left':
238
246
  pageX = pageX - mwidth
@@ -1,6 +1,7 @@
1
1
  @import 'panels/shared';
2
2
  @import 'panels/help';
3
3
  @import 'panels/sitemap';
4
+ @import 'panels/page-relations';
4
5
  @import 'panels/pages/attributes';
5
6
  @import 'panels/pages/seo';
6
7
  @import 'panels/add/blocks';
@@ -20,6 +20,14 @@
20
20
  div.ccm-sitemap-tree {
21
21
  background-color: $sitemap-container-background-color;
22
22
  border: 0;
23
+
24
+ .ccm-page-home {
25
+ img {
26
+ // Locales
27
+ margin-right: 5px;
28
+ margin-top: 9px;
29
+ }
30
+ }
23
31
  }
24
32
 
25
33
  ul.ui-fancytree {
@@ -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.12",
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}",