PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.5.3
GenerateBlocks v1.5.3
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / shared / editor.scss
generateblocks / src / shared Last commit date
editor.scss 4 years ago style-imports.js 5 years ago
editor.scss
156 lines
1 /**
2 * Shared editor styles among all the blocks.
3 */
4
5 .gblocks-notice {
6 margin-bottom: 20px;
7 }
8
9 .gblocks-panel-label .components-panel__body-toggle.components-button {
10 display: flex;
11 flex-direction: row-reverse;
12 justify-content: flex-end;
13 }
14
15 .gblocks-panel-label svg.components-panel__icon {
16 margin: 0 10px 0 0;
17 }
18
19 .gblocks-control-tabs .components-tab-panel__tabs {
20 display: flex;
21 flex-wrap: wrap;
22 margin-bottom: 15px;
23 border-bottom: 1px solid #e8eaeb;
24 }
25
26 .gblocks-control-tabs .components-tab-panel__tabs button {
27 padding: 8px;
28 height: auto;
29 margin: 0;
30 margin-bottom: -1px;
31 cursor: pointer;
32 border: none;
33 border: 0;
34 border-radius: 0;
35 outline-offset: -1px;
36 flex: 1;
37 justify-content: center;
38 font-size: 11px;
39 font-weight: 400;
40
41 &.active-tab {
42 position: relative;
43 z-index: 1;
44 background: #222 !important;
45 color: #fff !important;
46 box-shadow: 0 0 0 !important;
47 }
48 }
49
50 .gblocks-block-control-icon svg {
51 margin-right: 0 !important;
52 margin-left: 0 !important;
53 padding: 2px;
54 }
55
56 .gblocks-block-control-icon.gblocks-add-grid-item svg {
57 padding: 0;
58 }
59
60 .gblocks-block-control-icon svg path {
61 fill: inherit !important;
62 }
63
64 .gblocks-option-notice.components-notice {
65 margin: 0 0 24px;
66
67 .components-notice__content {
68 margin: 5px;
69 }
70 }
71
72 .gblocks-small-notice-description {
73 font-size: 12px;
74 color: #777;
75 margin-bottom: 10px;
76 }
77
78 .gblocks-utility-label {
79 display: flex;
80 align-items: flex-end;
81 margin-bottom: 5px;
82
83 label {
84 margin-right: auto;
85 }
86
87 .components-button {
88 height: auto;
89 justify-content: center !important;
90 margin-left: 5px;
91 min-width: auto;
92 padding: 0 6px;
93
94 &.gblocks-reset-button {
95 svg {
96 height: 20px;
97 width: 20px;
98 }
99 }
100
101 &:last-child {
102 margin-right: -5px;
103 }
104
105 svg {
106 margin-right: 0 !important;
107 height: 13px;
108 width: 13px;
109 }
110 }
111 }
112
113 .wp-block.gb-is-root-block {
114 margin-top: 0;
115 margin-bottom: 0;
116 position: relative;
117 }
118
119 .gblocks-block-icon {
120 path {
121 fill: #1e72bd;
122 }
123
124 &__headline {
125 transform: scale(0.9);
126 transform-origin: center;
127 }
128 }
129
130 .block-editor-list-view-leaf.is-selected .gblocks-block-icon path {
131 fill: currentColor !important;
132 }
133
134 .gblocks-action-panel {
135 padding: 0 !important;
136
137 .components-panel__body-title {
138 margin: 0 !important;
139 }
140
141 .components-panel__arrow path {
142 transform: rotate(90deg);
143 transform-origin: center;
144 }
145 }
146
147 /**
148 * This is a fix for GP Premium < 2.2.0.
149 * @todo Remove in GB 1.6.0.
150 */
151 .post-type-gp_elements {
152 .wp-block {
153 max-width: none;
154 }
155 }
156