_sidenav.scss 2.01 KB
// People icon

/* When you mouse over the navigation links, change their color */

.sidenav a:hover,
.offcanvas a:focus {
    color : #f1f1f1;
}

/* Position and style the close button (top right corner) */

.sidenav .closebtn {
    position    : absolute;
    top         : 25px;
    right       : 5px;
    font-size   : 26px;
    margin-left : 0;
}

.people {
	margin-right: -3px;
    background-color   : #D2E5F6;
    width              : 66px;
    height             : 70px;
    border-radius      : 5px 0 0 5px;
    float              : right;
    margin-top         : -5px;
    transition         : 0.6s;
    cursor             : pointer;
    /* 0.5 second transition effect to slide in the sidenav */

    -webkit-box-shadow : -3px 3px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow    : -3px 3px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow         : -3px 3px 5px 0px rgba(0, 0, 0, 0.5);

    img {
        width              : 66px;
        height             : 70px;
        border-radius : 5px 0 0 5px;
    }

    @media (min-width : $breakpoint-mobile) {
        width              : 86px;
        height             : 90px;
        img {
            width         : 86px;
            height        : 90px;
        }
    }
}

.peopleOpen {
    margin-right : 250px;
}

.mySidenavOpen {
    width : 250px !important;
}

#people_span {
    font-family    : "HelveticaNeue-Light", Helvetica, Arial, sans-serif;
    font-weight    : lighter;
    font-size      : 14px;
    float          : right;
    right          : 0;
    z-index        : 103;
    position       : fixed;
    transition     : 0.5s;
    text-transform : uppercase;
	max-width: 800px;

    margin-top     : -20px;

    @media (min-width : $breakpoint-header-two-line) {
        margin-top : -40px;
    }

    .people_label {
        .material-icons {
            top      : 7px;
            position : relative;
            left     : -6px;
        }
    }
}

.sidenav {
    padding-top : 15px;
    top         : 15px
}

.sidenav a {
    font-size : 18px;
    float     : left;
}