.component-backend-inspector-table {
    @table-cell-base-padding-v: 8px;
    @table-cell-base-padding-h: 10px;
    @table-first-cell-padding: 20px;
    @table-last-cell-padding: 23px;

    table {
        width: 100%;
        table-layout: fixed;
        border-top: 1px solid @primary-border;

        th, td {
            border-right: 1px solid @primary-border;
            border-bottom: 1px solid @primary-border;

            &:last-child {
                border-right: none;
            }
        }

        thead {
            th {
                background-color: transparent;
                font-weight: 600;
                color: @color-text-grey-4;
                min-width: 50px;

                .header-cell-container {
                    padding: @table-cell-base-padding-v @table-cell-base-padding-h;
                    position: relative;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    width: 100%;
                    white-space: nowrap;

                    .cell-resize-handle {
                        position: absolute;
                        left: -1px;
                        top: 1px;
                        width: 3px;
                        height: 100%;
                        cursor: col-resize;
                    }
                }

                &:first-child .header-cell-container {
                    padding-left: @table-first-cell-padding;
                }
            }
        }

        tbody {
            td {
                .table-cell-container {
                    position: relative;
                    padding-right: @table-cell-base-padding-h;
                }

                &:first-child {
                    padding-left: @table-first-cell-padding;
                }

                &:last-child {
                    .table-cell-container {
                        padding-right: @table-last-cell-padding;
                    }
                }

                &.no-sub-controls {
                    padding-top: 7px;
                    padding-bottom: 8px;
                }

                &.clickable {
                    cursor: pointer;

                    &:hover {
                        background: @toolbar-focus-bg;
                    }

                    .clickable-data-container {
                        position: relative;
                        display: flex;
                        justify-content: space-between;

                        .title-container {
                            display: flex;
                        }

                        > span {
                            word-break: break-all;
                        }

                        .remove-row-btn {
                            position: relative;
                            top: 4px;
                        }
                    }
                }

                .record-color {
                    width: 18px;
                    height: 18px;
                    position: relative;
                    top: 2px;
                    border: 1px solid white;
                    margin-right: 5px;
                    flex-shrink: 0;
                }
            }

            tr.focused {
                td {
                    border-bottom: 1px solid @brand-primary;
                }
            }

            tr.has-errors {
                &, &.focused {
                    td {
                        border-bottom: 1px solid @brand-danger;
                    }
                }
            }

            .remove-row-btn {
                .remove-button();
            }

            @import "_control-table-text.less";
            @import "_control-table-dropdown.less";
        }
    }

    .table-control-links {
        padding-top: 10px;
        padding-bottom: 10px;

        a {
            color: @color-grey-2;
            text-decoration: underline;

            &:active, &:focus {
                color: @link-color;
                outline: none;
            }

            &.disabled {
                cursor: default;
                color: @color-grey-3!important;
            }
        }
    }
}

.no-property-title > .component-backend-inspector-table {
    table {
        border-top: none;
    }
}