Skip to content

Commit 60f4d90

Browse files
fusharveluca93
authored andcommitted
Better scoreboard score color gradient
1 parent e545a05 commit 60f4d90

1 file changed

Lines changed: 12 additions & 24 deletions

File tree

cmsranking/static/Ranking.css

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -814,63 +814,51 @@ abbr {
814814
}
815815

816816
.score_0 {
817-
background-color: #ffffff;
818-
/*background-image: linear-gradient(rgb(204, 0, 0), rgb(244, 0, 0));*/
817+
color: #666;
819818
}
820819

821820
.score_0_10 {
822-
background-color: #ecf4e4;
823-
/*background-image: linear-gradient(rgb(210, 38, 0), rgb(235, 29, 0));*/
821+
background-color: hsl(120, 30%, 87%);
824822
}
825823

826824
.score_10_20 {
827-
background-color: #e5f0da;
828-
/*background-image: linear-gradient(rgb(216, 77, 0), rgb(226, 58, 0));*/
825+
background-color: hsl(120, 30%, 84%);
829826
}
830827

831828
.score_20_30 {
832-
background-color: #cfe4bc;
833-
/*background-image: linear-gradient(rgb(222, 115, 0), rgb(217, 87, 0));*/
829+
background-color: hsl(120, 30%, 81%);
834830
}
835831

836832
.score_30_40 {
837-
background-color: #c3ddaa;
838-
/*background-image: linear-gradient(rgb(228, 154, 0), rgb(209, 116, 0));*/
833+
background-color: hsl(120, 30%, 78%);
839834
}
840835

841836
.score_40_50 {
842-
background-color: #daeacb;
843-
/*background-image: linear-gradient(rgb(234, 192, 0), rgb(200, 145, 0));*/
837+
background-color: hsl(120, 30%, 75%);
844838
}
845839

846840
.score_50_60 {
847-
background-color: #b5d596;
848-
/*background-image: linear-gradient(rgb(225, 211, 2), rgb(185, 159, 0));*/
841+
background-color: hsl(120, 30%, 72%);
849842
}
850843

851844
.score_60_70 {
852-
background-color: #a7cd82;
853-
/*background-image: linear-gradient(rgb(203, 211, 6), rgb(163, 158, 1));*/
845+
background-color: hsl(120, 30%, 69%);
854846
}
855847

856848
.score_70_80 {
857-
background-color: #7ab444;
858-
/*background-image: linear-gradient(rgb(181, 211, 10), rgb(142, 157, 2));*/
849+
background-color: hsl(120, 30%, 66%);
859850
}
860851

861852
.score_80_90 {
862-
background-color: #8cbe5d;
863-
/*background-image: linear-gradient(rgb(159, 210, 14), rgb(120, 156, 3));*/
853+
background-color: hsl(120, 30%, 63%);
864854
}
865855

866856
.score_90_100 {
867-
background-color: #68aa2b;
868-
/*background-image: linear-gradient(rgb(137, 210, 18), rgb(99, 155, 4));*/
857+
background-color: hsl(120, 30%, 60%);
869858
}
870859

871860
.score_100 {
872-
background-color: #4e9a05;
873-
/*background-image: linear-gradient(rgb(115, 210, 22), rgb(78, 154, 5));*/
861+
background-color: hsl(120, 30%, 55%);
874862
}
875863

876864

0 commit comments

Comments
 (0)