From 85393ad8669d326e0016d37cb3405d3661ec2b55 Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Sun, 5 Aug 2018 11:29:12 +0200 Subject: [PATCH] Add pointer cursor to now-playing section --- src/App/Console/View.elm | 4 ++-- src/Styles/Styles.elm | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App/Console/View.elm b/src/App/Console/View.elm index e8211dd10..4a128bc1f 100644 --- a/src/App/Console/View.elm +++ b/src/App/Console/View.elm @@ -28,7 +28,7 @@ import Variations exposing (Variations(..)) -- Styles import Console.Styles exposing (..) -import Styles exposing (Styles(Console, Zed)) +import Styles exposing (Styles(Console, WithPointer, Zed)) -- 🍯 @@ -112,7 +112,7 @@ nowPlaying activeItem isLoading stalled = track.tags.artist ++ " – " ++ track.tags.title in el - Zed + WithPointer [ track |> Tracks.Types.ScrollToActiveTrack |> TopLevel.TracksMsg diff --git a/src/Styles/Styles.elm b/src/Styles/Styles.elm index 55e234ce3..bd0a29e97 100644 --- a/src/Styles/Styles.elm +++ b/src/Styles/Styles.elm @@ -41,6 +41,7 @@ type Styles | Message | Selected | WithoutLineHeight + | WithPointer -- Buttons | AuthenticationButton | Button @@ -157,6 +158,7 @@ basics = , style Message [ Color.text Color.white ] , style Selected [ Color.text colors.base08 ] , style WithoutLineHeight [ Font.lineHeight 0 ] + , style WithPointer [ cursor "pointer" ] ]