-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update e2e selector for global styles button
- Loading branch information
Showing
8 changed files
with
91 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
packages/edit-site/src/components/navigation-sidebar/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
.edit-site-global-styles-sidebar { | ||
display: flex; | ||
flex-direction: column; | ||
height: 100%; | ||
|
||
&__panel, | ||
&__navigator-provider { | ||
display: flex; | ||
flex-direction: column; | ||
flex: 1; | ||
} | ||
|
||
&__navigator-screen { | ||
flex: 1; | ||
} | ||
} | ||
|
||
.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon { | ||
margin-left: 0; | ||
} | ||
|
||
.edit-site-global-styles-sidebar__reset-button.components-button { | ||
margin-left: auto; | ||
} | ||
|
||
.edit-site-global-styles-sidebar .components-navigation__menu-title-heading { | ||
font-size: $default-font-size * 1.2; | ||
font-weight: 500; | ||
} | ||
|
||
.edit-site-global-styles-sidebar .components-navigation__item > button span { | ||
font-weight: 500; | ||
} | ||
|
||
.edit-site-typography-panel, | ||
.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings { | ||
border: 0; | ||
} | ||
|
||
.edit-site-global-styles-sidebar .components-tools-panel-item.single-column { | ||
grid-column: span 1; | ||
} | ||
|
||
.edit-site-global-styles-sidebar__blocks-group { | ||
padding-top: $grid-unit-30; | ||
border-top: $border-width solid $gray-200; | ||
} | ||
|
||
.edit-site-global-styles-sidebar__blocks-group-help { | ||
padding: 0 $grid-unit-20; | ||
} | ||
|
||
.edit-site-global-styles-color-palette-panel, | ||
.edit-site-global-styles-gradient-palette-panel { | ||
padding: $grid-unit-20; | ||
} | ||
|
||
.edit-site-global-styles-sidebar__beta { | ||
display: inline-flex; | ||
margin-left: $grid-unit-10; | ||
padding: 0 $grid-unit-10; | ||
height: $grid-unit-30; | ||
border-radius: $radius-block-ui; | ||
background-color: $black; | ||
color: $white; | ||
align-items: center; | ||
font-size: $helptext-font-size; | ||
line-height: 1; | ||
} | ||
|
||
//TODO: add dark mode support to base components instead using emotion | ||
.interface-complementary-area.edit-site-global-styles-sidebar, | ||
.edit-site-global-styles-sidebar .interface-complementary-area-header, | ||
.edit-site-global-styles-sidebar .edit-site-global-styles-sidebar__navigator-provider, | ||
.edit-site-global-styles-sidebar .components-card__body, | ||
.edit-site-global-styles-sidebar .components-card, | ||
.edit-site-global-styles-sidebar .components-flex-item, | ||
.edit-site-global-styles-sidebar .components-heading { | ||
background: $gray-900; | ||
color: $gray-100; | ||
fill: $gray-100; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters