_personal-details.scss
1.75 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
.personal-details{
width: 100%;
height: auto;
overflow: hidden;
margin-top: 20rem / $pxConvertRem;
background-color:#fff;
border-bottom:1px solid #e0e0e0;
ul{
width: 95%;
height: auto;
overflow: hidden;
float:right;
li{
&:first-of-type{
height: 100rem / $pxConvertRem;
line-height:100rem / $pxConvertRem;
}
height: 80rem / $pxConvertRem;
border-bottom: 1px solid #e0e0e0;
.user-avatar {
width: 100%;
height: 100%;
background-image: image-url("me/index/user-avatar.png");
background-size: 100%;
}
>span{
&:first-of-type{
color: #444;
line-height:100rem / $pxConvertRem;
}
width: 42%;
height: 100%;
line-height:80rem / $pxConvertRem;
font-size: 48em / $pxConvertRem;
margin-right: 8%;
float: left;
.head-portrait{
width:90rem / $pxConvertRem;
height: 90rem / $pxConvertRem;
overflow: hidden;
float: right;
border-radius:50%;
border:1px solid #eee;
}
.grade{
width: 100%;
height: 100%;
overflow: hidden;
display: block;
position: relative;
i{
width:80rem / $pxConvertRem;
height: 30rem / $pxConvertRem;
overflow: hidden;
display: block;
position: absolute;
right: 40rem / $pxConvertRem;
top:50%;
@include transform(translateY(-50%));
}
span{
color: #b0b0b0;
}
}
.vip-3 {
@include rem-sprite($vip, vip-3);
}
.vip-2 {
@include rem-sprite($vip, vip-2);
}
.vip-1 {
@include rem-sprite($vip, vip-1);
}
&:last-of-type{
color: #b0b0b0;
text-align: right;
}
}
&:last-of-type{
border-bottom:none;
}
}
}
}