.icms-user-menu {
    background-color: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    &.show {
        background-color: rgba(0, 0, 0, 0.25);
    }
    .nav-link {
        color: $navbar-light-color;
        @include hover-focus() {
            color: $navbar-light-hover-color;
        }
        &.disabled {
            color: $navbar-light-disabled-color;
        }
    }
}
.icms-actions-menu {
    padding: $spacer*0.22 0;
}
.mobile-menu-wrapper {
    @include media-breakpoint-down(lg) {
        &__info_bar {
            &:not(.transparent) {
                background-color: $gray-100;
            }
            border-top: 1px solid $gray-200;
            margin-top: $spacer;
            .info_bar {
                border-top: none;
                margin-top: 0;
            }
        }
        &__tab {
            border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
            .nav-tabs {
                border-bottom: none;
                .nav-link {
                    margin-bottom: 0;
                }
            }
        }
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        > .nav, > .swipe-wrapper {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            > li, > .swipe-item {
                flex: 0 0 auto;
            }
        }
        &::-webkit-scrollbar {
            display: none;
        }
    }
}
#mobile_device_type {
    .icms-user-menu {
        > .dropdown-menu {
            position: fixed !important;
            top: 0 !important;
            left: -100% !important;
            width: 100%;
            height: 100%;
            transform: none !important;
            right: 0 !important;
            bottom: 0 !important;
            margin: 0 !important;
            border-radius: 0;
            border: none;
            display: block !important;
            transition: transform 400ms cubic-bezier(0.05, 0.74, 0.27, 0.99);
            padding: 0;
            overflow-x: hidden;
            overflow-y: auto;
            &.show {
                transform: translate3d(100%, 0, 0) !important;
            }
            .nav-link {
                padding: $nav-link-padding-y*1.3 $nav-link-padding-x*1.3;
                border-bottom: 1px solid $gray-200;
                font-size: $font-size-lg;
            }
            .dropdown-menu {
                position: relative;
                top: auto;
                right: auto;
                float: none;
                margin: 0;
                border: none;
                background-color: rgba(0, 0, 0, 0.05);
                border-radius: 0;
            }
        }
    }
}
// Селекторы для скрытия текста меню, оставляя одну иконку
@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
    .nav-item-text#{$infix}-show .nav-item-text {
        display: inline-block;
    }
    .nav-item-text#{$infix}-hide .nav-item-text {
        display: none;
    }
  }
}