-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathstyle.scss
84 lines (69 loc) · 1.9 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
.editor-list-view-sidebar {
height: 100%;
display: flex;
flex-direction: column;
@include break-medium() {
// Same width as the Inserter.
// @see packages/block-editor/src/components/inserter/style.scss
width: 350px;
}
.edit-post-editor__document-overview-panel__header {
display: flex;
border-bottom: $border-width solid $gray-300;
}
.editor-list-view-sidebar__close-button {
background: $white;
order: 1;
align-self: center;
margin-right: $grid-unit-15;
}
}
.editor-list-view-sidebar__tabs-tablist {
box-sizing: border-box;
flex-grow: 1;
}
.editor-list-view-sidebar__tabs-tab {
width: 50%;
margin-bottom: -$border-width;
}
.editor-list-view-sidebar__tabs-tabpanel {
height: calc(100% - #{$grid-unit-60 - $border-width});
}
.editor-list-view-sidebar__list-view-panel-content,
.editor-list-view-sidebar__list-view-container > .document-outline {
height: 100%;
// Include custom scrollbars, invisible until hovered.
@include custom-scrollbars-on-hover(transparent, $gray-600);
overflow: auto;
// Only reserve space for scrollbars when there is content to scroll.
// This allows items in the list view to have equidistant padding left and right
// right up until a scrollbar is present.
scrollbar-gutter: auto;
// The table cells use an extra pixels of space left and right. We compensate for that here.
padding: $grid-unit-05;
}
.editor-list-view-sidebar__list-view-container {
display: flex;
flex-direction: column;
height: 100%;
}
.editor-list-view-sidebar__tab-panel {
height: 100%;
}
.editor-list-view-sidebar__outline {
display: flex;
flex-direction: column;
gap: $grid-unit-10;
border-bottom: $border-width solid $gray-300;
padding: $grid-unit-20;
& > div > span:first-child {
// Width of the text information fields.
width: 90px;
display: inline-block;
}
& > div > span {
font-size: $helptext-font-size;
line-height: $default-line-height;
color: $gray-700;
}
}