ng-ytl-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
33 lines (28 loc) • 533 B
text/less
.code-expand-icon {
position: absolute;
right: 16px;
bottom: 23px;
cursor: pointer;
width: 16px;
height: 16px;
line-height: 16px;
text-align: center;
}
.ant-tooltip-open .code-expand-icon-show {
opacity: 1;
}
.code-expand-icon-hide {
opacity: 0;
pointer-events: none;
}
.code-expand-icon-show {
opacity: .55;
pointer-events: auto;
}
.code-expand-icon-hide, .code-expand-icon-show {
transition: all .4s;
user-select: none;
position: absolute;
left: 0;
top: 0;
}