diff --git a/View/Elements/Widgets/kill_rate.ctp b/View/Elements/Widgets/kill_rate.ctp index ceaefb0..8952e7f 100644 --- a/View/Elements/Widgets/kill_rate.ctp +++ b/View/Elements/Widgets/kill_rate.ctp @@ -9,21 +9,21 @@ -
-
-

'; - $aSetting = Hash::extract( $aSettings, '{n}[name=title_new].value' ); - - if( isset( $aSetting[0] ) ) { - echo $aSetting[0]; - } else { - echo 'New'; - } - - echo ''; - ?>

-
+
+
+
+

'; + $aSetting = Hash::extract( $aSettings, '{n}[name=title_new].value' ); + + if( isset( $aSetting[0] ) ) { + echo $aSetting[0]; + } else { + echo 'New'; + } + + echo ''; + ?>

@@ -36,21 +36,21 @@ -
-
-

'; - $aSetting = Hash::extract( $aSettings, '{n}[name=title_completed].value' ); - - if( isset( $aSetting[0] ) ) { - echo $aSetting[0]; - } else { - echo 'Completed'; - } - - echo ''; - ?>

-
+
+
+
+

'; + $aSetting = Hash::extract( $aSettings, '{n}[name=title_completed].value' ); + + if( isset( $aSetting[0] ) ) { + echo $aSetting[0]; + } else { + echo 'Completed'; + } + + echo ''; + ?>

diff --git a/webroot/css/customisations.css b/webroot/css/customisations.css index 7081e07..c52609a 100644 --- a/webroot/css/customisations.css +++ b/webroot/css/customisations.css @@ -184,8 +184,35 @@ h2 { .table.kill-rate td .progress { margin: 0; + background-image: -moz-linear-gradient(top,#242527,#242527); + background-image:-webkit-gradient(linear,0 0,0 100%,from(#242527),to(#242527)); + background-image:-webkit-linear-gradient(top,#242527,#242527); + background-image:-o-linear-gradient(top,#242527,#242527); + background-image:linear-gradient(to bottom,#242527,#242527); + background-repeat:repeat-x; + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#242527',endColorstr='#242527',GradientType=0) } + .table.kill-rate td .progress .bar-faded.bar-success { + background-image: -moz-linear-gradient(top,#2e4130,#2e4130); + background-image:-webkit-gradient(linear,0 0,0 100%,from(#2e4130),to(#2e4130)); + background-image:-webkit-linear-gradient(top,#2e4130,#2e4130); + background-image:-o-linear-gradient(top,#2e4130,#2e4130); + background-image:linear-gradient(to bottom,#2e4130,#2e4130); + background-repeat:repeat-x; + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2e4130',endColorstr='#2e4130',GradientType=0) + } + + .table.kill-rate td .progress .bar-faded.bar-danger { + background-image: -moz-linear-gradient(top,#482c2d,#482c2d); + background-image:-webkit-gradient(linear,0 0,0 100%,from(#482c2d),to(#482c2d)); + background-image:-webkit-linear-gradient(top,#482c2d,#482c2d); + background-image:-o-linear-gradient(top,#482c2d,#482c2d); + background-image:linear-gradient(to bottom,#482c2d,#482c2d); + background-repeat:repeat-x; + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#482c2d',endColorstr='#482c2d',GradientType=0) + } + .table.kill-rate h1 { font-size: 3em; margin-top: 0.8em; @@ -196,6 +223,7 @@ h2 { margin-top: 0.25em; text-align: left; padding-left: 1em; + position: absolute; } form {