-
Notifications
You must be signed in to change notification settings - Fork 4k
/
style.scss
94 lines (77 loc) · 1.83 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
.edit-site-swap-template-modal {
z-index: z-index(".edit-site-swap-template-modal");
}
.edit-site-page-panels__swap-template__confirm-modal__actions {
margin-top: $grid-unit-30;
}
.edit-site-page-panels__swap-template__modal-content .block-editor-block-patterns-list {
column-count: 2;
column-gap: $grid-unit-30;
// Small top padding required to avoid cutting off the visible outline when hovering items
padding-top: $border-width-focus-fallback;
@include break-medium() {
column-count: 3;
}
@include break-wide() {
column-count: 4;
}
.block-editor-block-patterns-list__list-item {
break-inside: avoid-column;
}
.block-editor-block-patterns-list__item {
// Avoid to override the BlockPatternList component
// default hover and focus styles.
&:not(:focus):not(:hover) .block-editor-block-preview__container {
box-shadow: 0 0 0 1px $gray-300;
}
}
}
.edit-site-change-status__content {
.components-popover__content {
min-width: 320px;
padding: $grid-unit-20;
}
.edit-site-change-status__options {
.components-base-control__field > .components-v-stack {
gap: $grid-unit-10;
}
label {
.components-text {
display: block;
margin-left: $radio-input-size + 6;
}
}
}
.edit-site-change-status__password-legend {
padding: 0;
margin-bottom: $grid-unit-10;
}
}
.edit-site-summary-field {
.components-dropdown {
width: 70%;
}
.edit-site-summary-field__trigger {
max-width: 100%;
// Truncate
display: block;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.edit-site-summary-field__label {
width: 30%;
}
}
.edit-site-page-panels-edit-template__dropdown {
.components-popover__content {
min-width: 240px;
}
}
.edit-site-page-panels-edit-slug__dropdown {
.components-popover__content {
min-width: 320px;
padding: $grid-unit-20;
}
}