navbar.less 882 Bytes
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
/* Copyright 2016 LasLabs Inc.
 * License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */

.main-nav {
    margin-bottom: 0;
    min-height: @app-drawer-navbar-height;
}

.main-nav ul.nav > li > a {
    padding: @app-drawer-navbar-padding-vertical @app-drawer-padding-horizontal;
}

.oe_topbar_avatar {
    margin-top: -@app-drawer-padding-horizontal;
    height: @app-drawer-navbar-height;
    border-radius: 50%;
}

a.navbar-collapse.collapse {
    @media (min-width: @screen-sm) {
        padding-bottom: @app-drawer-navbar-padding-vertical;
        padding-top: @app-drawer-navbar-padding-vertical;
    }
}

.dropdown-scrollable {
    overflow-x: hidden;
}

@media (max-width: @screen-xs-max) {
    #odooMenuBarNav[aria-expanded="false"] {
        /* Hack to hide the visibly expanded mobile menu on load. */
        position: absolute;
        z-index: -9999;
    }
}