-
Notifications
You must be signed in to change notification settings - Fork 0
/
general.scss
53 lines (43 loc) · 1.31 KB
/
general.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
.wp-block {
&[data-type^='nh3/'],
.nh3-mag-blocks-document-selector {
.components-notice {
&.is-error,
&.is-warning,
&.is-success,
&.is-info {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
margin: 0;
padding: 6px 12px;
.components-notice__content {
font-size: 13px;
line-height: 1.3em;
margin: 8px 0;
}
}
}
}
/*
Remove bold/italic/link/etc toolbar
&[data-type='core/paragraph'],*/
&[data-type='core/quote'] {
.editor-block-toolbar {
&>.components-toolbar,
&>.editor-format-toolbar {
display: none;
}
}
}
&[data-type='core/heading'] {
.editor-block-toolbar {
&>.editor-format-toolbar {
display: none;
}
}
}
}
// This hide the "Inline Elements" section in the block selector
// This is necessary to hide the "Inline Image" block, that is currently (2019-05-27) authorized when the 'core/paragraph' block is authorized
.editor-inserter__inline-elements {
display: none;
}