Skip to content

Commit

Permalink
portico: Add on hover effect on tour card.
Browse files Browse the repository at this point in the history
Clicking anywhere on the tour card opens the tour, but it's not
visually apparent. This commit adds box-shadow and changes the mouse
pointer as an on-hover behavior.

Fixes zulip#12853
  • Loading branch information
wryonik committed Mar 29, 2020
1 parent 6b86d90 commit 08951a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/styles/portico/landing-page.scss
Expand Up @@ -1376,6 +1376,11 @@ nav ul li.active::after {
opacity: 0.4;
}

.tour .carousel-inner .start-image:hover {
box-shadow: 0px 3px 10px hsla(0, 0%, 0%, 0.3);
cursor: pointer;
}

.tour .carousel-inner .tour-item-header {
margin: 0 0 30px 54px;
max-width: 700px;
Expand Down

0 comments on commit 08951a0

Please sign in to comment.