Skip to content

Commit

Permalink
re-add styles that were stripped (#28239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Addison-Stavlo authored Jan 15, 2021
1 parent 9b323e8 commit 13e153d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,21 @@
}
}

// Active entity spotlight.
&.has-active-entity:not(.is-focus-mode) {
opacity: 0.5;
transition: opacity 0.1s linear;
@include reduce-motion("transition");

&.is-active-entity,
&.has-child-selected,
&:not(.has-child-selected) .block-editor-block-list__block,
&.is-active-entity .block-editor-block-list__block,
.is-active-entity .block-editor-block-list__block {
opacity: 1;
}
}

/**
* Block styles and alignments
*/
Expand Down

0 comments on commit 13e153d

Please sign in to comment.