/* Columns resized by dragging the edge of their header (js/opsflow-resizable-columns.js). */
[data-opsflow-resizable-column] {
    position: relative;
}

/* The handle: a strip along the right edge of the header, visible on hover. */
[data-opsflow-resizable-column]::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    bottom: 25%;
    width: 10px;
    border-right: 2px solid transparent;
    cursor: col-resize;
}

[data-opsflow-resizable-column]:hover::after,
.opsflow-resizing-column [data-opsflow-resizable-column]::after {
    border-right-color: rgb(209 213 219);
}

.dark [data-opsflow-resizable-column]:hover::after {
    border-right-color: rgb(75 85 99);
}

.opsflow-resizing-column,
.opsflow-resizing-column * {
    cursor: col-resize !important;
    user-select: none;
}

/* The text of the cell is cut with an ellipsis at the width of the column. */
[data-opsflow-resizable-cell] {
    overflow: hidden;
}

[data-opsflow-resizable-cell] * {
    min-width: 0;
}

[data-opsflow-resizable-cell] span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
