_details.css
2.12 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
.personal-details {
width: 100%;
height: auto;
overflow: hidden;
margin-top: 20px;
background-color: #fff;
ul {
width: 95%;
height: auto;
overflow: hidden;
float: right;
li {
&:first-of-type {
height: 130px;
line-height: 130px;
}
height: 90px;
border-bottom: 1px solid #e0e0e0;
.details-icon,
.details-gender,
.details-birthday {
float: right;
height: 100%;
margin-right: 15px;
.icon {
vertical-align: middle;
color: #b0b0b0;
}
}
.user-avatar {
display: inline-block;
width: 100%;
height: 100%;
background-image: resolve("home/user-icon.png");
background-size: 100%;
}
.head-portrait {
width: 92px;
height: 92px;
overflow: hidden;
border-radius: 50%;
border: 1px solid #eee;
vertical-align: middle;
}
> label {
width: 100%;
height: 100%;
line-height: 90px;
font-size: 34px;
margin-right: 8%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: inline-block;
.nickname {
text-align: right;
float: right;
margin-right: 40px;
color: #b0b0b0;
}
.gender {
text-align: right;
color: #b0b0b0;
}
.birthday {
text-align: right;
color: #b0b0b0;
background: transparent;
border: 1px solid #ffffff;
height: 100%;
}
}
}
}
}