-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathcontent.scss
47 lines (41 loc) · 1.11 KB
/
content.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
.block-editor-warning {
align-items: center;
display: flex;
flex-wrap: wrap;
font-family: $default-font;
padding: 1em;
// Block UI appearance.
border: $border-width solid $gray-900;
border-radius: $radius-small;
background-color: $white;
.block-editor-warning__message {
line-height: $default-line-height;
font-family: $default-font;
font-size: $default-font-size;
color: $gray-900;
margin: 0;
}
// Required extra-specificity to override paragraph block styles.
p.block-editor-warning__message.block-editor-warning__message {
min-height: auto;
}
.block-editor-warning__contents {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
align-items: baseline;
width: 100%;
gap: $grid-unit-15;
}
.block-editor-warning__actions {
align-items: center;
display: flex;
gap: $grid-unit-10;
}
}
.components-popover.block-editor-warning__dropdown {
// Set z-index as if it's displayed on the bottom, otherwise the modal
// dialog popover might overlap if displayed on the bottom.
z-index: z-index(".components-popover.block-editor-warning__dropdown");
}