forked from ant-design/pro-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.less
53 lines (47 loc) · 993 Bytes
/
layout.less
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
.__dumi-default-menu .__dumi-default-menu-list > li > a {
padding-left: 24px !important;
~ ul {
margin-left: 24px !important;
}
}
html,
.__dumi-default-layout-toc,
.__dumi-default-menu-inner {
&::-webkit-scrollbar {
width: 6px;
height: 6px;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(50, 50, 50, 0.3);
border-radius: 1em;
}
&::-webkit-scrollbar-track {
background-color: rgba(50, 50, 50, 0.1);
border-radius: 1em;
}
}
.__dumi-default-locale-select {
margin-right: 16px;
margin-left: 16px !important;
}
html {
&::-webkit-scrollbar {
width: 8px;
height: 6px;
}
}
.__dumi-default-layout-hero {
background-image: url(https://gw.alipayobjects.com/zos/basement_prod/5edc7f4d-3302-4710-963b-7b6c77ea8d06.svg);
background-position-y: -10px;
background-size: cover;
transition: 0.3s all;
&:hover {
background-position-y: -20px;
}
h1 {
color: #fff !important;
}
div > p {
color: #fff;
}
}