-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
style.scss
54 lines (45 loc) · 1.13 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.block-editor-block-inspector {
p:not(.components-base-control__help) {
margin-top: 0;
}
h2,
h3 {
font-size: $default-font-size;
color: $gray-900;
margin-bottom: 1.5em;
}
.components-base-control {
margin-bottom: #{ $grid-unit-30 };
&:last-child {
margin-bottom: $grid-unit-10;
}
}
// Reset unwanted margin-bottom from being applied to BaseControls within certain components.
.components-focal-point-picker-control,
.components-query-controls,
.components-range-control {
.components-base-control {
margin-bottom: 0;
}
}
.components-panel__body {
border: none;
border-top: $border-width solid $gray-200;
// Ensures this PanelBody is treated like the ToolsPanel, removing double borders.
margin-top: -$border-width;
}
}
.block-editor-block-inspector__no-blocks,
.block-editor-block-inspector__no-block-tools {
display: block;
font-size: $default-font-size;
background: $white;
padding: ($grid-unit-20 * 2) $grid-unit-20;
text-align: center;
}
.block-editor-block-inspector__no-block-tools {
border-top: $border-width solid $gray-300;
}
.block-editor-block-inspector__tab-item {
flex: 1 1 0px;
}