Commit 1b2c2d93 authored by Gaus Surahman's avatar Gaus Surahman Committed by Gaus Surahman
Browse files

Issue #3266027 by gausarts: Replace deprecated backbone for vanilla JS.

- Moved some services into folders to de-clutter.
- Updated to and required Blazy:2.10+.
parent c307c08b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
js/*.min.js
js/admin/*.min.js
js/components/*.min.js
js/*/*.min.js
js/*/*/*.min.js
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
    "Blazy": true,
    "dBlazy": true,
    "Bio": true,
    "Eventify": true,
    "GridStyle": true,
    "GridStatic": true,
    "GridStack": true
+6 −0
Original line number Diff line number Diff line

GridStack 8.x-2.0-dev, 2022-04-17
---------------------------------
- Removed deprecated backbone and underscore libraries for vanilla JS.
- Moved some services into folders to de-clutter.
- Updated to and required Blazy:2.10+.

GridStack 8.x-2.0-dev, 2022-02-21
---------------------------------
- Added supports for GridStack library v5.
+5 −0
Original line number Diff line number Diff line
@@ -237,6 +237,10 @@
  width: 100%;
}

.form--gridstack .form--gridstack__screenshot.has-bg img {
  display: none;
}

.form--gridstack #gridstack-canvas { /* csslint allow: ids */
  bottom: 0;
  display: block;
@@ -255,6 +259,7 @@
.gridstack-list-form .media img {
  height: auto;
  max-width: 140px;
  max-height: 260px;
}

.gridstack-list-form td:nth-child(3) {
+40 −4
Original line number Diff line number Diff line
@@ -80,10 +80,6 @@ For for media.
  background-color: transparent;
}

.is-gs-lb .is-gs-region-active {
  border: 4px solid red;
}

.is-gs-lb .gridstack__action--ajax-styles,
.is-gs-lb .gridstack__action--js-styles {
  margin-left: 1em;
@@ -107,6 +103,46 @@ For for media.
  color: #000 !important; /* csslint allow: known-properties, important */
}

.gridstack.is-gs-lb .gridstack__box.is-gs-region-active {
  outline: 4px solid red;
}

.is-gs-lb .is-gs-region-active .box__content a.layout-builder__link--configure {
  color: #000 !important; /* csslint allow: known-properties, important */
  font-weight: 600;
}

.is-gs-form,
.is-gs-section {
  position: relative;
}

.is-gs-form > .ajax-progress.ajax-progress-throbber,
.is-gs-section > .ajax-progress.ajax-progress-throbber {
  background: rgba(255, 255, 255, .8);
  border-radius: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 48px;
  width: 48px;
  z-index: 999;
}

.is-gs-form > .ajax-progress.ajax-progress-throbber .throbber,
.is-gs-section > .ajax-progress.ajax-progress-throbber .throbber {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ui-dialog-off-canvas.is-b-loading:not([data-animation])::before {
  z-index: 999;
}

/* Admin only: Bg dark with opacity has !important due to off-canvas BGs. */
.bg-dark-20 {
  background-color: rgba(0, 0, 0, .2) !important; /* csslint allow: known-properties, important */
Loading