$menu-size: 60px;
$menu-brand-background-color: #424950;

/* Transitions */
@mixin transition() {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* General styles for all menus */
[data-focus="menu"] {
    background: #36b7b9;
    position: fixed;
    z-index: 2000;

    @include transition();

    [data-focus="menu-brand"] {
        text-align: center;
        background-color: $menu-brand-background-color;
        height: $menu-size;
    }

    [data-focus="menu-items"] {
        padding:0;
        margin: 0;
        li {
            width: $menu-size;
            height: $menu-size;
            line-height: $menu-size;
            padding:0;
            margin: 15px 0;
            text-align: center;
            color: white;

            button.btn {
                margin: 0;
                padding: 0;
                width: $menu-size;
                height: $menu-size;
                white-space: normal;
                margin: 0;
                font-weight: normal;
                color:white;
                &:hover {
                    text-decoration: none;
                }
                i {
                    display: block;
                    font-size: 16pt;
                    padding: 7px 0;
                    margin: 0;
                }
                span {
                    font-size: 9pt;
                }
            }

            span {
                position: relative;
                top: -40px;
                text-align: center;
            }
        }
    }

    /* Orientation-dependent styles for the content of the menu */
    &.menu-vertical {
        width: $menu-size;
        position: fixed;
        top: 0;
        bottom: 0;
    }

    &.menu-horizontal {
        height: $menu-size;
        width: 100%;
        left: 0;
    }

    /* Vertical menu that slides from the left or right */
    &.menu-left {
        left: -($menu-size);
    }

    &.menu-right {
        right: -($menu-size);
    }

    &.menu-left {
        &.menu-open {
            left: 0px;
        }
    }

    &.menu-right {
        &.menu-open {
            right: 0px;
        }
    }

    /* Horizontal menu that slides from the top or bottom */

    &.menu-top {
        top: -($menu-size);
    }

    &.menu-bottom {
        bottom: -($menu-size);
    }

    &.menu-top {
        &.menu-open {
            top: 0px;
        }
    }

    &.menu-bottom {
        &.menu-open {
            bottom: 0px;
        }
    }

    &.menu-push {
        overflow-x: hidden;
        position: relative;
        left: 0;
        @include transition();
    }

    &.menu-push-toright {
        left: $menu-size;
    }

    &.menu-push-toleft {
        left: -($menu-size);
    }
}
