Page 1 of 1

Scoring CSS issue?

Posted: Sun Sep 09, 2012 2:46 pm
by Wascawy Wabbits
Not sure if anyone else is seeing the scoring screen like I do...

The blue seems to randomly miss some of the cells

Re: Scoring CSS issue?

Posted: Sun Sep 09, 2012 8:27 pm
by braven112
I updated it so its all white now.

Re: Scoring CSS issue?

Posted: Mon Sep 10, 2012 5:18 am
by bonscott
I use the GameDay scoring app so I never notice the live scoring page *but* here are the CSS I've found for live scoring that I've used for a while. Basically you can highlight a cell when the player had a stat update and such (which is what I thought the blue was).

The below does include the code I use, I didn't feel like cleaning it out. :blunt:

If I recall correctly if a players game is currently underway the cell will be highlighted in a different color. If the player is in the red zone the cell will have a dashed red line around it and if the player has updated stats there will be a green dashed line around the cell. Really makes it easy to see at a glance what's going on.

Code: Select all

--------------------------------------------------------------------
 Live Scoring 
--------------------------------------------------------------------

.gameover {
   color: Navy;
   font-weight: bold;
}

#live_scoring_summary TD.updatedstats, #live_scoring TD.updatedstats {
   background-image: url(http://www3.myfantasyleague.com/mflicons/new_stats_3.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
   border: dashed green;
	border-width: 2px 2px 2px 2px;
}

#live_scoring_summary TD.redzone, #live_scoring TD.redzone {
   border: dashed red;
   border-width: 2px 2px 2px 2px;
   background-image: url(http://www3.myfantasyleague.com/mflicons/red_zone.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
}

#live_scoring_summary TD.gameunderway, #live_scoring_summary TD.updatedstats, #live_scoring_summary TD.haspossession, #live_scoring_summary TD.redzone, #live_scoring TD.gameunderway, #live_scoring TD.updatedstats, #live_scoring TD.haspossession, #live_scoring TD.redzone {
   background-color: #FEFF53;
   padding-left: 15px;
}

.gameunderway {
   background-image: url(http://www3.myfantasyleague.com/mflicons/game_under_way.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
}

.haspossession {
   background-image: url(http://www3.myfantasyleague.com/mflicons/has_ball.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
}

Re: Scoring CSS issue?

Posted: Mon Sep 10, 2012 1:14 pm
by Wascawy Wabbits
bonscott wrote:I use the GameDay scoring app so I never notice the live scoring page *but* here are the CSS I've found for live scoring that I've used for a while. Basically you can highlight a cell when the player had a stat update and such (which is what I thought the blue was).
Is there anything similar for OSX? My 4 year old MacbookPro runs like a pig when I;m running a Windows VM....

Re: Scoring CSS issue?

Posted: Mon Sep 10, 2012 9:56 pm
by braven112
bonscott wrote:I use the GameDay scoring app so I never notice the live scoring page *but* here are the CSS I've found for live scoring that I've used for a while. Basically you can highlight a cell when the player had a stat update and such (which is what I thought the blue was).

The below does include the code I use, I didn't feel like cleaning it out. :blunt:

If I recall correctly if a players game is currently underway the cell will be highlighted in a different color. If the player is in the red zone the cell will have a dashed red line around it and if the player has updated stats there will be a green dashed line around the cell. Really makes it easy to see at a glance what's going on.

Code: Select all

--------------------------------------------------------------------
 Live Scoring 
--------------------------------------------------------------------

.gameover {
   color: Navy;
   font-weight: bold;
}

#live_scoring_summary TD.updatedstats, #live_scoring TD.updatedstats {
   background-image: url(http://www3.myfantasyleague.com/mflicons/new_stats_3.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
   border: dashed green;
	border-width: 2px 2px 2px 2px;
}

#live_scoring_summary TD.redzone, #live_scoring TD.redzone {
   border: dashed red;
   border-width: 2px 2px 2px 2px;
   background-image: url(http://www3.myfantasyleague.com/mflicons/red_zone.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
}

#live_scoring_summary TD.gameunderway, #live_scoring_summary TD.updatedstats, #live_scoring_summary TD.haspossession, #live_scoring_summary TD.redzone, #live_scoring TD.gameunderway, #live_scoring TD.updatedstats, #live_scoring TD.haspossession, #live_scoring TD.redzone {
   background-color: #FEFF53;
   padding-left: 15px;
}

.gameunderway {
   background-image: url(http://www3.myfantasyleague.com/mflicons/game_under_way.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
}

.haspossession {
   background-image: url(http://www3.myfantasyleague.com/mflicons/has_ball.gif);
   background-position: center left;
   background-repeat: no-repeat;
   padding-right: 12px;
}
Thanks, I just added this for next week.

Re: Scoring CSS issue?

Posted: Tue Sep 11, 2012 5:11 am
by bonscott
Wascawy Wabbits wrote:
bonscott wrote:I use the GameDay scoring app so I never notice the live scoring page *but* here are the CSS I've found for live scoring that I've used for a while. Basically you can highlight a cell when the player had a stat update and such (which is what I thought the blue was).
Is there anything similar for OSX? My 4 year old MacbookPro runs like a pig when I;m running a Windows VM....
No, they don't have a Mac version unfortunately. Could try using your smartphone for scoring. I know there are iPhone apps for scoring but not sure if they auto-refresh. The apps for Android do not, you have to manually refresh. I just go to the web page actually.