diff --git a/locales/en-US/server.ftl b/locales/en-US/server.ftl index b190a9a830..e41ead1cfb 100644 --- a/locales/en-US/server.ftl +++ b/locales/en-US/server.ftl @@ -126,7 +126,7 @@ shotPageDownloadShot = .title = Download shotPageEditButton = .title = Edit this image -shotPagefavoriteButton = +shotPageFavoriteButton = .title = Favorite this shot shotPageBackToHomeButton = .title = Homepage diff --git a/server/src/pages/shot/view.js b/server/src/pages/shot/view.js index 6b708d128c..996a3a04ec 100644 --- a/server/src/pages/shot/view.js +++ b/server/src/pages/shot/view.js @@ -344,10 +344,11 @@ class Body extends React.Component { const activeFavClass = this.props.expireTime ? "" : "is-fav"; const shouldShow = this.props.isFxaAuthenticated ? "" : "hidden"; - favoriteShotButton = - ; diff --git a/static/css/partials/_header.scss b/static/css/partials/_header.scss index 36e8370ce9..7e6057092e 100644 --- a/static/css/partials/_header.scss +++ b/static/css/partials/_header.scss @@ -83,7 +83,7 @@ background-image: url("../img/icon-settings.svg"); } - &.icon-favorite { + .icon-favorite { background-image: url("../img/icon-heart.svg"); } @@ -99,26 +99,34 @@ background-image: url("../img/icon-download.svg"); } - &.favorite { - filter: brightness(2.4); + div { + &.favorite { + width: 24px; + height: 24px; + margin: 0 0 8px; + background-size: 24px 24px; + filter: brightness(2.4); - &.is-fav { - filter: brightness(1); + &.is-fav { + filter: brightness(1); + } } - } span { - cursor: pointer; margin-top: 30px; - color: #95929a; - filter: brightness(0.4); + color: #2a2a2e; overflow: hidden; text-overflow: ellipsis; width: 96px; - &.is-fav { - color: #4a4a4a; + &.favorite { + margin-top: 0; + color: #95929a; + + &.is-fav { + color: #4a4a4a; + } } } }