1
zhaoxiaoqiang
2022-08-05 c18ea8eafed7533ceb955d0b87853f4f95b2eac8
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
181
182
183
184
185
186
187
188
189
190
191
/*
 * @Descripttion: 基础css 类,全局类名以 -g 结尾来区分
 * @Author: TM丶
 * @LastEditors: 小明丶
 * @Date: 2019-03-11 21:02:51
 * @LastEditTime: 2020-04-24 15:56:39
 */
 
 html,body{
   height: 100%;
 }
 
 body {
  font-size: @font-14;
  color: @c-333;
  scroll-behavior: smooth;
}
 
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul {
  margin: 0;
}
 
 
 
.font-11-g{
  font-size: @font-11;
}
 
.font-12-g{
  font-size: @font-12;
}
 
.font-14-g{
  font-size: @font-14;
}
 
 
.font-16-g{
  font-size: @font-16;
}
 
 
 
.height-44-g{
  height: 44px;
  width: 100%;
}
.height-20-g{
  height: 20px;
  width: 100%;
}
 
 
 
.c-text-999-g{
  color: @c-text-999;
}
 
.c-text-666-g{
  color: @c-text-666;
}
 
hr{
  border: none;
}
 
.h-100-g{
  min-height: 100%;
}
 
.w-100-g{
  width: 100%;
}
 
.fl-g {
  float: left;
}
 
.fr-g {
  float: right;
}
 
 
.clearfix-g {
  zoom: 1;
 
  &:after {
    content: "";
    display: block;
    clear: both;
  }
}
 
.text-center-g{
  text-align: center;
}
 
.img-fluid-g {
  max-width: 100%;
  height: auto;
}
 
.p-center-g{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
 
.hidden-g {
  display: none;
}
 
.flex-start-g {
  .flex(flex-start);
}
 
.flex-center-g {
  .flex(center);
}
 
.flex-between-g {
  .flex(space-between);
}
 
.flex-around-g {
  .flex(space-around);
}
 
.flex-end-g {
  .flex(flex-end);
}
 
.flex-1-g{
  flex:1;
}
 
/*单行溢出*/
.text-clip-g {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
 
// 滚动条样式
::-webkit-scrollbar {
  max-width: 5px;
  max-height: 8px;
}
 
 
::-webkit-scrollbar-thumb {
  background-color: #C9CAD3;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
 
// placeholder样式控制
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: @c-999;
  font-size: @font-14;
}
 
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: @c-999;
  font-size: @font-14;
}
 
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: @c-999;
  font-size: @font-14;
}
 
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: @c-999;
  font-size: @font-14;
}