@import "~@/assets/styles/variables.scss";

.navbar {
    height: $nav-height;
    transition: height .3s ease-in-out;
    overflow: hidden;
    position: relative;
    z-index: 9;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 21, 41, .08);

    .navbar-icon {
        font-size: 18px;
        cursor: pointer;
        vertical-align: middle;
    }

    .right-menu {
        float: right;
        height: 100%;
        line-height: $nav-height;

        &:focus {
            outline: none;
        }

        .right-menu-item {
            display: inline-block;
            position: relative;
            padding: 0 8px;
            height: 100%;
            font-size: 0;
            color: #5a5e66;
            vertical-align: text-bottom;
            transition: background .3s;
            cursor: pointer;

            &:hover:not(#header-search) {
                background: rgba(0, 0, 0, .025)
            }
        }

        .avatar-container {
            .avatar-wrapper {
                margin-top: 2px;

                .el-avatar {
                    position: relative;
                    top: 5px;
                    margin-right: 5px;
                }

                span {
                    font-size: 18px;
                }
            }
        }
    }
}
