8 |
9 | {__(
10 | 'To edit this block please use a desktop browser',
11 | 'maxi-blocks'
12 | )}
13 |
14 |
15 | );
16 |
17 | export default DisabledMaxiBlock;
18 |
--------------------------------------------------------------------------------
/src/components/maxi-block/editor.scss:
--------------------------------------------------------------------------------
1 | .maxi-block {
2 | &.maxi-block--backend {
3 | &.maxi-block--is-drag-over:before {
4 | content: '';
5 | position: absolute;
6 | width: 100%;
7 | height: 100%;
8 | box-shadow: 0px 0px 5px 5px rgba(241, 239, 238, 0.75);
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/components/maxi-block/index.js:
--------------------------------------------------------------------------------
1 | export { default as MaxiBlock } from './maxiBlock';
2 | export { default as getMaxiBlockAttributes } from './getMaxiBlockAttributes';
3 |
--------------------------------------------------------------------------------
/src/components/maxi-popover-button/editor.scss:
--------------------------------------------------------------------------------
1 | body.maxi-blocks--active .components-popover.maxi-popover-button {
2 | .components-popover__content {
3 | margin: auto;
4 | overflow: hidden;
5 | transform: translateY(100%);
6 | }
7 |
8 | &--open {
9 | z-index: -1;
10 | }
11 |
12 | &--hidden {
13 | display: none;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/components/motion-preview/editor.scss:
--------------------------------------------------------------------------------
1 | .maxi-motion-preview {
2 | z-index: 1;
3 | }
4 |
--------------------------------------------------------------------------------
/src/components/relation-control/editor.scss:
--------------------------------------------------------------------------------
1 | .maxi-relation-control {
2 | &__button {
3 | display: flex;
4 | width: 100%;
5 | justify-content: center;
6 | margin-bottom: 10px;
7 | }
8 | &__block-access {
9 | margin-bottom: 10px;
10 | }
11 | .maxi-list-item-control__title__wrapper {
12 | overflow: hidden;
13 | max-width: 190px;
14 | text-overflow: ellipsis;
15 | white-space: nowrap;
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/components/shape-divider/style.scss:
--------------------------------------------------------------------------------
1 | .maxi-shape-divider {
2 | position: relative;
3 | z-index: 1;
4 | transition: all 1s;
5 | overflow: hidden;
6 |
7 | svg {
8 | width: 100%;
9 | height: 100%;
10 | }
11 |
12 | &__bottom {
13 | margin-top: auto;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/components/spinner/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * External dependencies
3 | */
4 | import classnames from 'classnames';
5 |
6 | /**
7 | * Styles
8 | */
9 | import './editor.scss';
10 |
11 | const Spinner = ({ className }) => {
12 | const classes = classnames('maxi-spinner', className);
13 |
14 | return