amis2/packages/amis-editor-core/scss/_tableview.scss
2betop cac01a3018 调整为 monorepo
Change-Id: I06342cb12229885daf8e6fa2978f4e49ea0c49a2
2022-06-16 14:49:34 +08:00

54 lines
869 B
SCSS

/**
* table view 相关节点的编辑器扩展
*/
.ae-TableViewEditor {
position: relative;
&-rowLine {
position: absolute;
height: 7px;
left: 0;
right: 0;
cursor: row-resize;
user-select: none;
opacity: 0.5;
// &:hover {
// background: #4285f4;
// }
}
&-colLine {
position: absolute;
width: 7px;
top: 0;
bottom: 0;
cursor: col-resize;
user-select: none;
opacity: 0.5;
// &:hover {
// background: #4285f4;
// }
}
&-mergeIcon {
position: absolute;
bottom: -22px;
left: calc(50% - 3.5em);
color: #4285f4;
cursor: pointer;
}
td[data-selected] {
background: #cfe1fe;
}
// 这个按钮会导致单元格高宽发生变化
.ae-AddBtn {
position: absolute;
left: calc(50% - 10px);
top: calc(50% - 10px);
margin: 0;
}
}