File size: 3,049 Bytes
dc9e27a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
article {
    padding: 6px 16px;
    border-radius: 8px;
    height: 38px;
    border: 1px solid transparent;
    background: #fff;
    color: #121316;
    text-align: center;
    font-size: 14px;
    line-height: 24px;
    position: relative;
    box-sizing: border-box;

    &.loading {
        line-height: 20px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid transparent;
        padding: 4px;

        span {
            color: #3477eb;
            background-color: #fff;
            border-radius: 4px;
            line-height: 24px;
            padding: 2px 12px;
        }

        .looping {
            --border-width: 4px;
            --follow-panel-linear-border: linear-gradient(90deg, #3477eb 0.58%, #FFB4BA 100.36%);

            position: absolute;
            top: 0;
            left: 0;
            width: calc(100% + var(--border-width) * 3 - 8px);
            height: 100%;
            background: var(--follow-panel-linear-border);
            background-size: 300% 300%;
            background-position: 0 50%;
            animation: moveGradient 4s linear infinite;
        }
    }

    &.disabled {
        border-radius: 8px;
        border: 1px solid #d7d8dd;
        color: rgba(18, 19, 22, 0.35);
    }

    &.finished {
        cursor: pointer;
        border: 1px solid #3477EB;

        &:hover {
            background-color: #E6F2FF;
        }

        .finishDot {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 6px;
            height: 6px;
            background-color: #3477EB;
            border-radius: 50%;
        }
    }

    &.forbidden {
        cursor: not-allowed;
    }

    &.emptyNode {
        padding: 0 !important;
        border: 0;
    }

    &.active {
        border-radius: 8px;
        border: 1px solid var(---Brand1-5, #3477EB);
        background: var(---Brand1-5, #3477EB);
        color: #fff;

        &:hover {
            border: 1px solid var(---Brand1-5, #3477EB);
            background: var(---Brand1-5, #3477EB);
            color: #fff;
        }

        .dot {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 6px;
            height: 6px;
            background-color: #fff;
            border-radius: 50%;
        }
    }

    &.init {
        border: 1px solid transparent;
        cursor: auto;
    }

    span {
        display: block;
        white-space: nowrap;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        z-index: 20;
    }

    span.status {
        color: #4082fe;
    }
}

ul.onlyone {
    &:before {
        opacity: 0;
    }

    >li {
        margin-left: 0px;
    }

    &>li:after {
        opacity: 0;
    }

    &>li:before {
        // left: 0;
    }
}

.endLine {
    border-bottom: 1px solid #d7d8dd;
    width: 3000px;
    transition: width 1s ease-in-out;
}

@keyframes moveGradient {
    50% {
        background-position: 100% 50%;
    }
}