index.less
1.17 KB
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
@import "~@/mixins.less";
.quickSwitchTabComponent {
z-index: 20;
position: absolute;
top: 0;
right: -10px;
.size(36px, auto);
.flex();
flex-direction: column;
gap: 10px;
>div {
.size(100%, 92px);
.flex(center, center);
overflow: hidden;
padding: 0 5px 0 9px;
font-size: 18px;
font-weight: bold;
line-height: 20px;
background: #FFFFFF;
box-shadow: -4px 4px 4px 0px rgba(0, 0, 0, 0.1);
border-radius: 10px 0px 0px 10px;
cursor: default;
&:hover {
color: #1890FF;
}
}
.active {
background: #D2E5FF;
color: #1890FF;
}
}
.quickSwitchTabEngComponent{
z-index: 20;
position: absolute;
top: 0;
right: -10px;
.size(60px, auto);
.flex();
flex-direction: column;
gap: 10px;
>div {
.size(100%, 92px);
.flex(center, center);
overflow: hidden;
padding: 0 5px 0 9px;
font-size: 12px;
font-weight: bold;
line-height: 22px;
background: #FFFFFF;
box-shadow: -4px 4px 4px 0px rgba(0, 0, 0, 0.1);
border-radius: 10px 0px 0px 10px;
cursor: default;
&:hover {
color: #1890FF;
}
}
.active {
background: #D2E5FF;
color: #1890FF;
}
}