-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathmain.scss
120 lines (99 loc) · 1.72 KB
/
main.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
119
120
body.gutenberg-editor-page {
background: $white;
#update-nag, .update-nag {
display: none;
}
#wpcontent {
padding-left: 0;
}
#wpbody-content {
padding-bottom: 0;
}
#wpfooter {
display: none;
}
.a11y-speak-region {
left: -1px;
top: -1px;
}
svg {
fill: currentColor;
}
ul#adminmenu a.wp-has-current-submenu:after,
ul#adminmenu>li.current>a.current:after {
border-right-color: $white;
}
&.rtl ul#adminmenu a.wp-has-current-submenu:after,
&.rtl ul#adminmenu>li.current>a.current:after {
border-right-color: transparent;
border-left-color: $white;
}
}
.gutenberg {
* {
box-sizing: border-box;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
ul,
ol {
margin: 0;
padding: 0;
}
select {
font-size: $default-font-size;
color: $dark-gray-500;
}
}
.gutenberg__editor {
position: absolute;
top: $admin-bar-height-big;
right: 0;
bottom: 0;
left: 0;
min-height: calc( 100vh - #{ $admin-bar-height-big } );
// The parent relative container changes
@include break-small {
top: 0;
}
// The WP header height changes at this breakpoint
@include break-medium {
min-height: calc( 100vh - #{ $admin-bar-height } );
}
img {
max-width: 100%;
}
iframe {
width: 100%;
}
.components-navigate-regions {
height: 100%;
}
}
.editor-post-title,
.editor-block-list__block {
input,
textarea {
border-radius: 4px;
border-color: $light-gray-500;
font-family: $default-font;
font-size: $default-font-size;
padding: 6px 10px;
&::-webkit-input-placeholder {
color: $dark-gray-300;
}
&::-moz-placeholder {
color: $dark-gray-300;
}
&:-ms-input-placeholder {
color: $dark-gray-300;
}
&:-moz-placeholder {
color: $dark-gray-300;
}
}
}