index.scss
1.43 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
.main {
display: grid;
grid-template-columns: minmax(330px, 22.9%) 1fr;
height: calc(100vh - 42px);
.tabs {
overflow-y: scroll;
font-size: 16px;
color: #1F1F1F;
user-select: none;
background: #FFFFFF;
border: 1px solid #EEEEEE;
box-sizing: border-box;
&-box {
padding: 32px 20px 40px 84px;
.tab {
&-text {
display: flex;
align-items: center;
height: 40px;
line-height: 40px;
color: #008BF4;
font-weight: 700;
&:hover {
cursor: pointer;
}
.icon {
width: 10px;
height: 28px;
margin-right: 8px;
transition: all .5s;
}
}
.item-list {
display: none;
}
.on {
.icon {
transform: rotate(90deg);
}
}
.on~.item-list {
display: block;
}
.item {
height: 50px;
line-height: 50px;
padding-left: 40px;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
cursor: pointer;
background: #EEEEEE;
border-radius: 20px;
}
}
.active {
background: #EEEEEE;
border-radius: 20px;
}
}
}
}
.content {
overflow-y: scroll;
}
}