- fix checkbox-styling when using opera
- fix style-issue with table-hover Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -74,7 +74,7 @@ td a {
|
|||||||
-moz-border-radius-topright: 20px;
|
-moz-border-radius-topright: 20px;
|
||||||
-moz-border-radius-bottomleft: 20px;
|
-moz-border-radius-bottomleft: 20px;
|
||||||
border-top-right-radius: 20px;
|
border-top-right-radius: 20px;
|
||||||
border-bottom-left-radius: 20px
|
border-bottom-left-radius: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topheader {
|
.topheader {
|
||||||
@@ -580,6 +580,17 @@ input[type="reset"] {
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"] {
|
||||||
|
background: #dae7ee;
|
||||||
|
padding: 0;
|
||||||
|
width: 25px;
|
||||||
|
border: 1px solid #666666;
|
||||||
|
-moz-border-radius: 2px;
|
||||||
|
-khtml-border-radius: 2px;
|
||||||
|
-webkit-border-radius: 2px;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
background: #dae7ee;
|
background: #dae7ee;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ $(document).ready(function(){
|
|||||||
// make rel="external" links open in a new window
|
// make rel="external" links open in a new window
|
||||||
$("a[rel='external']").attr('target', '_blank');
|
$("a[rel='external']").attr('target', '_blank');
|
||||||
$(".main").css('min-height', $("nav").height() - 34);
|
$(".main").css('min-height', $("nav").height() - 34);
|
||||||
$(".dboarditem:last").css('min-height', $(".dboarditem:first").height());
|
$(".dboarditem:last")
|
||||||
|
.css('min-height', $(".dboarditem:first").height());
|
||||||
|
|
||||||
// set focus on username-field if on loginpage
|
// set focus on username-field if on loginpage
|
||||||
if ($(".loginpage").length != 0) {
|
if ($(".loginpage").length != 0) {
|
||||||
@@ -12,28 +13,25 @@ $(document).ready(function(){
|
|||||||
if ($("table.formtable").length != 0) {
|
if ($("table.formtable").length != 0) {
|
||||||
$("table.formtable tr").hover(function() {
|
$("table.formtable tr").hover(function() {
|
||||||
$(this).css("background-color", "#fff");
|
$(this).css("background-color", "#fff");
|
||||||
},
|
}, function() {
|
||||||
function() {
|
|
||||||
$(this).css("background-color", "#f5f5f5");
|
$(this).css("background-color", "#f5f5f5");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
);
|
if ($("table.bradiusodd").leingth != 0) {
|
||||||
}
|
$("table.bradiusodd tbody tr").not(':last-child').hover(function() {
|
||||||
if($("table.bradiusodd").length != 0) {
|
|
||||||
$("table.bradiusodd tr").hover(function() {
|
|
||||||
$(this).css("background-color", "#fff");
|
$(this).css("background-color", "#fff");
|
||||||
|
}, function() {
|
||||||
|
$(this).css("background-color", "#f5f5f5");
|
||||||
|
});
|
||||||
|
// last row needs border-radius
|
||||||
|
$("table.bradiusodd tbody tr:last-child").hover(function() {
|
||||||
|
$(this).children().css("background-color", "#fff");
|
||||||
|
$(this).children(':first-child').css("-webkit-border-bottom-left-radius", "20px");
|
||||||
|
$(this).children(':first-child').css("-moz-border-radius-bottomleft", "20px");
|
||||||
|
$(this).children(':first-child').css("border-bottom-left-radius", "20px");
|
||||||
},
|
},
|
||||||
function() {
|
function() {
|
||||||
$(this).css("background-color", "#f5f5f5");
|
$(this).children().css("background-color", "#f5f5f5");
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if($("table.aps").length != 0) {
|
|
||||||
$("table.aps tr").hover(function() {
|
|
||||||
$(this).css("background-color", "#fff");
|
|
||||||
},
|
|
||||||
function() {
|
|
||||||
$(this).css("background-color", "#f5f5f5");
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user