ui-tab-bar {
    box-sizing: content-box;
    position: relative;
    contain: size style layout;
    height: $tab-bar-height;
    display: flex;
    border-top: $border-width solid rgba(0, 0, 0, .3);
    background-color: $tab-bar-bg;
}

.ui-tab-bar-shadow {
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    top: $border-width;
    bottom: 0;
    margin-left: -10px * $screen-scale;
    overflow: hidden;
    &:before {
        content: "";
        position: absolute;
        left: 10px * $screen-scale;
        right: 0;
        top: 0;
        bottom: 0;
        display: block;
        box-shadow: 0 0 10px * $screen-scale rgba(0, 0, 0, .3);
    }
}

.ui-tab-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: inherit;
    display: flex;
}

.ui-iphone ui-tab-bar {
}

.ui-iphone-x ui-tab-bar {
    &:last-child {
        @media screen and (max-width: 375px * $screen-scale) {
            padding-bottom: 34px * $screen-scale;
        }
        @media screen and (max-width: 414px * $screen-scale) {
            padding-bottom: 34px * $screen-scale;
        }
    }
}

.ui-android {

}

.ui-default {

}