feat: improve styling

This commit is contained in:
chenos 2021-09-03 15:11:28 +08:00
parent 8048482247
commit ebfabb4605
2 changed files with 27 additions and 7 deletions

View File

@ -118,8 +118,15 @@
.ant-menu-horizontal {
.ant-menu-submenu,
.ant-menu-item {
.droppable.isDragging {
opacity: .2;
.droppable.isDragging::after {
content: '';
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 100%;
background-color: #f18b62;
opacity: .5;
}
.droppable:not(.isDragging).isOver::after {
content: '';
@ -136,8 +143,15 @@
.ant-menu-inline {
.ant-menu-submenu,
.ant-menu-item {
.droppable.isDragging {
opacity: .2;
.droppable.isDragging::after {
content: '';
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 100%;
background-color: #f18b62;
opacity: .3;
}
.droppable:not(.isDragging).isOver::after {
content: '';

View File

@ -245,9 +245,15 @@ td.nb-table-operation {
}
.ant-table-cell {
&.droppable.isDragging {
opacity: .5;
background-color: rgba(241, 139, 98, 0.06) !important;
&.droppable.isDragging::after {
content: '';
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 100%;
background-color: #f18b62;
opacity: .3;
}
&.droppable:not(.isDragging).isOver::after {
content: '';