forked from huge/frontEnd/hugeDyh2.0

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
@import '~antd/dist/antd.less';
 
@main-color: #ee1d22; // 主色
@adorn-color1: #f07b1d; // 点缀色
@adorn-color2: #bf1779; // 点缀色
@complementary-color: #20c318; // 互补色
 
@text-color: rgba(0, 0, 0, 0.85); // 正文颜色,一级字体颜色
@one-text-color: rgba(0, 0, 0, 0.85); // 一级字体颜色
@second-text-color: rgba(0, 0, 0, 0.65); // 二级字体颜色
@three-text-color: rgba(0, 0, 0, 0.45); // 三级字体颜色
 
@border-color: #e6e6e6; // 分割线
 
// 间距
@padding-small: 8px;
@padding-middle: 16px;
@padding-big: 24px;
 
@borderRadius: 2px; // 圆角
 
// 提示性颜色
@loading-color: #1089ff; // 进行中
@success-color: #52c41a; // 成功,完成
@danger-color: #f5222d; // 失败,危险
@warn-color: #faad14; // 警告
 
@bg-color: #f0f2f5; // 背景色
 
@red-1: #fff1f0;
 
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
 
#root {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    line-height: 22px;
    color: @text-color;
    height: 100%;
    width: 100%;
    background-color: @bg-color;
}
 
h1,
h2,
h3,
h4 {
    font-weight: 500;
    color: @one-text-color;
}
 
h1 {
    font-size: 30px;
    line-height: 38px;
}
 
h2 {
    font-size: 24px;
    line-height: 32px;
}
 
h3 {
    font-size: 18px;
    line-height: 26px;
}
 
h4 {
    font-size: 16px;
    line-height: 24px;
}