tab-page-exp-style2.less 2.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
.app-page-tag-style2 {
    position: relative;
    height: 34px;
    padding: 0 60px 0 30px;
}

.app-page-tag-style2__left__icon,.app-page-tag-style2__right__icon {
    font-size: 18px;
    width: 30px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    border-right: none;
    position: absolute; 
    top: 0;
}

.app-page-tag-style2__left__icon {
    left: 0;
}

.app-page-tag-style2__right__icon {
    right: 30px;
}

.app-page-tag-style2__tag {
    position: relative;
    overflow: visible;
    white-space: nowrap;
    transition: left 0.3s ease;
    width: 100%;
    height: 100%;
    overflow: hidden;
    .ivu-tag:hover,
    .ivu-tag.is-active {
        .ivu-icon-ios-close {
            visibility: initial;
        }
    }

    .ivu-tag{
        position: relative;
       &::before{
            position: absolute;
            display: block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: gray;
            content: '';
            margin-top: 10px;
        }
        .ivu-tag-text{
            margin-left: 10px;
        }
    }
    
    span {
        .ivu-tag:last-child {
            border-right: none;
        }
    }

    .ivu-tag {
        margin: 0;
        height: 34px;
        line-height: 34px;
        border-radius: 0;
        cursor: pointer;
    }

    .tag__content {
        display: inline-block;
    }

    .ivu-icon-ios-close {
        visibility: hidden;
    }

    .tag__icon::before {
        vertical-align: initial;
    }

    .tags-transition-move {
        transition: transform 0.3s;
    }

    .tags-transition-enter,
    .tags-transition-leave-to {
        opacity: 0;
    }

    .tag__image {
        height: 16px;
        margin-bottom: -3px;
    }
}

.tag-caption-content {
    max-width: 250px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    display: table-cell;
}

.app-page-tag-style2__right {
    position: absolute;
    right: 0;
    top: 0;
    .ivu-dropdown-rel {
        >.ivu-icon {
            font-size: 18px;
            width: 30px;
            height: 34px;
            line-height: 34px;
            text-align: center;
            cursor: pointer;
            border-right: none;
        }
    }
}