PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.0.0
GenerateBlocks v2.0.0
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 / blocks / grid / editor.scss
generateblocks / src / blocks / grid Last commit date
components 1 year ago css 3 years ago attributes.js 2 years ago block.js 1 year ago deprecated.js 3 years ago edit.js 2 years ago editor.scss 4 years ago transforms.js 1 year ago
editor.scss
125 lines
1 .gb-grid-wrapper {
2 margin: 0;
3
4 .gb-grid-column {
5 box-sizing: border-box;
6 }
7
8 > .block-editor-inner-blocks > .block-editor-block-list__layout {
9 position: relative;
10 display: flex;
11 flex-wrap: wrap;
12 justify-content: flex-start;
13 }
14 }
15
16 .wp-block.gb-col {
17 margin-top: 29px;
18 }
19
20 // Layouts selector.
21 .components-placeholder.components-placeholder.gb-select-layout {
22 padding: 25px;
23 background: #fff;
24 color: #000;
25
26 .components-placeholder__label {
27 margin: 0 auto;
28 }
29
30 .components-placeholder__instructions {
31 margin: 0 auto 25px;
32 }
33
34 iframe {
35 display: flex;
36 justify-content: center;
37 align-items: center;
38 }
39
40 .gb-grid-wrapper-layout-preview {
41 max-width: 500px;
42 }
43
44 .components-placeholder__fieldset {
45 display: flex;
46 justify-content: center;
47
48 & > em {
49 margin-bottom: 25px;
50 }
51 }
52
53 .gb-grid-wrapper-layout-preview {
54 display: flex;
55 flex-wrap: wrap;
56 justify-content: center;
57 margin-right: -7px;
58 margin-left: -7px;
59
60 .gb-grid-wrapper-layout-preview-btn {
61 display: flex;
62 flex-wrap: nowrap;
63 width: 85px;
64 padding: 0;
65 margin-right: 7px;
66 margin-bottom: 14px;
67 margin-left: 7px;
68 overflow: hidden;
69 cursor: pointer;
70 background: none;
71 border-radius: 0;
72 border: 0;
73
74 .gb-col {
75 background: #fff;
76 border: 1px solid #000;
77 margin: 1px;
78 height: 40px;
79 }
80 }
81 }
82 }
83
84 .gb-col {
85 &.gb-col-100 {
86 width: 100%;
87 }
88
89 &.gb-col-20 {
90 flex-basis: 20%;
91 }
92
93 &.gb-col-25 {
94 flex-basis: 25%;
95 }
96
97 &.gb-col-75 {
98 flex-basis: 75%;
99 }
100
101 &.gb-col-66-66 {
102 flex-basis: 66.66%;
103 }
104
105 &.gb-col-50 {
106 flex-basis: 50%;
107 }
108
109 &.gb-col-60 {
110 flex-basis: 60%;
111 }
112
113 &.gb-col-33-33 {
114 flex-basis: 33.33%;
115 }
116
117 &.gb-col-20 {
118 flex-basis: 20%;
119 }
120
121 &.gb-col-16 {
122 flex-basis: 16.6%;
123 }
124 }
125