@secretstache/wordpress-gutenberg 0.1.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.css +97 -0
- package/build/index.js +9 -1
- package/build/index.js.map +1 -1
- package/package.json +15 -6
- package/.editorconfig +0 -18
- package/rollup.config.js +0 -40
- package/src/components/ColorPaletteControl.js +0 -16
- package/src/components/IconPicker.js +0 -73
- package/src/components/ImageActions.js +0 -59
- package/src/components/LinkControl.js +0 -31
- package/src/components/MediaPicker.js +0 -130
- package/src/components/PreviewToggle.js +0 -23
- package/src/index.js +0 -8
- package/src/utils/index.js +0 -269
package/build/index.css
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
.block-editor__container .bc-animation-block-json-file {
|
2
|
+
display: flex;
|
3
|
+
align-items: center;
|
4
|
+
cursor: pointer; }
|
5
|
+
|
6
|
+
.block-editor__container .bc-remove-btn {
|
7
|
+
margin-top: 15px;
|
8
|
+
margin-bottom: 15px;
|
9
|
+
display: flex; }
|
10
|
+
|
11
|
+
.block-editor__container .svg-container {
|
12
|
+
width: 100%;
|
13
|
+
height: auto; }
|
14
|
+
|
15
|
+
.block-editor__container .bc-image-wrapper {
|
16
|
+
position: relative;
|
17
|
+
height: auto;
|
18
|
+
align-self: start; }
|
19
|
+
.block-editor__container .bc-image-wrapper__actions {
|
20
|
+
display: none;
|
21
|
+
position: absolute;
|
22
|
+
top: 0;
|
23
|
+
left: 0;
|
24
|
+
right: 0;
|
25
|
+
bottom: 0;
|
26
|
+
flex-wrap: nowrap;
|
27
|
+
justify-content: center;
|
28
|
+
align-items: center;
|
29
|
+
gap: 20px;
|
30
|
+
padding: 5px 15px;
|
31
|
+
z-index: 20; }
|
32
|
+
@media screen and (max-width: 768px) {
|
33
|
+
.block-editor__container .bc-image-wrapper__actions {
|
34
|
+
gap: 15px; } }
|
35
|
+
.block-editor__container .bc-image-wrapper__btn {
|
36
|
+
font-size: 14px !important;
|
37
|
+
backdrop-filter: blur(16px) saturate(180%);
|
38
|
+
background: rgba(255, 255, 255, 0.75);
|
39
|
+
flex-grow: 1;
|
40
|
+
justify-content: center;
|
41
|
+
max-width: 130px; }
|
42
|
+
@media screen and (max-width: 768px) {
|
43
|
+
.block-editor__container .bc-image-wrapper__btn {
|
44
|
+
padding: 5px; } }
|
45
|
+
.block-editor__container .bc-image-wrapper__overlay {
|
46
|
+
display: none;
|
47
|
+
position: absolute;
|
48
|
+
top: 0;
|
49
|
+
left: 0;
|
50
|
+
right: 0;
|
51
|
+
bottom: 0;
|
52
|
+
z-index: 10;
|
53
|
+
background: rgba(255, 255, 255, 0.3);
|
54
|
+
backdrop-filter: blur(3px); }
|
55
|
+
.block-editor__container .bc-image-wrapper:hover .bc-image-wrapper__actions {
|
56
|
+
display: flex; }
|
57
|
+
.block-editor__container .bc-image-wrapper:hover .bc-image-wrapper__overlay {
|
58
|
+
display: block; }
|
59
|
+
|
60
|
+
.block-editor__container .bc-url-input input {
|
61
|
+
width: 100%;
|
62
|
+
border: 1px solid #949494; }
|
63
|
+
|
64
|
+
.block-editor__container .bc-selected-media-wrapper {
|
65
|
+
max-width: 200px;
|
66
|
+
cursor: pointer;
|
67
|
+
background: rgba(0, 0, 0, 0.3); }
|
68
|
+
|
69
|
+
.block-editor__container .bc-selected-media {
|
70
|
+
width: 100%; }
|
71
|
+
|
72
|
+
.block-editor__container .bc-select-btn,
|
73
|
+
.block-editor__container .bc-remove-btn {
|
74
|
+
margin-top: 15px;
|
75
|
+
margin-bottom: 15px;
|
76
|
+
display: flex; }
|
77
|
+
|
78
|
+
.block-editor__container .react-select__input {
|
79
|
+
box-shadow: none !important; }
|
80
|
+
|
81
|
+
.block-editor__container .bc-responsive-spacing-tab:last-child {
|
82
|
+
margin-bottom: 2rem; }
|
83
|
+
|
84
|
+
.block-editor__container .add-new-child-btn {
|
85
|
+
display: flex;
|
86
|
+
margin: 20px auto !important;
|
87
|
+
align-items: center;
|
88
|
+
flex-direction: column;
|
89
|
+
height: 50px;
|
90
|
+
justify-content: center;
|
91
|
+
width: 100%;
|
92
|
+
user-select: text;
|
93
|
+
font-family: inherit;
|
94
|
+
font-size: 100%;
|
95
|
+
padding: 12px !important;
|
96
|
+
box-shadow: inset 0 0 0 1px #1e1e1e;
|
97
|
+
color: #1e1e1e; }
|