File tree Expand file tree Collapse file tree 12 files changed +165
-295
lines changed Expand file tree Collapse file tree 12 files changed +165
-295
lines changed Original file line number Diff line number Diff line change 33
33
},
34
34
"devDependencies" : {
35
35
"@deboxsoft/cpx" : " ^1.5.0" ,
36
- "@wordpress/base-styles" : " ^5.20.0" ,
37
36
"@wordpress/e2e-test-utils" : " ^11.20.0" ,
38
37
"@wordpress/env" : " ^10.20.0" ,
39
38
"@wordpress/scripts" : " ^30.13.0" ,
Original file line number Diff line number Diff line change
1
+ @use " ../../../wp-base-styles.scss" as wpBaseStyles ;
2
+
1
3
.chbe-admin-header {
2
- padding : $grid-unit-20 0 ;
3
- background-color : $white ;
4
+ padding : wpBaseStyles . $grid-unit-20 0 ;
5
+ background-color : wpBaseStyles . $white ;
4
6
5
7
.chbe-admin-header__info {
6
8
position : absolute ;
7
9
top : 0 ;
8
- right : $grid-unit-20 + $grid-unit-05 ;
10
+ right : wpBaseStyles . $grid-unit-20 + wpBaseStyles . $grid-unit-05 ;
9
11
10
12
@media screen and (max-width : 782px ) {
11
13
position : static ;
12
- margin-top : $grid-unit-20 ;
14
+ margin-top : wpBaseStyles . $grid-unit-20 ;
13
15
}
14
16
}
15
17
}
Original file line number Diff line number Diff line change
1
+ @use " ../../../wp-base-styles" as wpBaseStyles ;
2
+
1
3
.chbe-admin-welcome-guide-modal {
2
4
width : 312px ;
3
5
4
6
img {
5
- margin-bottom : $grid-unit-20 ;
7
+ margin-bottom : wpBaseStyles . $grid-unit-20 ;
6
8
}
7
9
}
Original file line number Diff line number Diff line change
1
+ @use " ../../../../wp-base-styles.scss" as wpBaseStyles ;
2
+
1
3
.chbe-admin-editor-config-filter {
2
4
3
5
.components-input-control__container {
4
- background : $white ;
6
+ background : wpBaseStyles . $white ;
5
7
}
6
8
}
Original file line number Diff line number Diff line change
1
+ @use " ../../../../wp-base-styles.scss" as wpBaseStyles ;
2
+
1
3
// Toggle button
2
4
.chbe-admin-editor-config-item-help-toggle {
3
5
margin-top : -2px ;
24
26
.chbe-admin-editor-config-item-help-modal__items {
25
27
display : flex ;
26
28
flex-wrap : wrap ;
27
- gap : $grid-unit-30 ;
29
+ gap : wpBaseStyles . $grid-unit-30 ;
28
30
29
31
@media screen and (max-width : 782px ) {
30
32
flex-flow : column ;
49
51
50
52
.chbe-admin-editor-config-item-help-modal__item-button {
51
53
height : auto ;
52
- padding : $grid-unit-05 ;
54
+ padding : wpBaseStyles . $grid-unit-05 ;
53
55
}
54
56
}
Original file line number Diff line number Diff line change 1
- @import " ./components/editor-preview/style" ;
2
- @import " ./components/item-help/style" ;
3
- @import " ./components/filter/style" ;
1
+ @use " ../../wp-base-styles.scss" as wpBaseStyles ;
2
+
3
+ @use " ./components/editor-preview/style" as editorPreview ;
4
+ @use " ./components/item-help/style" as itemHelp ;
5
+ @use " ./components/filter/style" as filter ;
4
6
5
7
.chbe-admin-editor-config {
6
8
22
24
}
23
25
24
26
.chbe-admin-editor-config__basic-settings {
25
- padding : $grid-unit-30 ;
26
- background : $white ;
27
- border-top : $border-width solid $gray-300 ;
28
- border-bottom : $border-width solid $gray-300 ;
27
+ padding : wpBaseStyles . $grid-unit-30 ;
28
+ background : wpBaseStyles . $white ;
29
+ border-top : wpBaseStyles . $border-width solid wpBaseStyles . $gray-300 ;
30
+ border-bottom : wpBaseStyles . $border-width solid wpBaseStyles . $gray-300 ;
29
31
}
30
32
31
33
.chbe-admin-editor-config__preview {
32
34
position : sticky ;
33
- top : $grid-unit-50 ;
35
+ top : wpBaseStyles . $grid-unit-50 ;
34
36
width : 50% ;
35
37
36
38
@media screen and (max-width : 782px ) {
You can’t perform that action at this time.
0 commit comments