-
Notifications
You must be signed in to change notification settings - Fork 4k
/
style.scss
75 lines (64 loc) · 1.42 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.components-placeholder {
margin-bottom: $default-block-margin;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1em;
min-height: 200px;
width: 100%;
text-align: center;
// Use opacity to work in various editor styles.
background: $dark-opacity-light-200;
.is-dark-theme & {
background: $light-opacity-light-200;
}
}
.components-placeholder__instructions,
.components-placeholder__label,
.components-placeholder__fieldset {
font-family: $default-font;
font-size: $default-font-size;
}
.components-placeholder__label {
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
margin-bottom: 1em;
.dashicon,
.block-editor-block-icon {
fill: currentColor;
margin-right: 1ch;
}
}
.components-placeholder__fieldset,
.components-placeholder__fieldset form {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
max-width: 400px;
flex-wrap: wrap;
z-index: z-index(".components-placeholder__fieldset");
p {
font-family: $default-font;
font-size: $default-font-size;
}
}
.components-placeholder__fieldset.is-column-layout,
.components-placeholder__fieldset.is-column-layout form {
flex-direction: column;
}
.components-placeholder__input {
margin-top: 0;
margin-right: 8px;
flex: 1 1 auto;
}
.components-placeholder__instructions {
margin-bottom: 1em;
}
.components-placeholder__preview img {
margin: 3%;
width: 50%;
}