@secretstache/wordpress-gutenberg 0.4.10 → 0.4.11

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/styles.css CHANGED
@@ -17,14 +17,14 @@
17
17
  .editor-visual-editor:not(.is-resizable) .editor-styles-wrapper::after {
18
18
  display: none; }
19
19
 
20
- .is-root-container {
20
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
21
21
  margin-bottom: 0;
22
22
  padding-bottom: 0; }
23
- .is-root-container .bc-image-wrapper {
23
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper {
24
24
  position: relative;
25
25
  height: auto;
26
26
  align-self: start; }
27
- .is-root-container .bc-image-wrapper__actions {
27
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions {
28
28
  display: none;
29
29
  position: absolute;
30
30
  top: 0;
@@ -38,9 +38,9 @@
38
38
  padding: 5px 15px;
39
39
  z-index: 20; }
40
40
  @media screen and (max-width: 768px) {
41
- .is-root-container .bc-image-wrapper__actions {
41
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions {
42
42
  gap: 15px; } }
43
- .is-root-container .bc-image-wrapper__btn {
43
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn {
44
44
  font-size: 14px !important;
45
45
  backdrop-filter: blur(16px) saturate(180%);
46
46
  background: rgba(255, 255, 255, 0.75);
@@ -48,9 +48,9 @@
48
48
  justify-content: center;
49
49
  max-width: 130px; }
50
50
  @media screen and (max-width: 768px) {
51
- .is-root-container .bc-image-wrapper__btn {
51
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn {
52
52
  padding: 5px; } }
53
- .is-root-container .bc-image-wrapper__overlay {
53
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__overlay {
54
54
  display: none;
55
55
  position: absolute;
56
56
  top: 0;
@@ -60,17 +60,17 @@
60
60
  z-index: 10;
61
61
  background: rgba(255, 255, 255, 0.3);
62
62
  backdrop-filter: blur(3px); }
63
- .is-root-container .bc-image-wrapper:hover .bc-image-wrapper__actions {
63
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__actions {
64
64
  display: flex; }
65
- .is-root-container .bc-image-wrapper:hover .bc-image-wrapper__overlay {
65
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__overlay {
66
66
  display: block; }
67
- .is-root-container .root-block-appender {
67
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender {
68
68
  position: absolute;
69
69
  bottom: 30px;
70
70
  left: 50%;
71
71
  transform: translateX(-50%);
72
72
  width: calc(100% - var(--content-padding) * 2); }
73
- .is-root-container .root-block-appender::after {
73
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender::after {
74
74
  content: attr(data-tooltip);
75
75
  position: absolute;
76
76
  left: 50%;
@@ -91,12 +91,12 @@
91
91
  padding: 4px 8px;
92
92
  text-align: center;
93
93
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; }
94
- .is-root-container .root-block-appender:hover::after {
94
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender:hover::after {
95
95
  visibility: visible;
96
96
  opacity: 1; }
97
- .is-root-container .root-block-appender ~ .block-list-appender.wp-block {
97
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender ~ .block-list-appender.wp-block {
98
98
  display: none; }
99
- .is-root-container .empty-block-appender {
99
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender {
100
100
  --button-color: #192f5f;
101
101
  --button-border: var(--button-color);
102
102
  --button-hover-color: var(--wp-admin-theme-color);
@@ -107,25 +107,25 @@
107
107
  align-items: center;
108
108
  justify-content: center;
109
109
  padding: 32px; }
110
- .is-root-container .empty-block-appender__content {
110
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__content {
111
111
  text-align: center; }
112
- .is-root-container .empty-block-appender__icon {
112
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__icon {
113
113
  width: 48px;
114
114
  height: 48px;
115
115
  color: var(--button-color);
116
116
  margin-bottom: 16px; }
117
- .is-root-container .empty-block-appender__title {
117
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__title {
118
118
  font-size: 32px;
119
119
  font-weight: 600;
120
120
  line-height: 110%;
121
121
  color: var(--button-color);
122
122
  margin-bottom: 0.5rem; }
123
- .is-root-container .empty-block-appender__text {
123
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__text {
124
124
  font-size: 1rem;
125
125
  font-weight: 400;
126
126
  color: var(--button-color);
127
127
  margin-bottom: 1.5rem; }
128
- .is-root-container .empty-block-appender__button .block-editor-button-block-appender {
128
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender {
129
129
  display: inline-flex;
130
130
  justify-content: center;
131
131
  align-items: center;
@@ -141,29 +141,29 @@
141
141
  color: var(--button-color);
142
142
  font-weight: 600;
143
143
  font-size: 22px; }
144
- .is-root-container .empty-block-appender__button .block-editor-button-block-appender:hover, .is-root-container .empty-block-appender__button .block-editor-button-block-appender:focus {
144
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender:hover, .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender:focus {
145
145
  color: var(--button-hover-color);
146
146
  border-color: var(--button-hover-border) !important;
147
147
  outline: none !important;
148
148
  box-shadow: none !important; }
149
- .is-root-container .empty-block-appender__button .block-editor-button-block-appender::before, .is-root-container .empty-block-appender__button .block-editor-button-block-appender::after {
149
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender::before, .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender::after {
150
150
  display: none !important; }
151
- .is-root-container .empty-block-appender__button .block-editor-button-block-appender .block-editor-button-block-appender__content {
151
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender .block-editor-button-block-appender__content {
152
152
  display: flex;
153
153
  align-items: center;
154
154
  justify-content: center;
155
155
  width: 24px;
156
156
  height: 24px; }
157
- .is-root-container:has(.root-block-appender) {
157
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container:has(.root-block-appender) {
158
158
  margin-bottom: 3rem;
159
159
  padding-bottom: 200px; }
160
- .is-root-container.has-background {
160
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container.has-background {
161
161
  transition: background 1s, color 1s; }
162
- .is-root-container > .block-list-appender.wp-block:only-child p {
162
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child p {
163
163
  margin-top: 0;
164
164
  margin-bottom: 0; }
165
- .is-root-container > .block-list-appender.wp-block:only-child,
166
- .is-root-container > p.wp-block:only-child {
165
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child,
166
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > p.wp-block:only-child {
167
167
  margin: 2rem 0; }
168
168
 
169
169
  .editor-sidebar .bc-url-input input {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretstache/wordpress-gutenberg",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "",
5
5
  "author": "Secret Stache",
6
6
  "license": "GPL-2.0-or-later",
@@ -32,7 +32,7 @@
32
32
  }
33
33
  }
34
34
 
35
- .is-root-container {
35
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
36
36
  @import "image-wrapper";
37
37
  @import "root-block-appender";
38
38
  @import "empty-block-appender";