PluginProbe
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts / trunk
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts vtrunk
2.8.14 2.8.13 2.8.12 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.10 2.8.11 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 trunk 1.0.1 1.0.2 1.1.0 1.1.1 All 147 releases
content-blocks-builder / src / custom-blocks / editor.scss

editor.scss in Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts trunk, at src/custom-blocks/editor.scss

85 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 // Block, Variation, Block edit screen
3 .cbb-block-settings {
4 &.is-opened {
5 padding-bottom: 0;
6 }
7
8 .components-toggle-control {
9 width: 100%;
10 }
11
12 // Make all label bold in WP 7.0
13 .components-base-control__label,
14 .components-input-control__label {
15 font-weight: 500 !important;
16 }
17 }
18
19 // External resource styles
20 .dependent-resources-control {
21 .external-resource-group {
22 margin-bottom: 12px !important;
23 }
24 .group-control__body {
25 gap: 12px !important;
26 }
27 > .label-help > .label-help__header {
28 margin-top: 0 !important;
29 // border-bottom: 1px solid #e1e1e1;
30 }
31 }
32
33 // Custom attributes
34 .custom-attributes-control {
35 .repeater-group__item {
36 padding-bottom: 0;
37 }
38
39 .group-item-toggle {
40 margin-bottom: 8px !important;
41 }
42 }
43
44 .repeater-sub-attributes {
45 padding: 8px;
46 border: 1px solid #ddd;
47
48 .custom-attributes-control {
49 .repeater-group__item {
50 border-bottom: 0;
51
52 > .group-item-toggle {
53 margin-bottom: 4px !important;
54 }
55 }
56 }
57 }
58
59 // Code editor
60 @include break-medium() {
61 .interface-interface-skeleton__sidebar {
62 &.is-sidebar-mode,
63 &.is-fullscreen-editor {
64 .components-panel__header {
65 display: none;
66 }
67 }
68 &.is-sidebar-mode {
69 overflow: hidden;
70 }
71 }
72 }
73
74 // Repeater add item toolbar button
75 .repeater-add-item {
76 border-left: 1px solid;
77 box-shadow: none;
78 }
79
80 // Remove the edit contents buttons in WP 7.0. Will be removed when new API/settings are ready
81 .cbb-co-block-selected .block-editor-block-toolbar > .components-toolbar-group:has(> button),
82 .cbb-hide-edit-contents .block-editor-block-inspector .block-editor-block-inspector-edit-contents {
83 display: none;
84 }
85