105 lines
1.6 KiB
Plaintext
105 lines
1.6 KiB
Plaintext
.nb-tabs,
|
|
.nb-tab-pane {
|
|
&:hover {
|
|
> .designable-bar {
|
|
display: block;
|
|
}
|
|
}
|
|
> .designable-bar {
|
|
pointer-events: none;
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
right: -16px;
|
|
left: -16px;
|
|
bottom: 0;
|
|
border-radius: 0;
|
|
border: 2px solid #1890ff;
|
|
&.active {
|
|
display: block;
|
|
}
|
|
+ .ant-tabs {
|
|
position: relative;
|
|
z-index: 51;
|
|
}
|
|
.designable-bar-actions {
|
|
pointer-events: all;
|
|
position: absolute;
|
|
right: 0;
|
|
line-height: 1rem;
|
|
background-color: #1890ff;
|
|
color: #fff;
|
|
z-index: 10;
|
|
padding: 0 3px;
|
|
.anticon {
|
|
font-size: 10px;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ant-tabs-tab:first-child {
|
|
.nb-tab-pane {
|
|
.designable-bar {
|
|
left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ant-tabs-tab:last-child {
|
|
.nb-tab-pane {
|
|
.designable-bar {
|
|
right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ant-tabs-dropdown-menu-item {
|
|
position: relative;
|
|
}
|
|
|
|
.ant-tabs.singleton {
|
|
.ant-tabs-nav {
|
|
display: none;
|
|
}
|
|
}
|
|
.nb-tabs {
|
|
position: relative;
|
|
> .designable-bar {
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
.ant-drawer-body,
|
|
.ant-card-body,
|
|
.ant-modal-body {
|
|
.nb-tabs {
|
|
margin: -24px;
|
|
padding: 24px;
|
|
}
|
|
}
|
|
|
|
.ant-tabs-tab-btn {
|
|
.droppable.isDragging::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: -16px;
|
|
height: 100%;
|
|
left: -16px;
|
|
background-color: #f18b62;
|
|
opacity: 0.3;
|
|
}
|
|
.droppable:not(.isDragging).isOver::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: -16px;
|
|
height: 100%;
|
|
width: 2px;
|
|
background-color: #f18b62;
|
|
}
|
|
}
|