forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-22 86d82927381c21c538d25e55380cbe7c86acd811
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
@import '../../styles/theme.less';
 
.myTabs {
    padding: 12px 0;
    color: @text-color-secondary;
 
    &-border {
        position: relative;
 
        &::after {
            content: '';
            position: absolute;
      left: 0;
      right: 0;
            bottom: 10px;
            height: 1px;
      background-color: @divider-color;
        }
    }
 
    &-tab {
        cursor: pointer;
    display: flex;
    align-items: center;
        &:hover {
            color: @main-color;
        }
    }
 
    &-active {
        position: relative;
        color: @main-color;
 
        &::after {
            content: '';
            height: 2px;
            width: 22px;
            background-color: @main-color;
            position: absolute;
            left: 50%;
            margin-left: -11px;
            bottom: -2px;
        }
    }
}