Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Adjustments to usage of gray where a direct replacement wasn't enough.
Browse files Browse the repository at this point in the history
These were made specifically to correct the look and feel of the
inbox and activity card UI.
  • Loading branch information
samueljseay committed Jul 14, 2020
1 parent 5e417f4 commit ffe9c16
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions client/header/activity-panel/activity-card/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

.woocommerce-activity-card__icon {
grid-area: icon;
fill: $gray-400;
fill: $gray-200;
}

.woocommerce-activity-card__header {
Expand Down Expand Up @@ -371,7 +371,7 @@
}

.woocommerce-empty-activity-card {
background: $gray-200;
background: $gray-100;
margin: 20px;
border-bottom: unset;
}
2 changes: 1 addition & 1 deletion client/header/activity-panel/activity-header/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.woocommerce-layout__activity-panel-header {
height: 50px;
background: $gray-100;
background: $gray-200;
padding: 16px;
display: flex;
justify-content: space-between;
Expand Down
5 changes: 3 additions & 2 deletions client/header/activity-panel/panels/inbox/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.woocommerce-inbox-message {
position: relative;
color: $gray-text;
background: $gray-200;
// background: $gray-100;
background: $light-gray-placeholder;
border-radius: 2px;
@include font-size( 13 );
margin: 0 0 $gap-large;
Expand Down Expand Up @@ -115,7 +116,7 @@

.woocommerce-inbox-message__actions {
padding-top: $gap;
border-top: 1px solid $gray-100;
border-top: 1px solid $gray-200;

// Ensures any immediate child with a sibling has space between the items
& > * + * {
Expand Down
4 changes: 2 additions & 2 deletions client/header/activity-panel/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@

&:hover,
&.components-button:not(:disabled):not([aria-disabled='true']):hover {
background-color: $gray-200;
background-color: $gray-100;
box-shadow: none;

&.has-unread::after,
Expand Down Expand Up @@ -198,7 +198,7 @@

.woocommerce-layout__activity-panel-wrapper {
height: calc(100vh - #{$header-height + $header-height + $adminbar-height-mobile});
background: $gray-200;
background: $gray-100;
width: 510px;
@include breakpoint( '<782px' ) {
width: 100%;
Expand Down

0 comments on commit ffe9c16

Please sign in to comment.