@import "../../variables";

@mixin deletedRow {
    .Undo-delete-link {
        display: none;
    }

    &.Table-row-deleted {
        .Delete-link {
            display: none;
        }

        .Undo-delete-link {
            display: block;
        }
    }
}

/* stylelint-disable max-nesting-depth */

.Label-row {
    @include deletedRow;

    &.Table-row-deleted {
        .Label-name {
            color: grey;
            text-decoration: line-through;
        }
    }
}

.Exception-row {
    @include deletedRow;

    &.Table-row-deleted {
        .Service-name,
        .Country-name {
            color: grey;
            text-decoration: line-through;
        }
    }
}

/* stylelint-enable max-nesting-depth */

.Contract-terms-buttons {
    border-top: none;
}

.Contract-label-term-table,
.Contract-label-exception-table {
    .Table-col {
        width: 25%;
    }
}

.Contract-label-term-add-col {
    text-align: right;
}

.Distribution-fee {
    width: $short_number_field_width;
}

.Label-add-select-wrapper {
    float: left;
    margin-right: 10px;
}

.Label-add-button-wrapper {
    margin-top: 10px;
}
