forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-31 e1961f3d69deb7bb75c365748f4726bcedb10dda
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
@import '../../styles/theme.less';
 
// 附件li
.filesTable-fileLi {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
 
    &-icon,
    &-iconA,
    &-iconDelete {
        color: rgba(0, 0, 0, 0.45);
        margin-right: 8px;
    }
 
    &-iconA {
        display: none;
        cursor: pointer;
 
        &:hover {
            color: @main-color;
        }
    }
 
    &-iconDelete {
        display: none;
        cursor: pointer;
 
        &:hover {
            color: #ff4d4f;
        }
    }
 
    &-name {
        flex: 1;
        cursor: pointer;
    }
 
    &:hover {
        background-color: #fafafa;
 
        .filesTable-fileLi-iconDelete,
        .filesTable-fileLi-iconA {
            display: block;
        }
    }
 
    &:last-child {
        margin-bottom: 0;
    }
}