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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-1 / +5 lines)
Lines 478-484 aside { Link Here
478
            list-style: none;
478
            list-style: none;
479
479
480
            a {
480
            a {
481
                border-left: 5px solid #E6E6E6;
481
                border-left: 5px solid transparent;
482
                color: #000;
482
                color: #000;
483
                display: block;
483
                display: block;
484
                padding: .7em .3em .7em 1rem;
484
                padding: .7em .3em .7em 1rem;
Lines 506-511 aside { Link Here
506
            }
506
            }
507
        }
507
        }
508
    }
508
    }
509
510
    .breadcrumb-item {
511
        font-style: normal;
512
    }
509
}
513
}
510
514
511
div {
515
div {
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-13 / +15 lines)
Lines 192-210 $(document).ready(function () { Link Here
192
192
193
    var sidebar_menu = $(".sidebar_menu");
193
    var sidebar_menu = $(".sidebar_menu");
194
    if (sidebar_menu.length > 0) {
194
    if (sidebar_menu.length > 0) {
195
        var path = location.pathname.substring(1);
195
        sidebar_menu.each(function () {
196
        var url = window.location.toString();
196
            var path = location.pathname.substring(1);
197
        var params = "";
197
            var url = window.location.toString();
198
        if (url.match(/\?(.+)$/)) {
198
            var params = "";
199
            params = "?" + RegExp.$1;
199
            if (url.match(/\?(.+)$/)) {
200
        }
200
                params = "?" + RegExp.$1;
201
        if ($('a[href$="/' + path + params + '"]', sidebar_menu).length == 0) {
201
            }
202
            $('a[href$="/' + path + '"]', sidebar_menu).addClass("current");
202
            if ($('a[href$="/' + path + params + '"]', $(this)).length == 0) {
203
        } else {
203
                $('a[href$="/' + path + '"]', $(this)).addClass("current");
204
            $('a[href$="/' + path + params + '"]', sidebar_menu).addClass(
204
            } else {
205
                "current"
205
                $('a[href$="/' + path + params + '"]', $(this)).addClass(
206
            );
206
                    "current"
207
        }
207
                );
208
            }
209
        });
208
    }
210
    }
209
211
210
    $("#catalog-search-link a").on("mouseenter mouseleave", function () {
212
    $("#catalog-search-link a").on("mouseenter mouseleave", function () {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue (-2 / +2 lines)
Lines 173-178 export default { Link Here
173
<style>
173
<style>
174
#menu ul ul,
174
#menu ul ul,
175
.sidebar_menu ul ul {
175
.sidebar_menu ul ul {
176
    background-color: transparent;
176
    padding-left: 2em;
177
    padding-left: 2em;
177
    font-size: 100%;
178
    font-size: 100%;
178
}
179
}
Lines 198-204 textarea { Link Here
198
}
199
}
199
.sidebar_menu ul li a.current.disabled {
200
.sidebar_menu ul li a.current.disabled {
200
    background-color: inherit;
201
    background-color: inherit;
201
    border-left: 5px solid #e6e6e6;
202
    border-left: 5px solid transparent;
202
    color: #000;
203
    color: #000;
203
}
204
}
204
.sidebar_menu ul li a.disabled {
205
.sidebar_menu ul li a.disabled {
205
- 

Return to bug 37222