Permalink
Browse files

Merge branch 'master' of github.com:healthety/healthety

  • Loading branch information...
2 parents 8571ff7 + 73c1fa3 commit e58431efc96df5fc45c5b95ce9e7d48681a76dd5 @doertehasselberg doertehasselberg committed May 11, 2011
Showing with 12 additions and 5 deletions.
  1. +1 −1 package.json
  2. +9 −2 public/css/style.css
  3. BIN public/images/warn.png
  4. +2 −2 public/js/pimp.js
View
2 package.json
@@ -1,7 +1,7 @@
{
"name": "healthety",
"description": "Realtime monitoring framework.",
- "version": "0.0.22",
+ "version": "0.0.23",
"homepage": "https://github.com/healthety/healthety",
"repository": {
"type": "git",
View
11 public/css/style.css
@@ -54,7 +54,7 @@ h1 {
#widgets li .header {
margin-top: 5px;
- padding: 5px 15px 7px 15px;
+ padding: 5px 15px 3px 15px;
background: -moz-linear-gradient(top, #fff, #e6e6e6);
background: -webkit-linear-gradient(#fff, #e6e6e6);
border-bottom: 1px solid #ccc;
@@ -65,8 +65,15 @@ h1 {
font-size: 20px;
color: #363636;
float: left;
- padding-top: 1px;
text-transform: capitalize;
+ height: 32px;
+ cursor: move;
+ padding-right: 35px;
+}
+
+#widgets li h2.warn {
+ color: #de1F00;
+ background: transparent url('../images/warn.png') 100% 20% no-repeat;
}
#widgets li .header .values {
View
BIN public/images/warn.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 public/js/pimp.js
@@ -28,9 +28,9 @@ $(function(){
};
if(warn){
- $('#' + json.name + ' h2').css('color', 'red');
+ $('#' + json.name + ' h2').addClass('warn');
} else {
- $('#' + json.name + ' h2').css('color', '');
+ $('#' + json.name + ' h2').removeClass('warn');
}
});

0 comments on commit e58431e

Please sign in to comment.