Skip to content

Commit

Permalink
Clean up appender CSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Mar 13, 2018
1 parent c2e3145 commit f02f759
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions editor/components/default-block-appender/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@ $empty-paragraph-height: $text-editor-font-size * 4;
transition: 0.2s outline;
}

.editor-inserter {
opacity: 0;
}

// Show quick insertion icons faded until hover
.editor-inserter-with-shortcuts {
.components-icon-button {
color: $light-gray-700;
transition: color 0.2s;
}
}

// Don't show inserter until mousing
.editor-inserter {
opacity: 0;
}

&:hover {
.editor-inserter-with-shortcuts {
opacity: 1;
Expand All @@ -55,7 +57,7 @@ $empty-paragraph-height: $text-editor-font-size * 4;
.editor-default-block-appender .editor-inserter {
position: absolute;
top: $item-spacing;
right: $item-spacing;
right: $item-spacing; // show on the right on mobile
transition: opacity 0.2s;

@include break-small {
Expand Down

0 comments on commit f02f759

Please sign in to comment.