
.content-rights-advanced {
    margin-bottom: 0;

    thead {
        overflow: hidden;
    }

    th[scope=row] {
        font-weight: normal;
    }

    th[scope=col] {
        height: 140px;
        white-space: nowrap;
        position: relative;
        text-align: right;
        vertical-align: bottom;

        &:first-child {
            text-align: left;
        }
    }

    & > tbody td:first-child,
    & > tbody th:first-child {
        border-left: none !important;
    }

    & > tbody td:last-child,
    & > tbody th:last-child {
        border-right: none !important;
    }

    .permission-name-container {
        transform: translate(-20px, -105px) rotate(60deg);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
    }

    .permission-name {
        border-bottom: 1px solid $table-border-color;
        padding: $table-cell-padding-y $table-cell-padding-x;
        position: absolute;
        bottom: 0;
        width: 162px;
    }

    .delete-cell,
    .create-cell {
        text-align: center;
        width: 30px; //same than checkbox cells

        .btn {
            vertical-align: top;
            padding: 0;
            border: none;
        }
    }
}
