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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss (-4 / +41 lines)
Lines 358-367 Link Here
358
        display: none;
358
        display: none;
359
    }
359
    }
360
360
361
    #wrapper {
362
        padding: 0;
363
    }
364
365
    .table_controls {
366
        display: block;
367
368
        label {
369
            display: block;
370
        }
371
    }
372
}
373
374
@media only screen and ( max-width: 800px ) {
375
    /* Screens below 800 pixels wide */
376
    .cartlabel,
377
    .listslabel,
378
    .langlabel,
379
    .userlabel {
380
        display: none;
381
    }
382
383
    .navbar {
384
        .divider-vertical {
385
            margin: 0 2px;
386
        }
387
    }
388
}
389
390
@media only screen and ( max-width: 991px ) {
361
    #search-facets {
391
    #search-facets {
362
        margin-bottom: .5em;
392
        margin-bottom: .5em;
363
393
364
        h4 {
394
        h2 {
365
            display: block;
395
            display: block;
366
            margin: 0;
396
            margin: 0;
367
            padding: 0;
397
            padding: 0;
Lines 370-375 Link Here
370
                border-bottom: 0;
400
                border-bottom: 0;
371
                font-weight: normal;
401
                font-weight: normal;
372
                padding: .7em .2em;
402
                padding: .7em .2em;
403
404
                &::before {
405
                    content: "\f0da";
406
                    display: inline-block;
407
                    font-family: FontAwesome;
408
                    width: 1em;
409
                }
373
            }
410
            }
374
        }
411
        }
375
412
Lines 377-383 Link Here
377
            padding: .4em;
414
            padding: .4em;
378
        }
415
        }
379
416
380
        h5 {
417
        h3 {
381
            margin: .2em;
418
            margin: .2em;
382
        }
419
        }
383
420
Lines 386-393 Link Here
386
        }
423
        }
387
    }
424
    }
388
425
389
    #menu h4 a.menu-open,
426
    #menu h2 a.menu-open,
390
    #search-facets h4 a.menu-open {
427
    #search-facets h2 a.menu-open {
391
        border-bottom: 1px solid #D8D8D8;
428
        border-bottom: 1px solid #D8D8D8;
392
    }
429
    }
393
430
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-11 / +3 lines)
Lines 99-116 Link Here
99
                    </div>
99
                    </div>
100
                [% END %]
100
                [% END %]
101
101
102
                [% IF ( total ) %]
102
                [% IF ( opacfacets ) %]
103
                    [% IF ( opacfacets ) %]
103
                    <div class="col-lg-10 maincontent">
104
                        <div class="col-lg-10 order-first order-md-first order-lg-2 maincontent">
105
                    [% ELSE %]
106
                        <div class="col order-first order-md-first order-lg-2 maincontent">
107
                   [% END %]
108
                [% ELSE %]
104
                [% ELSE %]
109
                    [% IF ( opacfacets ) %]
105
                    <div class="col maincontent">
110
                        <div class="col-lg-10 order-first order-md-first order-lg-2">
111
                    [% ELSE %]
112
                        <div class="col order-first order-md-first order-lg-2">
113
                    [% END %]
114
                [% END %]
106
                [% END %]
115
107
116
                [% IF ( searchdesc ) %]
108
                [% IF ( searchdesc ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/script.js (-3 / +2 lines)
Lines 11-17 enquire.register("screen and (max-width:608px)", { Link Here
11
    }
11
    }
12
});
12
});
13
13
14
enquire.register("screen and (min-width:768px)", {
14
enquire.register("screen and (min-width:992px)", {
15
    match : function() {
15
    match : function() {
16
        facetMenu( "show" );
16
        facetMenu( "show" );
17
    },
17
    },
Lines 44-50 $(document).ready(function(){ Link Here
44
    $(".js-show").show();
44
    $(".js-show").show();
45
    $(".js-hide").hide();
45
    $(".js-hide").hide();
46
46
47
    if( $(window).width() < 768 ){
47
    if( $(window).width() < 991 ){
48
        facetMenu("hide");
48
        facetMenu("hide");
49
    }
49
    }
50
50
51
- 

Return to bug 29603