mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
38 lines
613 B
SCSS
38 lines
613 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|