_edit.scss
2.43 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
106
/*
* @description: edit css
* @author: chenglong.wang@yoho.cn
* @date: 2015/4/20
*/
.has-comment {
margin: 10px 15px 20px 15px;
background: #f5f5f5;
min-height: 80px;
padding-bottom: 10px;
.has-user {
margin-left: 15px;
margin-top: 12px;
width: 56px;
height: 56px;
float: left;
display: block;
@include border-radius(28px);
overflow: hidden;
img {
width: 100%;
height: 100%;
display: block;
overflow: hidden;
}
}
.has-comment-info {
overflow: hidden;
@include box-sizing();
padding: 0 12px;
> h2 {
font-size: 1.8rem;
font-weight: bold;
margin-top: 12px;
}
.edit-intrduce {
color: #666;
line-height: 18px;
position: relative;
font-size: 1.4rem;
margin-top: 8px;
.line-btn {
width: 30px;
height: 30px;
position: absolute;
right: 0;
bottom: 2px;
&:after {
content: '';
width: 12px;
height: 10px;
background: inline_image('base64/more.png') center center no-repeat;
@include background-size(100%);
display: inline-block;
position: absolute;
right: 0;
bottom: 0;
}
}
.line-btn.edit-active {
&:after {
background: inline_image('base64/more-active.png') center center no-repeat;
}
}
}
> span {
margin-top: 5px;
display: block;
position: relative;
height: 30px;
line-height: 25px;
text-indent: 40px;
font-size: 1.4rem;
&:after {
content: '';
@include retina-sprite($icons, edit-comment, 0, true);
}
}
}
}
#fashion {
.img-link {
&:after {
@include retina-sprite($icons, channel-fashion);
}
}
.content-item {
> h2, h3 {
color: #9b90ff;
}
}
}