m_like.css
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
<<<<<<< HEAD
.bg-img{background:url(../../images/icon/icon.png)no-repeat;background-size:150px}.m-star{width:75px;height:14px;display:inline-block;vertical-align:middle;background:url(../../images/icon/star@2x.png)left center repeat-x;background-size:15px}.m-star span{display:block;width:0;height:100%;background:url(../../images/icon/star_ht@2x.png)left center repeat-x;background-size:15px}.m-like{float:left;height:25px}.m-like span{float:left;width:25px;height:25px;padding:0 1px;background:url(../../images/icon/star@2x.png)left center no-repeat;background-size:25px;cursor:pointer}.m-like .on{background-image:url(../../images/icon/star_ht@2x.png);background-size:25px}
=======
/***************************************************
* feature : 评论星级样式;
* update : 2015/02/03;
* use : .m-star;
* extend : ;
* example : ;
* desc : m-star用于展示,m-like用户交互;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
/***************************************************
* feature : 变量配置;
* update : 2015/02/05;
* use : ;
* extend : ;
* example : ;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
background: url('../../images/icon/icon.png') no-repeat;
background-size: 150px;
}
.m-star {
width: 75px;
height: 14px;
display: inline-block;
vertical-align: middle;
background: url("../../images/icon/star@2x.png") left center repeat-x;
background-size: 15px;
}
.m-star span {
display: block;
width: 0;
height: 100%;
background: url("../../images/icon/star_ht@2x.png") left center repeat-x;
background-size: 15px;
}
.m-like {
float: left;
height: 25px;
}
.m-like span {
float: left;
width: 25px;
height: 25px;
padding: 0 1px;
background: url("../../images/icon/star@2x.png") left center no-repeat;
background-size: 25px;
cursor: pointer;
}
.m-like .on {
background-image: url("../../images/icon/star_ht@2x.png");
background-size: 25px;
}
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa