forked from z-9527/react-admin-master
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
94 lines (89 loc) · 1.46 KB
/
App.css
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
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
/*HeaderBar*/
.trigger{
font-size: 18px;
line-height: 64px;
cursor: pointer;
}
.trigger:hover{
color: #1890ff;
}
.header-ul{
display: flex;
width: 200px;
}
.header-ul li {
flex-grow: 1;
text-align: center;
}
.header-ul>li img{
width: 35px;
height: 35px;
border-radius: 100px;
}
.menu{
line-height: 2em;
padding: 0 10px;
}
.menu-group li{
padding: 0 24px;
line-height: 2em;
}
#page .card-item{
margin-bottom: 10px;
border-radius: 3px;
line-height: 2em;
}
#page .card-ul{
list-style: inside circle;
}
/*GalleryDemo*/
.aspect {
position: relative;
width: 100%;
height: 0;
padding-bottom: 100%;
overflow: hidden;
}
.aspect--1x2{
padding-bottom: calc(112.5% + 8px);
}
.aspect--1x1 {
padding-bottom: 56.25%;
/*padding的百分比是按父级的width计算的*/
}
.aspect--2x1 {
padding-bottom: 28.125%;
}
.aspect__inner{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.vertical-center-modal {
display: flex;
align-items: center;
justify-content: center;
}
.vertical-center-modal .ant-modal {
top: 0;
}
/*美化webkit内核滚动条*/
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
background-color: #777;
}
/*更改antd的primary button样式*/
.ant-btn-primary{
background: #36bafb;
border-color: #36bafb;
}