Module: check_mk
Branch: master
Commit: 23c091a71cabac79b0322cf8e4aca46456933d2e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=23c091a71cabac…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 27 12:44:08 2012 +0200
Fix bug in editing host tags
---
web/htdocs/check_mk.css | 24 ++++++++++++++----------
web/htdocs/htmllib.py | 2 +-
web/htdocs/pages.css | 4 ++--
3 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index 913647b..ff3ed7e 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -121,38 +121,42 @@ a.button {
/* Image submit button styling */
label.image_button {
display: inline-block;
- margin: -5px 4px 0 0; /* margin: 0 3px 0 0; */
+ margin: 0px 4px 0 0;
+ position: relative;
+ top: 0px;
background: transparent url('images/image_button_l.png') no-repeat;
- background-position: 0px -30px;
+ background-position: 0px -35px;
padding: 0 0 0 8px;
- height: 30px;
+ height: 22px;
margin-right: 5px;
+
}
label.image_button:hover {
- background-position: -0px -60px;
+ background-position: -0px -65px;
}
label.image_button:active {
- background-position: -0px -90px;
+ background-position: -0px -95px;
}
label.image_button input {
- height: 30px;
+ height: 22px;
color: #fff;
border: none;
padding-left: 0px;
padding-right: 10px;
- padding-top: 5px;
+ padding-top: 0px;
padding-bottom: 0px;
background: transparent url('images/image_button_r.png') no-repeat;
- background-position: right -30px;
+ background-position: right -35px;
float: left;
font-size: 8pt;
margin-left: 3px;
+ -moz-border-radius: 0px;
}
label.image_button input:hover {
- background-position: right -60px;
+ background-position: right -65px;
}
label.image_button input:active {
- background-position: right -90px;
+ background-position: right -95px;
}
label.image_button input[type="submit"]::-moz-focus-inner {
border: 0px;
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 0beb1a3..069b71d 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -374,7 +374,7 @@ class html:
'src="images/button_%s_lo.png" '
'onmouseover=\"hilite_icon(this, 1)\" '
'onmouseout=\"hilite_icon(this, 0)\">'
- '</a>\n' % (id, onclick, style, url, help, icon))
+ '</a>' % (id, onclick, style, url, help, icon))
def empty_icon_button(self):
self.write('<img class="iconbutton trans"
src="images/trans.png">')
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index ba65df5..2bd2fea 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -399,8 +399,8 @@ table.form td.legend, table.form td.title {
border-width: 1px;
border-style: solid;
border-color: #2f5f73;
- padding-top: 10px;
- padding-bottom: 10px;
+ padding-top: 5px;
+ padding-bottom: 5px;
border-right-style: none;
}