Commit 71e6f93b authored by Taddeüs Kroes's avatar Taddeüs Kroes

Favourite programs now have orange background as well

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