@secretstache/wordpress-gutenberg 0.6.0 → 0.6.1
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.
package/build/editor-ui.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.editor-sidebar .bc-url-input{min-width:100%}.editor-sidebar .bc-url-input input{width:100%;border:1px solid #949494}.editor-sidebar .bc-url-input__suggestions{max-width:245px}.editor-sidebar .components-base-control .block-editor-link-control .block-editor-url-input{margin-top:0}.editor-sidebar .components-base-control .block-editor-link-control .block-editor-link-control__search-item{padding-top:0}.editor-sidebar .block-editor-link-control{min-width:100%;width:100%}.editor-sidebar .block-editor-link-control .block-editor-url-input{min-width:100%}.editor-sidebar .block-editor-link-control .block-editor-url-input__input{width:100%}.editor-sidebar .block-editor-link-control .components-base-control{margin-left:0;margin-right:0}.editor-sidebar .block-editor-link-control .block-editor-link-control__search-enter{right:5px}.editor-sidebar .block-editor-link-control .components-spinner{top:50%;transform:translateY(-50%)}.editor-sidebar .block-editor-link-control .block-editor-link-control__tools,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-actions,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-results,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-item{padding-left:0;padding-right:0}.editor-sidebar .block-editor-link-control .components-menu-item__item{min-width:unset}.editor-sidebar .block-editor-link-control .components-button.block-editor-link-control__drawer-toggle{box-shadow:none;outline:none}.editor-sidebar .bc-animation-block-json-file{display:flex;align-items:center;cursor:pointer}.editor-sidebar .bc-remove-btn{margin-top:15px;margin-bottom:15px;display:flex}.editor-sidebar .svg-container{width:100%;height:auto}.editor-sidebar .bc-selected-media-wrapper{max-width:
|
1
|
+
.editor-sidebar .bc-url-input{min-width:100%}.editor-sidebar .bc-url-input input{width:100%;border:1px solid #949494}.editor-sidebar .bc-url-input__suggestions{max-width:245px}.editor-sidebar .components-base-control .block-editor-link-control .block-editor-url-input{margin-top:0}.editor-sidebar .components-base-control .block-editor-link-control .block-editor-link-control__search-item{padding-top:0}.editor-sidebar .block-editor-link-control{min-width:100%;width:100%}.editor-sidebar .block-editor-link-control .block-editor-url-input{min-width:100%}.editor-sidebar .block-editor-link-control .block-editor-url-input__input{width:100%}.editor-sidebar .block-editor-link-control .components-base-control{margin-left:0;margin-right:0}.editor-sidebar .block-editor-link-control .block-editor-link-control__search-enter{right:5px}.editor-sidebar .block-editor-link-control .components-spinner{top:50%;transform:translateY(-50%)}.editor-sidebar .block-editor-link-control .block-editor-link-control__tools,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-actions,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-results,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-item{padding-left:0;padding-right:0}.editor-sidebar .block-editor-link-control .components-menu-item__item{min-width:unset}.editor-sidebar .block-editor-link-control .components-button.block-editor-link-control__drawer-toggle{box-shadow:none;outline:none}.editor-sidebar .bc-animation-block-json-file{display:flex;align-items:center;cursor:pointer}.editor-sidebar .bc-remove-btn{margin-top:15px;margin-bottom:15px;display:flex}.editor-sidebar .svg-container{width:100%;height:auto}.editor-sidebar .bc-selected-media-wrapper{max-width:100%;cursor:pointer;background:rgba(0,0,0,.3)}.editor-sidebar .bc-selected-media{display:block;width:100%}.editor-sidebar .bc-selected-media--image{max-height:300px}.editor-sidebar .bc-selected-media--video{min-height:130px}.editor-sidebar .bc-select-btn,.editor-sidebar .bc-remove-btn{margin-top:15px;margin-bottom:15px;display:flex}.editor-sidebar .react-select__input{box-shadow:none !important}.editor-sidebar .bc-responsive-spacing-tab:last-child{margin-bottom:2rem}.editor-sidebar .bc-spacing-control-wrapper{margin-bottom:35px}.editor-sidebar .bc-spacing-range-control{padding:0 6px}.editor-sidebar .bc-spacing-range-control .components-base-control__label{margin-left:-9px}.editor-sidebar .bc-spacing-range-control .components-range-control__root .components-range-control__wrapper{margin-bottom:0}.editor-sidebar .bc-spacing-range-control .components-range-control__root .components-range-control__wrapper .components-range-control__marks .components-range-control__mark-label{left:8px !important;margin-top:7px !important}.editor-sidebar .bc-spacing-range-control .components-base-control__help{margin-left:-11px}.editor-sidebar .bc-image-wrapper{position:relative;height:auto;align-self:start}.editor-sidebar .bc-image-wrapper__actions{display:none;position:absolute;top:0;left:0;right:0;bottom:0;flex-wrap:nowrap;justify-content:center;align-items:center;gap:20px;padding:5px 15px;z-index:20}@media screen and (max-width: 768px){.editor-sidebar .bc-image-wrapper__actions{gap:15px}}.editor-sidebar .bc-image-wrapper__btn{font-size:14px !important;backdrop-filter:blur(16px) saturate(180%);background:hsla(0,0%,100%,.75);flex-grow:1;justify-content:center;max-width:130px}@media screen and (max-width: 768px){.editor-sidebar .bc-image-wrapper__btn{padding:5px}}.editor-sidebar .bc-image-wrapper__overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:10;background:hsla(0,0%,100%,.3);backdrop-filter:blur(3px)}.editor-sidebar .bc-image-wrapper:hover .bc-image-wrapper__actions{display:flex}.editor-sidebar .bc-image-wrapper:hover .bc-image-wrapper__overlay{display:block}.editor-visual-editor{z-index:1}.editor-visual-editor.is-resizable+.edit-post-layout__metaboxes{display:none}.block-editor-block-types-list>[role=presentation]{justify-content:center}.block-editor-inserter__insertable-blocks-at-selection+.block-editor-inserter__all-blocks{display:none}
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
.bc-selected-media-wrapper {
|
2
|
-
max-width:
|
2
|
+
max-width: 100%;
|
3
3
|
cursor: pointer;
|
4
4
|
background: rgba(0, 0, 0, 0.3);
|
5
5
|
}
|
@@ -11,6 +11,10 @@
|
|
11
11
|
&--image {
|
12
12
|
max-height: 300px;
|
13
13
|
}
|
14
|
+
|
15
|
+
&--video {
|
16
|
+
min-height: 130px;
|
17
|
+
}
|
14
18
|
}
|
15
19
|
|
16
20
|
.bc-select-btn,
|
package/src/styles/styles.scss
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
.editor-visual-editor__post-title-wrapper {
|
2
|
-
margin-top: 10px !important;
|
3
|
-
margin-bottom: 10px !important;
|
4
|
-
|
5
|
-
h1.editor-post-title {
|
6
|
-
margin: 0;
|
7
|
-
border-bottom: 1px dashed #ddd;
|
8
|
-
padding-bottom: 10px;
|
9
|
-
font-weight: normal;
|
10
|
-
font-size: 30px;
|
11
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
12
|
-
text-align: center;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.editor-visual-editor {
|
17
|
-
z-index: 1;
|
18
|
-
|
19
|
-
// Hide metaboxes in Pattern editor
|
20
|
-
&.is-resizable {
|
21
|
-
& + .edit-post-layout__metaboxes {
|
22
|
-
display: none;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
// Common editor
|
27
|
-
&:not(.is-resizable) {
|
28
|
-
// Hide default appender clickable area
|
29
|
-
.editor-styles-wrapper::after {
|
30
|
-
display: none;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
|
36
|
-
@import "root-block-appender";
|
37
|
-
@import "empty-block-appender";
|
38
|
-
@import "new-child-btn";
|
39
|
-
|
40
|
-
margin-bottom: 0;
|
41
|
-
padding-bottom: 0;
|
42
|
-
|
43
|
-
&:has(.root-block-appender) {
|
44
|
-
margin-bottom: 3rem;
|
45
|
-
padding-bottom: 200px;
|
46
|
-
}
|
47
|
-
|
48
|
-
&.has-background {
|
49
|
-
transition:
|
50
|
-
background 1s,
|
51
|
-
color 1s;
|
52
|
-
}
|
53
|
-
|
54
|
-
& > .block-list-appender.wp-block:only-child {
|
55
|
-
p {
|
56
|
-
margin-top: 0;
|
57
|
-
margin-bottom: 0;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
& > .block-list-appender.wp-block:only-child,
|
62
|
-
& > p.wp-block:only-child {
|
63
|
-
margin: 2rem 0;
|
64
|
-
}
|
65
|
-
|
66
|
-
.components-notice {
|
67
|
-
color: #000;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
.editor-sidebar {
|
72
|
-
@import "link-control";
|
73
|
-
@import "animation-file-renderer";
|
74
|
-
@import "icon-picker";
|
75
|
-
@import "media-picker";
|
76
|
-
@import "sortable-select";
|
77
|
-
@import "responsive-spacing";
|
78
|
-
}
|
79
|
-
|
80
|
-
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container,
|
81
|
-
.editor-sidebar {
|
82
|
-
@import "image-wrapper";
|
83
|
-
}
|
84
|
-
|
85
|
-
.block-editor-block-types-list > [role=presentation] {
|
86
|
-
justify-content: center;
|
87
|
-
}
|
88
|
-
|
89
|
-
.block-editor-inserter__insertable-blocks-at-selection + .block-editor-inserter__all-blocks {
|
90
|
-
display: none;
|
91
|
-
}
|