forked from WordPress/gutenberg
/
style.scss
118 lines (97 loc) · 2.33 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.edit-post-manage-blocks-modal {
@include break-small() {
height: calc(100% - #{ $header-height } - #{ $header-height });
}
}
.edit-post-manage-blocks-modal .components-modal__content {
padding-bottom: 0;
display: flex;
flex-direction: column;
}
.edit-post-manage-blocks-modal .components-modal__header {
flex-shrink: 0;
margin-bottom: 0;
}
.edit-post-manage-blocks-modal__content {
display: flex;
flex-direction: column;
flex: 0 1 100%;
min-height: 0;
}
.edit-post-manage-blocks-modal__no-results {
font-style: italic;
padding: 24px 0;
text-align: center;
}
.edit-post-manage-blocks-modal__search {
margin: $grid-size-large 0;
.components-base-control__field {
margin-bottom: 0;
}
.components-base-control__label {
margin-top: -0.25 * $grid-size-large;
}
input[type="search"].components-text-control__input {
padding: 0.75 * $grid-size-large;
border-radius: $radius-round-rectangle;
}
}
.edit-post-manage-blocks-modal__category {
margin: 0 0 2rem 0;
}
.edit-post-manage-blocks-modal__category-title {
position: sticky;
top: 0;
padding: $panel-padding 0;
background-color: $white;
z-index: z-index(".edit-post-manage-blocks-modal__category-title");
.components-base-control__field {
margin-bottom: 0;
}
.components-checkbox-control__label {
font-size: 0.9rem;
font-weight: 600;
}
}
.edit-post-manage-blocks-modal__show-all {
margin-right: $grid-size;
}
.edit-post-manage-blocks-modal__checklist {
margin-top: 0;
}
.edit-post-manage-blocks-modal__checklist-item {
margin-bottom: 0;
padding-left: $grid-size-large;
border-top: 1px solid $light-gray-500;
&:last-child {
border-bottom: 1px solid $light-gray-500;
}
.components-base-control__field {
align-items: center;
display: flex;
margin: 0;
}
.components-modal__content &.components-checkbox-control__input-container {
margin: 0 $grid-size;
}
.components-checkbox-control__label {
display: flex;
align-items: center;
justify-content: space-between;
flex-grow: 1;
padding: 0.6rem 0 0.6rem 10px;
}
.editor-block-icon {
margin-right: 10px;
fill: $dark-gray-500;
}
}
.edit-post-manage-blocks-modal__results {
height: 100%;
overflow: auto;
margin-left: -1 * $grid-size-large;
margin-right: -1 * $grid-size-large;
padding-left: $grid-size-large;
padding-right: $grid-size-large;
border-top: $border-width solid $light-gray-500;
}