.jnpf-version-popover {
|
.ant-popover-inner {
|
padding: 0;
|
}
|
|
.ant-popover-inner-content {
|
padding: 0;
|
|
.version-list {
|
height: 250px;
|
overflow: auto;
|
|
.version-item {
|
display: flex;
|
align-items: center;
|
height: 36px;
|
padding: 0 8px 0 18px;
|
margin: 4px 6px;
|
cursor: pointer;
|
border-radius: 6px;
|
|
&:hover {
|
background-color: var(--selected-hover-bg);
|
|
.version-delete i {
|
display: block;
|
}
|
}
|
|
.version-name {
|
flex: 1;
|
min-width: 0;
|
}
|
|
.version-state {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 52px;
|
height: 20px;
|
font-size: 12px;
|
color: #fff;
|
border-radius: 10px;
|
}
|
|
.version-delete {
|
width: 14px;
|
margin-left: 32px;
|
|
i {
|
display: none;
|
font-size: 14px;
|
}
|
}
|
}
|
}
|
}
|
|
.add-btn {
|
height: 44px;
|
line-height: 44px;
|
text-align: center;
|
cursor: pointer;
|
border-top: 1px solid var(--border-color-base1);
|
}
|
}
|
|
.version-tip {
|
display: flex;
|
flex-shrink: 0;
|
align-items: center;
|
padding: 0 18px;
|
font-size: 14px;
|
line-height: 32px;
|
background-color: var(--component-background);
|
border-radius: 10px;
|
box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
|
|
.icon {
|
padding-right: 5px;
|
color: #fcaa28;
|
}
|
}
|
|
.current-version {
|
display: flex;
|
align-items: center;
|
padding: 4px 10px;
|
}
|
|
.version-badge {
|
width: 8px;
|
height: 8px;
|
margin-right: 4px;
|
border-radius: 50%;
|
}
|
|
.jnpf-common-history-popover {
|
.ant-popover-inner {
|
padding: 0;
|
overflow: hidden;
|
border-radius: 8px;
|
|
.ant-popover-inner-content {
|
padding: unset !important;
|
}
|
}
|
|
.history-popover-content {
|
display: flex;
|
flex-direction: column;
|
width: 250px;
|
height: 320px;
|
padding: 20px 10px;
|
|
.title {
|
flex-shrink: 0;
|
margin-bottom: 10px;
|
font-size: 16px;
|
font-weight: bold;
|
color: #303133;
|
|
i {
|
margin: 0 8px 0 10px;
|
font-size: 16px;
|
}
|
}
|
|
.item {
|
display: flex;
|
align-items: center;
|
padding: 0 10px;
|
line-height: 36px;
|
cursor: pointer;
|
border-radius: 7px;
|
|
&:hover {
|
background: rgb(237 240 244 / 39%);
|
}
|
|
&.current-item {
|
color: var(--primary-color);
|
}
|
|
&.past-item {
|
color: #a5a5a5;
|
}
|
|
i {
|
margin-right: 8px;
|
font-size: 14px;
|
}
|
}
|
|
.contain {
|
flex: 1;
|
}
|
}
|
}
|
|
.jnpf-history-btn {
|
padding: 0 4px;
|
|
i {
|
font-size: 14px;
|
line-height: 32px;
|
}
|
}
|
|
.plan-popover {
|
.ant-popover-inner {
|
width: 240px;
|
padding: 0;
|
}
|
|
.plan-list {
|
max-height: 182px;
|
padding: 6px 0;
|
overflow: auto;
|
|
&-item {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
height: 34px;
|
padding: 0 20px;
|
font-size: 14px;
|
color: var(--text-color-label);
|
cursor: pointer;
|
|
.icon-ym-nav-close {
|
font-size: 12px;
|
}
|
|
&:hover {
|
background-color: var(--tree-hover-font-color);
|
}
|
}
|
|
.plan-list-name {
|
width: 160px;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
color: var(--primary-color);
|
white-space: nowrap;
|
cursor: pointer;
|
}
|
|
.icon-ym-nav-close:hover {
|
color: var(--error-color);
|
}
|
}
|
|
.noData-txt {
|
height: 34px;
|
font-size: 14px;
|
line-height: 34px;
|
color: var(--text-color-secondary);
|
text-align: center;
|
}
|
}
|