@secretstache/wordpress-gutenberg 0.2.5 → 0.3.0

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/index.css CHANGED
@@ -10,16 +10,17 @@
10
10
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
11
11
  text-align: center; }
12
12
 
13
- .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container.has-background {
14
- transition: background 1s, color 1s; }
15
-
16
- .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child p {
17
- margin-top: 0;
18
- margin-bottom: 0; }
19
-
20
- .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child,
21
- .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > p.wp-block:only-child {
22
- margin: 2rem 0; }
13
+ .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
14
+ margin-bottom: 3rem;
15
+ padding-bottom: 100px; }
16
+ .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container.has-background {
17
+ transition: background 1s, color 1s; }
18
+ .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child p {
19
+ margin-top: 0;
20
+ margin-bottom: 0; }
21
+ .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child,
22
+ .block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > p.wp-block:only-child {
23
+ margin: 2rem 0; }
23
24
 
24
25
  .block-editor__container .block-editor-block-types-list > [role=presentation] {
25
26
  justify-content: center; }
@@ -142,3 +143,36 @@
142
143
  padding: 12px !important;
143
144
  box-shadow: inset 0 0 0 1px #1e1e1e;
144
145
  color: #1e1e1e; }
146
+
147
+ .block-editor__container .root-block-appender {
148
+ position: absolute;
149
+ bottom: 30px;
150
+ left: 50%;
151
+ transform: translateX(-50%);
152
+ width: calc(100% - var(--content-padding) * 2); }
153
+ .block-editor__container .root-block-appender::after {
154
+ content: attr(data-tooltip);
155
+ position: absolute;
156
+ left: 50%;
157
+ bottom: -30px;
158
+ transform: translateX(-50%);
159
+ z-index: 1;
160
+ visibility: hidden;
161
+ opacity: 0;
162
+ transition: opacity 0.3s;
163
+ width: max-content;
164
+ max-width: 200px;
165
+ white-space: nowrap;
166
+ background: #000;
167
+ border-radius: 2px;
168
+ color: #f0f0f0;
169
+ font-size: 12px;
170
+ line-height: 1.4;
171
+ padding: 4px 8px;
172
+ text-align: center;
173
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; }
174
+ .block-editor__container .root-block-appender:hover::after {
175
+ visibility: visible;
176
+ opacity: 1; }
177
+ .block-editor__container .root-block-appender ~ .block-list-appender.wp-block {
178
+ display: none; }