common.less
929 Bytes
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
//此处为全局样式,不得随意修改
@import './default.less';
@import './loading.less';
//超出省略
.ellipsis{
overflow: hidden;
white-space: nowrap;
word-break: normal;
text-overflow: ellipsis;
}
a{
text-decoration: none !important;
&:active{
text-decoration: none !important;
}
a:hover{
text-decoration: none !important;
}
}
.logo{
background-color: #2D305F;
display: flex;
justify-content:center;
align-items: center;
cursor: pointer;
overflow: hidden;
.logo_img{
width: 76%;
position: relative;
left: 9px;
img{
width: 74%;
}
}
}
.logo .trigger {
font-size: 18px;
color: #888;
line-height: 50px;
cursor: pointer;
transition: color .5s;
position: relative;
z-index: 666;
// min-width: 50px;
}
.logo .trigger:hover {
color: #fff;
}
.ant-layout-sider-collapsed{
.logo {
.trigger {
margin-right: 30px;
}
}
}