-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathstyle.scss
82 lines (71 loc) · 1.64 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
.edit-post-meta-boxes-area {
position: relative;
/**
* The wordpress default for most meta-box elements is content-box. Some
* elements such as textarea and input are set to border-box in forms.css.
* These elements therefore specifically set back to border-box here, while
* other elements (such as .button) are unaffected by Gutenberg's style
* because of their higher specificity.
*/
&__container,
.inside {
box-sizing: content-box;
}
textarea,
input {
box-sizing: border-box;
}
/* Match width and positioning of the meta boxes. Override default styles. */
#poststuff {
margin: 0 auto;
padding-top: 0;
min-width: auto;
}
/* Override Default meta box stylings */
#poststuff h3.hndle,
#poststuff .stuffbox > h3,
#poststuff h2.hndle { /* WordPress selectors yolo */
border-bottom: $border-width solid $light-gray-500;
box-sizing: border-box;
color: inherit;
font-weight: 600;
outline: none;
padding: 15px;
position: relative;
width: 100%;
}
.postbox {
border: 0;
color: inherit;
margin-bottom: 0;
}
.postbox > .inside {
border-bottom: $border-width solid $light-gray-500;
color: inherit;
padding: 0 $block-padding $block-padding;
margin: 0;
}
.postbox .handlediv {
height: 44px;
width: 44px;
}
&.is-loading::before {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
background: transparent;
z-index: z-index(".edit-post-meta-boxes-area.is-loading::before");
}
.components-spinner {
position: absolute;
top: 10px;
right: 20px;
z-index: z-index(".edit-post-meta-boxes-area .spinner");
}
}
.edit-post-meta-boxes-area__clear {
clear: both;
}