_tab-menu.scss 3.77 KB
.col-sm-smallMenu {
    position: fixed;
    top: 160px;
    left: 54px;
    padding: 0;
    -webkit-transform: translate(-100%, 0);
    -moz-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    -o-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    z-index: 99;

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

    a.tab_menu {
        width: auto;
        height: 49px;

        float: right;
        clear: both;

        font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
        font-size: 14px;
        display: table;

        text-transform: uppercase;
        color: #fff;
        padding: 3px 5px 3px 0;
        transition: all .4s ease;


        //-webkit-transform  : translate(-100%, 0);
        //-moz-transform     : translate(-100%, 0);
        //-ms-transform      : translate(-100%, 0);
        //-o-transform       : translate(-100%, 0);
        //transform          : translate(-100%, 0);


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

        &:hover,
        &:focus {
            width: auto;
            margin-left: 0;
            -webkit-transform: translate(calc(100% - 54px), 0);
            -moz-transform: translate(calc(100% - 54px), 0);
            -ms-transform: translate(calc(100% - 54px), 0);
            -o-transform: translate(calc(100% - 54px), 0);
            transform: translate(calc(100% - 54px), 0);
        }

        &.green {
            background-color: #76bd1d;

            .selected-arrow {
                border-color: transparent transparent transparent #76bd1d;
            }
        }

        &.yellow {
            background-color: #d6e434 !important;

            .selected-arrow {
                border-color: transparent transparent transparent #d6e434 !important;
            }
        }

        &.pink {
            background-color: #ed4d9a;

            .selected-arrow {
                border-color: transparent transparent transparent #ed4d9a;
            }
        }

        &.blue {
            background-color: #1f9bde;

            .selected-arrow {
                border-color: transparent transparent transparent #1f9bde;
            }
        }

        &.orange {
            background-color: #f16522;

            .selected-arrow {
                border-color: transparent transparent transparent #f16522;
            }
        }

        &.light-orange {
            background-color: #f5a800;

            .selected-arrow {
                border-color: transparent transparent transparent #f5a800;
            }
        }

        &.current-menu-item {
            .selected-arrow {
                display: block;
                position: absolute;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 1.25rem 0 1.25rem 1.4rem;
                bottom: -1.9rem;
                transform: rotate(90deg);
                left: 0.95rem;
            }
            &:first-of-type {
                .selected-arrow {
                    left: 0.85rem;
                }
            }
        }

        img {
            float: right;
            width: 45px;
            height: 45px;
        }

        .tab_label {
            display: inline-block;
            margin: 13px 10px 0 15px;

            font-family: 'Helvetica';
            font-size: 14px;

            float: left;
        }
    }

    .manuals {
        background-color: #76bd1d;
    }

    .circulars {
        background-color: #f6a704;
    }

    .learning {
        background-color: #ed4d9a;
    }

    .tools {
        background-color: #1f9bde;
    }

    .quote {
        background-color: #f16522;
    }
}