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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss (-7 / +52 lines)
Lines 150-161 Link Here
150
        }
150
        }
151
    }
151
    }
152
152
153
    #toolbar .resort {
153
    .toolbar {
154
        @include border-radius-all( 5px );
154
        .resort {
155
        font-size: 14px;
155
            @include border-radius-all( 5px );
156
        margin: .5em 0;
156
            font-size: 14px;
157
        max-width: 100%;
157
            max-width: 100%;
158
        padding: 4px 6px;
158
            padding: 4px 6px;
159
        }
160
161
        .pagination {
162
            li {
163
                a {
164
                    font-size: 105%;
165
                    padding: .3em .7em;
166
                }
167
            }
168
        }
159
    }
169
    }
160
170
161
    .mastheadsearch {
171
    .mastheadsearch {
Lines 359-365 Link Here
359
    }
369
    }
360
370
361
    .breadcrumb,
371
    .breadcrumb,
362
    #top-pages,
363
    .menu-collapse {
372
    .menu-collapse {
364
        display: none;
373
        display: none;
365
    }
374
    }
Lines 453-458 Link Here
453
            }
462
            }
454
        }
463
        }
455
    }
464
    }
465
466
    .toolbar {
467
        select {
468
            width: 220px;
469
        }
470
    }
456
}
471
}
457
472
458
@media only screen and ( min-width: 768px ) {
473
@media only screen and ( min-width: 768px ) {
Lines 483-488 Link Here
483
    .searchsuggestion {
498
    .searchsuggestion {
484
        white-space: nowrap;
499
        white-space: nowrap;
485
    }
500
    }
501
502
    .pagination {
503
        li {
504
            &.page-num {
505
                display: inline;
506
            }
507
        }
508
    }
486
}
509
}
487
510
488
@media only screen and ( min-width: 768px ) and ( max-width: 984px ) {
511
@media only screen and ( min-width: 768px ) and ( max-width: 984px ) {
Lines 498-503 Link Here
498
        width: 53%;
521
        width: 53%;
499
    }
522
    }
500
523
524
    .pagination {
525
        li {
526
            &.page-first,
527
            &.page-last {
528
                display: inline;
529
            }
530
531
            &.page-first {
532
                a {
533
                    border-left: 1px solid #DDD;
534
                }
535
            }
536
537
            &.page-prev,
538
            &.page-next {
539
                a {
540
                    border-left: 0;
541
                    border-radius: 0;
542
                }
543
            }
544
        }
545
    }
501
}
546
}
502
547
503
@media only screen and ( max-width: 1040px ) {
548
@media only screen and ( max-width: 1040px ) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc (-4 / +4 lines)
Lines 3-10 Link Here
3
     [% IF hits_to_paginate < total %]<h6>[% hits_to_paginate | html %] of [% total | html %] results loaded, refine your search to view other records</h6>[% END %]
3
     [% IF hits_to_paginate < total %]<h6>[% hits_to_paginate | html %] of [% total | html %] results loaded, refine your search to view other records</h6>[% END %]
4
        <ul>
4
        <ul>
5
            [% IF ( previous_page_offset.defined ) %]
5
            [% IF ( previous_page_offset.defined ) %]
6
                <li class="page-first"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">First</a></li>
6
                <li class="page-first"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]"><i class="fa fa-fw fa-angle-double-left"></i>  First</a></li>
7
                <li class="page-prev"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;offset=[% previous_page_offset | uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">&laquo; Previous</a></li>
7
                <li class="page-prev"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;offset=[% previous_page_offset | uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]"> <i class="fa fa-fw fa-angle-left"></i>  Previous</a></li>
8
            [% END %]
8
            [% END %]
9
            [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
9
            [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
10
                [% IF ( PAGE_NUMBER.highlight ) %]
10
                [% IF ( PAGE_NUMBER.highlight ) %]
Lines 14-21 Link Here
14
                [% END %]
14
                [% END %]
15
            [% END %]
15
            [% END %]
16
            [% IF ( next_page_offset ) %]
16
            [% IF ( next_page_offset ) %]
17
                <li class="page-next"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;offset=[% next_page_offset | uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">Next &raquo;</a></li>
17
                <li class="page-next"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;offset=[% next_page_offset | uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">Next <i class="fa fa-fw fa-angle-double-right"></i></a></li>
18
                <li class="page-last"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;offset=[% last_page_offset | uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">Last</a></li>
18
                <li class="page-last"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;offset=[% last_page_offset | uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">Last <i class="fa fa-fw fa-angle-double-right"></i></a></li>
19
            [% END %]
19
            [% END %]
20
        </ul>
20
        </ul>
21
    </div>
21
    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/script.js (-3 lines)
Lines 1-7 Link Here
1
enquire.register("screen and (max-width:608px)", {
1
enquire.register("screen and (max-width:608px)", {
2
    match : function() {
2
    match : function() {
3
        $("#masthead_search").insertAfter("#select_library");
3
        $("#masthead_search").insertAfter("#select_library");
4
        $(".sort_by").removeClass("pull-right");
5
        if($("body.scrollto").length > 0){
4
        if($("body.scrollto").length > 0){
6
            $("body.scrollto").animate({
5
            $("body.scrollto").animate({
7
                scrollTop: $(".maincontent").offset().top
6
                scrollTop: $(".maincontent").offset().top
Lines 9-15 enquire.register("screen and (max-width:608px)", { Link Here
9
        }
8
        }
10
    },
9
    },
11
    unmatch : function() {
10
    unmatch : function() {
12
        $(".sort_by").addClass("pull-right");
13
    }
11
    }
14
});
12
});
15
13
16
- 

Return to bug 5287