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 1591-1599 nav { Link Here
1591
1591
1592
1592
1593
1593
1594
#cartDetails,
1594
#cartDetails {
1595
#cartUpdate,
1596
#holdDetails {
1597
    background-color: #FFF;
1595
    background-color: #FFF;
1598
    border: 1px solid rgba( 0, 0, 0, .2 );
1596
    border: 1px solid rgba( 0, 0, 0, .2 );
1599
    border-radius: 6px;
1597
    border-radius: 6px;
Lines 1603-1611 nav { Link Here
1603
    font-size: 90%;
1601
    font-size: 90%;
1604
    margin: 0;
1602
    margin: 0;
1605
    padding: 8px 20px;
1603
    padding: 8px 20px;
1604
    position: fixed;
1606
    text-align: center;
1605
    text-align: center;
1606
    top: 50px;
1607
    left: 50px;
1607
    width: 180px;
1608
    width: 180px;
1608
    z-index: 2;
1609
    z-index: 10;
1609
}
1610
}
1610
1611
1611
#cartmenulink {
1612
#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