@concretecms/bedrock 1.1.12 → 1.1.15

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.
@@ -8,7 +8,7 @@
8
8
  <thead>
9
9
  <tr>
10
10
  <th><span>Type</span></th>
11
- <th :class="orderBy === 'cv.cvName' ? 'ccm-results-list-active-sort-' + orderByDirection : ''"><a href="#" @click="sortResults('cv.cvName', 'asc', $event)">{{ i118n.name }}</a></th>
11
+ <th :class="orderBy === 'cv.cvName' ? 'ccm-results-list-active-sort-' + orderByDirection : ''"><a href="#" @click="sortResults('cv.cvName', 'asc', $event)">{{ i18n.name }}</a></th>
12
12
  <th :class="orderBy === 'cv.cvDatePublic' ? 'ccm-results-list-active-sort-' + orderByDirection : ''"><a href="#" @click="sortResults('cv.cvDatePublic', 'asc', $event)">{{ i18n.date }}</a></th>
13
13
  <th :class="orderBy === 'c.cDateModified' ? 'ccm-results-list-active-sort-' + orderByDirection : ''"><a href="#" @click="sortResults('c.cDateModified', 'desc', $event)">{{ i18n.lastModified }}</a></th>
14
14
  <th><span>Author</span></th>
@@ -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
@@ -341,6 +341,7 @@
341
341
  },
342
342
 
343
343
  disableDirectExit: function() {
344
+ ConcreteEvent.publish('ToolbarDirectExitDisabled')
344
345
  var $link = $('li.ccm-toolbar-page-edit a')
345
346
  if ($link.attr('data-launch-panel') != 'check-in' && $link.attr('data-disable-panel') != 'check-in') {
346
347
  $link.attr('data-launch-panel', 'check-in').on('click', function() {
@@ -1,13 +1,8 @@
1
- div.ccm-ui {
1
+ .ccm-ui {
2
2
  .btn {
3
3
  letter-spacing: 0.03rem;
4
4
  }
5
5
 
6
- /*
7
- .btn-secondary {
8
- @include button-variant($gray-700, $gray-700, $secondary, $secondary, #fff, $secondary);
9
- }*/
10
-
11
6
  .btn-secondary {
12
7
  @include button-variant(#fff, $gray-200, $hover-background: $secondary, $hover-border: $secondary, $hover-color: #fff, $active-background: $gray-700, $active-border: $gray-700);
13
8
  }
@@ -145,32 +145,30 @@
145
145
  .ccm-ui {
146
146
  div.dropdown-menu.ccm-inline-design-dropdown-menu,
147
147
  div.ccm-dropdown-menu {
148
- background-color: #0f0f0f;
149
- color: #7f8d90;
150
-
148
+ @include border-radius($dropdown-border-radius);
149
+ background-color: $dropdown-bg;
150
+ border: $dropdown-border-width solid $dropdown-border-color;
151
151
  line-height: $line-height-base;
152
152
  min-width: 265px;
153
153
  padding: 20px;
154
-
155
154
  text-align: left;
156
155
 
157
156
  &.ccm-inline-design-dropdown-menu-doubled {
158
157
  min-width: 522px;
159
158
  }
160
159
 
161
- .ccm-file-selector {
162
- margin-bottom: 15px;
163
- margin-top: 5px;
160
+ .ui-widget-content {
161
+ border: 0 !important;
164
162
  }
165
163
 
166
- .ccm-inline-style-slider-heading {
167
- display: block;
168
- margin-bottom: 5px;
164
+ .form-label {
165
+ font-size: $font-size-sm;
166
+ font-weight: bold;
167
+ height: 30px;
168
+ line-height: 30px;
169
+ margin: 0;
169
170
  }
170
171
 
171
- .ui-widget-content {
172
- border: 0 !important;
173
- }
174
172
 
175
173
  .ccm-inline-style-slider-display-value {
176
174
  display: inline-block;
@@ -180,23 +178,18 @@
180
178
  width: 25%;
181
179
 
182
180
  input[type='text'] {
183
- background: #444;
184
- border: 0;
185
- color: #ccc;
186
181
  height: 25.1875px;
187
182
  margin-bottom: 0;
188
183
  margin-top: 0;
189
184
  outline: none;
190
185
  padding: 0 10px;
191
186
  text-align: center;
192
- text-align: center;
193
187
  width: 100%;
194
188
 
195
189
  &.ccm-slider-value-unit-appended {
196
190
  width: 80%;
197
191
  }
198
192
  }
199
-
200
193
  }
201
194
 
202
195
  .ccm-inline-style-sliders {
@@ -222,42 +215,20 @@
222
215
  }
223
216
 
224
217
  .ui-slider-horizontal {
225
- background: #444;
218
+ background: #eee;
226
219
  border-radius: 4px;
227
220
  margin-bottom: 5px;
228
221
  margin-top: 5px;
229
222
  }
230
223
 
231
- button.btn-default {
232
- @include button-variant(#ccc, #666, #333);
233
-
234
- opacity: 0.5;
235
-
236
- &.active {
237
- opacity: 1;
238
- }
239
- }
240
-
241
224
  input[type='text'] {
242
225
  border-radius: 3px;
243
226
  font-size: $font-size-sm;
244
- font-weight: 200;
245
227
  margin-bottom: 15px;
246
228
  margin-top: 5px;
247
229
  padding: 5px 10px;
248
230
  }
249
231
 
250
- select {
251
- &.form-control,
252
- &.form-select {
253
- background: #aaa;
254
- color: #4c4c4d;
255
- margin-bottom: 15px;
256
- margin-top: 5px;
257
- padding-right: 30px;
258
- }
259
- }
260
-
261
232
  .ccm-inline-select-container {
262
233
  position: relative;
263
234
  }
@@ -287,14 +258,13 @@
287
258
  }
288
259
 
289
260
  h3 {
290
- color: #fff;
291
- font-size: $font-size-sm;
261
+ font-size: $font-size-base;
292
262
  font-weight: bold;
293
263
  margin: 0 0 20px;
294
264
  }
295
265
 
296
266
  hr {
297
- border-color: #666;
267
+ border-color: #ccc;
298
268
  margin-bottom: 14px;
299
269
  margin-top: 14px;
300
270
  }
@@ -303,6 +273,7 @@
303
273
 
304
274
  /* new styles for new the area and block style customizer toolbar */
305
275
  .ccm-inline-toolbar {
276
+ background-color: #f7f7f7;
306
277
  border-radius: 2px;
307
278
  display: table;
308
279
  height: 31px;
@@ -326,25 +297,6 @@
326
297
  margin-bottom: 5px !important;
327
298
  }
328
299
 
329
- .btn-group {
330
- .btn {
331
- padding: 10px 20px;
332
- }
333
- }
334
-
335
- .ccm-item-selector-choose .btn {
336
- background-color: #fafafe;
337
- color: #2c2c2c;
338
- width: 100%;
339
- }
340
-
341
- .ccm-inline-style-slider-heading {
342
- color: #7f8d90;
343
- font-size: $font-size-sm;
344
- font-weight: normal;
345
- margin-bottom: 5px;
346
- }
347
-
348
300
  .clearfix {
349
301
  clear: both;
350
302
  }
@@ -353,15 +305,6 @@
353
305
  margin-bottom: 0;
354
306
  padding-left: 0 !important;
355
307
 
356
- label {
357
- color: #7f8d90;
358
- font-size: $font-size-sm;
359
- font-weight: normal;
360
- height: 30px;
361
- line-height: 30px;
362
- margin: 0;
363
- }
364
-
365
308
  .ccm-widget-colorpicker {
366
309
  float: right;
367
310
  }
@@ -380,7 +323,7 @@
380
323
  width: calc(95% - 65px);
381
324
 
382
325
  .ui-slider-handle {
383
- background-color: #fff !important;
326
+ background-color: #ccc !important;
384
327
  border-color: #fff;
385
328
  margin-top: 2px;
386
329
  outline: none !important;
@@ -403,7 +346,6 @@
403
346
  }
404
347
 
405
348
  > li {
406
- background: #fff;
407
349
  border-bottom: 1px solid #c4c4c4;
408
350
  border-right: 1px solid #e1e1e1;
409
351
  border-top: 1px solid #c4c4c4;
@@ -430,7 +372,6 @@
430
372
  }
431
373
 
432
374
  > li.ccm-inline-toolbar-icon-cell {
433
- @include gradient-y(#fff, #f1f1f1);
434
375
  padding: 0;
435
376
  position: relative;
436
377
  text-align: center;
@@ -438,12 +379,12 @@
438
379
  }
439
380
 
440
381
  > li.ccm-inline-toolbar-icon-cell > a {
441
- color: #333;
382
+ color: $gray-600;
442
383
  cursor: pointer;
443
384
  display: block;
444
385
  height: 100%;
445
- opacity: 0.7;
446
386
  text-decoration: none;
387
+ transition: background-color 0.25s ease-in-out;
447
388
 
448
389
  i {
449
390
  display: inline-block;
@@ -452,10 +393,19 @@
452
393
  }
453
394
  }
454
395
 
455
- > li.ccm-inline-toolbar-icon-cell.ccm-inline-toolbar-icon-selected > a,
456
396
  li.ccm-inline-toolbar-icon-cell > a:hover {
457
- @include gradient-y(#f3f3f3, #d2d2d2);
458
- box-shadow: inset 1px 1px 5px -1px rgba(0, 0, 0, 0.35) !important;
397
+ background-color: $gray-200;
398
+ }
399
+
400
+ li.ccm-inline-toolbar-icon-selected {
401
+ a,
402
+ a:hover {
403
+ background-color: $blue;
404
+
405
+ i {
406
+ color: white;
407
+ }
408
+ }
459
409
  }
460
410
 
461
411
  > li.ccm-inline-toolbar-button {
@@ -559,20 +509,8 @@
559
509
  li.ccm-inline-toolbar-icon-cell > div.ccm-dropdown-menu {
560
510
  display: none;
561
511
 
562
- &::before {
563
- border-color: transparent transparent #000;
564
- border-style: solid;
565
- border-width: 0 5px 5px;
566
- content: ' ';
567
- height: 0;
568
- left: 11px;
569
- position: absolute;
570
- top: -5px;
571
- width: 0;
572
- }
573
-
574
512
  &.active {
575
- box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.43);
513
+ box-shadow: $dropdown-box-shadow;
576
514
  display: block;
577
515
  margin-top: 1px;
578
516
  position: absolute;
@@ -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 {
@@ -19,17 +19,17 @@ div#ccm-toolbar {
19
19
  display: inline-block;
20
20
  }
21
21
 
22
- li > a {
22
+ .ccm-toolbar-item-list > li > a {
23
23
  padding: 14px 16px;
24
24
  width: auto !important;
25
25
  }
26
26
 
27
- li > a i,
28
- li > a img {
27
+ .ccm-toolbar-item-list > li > a i,
28
+ .ccm-toolbar-item-list > li > a img {
29
29
  position: static;
30
30
  }
31
31
 
32
- .spinner {
32
+ .ccm-toolbar-item-list > .spinner {
33
33
  left: 11px;
34
34
  }
35
35
  }
@@ -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.15",
4
4
  "description": "The asset framework and dependencies for Concrete CMS.",
5
5
  "scripts": {
6
6
  "lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",