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 483-489 aside { Link Here
483
            list-style: none;
483
            list-style: none;
484
484
485
            a {
485
            a {
486
                border-left: 5px solid #E6E6E6;
486
                border-left: 5px solid transparent;
487
                color: #000;
487
                color: #000;
488
                display: block;
488
                display: block;
489
                padding: .7em .3em .7em 1rem;
489
                padding: .7em .3em .7em 1rem;
Lines 511-516 aside { Link Here
511
            }
511
            }
512
        }
512
        }
513
    }
513
    }
514
515
    .breadcrumb-item {
516
        font-style: normal;
517
    }
514
}
518
}
515
519
516
div {
520
div {
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-13 / +15 lines)
Lines 208-226 $(document).ready(function () { Link Here
208
208
209
    var sidebar_menu = $(".sidebar_menu");
209
    var sidebar_menu = $(".sidebar_menu");
210
    if (sidebar_menu.length > 0) {
210
    if (sidebar_menu.length > 0) {
211
        var path = location.pathname.substring(1);
211
        sidebar_menu.each(function () {
212
        var url = window.location.toString();
212
            var path = location.pathname.substring(1);
213
        var params = "";
213
            var url = window.location.toString();
214
        if (url.match(/\?(.+)$/)) {
214
            var params = "";
215
            params = "?" + RegExp.$1;
215
            if (url.match(/\?(.+)$/)) {
216
        }
216
                params = "?" + RegExp.$1;
217
        if ($('a[href$="/' + path + params + '"]', sidebar_menu).length == 0) {
217
            }
218
            $('a[href$="/' + path + '"]', sidebar_menu).addClass("current");
218
            if ($('a[href$="/' + path + params + '"]', $(this)).length == 0) {
219
        } else {
219
                $('a[href$="/' + path + '"]', $(this)).addClass("current");
220
            $('a[href$="/' + path + params + '"]', sidebar_menu).addClass(
220
            } else {
221
                "current"
221
                $('a[href$="/' + path + params + '"]', $(this)).addClass(
222
            );
222
                    "current"
223
        }
223
                );
224
            }
225
        });
224
    }
226
    }
225
227
226
    $("#catalog-search-link a").on("mouseenter mouseleave", function () {
228
    $("#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