12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- @tree-prefix-cls: ~'@{namespace}-tree';
- .@{tree-prefix-cls} {
- background-color: @component-background;
- .ant-tree-node-content-wrapper {
- position: relative;
- .ant-tree-title {
- position: absolute;
- left: 0;
- width: 100%;
- }
- }
- &__title {
- position: relative;
- display: flex;
- align-items: center;
- width: 100%;
- padding-right: 10px;
- &:hover {
- .@{tree-prefix-cls}__action {
- visibility: visible;
- }
- }
- }
- &__content {
- overflow: hidden;
- }
- &__actions {
- position: absolute;
- //top: 2px;
- right: 3px;
- display: flex;
- }
- &__action {
- margin-left: 4px;
- visibility: hidden;
- }
- &-header {
- border-bottom: 1px solid @border-color-base;
- }
- }
|