-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
style.scss
74 lines (62 loc) · 1.24 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
.interface-complementary-area {
background: $white;
color: $gray-900;
@include break-small() {
-webkit-overflow-scrolling: touch;
}
@include break-medium() {
width: $sidebar-width;
}
.components-panel {
border: none;
// Make a stacking context that keeps all descendents behind the sticky header
position: relative;
z-index: z-index(".interface-complementary-area .components-panel");
}
.components-panel__header {
position: sticky;
top: 0;
z-index: z-index(".interface-complementary-area .components-panel__header");
&.edit-post-sidebar__panel-tabs {
top: $panel-header-height;
@include break-medium() {
top: 0;
}
}
}
p {
margin-top: 0;
}
h2 {
font-size: $default-font-size;
color: $gray-900;
margin-bottom: 1.5em;
}
// Subheading style.
h3 {
font-size: 11px;
text-transform: uppercase;
font-weight: 500;
color: $gray-900;
margin-bottom: 1.5em;
}
hr {
border-top: none;
border-bottom: 1px solid $gray-100;
margin: 1.5em 0;
}
div.components-toolbar-group,
div.components-toolbar {
box-shadow: none;
margin-bottom: 1.5em;
&:last-child {
margin-bottom: 0;
}
}
.block-editor-skip-to-selected-block:focus {
top: auto;
right: 10px;
bottom: 10px;
left: auto;
}
}