View | Details | Raw Unified | Return to bug 28901
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (-4 / +5 lines)
Lines 1731-1739 nav { Link Here
1731
1731
1732
1732
1733
1733
1734
#cartDetails,
1734
#cartDetails {
1735
#cartUpdate,
1736
#holdDetails {
1737
    background-color: #FFF;
1735
    background-color: #FFF;
1738
    border: 1px solid rgba( 0, 0, 0, .2 );
1736
    border: 1px solid rgba( 0, 0, 0, .2 );
1739
    border-radius: 6px;
1737
    border-radius: 6px;
Lines 1743-1751 nav { Link Here
1743
    font-size: 90%;
1741
    font-size: 90%;
1744
    margin: 0;
1742
    margin: 0;
1745
    padding: 8px 20px;
1743
    padding: 8px 20px;
1744
    position: fixed;
1746
    text-align: center;
1745
    text-align: center;
1746
    top: 50px;
1747
    left: 50px;
1747
    width: 180px;
1748
    width: 180px;
1748
    z-index: 2;
1749
    z-index: 10;
1749
}
1750
}
1750
1751
1751
#cartmenulink {
1752
#cartmenulink {
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js (-14 / +1 lines)
Lines 444-462 function vShelfAdd() { Link Here
444
}
444
}
445
445
446
function showCart(){
446
function showCart(){
447
    var position = $("#cartmenulink").offset();
447
    $("#cartDetails").fadeIn("fast");
448
    var scrolld = $(window).scrollTop();
449
    var top = position.top + $("#cartmenulink").outerHeight();
450
    if( scrolld > top ){
451
        top = scrolld + 15;
452
    }
453
    var menuWidth = 200;
454
    var buttonWidth = $("#cartmenulink").innerWidth();
455
    var buttonOffset = menuWidth - buttonWidth;
456
    var left = position.left -  0 // buttonOffset;
457
    $("#cartDetails")
458
        .css({"position":"absolute", "top":top, "left":left})
459
        .fadeIn("fast");
460
}
448
}
461
449
462
function hideCart(){
450
function hideCart(){
463
- 

Return to bug 28901