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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+21 lines)
Lines 4112-4117 ul { Link Here
4112
4112
4113
/* ==== MODULE LINKS - End ==== */
4113
/* ==== MODULE LINKS - End ==== */
4114
4114
4115
#catalog-search-link {
4116
    border-right: 1px solid lighten( #E6F0F2, 15% );
4117
    padding-right: .3em;
4118
}
4119
4120
#catalog-search-dropdown {
4121
    padding: 0;
4122
4123
    & > a {
4124
        border-left: 1px solid darken( #B4D2D8, 5% );
4125
        margin-right: .6em;
4126
        padding: .4em .6em;
4127
4128
        &:hover,
4129
        &.catalog-search-dropdown-hover {
4130
            background-color: darken( #E6F0F2, 5% );
4131
            border-left: 1px solid darken( #B4D2D8, 15% );
4132
        }
4133
    }
4134
}
4135
4115
@media (min-width: 200px) {
4136
@media (min-width: 200px) {
4116
    .navbar-nav > li {
4137
    .navbar-nav > li {
4117
        float: left;
4138
        float: left;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-2 / +5 lines)
Lines 4-11 Link Here
4
        <ul id="toplevelmenu" class="nav navbar-nav">
4
        <ul id="toplevelmenu" class="nav navbar-nav">
5
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
5
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
6
            [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
6
            [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
7
            <li class="dropdown">
7
            <li id="catalog-search-link">
8
                <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown">Search <b class="caret"></b></a>
8
                <a href="/cgi-bin/koha/catalogue/search.pl">Search</a>
9
            </li>
10
            <li class="dropdown" id="catalog-search-dropdown">
11
                <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b></a>
9
                <ul class="dropdown-menu dropdown-menu-right">
12
                <ul class="dropdown-menu dropdown-menu-right">
10
                    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></li>
13
                    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></li>
11
                    <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">Item search</a></li>[% END %]
14
                    <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">Item search</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-1 / +3 lines)
Lines 74-79 $.fn.selectTabByID = function (tabID) { Link Here
74
        $("a[href$=\"/" + path + params + "\"]", navmenulist).addClass("current");
74
        $("a[href$=\"/" + path + params + "\"]", navmenulist).addClass("current");
75
    }
75
    }
76
76
77
    $("#catalog-search-link a").on("hover", function(){
78
        $("#catalog-search-dropdown a").toggleClass("catalog-search-dropdown-hover");
79
    });
77
});
80
});
78
81
79
// http://jennifermadden.com/javascript/stringEnterKeyDetector.html
82
// http://jennifermadden.com/javascript/stringEnterKeyDetector.html
80
- 

Return to bug 20217