PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.1.0
GenerateBlocks v1.1.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 / shared / editor.scss
generateblocks / src / shared Last commit date
editor.scss 5 years ago style-imports.js 5 years ago
editor.scss
100 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 .components-gblocks-control__header {
20 display: flex;
21 justify-content: space-between;
22 margin-bottom: 5px;
23 align-items: center;
24 }
25
26 .components-panel__body .components-gblocks-control__units .components-button {
27 background: #fff;
28 border-color: #e2e4e7;
29 -webkit-box-shadow: none !important;
30 box-shadow: none !important;
31 color: #6c7781;
32 font-size: 10px;
33 padding: 0 5px;
34 position: relative;
35 text-align: center;
36 text-shadow: none;
37 border: 1px solid;
38
39 &.is-primary {
40 background: #0070a7;
41 border-color: #0070a7;
42 color: #fff;
43 cursor: default;
44 z-index: 1;
45 }
46 }
47
48 .gblocks-control-tabs .components-tab-panel__tabs {
49 display: flex;
50 flex-wrap: wrap;
51 margin-bottom: 15px;
52 border-bottom: 1px solid #e8eaeb;
53 }
54
55 .gblocks-control-tabs .components-tab-panel__tabs button {
56 padding: 8px;
57 height: auto;
58 margin: 0;
59 margin-bottom: -1px;
60 cursor: pointer;
61 border: none;
62 border: 0;
63 border-radius: 0;
64 outline-offset: -1px;
65 flex: 1;
66 justify-content: center;
67 font-size: 11px;
68 font-weight: 400;
69
70 &.active-tab {
71 position: relative;
72 z-index: 1;
73 background: #222 !important;
74 color: #fff !important;
75 box-shadow: 0 0 0 !important;
76 }
77 }
78
79 .gblocks-block-control-icon svg {
80 margin-right: 0 !important;
81 margin-left: 0 !important;
82 padding: 2px;
83 }
84
85 .gblocks-block-control-icon.gblocks-add-grid-item svg {
86 padding: 0;
87 }
88
89 .gblocks-block-control-icon svg path {
90 fill: inherit !important;
91 }
92
93 .gblocks-option-notice.components-notice {
94 margin: 0 0 24px;
95
96 .components-notice__content {
97 margin: 5px;
98 }
99 }
100