Your IP : 216.73.216.220


Current Path : /var/www/surf/TYPO3/vendor/mask/mask/Build/Sources/scss/
Upload File :
Current File : /var/www/surf/TYPO3/vendor/mask/mask/Build/Sources/scss/_elements.scss

@use "sass:math";

.mask-elements {
    @media screen and (min-width: $bp-laptop) {
        display: flex;
    }

    &__column {
        background-color: $bg-light;
        min-height: 100px;

        &--elements {
            margin-bottom: 10px;

            @media screen and (min-width: $bp-laptop) {
                width: percentage(math.div(2, 3));
                margin-right: 5px;
                margin-bottom: 0;
            }
        }

        &--templates {
            @media screen and (min-width: $bp-laptop) {
                margin-left: 5px;
                width: percentage(math.div(1, 3));
            }
        }
    }

    &__header {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        z-index: 100;
        padding: 10px;
        background-color: $bg-dark;

        @media screen and (min-width: $bp-laptop) {
            height: 45px;
            padding: 0 23px 0 5px;
        }
    }

    &__header-icon-wrap {
        display: flex;
        align-items: center;
        margin-right: 15px;

        .icon {
            flex-shrink: 0;
        }
    }

    &__header-icon-label {
        margin-left: 10px;
        margin-right: 10px;

        @media screen and (min-width: $bp-edit-flex) {
            font-size: 16px;
        }
    }

    &__header-search {
        margin-right: auto;
    }

    &__table-wrap {
        overflow-y: scroll;

        @media screen and (min-width: $bp-laptop) {
            height: 80vh;
        }
    }

    &__count {
        text-align: right;
    }

    &__buttons {
        width: 130px;
    }

    &__table {
        tr {
            height: 45px;

            &.has-warning {
                position: relative;

                &:after {
                    font-family: FontAwesome;
                    font-size: 15px;
                    text-align: center;
                    content: "\f06a";
                    color: #ffc107;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    top: 3px;
                    left: 1px;
                    height: 13px;
                    border-radius: 50%;
                    background-color: #fff;
                    z-index: 1;
                }
            }

            &.disabled {
                opacity: 0.5;
            }
        }

        td {
            background-clip: padding-box;
        }
    }

    &__element-name {
        display: flex;
        align-items: center;
        max-width: 500px;
        cursor: pointer;
    }

    &__element-name-label {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    &__element-name-icon {
        margin-right: 10px;

        .icon-overlay-hidden {
            width: 50%;
            height: 50%;
        }
    }

    &__description {
        font-size: 11px;
        line-height: 1.2;
    }

    &__missing {
        margin-left: auto;
        margin-right: 10px;
    }

    &__btn-group {
        display: flex;
        justify-content: flex-end;
    }
}