summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-08-30 19:24:09 +0200
committeremkael <emkael@tlen.pl>2015-08-30 19:24:09 +0200
commit0be4e6e0d6f57019086f566ab976633a562011e8 (patch)
tree653a632f8408455e77133bb6e7d9c38e15efaddb
parent5c8774883c3fd7d5234cebacf512e4ebf28545ab (diff)
* bidding table style fixes
-rw-r--r--css/bidding.css5
-rw-r--r--javas/bidding.js6
2 files changed, 7 insertions, 4 deletions
diff --git a/css/bidding.css b/css/bidding.css
index bb289c2..e150083 100644
--- a/css/bidding.css
+++ b/css/bidding.css
@@ -3,7 +3,10 @@
-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
+ z-index: 1000;
}
#bidding_popup table { width: 100%; text-align: center; }
#bidding_popup table th { text-align: center; }
-a.biddingLink { background: url('../images/link.png') no-repeat; display: inline-block; width: 16px; height: 16px; float: right; margin: 1px 1px 1px 3px }
+a.biddingLink { background: white url('../images/link.png') no-repeat; display: inline-block; width: 16px; height: 16px; position: absolute; right: 0; margin: 1px 1px 1px 3px }
+td.nol {position:relative; height: 16px}
+td.nol img[alt] {margin-right: 18px} \ No newline at end of file
diff --git a/javas/bidding.js b/javas/bidding.js
index 5165aa8..5932e66 100644
--- a/javas/bidding.js
+++ b/javas/bidding.js
@@ -3,11 +3,11 @@ var display_bidding = function(element, bidding) {
popup.css({
'position': 'absolute',
'width': '250px',
- 'left': element.position().left + element.width(),
- 'top': element.position().top
+ 'left': element.offset().left + element.width(),
+ 'top': element.offset().top
});
popup.html(bidding);
- element.after(popup);
+ $('body').append(popup);
}
var load_bidding = function() {