util.css
3.41 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/***************************************************
* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等;
* update : 2015/02/03;
* use : 按需使用对应class即可;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.text-left {
text-align: left !important;
}
.text-center {
text-align: center !important;
}
.text-right {
text-align: right !important;
}
.text-nowrap {
white-space: nowrap !important;
}
.text-overflow {
overflow: hidden;
text-overflow: ellipsis;
}
.text-lowercase {
text-transform: lowercase;
}
.text-uppercase {
text-transform: uppercase;
}
.text-capitalize {
text-transform: capitalize;
}
.text-indent {
text-indent: -999em;
}
.float-left {
float: left !important;
}
.float-right {
float: right !important;
}
.float-none {
float: none !important;
}
.display-block {
display: block !important;
}
.clearfix:after {
content: '';
display: block;
height: 0;
overflow: hidden;
font-size: 0;
clear: both;
}
.m-hide {
display: none !important;
visibility: hidden;
opacity: 0;
z-index: -1;
}
.m-hidden {
visibility: hidden;
opacity: 0;
z-index: -1;
}
.m-show {
display: block !important;
visibility: visible;
}
.m-separate {
position: relative;
width: 100%;
line-height: 50px;
text-align: center;
font-size: 12px;
color: #666;
overflow: visible;
}
.m-more,
a.m-more {
display: block;
font-size: 12px;
text-align: center;
color: #999;
line-height: 45px;
background-color: #FFF;
}
.m-animate-hide {
-webkit-transform: translate(0, 100%) translateZ(0) !important;
-ms-transform: translate(0, 100%) translateZ(0) !important;
-o-transform: translate(0, 100%) translateZ(0) !important;
transform: translate(0, 100%) translateZ(0) !important;
}
.m-animate-show {
-webkit-transform: translate(0, 0) translateZ(0) !important;
-ms-transform: translate(0, 0) translateZ(0) !important;
-o-transform: translate(0, 0) translateZ(0) !important;
transform: translate(0, 0) translateZ(0) !important;
}
.hidden {
opacity: 0;
z-index: -1;
}
.mask-hidden {
opacity: 0;
}
.font-white {
color: #FFF !important;
}
.font-white-opacity {
color: rgba(255, 255, 255, 0.8) !important;
}
.font-deep {
color: #333 !important;
}
.font-gray {
color: #666 !important;
}
.font-light {
color: #999 !important;
}
.font-yellow {
color: #FF9D2C !important;
}
.font-orange {
color: #FF6B00 !important;
}
.font-red {
color: #fa4535 !important;
}
.font-green {
color: #23ac38 !important;
}
.background-white {
background-color: #FFF;
}
.background-gray {
background-color: #666 !important;
}
.background-deep-gray {
background-color: #444 !important;
}
.background-yellow {
background-color: #FF9D2C !important;
}
.background-orange {
background-color: #FF6B00 !important;
}
.background-red {
background-color: #fa4535 !important;
}
.background-green {
background-color: #23ac38 !important;
}
.position-relative {
position: relative;
}
.z-index2 {
z-index: 2;
}
.width-auto {
width: auto !important;
}
.width-200p {
width: 200%;
}
.m-col-1 {
width: 100% !important;
}
.m-col-2 {
width: 50% !important;
}
.m-col-3 {
width: 33.33% !important;
}
.m-col-4 {
width: 25% !important;
}