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 / query / components / editor.scss
generateblocks / src / blocks / query / components Last commit date
AddQueryParameterButton.jsx 1 year ago BlockSettings.jsx 1 year ago ControlBuilder.jsx 1 year ago DateQueryControl.jsx 1 year ago DateTimeControl.jsx 1 year ago ParameterControl.jsx 1 year ago ParameterList.jsx 1 year ago QueryInspectorControls.jsx 1 year ago SelectQueryParameter.jsx 1 year ago TaxonomyParameterControl.jsx 1 year ago editor.scss 1 year ago
editor.scss
71 lines
1 @use 'sass:math';
2 @import '../../../common';
3
4 .gb-datetime-control {
5 .components-base-control {
6 margin-bottom: 0 !important;
7 }
8
9 .components-datetime__time-separator {
10 border-bottom-color: var(--wp-components-color-gray-600, #949494);
11 border-top-color: var(--wp-components-color-gray-600, #949494);
12 }
13
14 .components-datetime__date > :last-child {
15 grid-template-columns: 0.5fr repeat(5, minmax(0px, 1fr)) 0.5fr; // Copied from Core, adds minmax to prevent layout bug
16 }
17
18 .components-flex-item:empty {
19 display: none;
20 }
21
22 .components-datetime__time-wrapper {
23 flex-wrap: wrap;
24 }
25 }
26
27 $label-margin-bottom: 12px;
28
29 .gb-date-query {
30 &__inner {
31 padding-bottom: var(--gap);
32 padding-top: var(--gap);
33 }
34
35 .components-base-control__field > .components-base-control__label {
36 margin-bottom: $label-margin-bottom;
37 }
38
39 .components-toggle-group-control {
40 min-height: 35px;
41 }
42
43 &__toggle.components-button {
44 padding-left: 0;
45 }
46 }
47
48 .gb-parameter-component {
49 position: relative;
50
51 + .gb-parameter-component {
52 padding-top: 12px;
53 margin-block-start: 0 !important;
54 }
55
56 .gb-remove-parameter {
57 height: auto;
58 justify-content: flex-end !important;
59 min-width: auto;
60 position: absolute;
61 right: 0;
62 top: math.div($label-margin-bottom, 2);
63
64 &.components-button.has-icon svg {
65 margin-right: 0;
66 height: 15px;
67 width: 15px;
68 }
69 }
70 }
71