scinote-web/app/assets/stylesheets/shared/datatables.scss

39 lines
613 B
SCSS
Raw Normal View History

table.dataTable thead th.dt-colresizable-hover {
cursor: col-resize;
position: relative;
+ th {
cursor: col-resize;
}
&::before {
background-color: $color-silver-chalice;
content: "";
display: block;
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 2px;
}
}
table.dataTable.table--resizable-columns {
table-layout: fixed;
th {
box-sizing: border-box;
min-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
&:first-child {
min-width: 0;
}
&.width-out-of-bounds {
width: 140px !important;
}
}
}