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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss (-5 / +16 lines)
Lines 313-318 Link Here
313
    }
313
    }
314
}
314
}
315
315
316
@media only screen and ( min-width: 767px ) {
317
    #shelfbrowser {
318
        .shelfbrowser-inner {
319
            grid-template-columns: repeat(5, 1fr);
320
        }
321
    }
322
}
323
316
@media only screen and ( max-width: 767px ) {
324
@media only screen and ( max-width: 767px ) {
317
    /* Screens below 767 pixels wide */
325
    /* Screens below 767 pixels wide */
318
    a {
326
    a {
Lines 341-351 Link Here
341
            display: block;
349
            display: block;
342
        }
350
        }
343
    }
351
    }
344
345
    .shelfbrowser-inner {
346
        grid-template-columns: repeat(4, 1fr) !important;
347
    }
348
349
}
352
}
350
353
351
@media only screen and ( max-width: 800px ) {
354
@media only screen and ( max-width: 800px ) {
Lines 534-539 Link Here
534
    }
537
    }
535
}
538
}
536
539
540
@media only screen and ( min-width: 1040px ) {
541
    #shelfbrowser {
542
        .shelfbrowser-inner {
543
            grid-template-columns: repeat(7, 1fr);
544
        }
545
    }
546
}
547
537
@media only screen and ( max-width: 1100px ) {
548
@media only screen and ( max-width: 1100px ) {
538
    .cartlabel,
549
    .cartlabel,
539
    .listslabel,
550
    .listslabel,
(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (-5 / +13 lines)
Lines 2312-2325 nav { Link Here
2312
#shelfbrowser {
2312
#shelfbrowser {
2313
    .shelfbrowser-inner {
2313
    .shelfbrowser-inner {
2314
        display: grid;
2314
        display: grid;
2315
        grid-template-columns: repeat(7, 1fr);
2316
        grid-gap: 4px;
2315
        grid-gap: 4px;
2316
        grid-template-columns: repeat( 3, 1fr );
2317
    }
2317
    }
2318
2318
2319
    .shelfbrowser-item {
2319
    .shelfbrowser-item {
2320
        text-align: center;
2321
        box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
2322
        border-radius: 4px;
2320
        border-radius: 4px;
2321
        box-shadow: 0 2px 5px 0 rgba( 0,0,0,0.16 ),0 2px 10px 0 rgba( 0,0,0,0.12 );
2322
        display: flex;
2323
        flex-direction: column;
2324
        padding: .5rem;
2325
        text-align: center;
2326
    }
2327
2328
    .shelfbrowser-details {
2329
        display: block;
2330
        font-size: 90%;
2323
    }
2331
    }
2324
2332
2325
    #browser_controls {
2333
    #browser_controls {
Lines 2329-2340 nav { Link Here
2329
2337
2330
    a {
2338
    a {
2331
        display: block;
2339
        display: block;
2332
        font-size: calc(.75vw + 5px);
2333
        font-weight: bold;
2340
        font-weight: bold;
2334
        text-decoration: none;
2341
        text-decoration: none;
2335
2342
2336
        &.shelfbrowser_cover {
2343
        &.shelfbrowser_cover {
2337
            display: inline-block;
2344
            display: block;
2345
            flex-grow: 1;
2338
            min-height: 80px;
2346
            min-height: 80px;
2339
            min-width: 80px;
2347
            min-width: 80px;
2340
        }
2348
        }
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-5 / +6 lines)
Lines 84-93 Link Here
84
                                    [% END %]
84
                                    [% END %]
85
85
86
                                </a>
86
                                </a>
87
                                <div class="shelfbrowser-callnumber">[% item.itemcallnumber | html %]</div>
87
                                <div class="shelfbrowser-details">
88
                                <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser">
88
                                    <div class="shelfbrowser-callnumber">[% item.itemcallnumber | html %]</div>
89
                                    [% INCLUDE 'biblio-title.inc' biblio=item %]
89
                                    <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser">
90
                                </a>
90
                                        [% INCLUDE 'biblio-title.inc' biblio=item %]
91
                                    </a>
92
                                </div>
91
                            [% END %]
93
                            [% END %]
92
                        </div>
94
                        </div>
93
                    [% END %]
95
                    [% END %]
94
- 

Return to bug 25267