Skip to content
Snippets Groups Projects
Commit 71e6f93b authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Favourite programs now have orange background as well

parent a3311d8c
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ ProgramView = Backbone.View.extend(
updateFavlink: ->
isfav = Settings.isFavouriteProgram(@model.get('title'))
@$fav.toggleClass('favourite', isfav)
@$el.toggleClass('favourite', isfav)
render: ->
if @model.get('start') <= Date.now()
......
......@@ -110,12 +110,22 @@ html, body
&:hover
color: #bcbcbc
&.favourite
&:hover .favlink
visibility: visible
&.favourite
background-color: rgb(250, 218, 160)
.favlink
color: orange
visibility: visible
&:hover .favlink
visibility: visible
&.past
background-color: rgba(250, 218, 160, 0.5)
color: rgb(131, 131, 131)
.favlink
color: rgba(255, 165, 0, 0.5)
.indicator
position: absolute
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment