home.scss
1.7 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
98
99
100
101
102
103
104
105
.home {
background: #dfe7f3;
height: 100%;
width: 100%;
box-sizing: border-box;
padding: 10px;
display: flex;
justify-content: space-between;
overflow-y: hidden;
&-left,
&-center,
&-right {
width: 32%;
height: 100%;
border-radius: 4px;
}
&-left {
width: 25%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
&-top {
width: 100%;
height: 35%;
background: #fff;
margin-bottom: 15px;
border-radius: 4px;
}
&-bottom {
width: 100%;
height: calc(65% - 15px);
background: #fff;
border-radius: 4px;
}
}
&-center {
width: calc(40% - 30px);
background: #fff;
margin: 0 15px;
}
&-right {
width: 35%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
&-top {
width: 100%;
height: 35%;
background: #fff;
margin-bottom: 15px;
border-radius: 4px;
}
&-bottom {
width: 100%;
height: calc(65% - 15px);
background: #fff;
border-radius: 4px;
}
}
&-title {
width: 100%;
height: 40px;
line-height: 40px;
border-bottom: 1px solid #dfe7f3;
font-size: 16px;
.title-name,
.title-more {
display: inline-block;
height: 24px;
line-height: 24px;
margin-top: 8px;
}
.title-name {
float: left;
margin-left: 20px;
padding-left: 10px;
border-left: 4px solid #0F93F6;
}
.title-more {
display: inline-block;
float: right;
margin-right: 20px;
color: #97a8be;
cursor: pointer;
}
}
&-content {
width: 100%;
height: calc(100% - 41px);
padding: 0 20px 20px 20px;
}
}