@import './globals.scss';

.Icon
{
    width: 100%;
    height: 100%;
    background-color: $white;
    border: 1px solid $border-color;
    border-radius: $border-radius;

    .tabs
    {
        width: 100%;
        min-height: 30px;
        border-bottom: 1px solid $border-color;
        height: auto;
        clear: both;
        overflow: auto;

        .tab
        {
            float: left;
            width: calc(19% - 10px);
            padding: 0 5px;
            font-size: 0.87rem;
            line-height: 30px;
            text-align: center;
            margin: 5px;
            padding:0;
            color: #4f4f4f;
            overflow: hidden;
            text-overflow: ellipsis;
            word-wrap: none;
            white-space: nowrap;
            border-radius: $border-radius;
        }

        .last
        {
            border-right: none;
        }

        .tab:hover
        {
            cursor: pointer;
        }

        .tab.active
        {
            background-color: dodgerblue;
            color: rgb(255,255,255);
        }
    }

    .icon
    {
        line-height: 1.5rem;
        display: inline-block;
        padding: 5px 15px;
        text-align: center;
        border-radius: $border-radius;
        transition-duration: $default-transition;
        background-color: transparent;
    }

    .icon:hover
    {
        cursor: pointer;
        background-color: $background-gray-l;
    }

    .row
    {
        width: 100%;
    }

    .icon-wrapper
    {
        display: inline-block;
    }

    .row .icon-wrapper
    {
        display: flex;
        flex-grow: 1;
        margin: auto;
    }
}
