m_bar.css
2.49 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
107
/***************************************************
* 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/m_bar
左下角工具条
*/
.m-bar {
position: absolute;
z-index: 10;
}
.m-bar-bg {
position: fixed;
left: 0;
top: 0;
z-index: 5;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
display: none;
}
.m-bar-content {
position: fixed;
z-index: 10;
left: 20px;
bottom: 65px;
text-align: center;
}
.m-bar-content .m-bar-btn {
position: relative;
width: 46px;
height: 46px;
border-radius: 100%;
background-color: #23AC38;
border: 2px #fff solid;
z-index: 1001;
}
.m-bar-content .m-bar-icon {
margin: 0;
display: inline-block;
height: 100%;
}
.m-bar-content a {
position: absolute;
width: 50px;
height: 50px;
left: 0;
top: 0;
display: block;
<<<<<<< HEAD
background: #ffffff;
=======
background: #fff;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
border-radius: 100%;
font-size: 12px;
color: #666;
-webkit-transform: translate(0, 0) translateZ(0);
-moz-transform: translate(0, 0) translateZ(0);
-o-transform: translate(0, 0) translateZ(0);
transform: translate(0, 0) translateZ(0);
-webkit-transition: -webkit-transform ease-out 0.25s;
-moz-transition: -moz-transform ease-out 0.25s;
-ms-transition: -ms-transform ease-out 0.25s;
-o-transition: -o-transform ease-out 0.25s;
transition: transform ease-out 0.25s;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
/* Chrome 和 Safari */
-moz-backface-visibility: hidden;
/* Firefox */
-ms-backface-visibility: hidden;
/* Internet Explorer */
}
.m-bar-content p {
line-height: normal;
margin-top: -2px;
}
.m-bar-content .icon {
display: inline-block;
width: 18px;
height: 18px;
line-height: normal;
margin-top: 5px;
background: url('../../images/icon/icon.png') no-repeat;
background-size: 150px;
}
.m-bar-content .icon-home {
background-position: 0 -309px;
}
.m-bar-content .icon-me {
background-position: -23px -309px;
}
.m-bar-content .icon-order {
background-position: -48px -309px;
}