[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Frescha frescha at unitedseed.de
Tue Feb 28 22:09:34 UTC 2012


The following commit has been merged in the debian/master branch:
commit 2622f24943fe6dc45639bea6e63876f6c602e6b1
Author: Frescha <frescha at unitedseed.de>
Date:   Mon Dec 26 18:00:21 2011 +0100

    Enh: slider. we don't need on/off  background images.

diff --git a/shinken/webui/htdocs/images/slider-off.png b/shinken/webui/htdocs/images/slider-off.png
deleted file mode 100644
index c9a0180..0000000
Binary files a/shinken/webui/htdocs/images/slider-off.png and /dev/null differ
diff --git a/shinken/webui/htdocs/images/slider-on.png b/shinken/webui/htdocs/images/slider-on.png
deleted file mode 100755
index 2a81919..0000000
Binary files a/shinken/webui/htdocs/images/slider-on.png and /dev/null differ
diff --git a/shinken/webui/htdocs/images/slider.png b/shinken/webui/htdocs/images/slider.png
old mode 100644
new mode 100755
index 1bb128d..5342deb
Binary files a/shinken/webui/htdocs/images/slider.png and b/shinken/webui/htdocs/images/slider.png differ
diff --git a/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css b/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css
index 90c4c97..509e867 100755
--- a/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css
+++ b/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css
@@ -318,15 +318,80 @@ div.content {
 
 .switches span{
 	/*float: left;*/
-	line-height: 27px;
+	line-height: 24px;
 	margin-left: 5px;
 }
 
-.iPhoneCheckContainer{ position:relative; width:85px; height:27px; cursor:pointer; overflow:hidden;  }
-.iPhoneCheckContainer input{ position:absolute; top:5px; left:30px;  }
-.iPhoneCheckHandle{ display:block; height:27px; width:39px; cursor:pointer; position:absolute; top:0; left:0;  }
-.iPhoneCheckHandle .iPhoneCheckHandleBG{ position:absolute; width:5px; height:100%; top:0; left:0; z-index:1;  }
-.iPhoneCheckHandle .iPhoneCheckHandleSlider{ position:absolute; top:0; left:0; height:27px; width:39px; background:url(/static/images/slider.png) no-repeat; z-index:2;  }
-label.iPhoneCheckLabelOn,label.iPhoneCheckLabelOff{ font-size:17px; line-height:17px; font-weight:bold; font-family:Helvetica Neue,Arial,Helvetica,sans-serif; text-transform:uppercase; cursor:pointer; display:block; height:22px; position:absolute; width:52px; top:0;  }
-label.iPhoneCheckLabelOn{ color:#fff; background:url(/static/images/slider-on.png) no-repeat; /*text-shadow:0px 0px 2px rgba(0,0,0,0.6)*/; left:0; padding:5px 0 0 8px;  }
-label.iPhoneCheckLabelOff{ color:#FFF; background:url(/static/images/slider-off.png) no-repeat right 0;/* text-shadow:0px 0px 2px rgba(255,255,255,0.6)*/; text-align:right; right:0; padding:5px 8px 0 0;  }
\ No newline at end of file
+.iPhoneCheckContainer {
+	position:relative;
+	width:85px;
+	height:24px;
+	cursor:pointer;
+	overflow:hidden;
+	border: 1px solid #bfbfbf;
+}
+
+.iPhoneCheckContainer input {
+	position:absolute;
+	top:5px;
+	left:30px;
+}
+
+.iPhoneCheckHandle {
+	display:block;
+	height:2px;
+	width:39px;
+	cursor:pointer;
+	position:absolute;
+	top:0;
+	left:0;
+}
+
+.iPhoneCheckHandle .iPhoneCheckHandleBG {
+	position:absolute;
+	width:5px;
+	height:100%;
+	top:0;
+	left:0;
+	z-index:1;
+}
+.iPhoneCheckHandle .iPhoneCheckHandleSlider{
+	position:absolute;
+	top:0;
+	left:0;
+	height:27px;
+	width:39px;
+	background:url(/static/images/slider.png) no-repeat; z-index:2;
+}
+
+label.iPhoneCheckLabelOn,label.iPhoneCheckLabelOff {
+	font-size:17px;
+	line-height:17px;
+	font-weight:bold;
+	font-family:Helvetica Neue,Arial,Helvetica,sans-serif;
+	text-transform:uppercase;
+	cursor:pointer;
+	display:block;
+	height:22px;
+	position:absolute;
+	width:52px;
+	top:0;
+}
+
+label.iPhoneCheckLabelOn {
+	color:#fff;
+    background-color: #7AB317;
+    background-image: -moz-linear-gradient(center top , #7AB317, #669900);
+	left:0;
+	padding: 4px 0 0 8px;
+}
+
+label.iPhoneCheckLabelOff {
+    color: #FFFFFF;
+    background-color: #E10000;
+    background-image: -moz-linear-gradient(center top , #E10000, #BD0000);
+    /*background-size:25px 25%;*/
+	/* text-shadow:0px 0px 2px rgba(255,255,255,0.6)*/;
+	text-align:right;
+	right:0; padding: 4px 8px 0 0;
+}
\ No newline at end of file

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list