Skip to content

Commit

Permalink
Add image drop area hover effect.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspar Naaber committed Sep 29, 2016
1 parent 76eb0f3 commit 2348da0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions sources/stylesheets/content/_blog-article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@
border-color: rgba($color-black, .4);
border-style: dashed;
border-width: 1px;

&:hover {
border-style: solid;
}
}

.edy-img-drop-area-placeholder {
Expand Down
3 changes: 3 additions & 0 deletions stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,9 @@ a {
border-style: dashed;
border-width: 1px;
}
.article-top .image-drop-area:not(.active):hover {
border-style: solid;
}
@media screen and (max-width: 640px) {
.article-top .image-drop-area .edy-img-drop-area-placeholder {
font-size: 13px;
Expand Down
Loading

0 comments on commit 2348da0

Please sign in to comment.