menu.scss
1.61 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
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
.qg-menu-tree {
font-size: 14px;
color: #555;
.el-button {
padding: 5px;
margin: 0;
}
.el-tree-node__content {
position: relative;
height: auto;
border-bottom: 1px solid #e8e8e8;
}
}
.qg-menu-opt-bar {
right: 0;
top: 0;
width: 140px;
padding-left: 5px;
border-left: 1px solid #efefef;
}
.qg-menu-auths {
right: 140px;
top: 0;
/*width: 300px;*/
flex: 1;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
border-left: 1px solid #efefef;
padding-left: 6px;
}
.qg-menu-route {
right: 440px;
top: 0;
width: 220px;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
border-left: 1px solid #efefef;
padding-left: 6px;
cursor: default;
user-select: all;
}
.qg-menu-tree-node {
&.disabled {
color: #999;
}
}
.qg-menu-tree-node, .qg-menu-header {
flex: 1;
display: flex;
align-items: stretch;
justify-content: flex-end;
overflow: hidden;
min-height: 36px;
> div {
display: flex;
align-items: center;
overflow: hidden;
}
}
.qg-menu-icon {
width: 60px;
text-align: center;
border-left: 1px solid #efefef;
justify-content: center;
}
.qg-menu-code {
width: 140px;
border-left: 1px solid #efefef;
padding: 0 5px;
cursor: default;
user-select: all;
}
.qg-menu-header {
height: 40px;
line-height: 40px;
background-color: #f7f7f7;
margin-top: 6px;
font-size: 14px;
.qg-menu-name {
width: 300px+24px;
padding-left: 10px;
}
}