layui.css
4.04 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
181
182
/*-------------------------------------
layui 样式自定义
-------------------------------------*/
.layui-btn+.layui-btn {
margin-left: 20px;
}
.layui-input:focus,
.layui-textarea:focus {
border-color: #1989FA !important;
}
.layui-input{
border-radius: 4px;
}
.layui-form-pane .layui-input{
border-radius: 0 4px 4px 0;
}
.layui-form-pane .layui-input-inline{
margin-left: -4px;
}
.layui-form-pane .layui-form-item[pane]{
border-style: none;
}
.layui-form-label.required::before {
content: '*';
display: inline-block;
color: red;
margin-right: 5px;
}
.layui-laypage-btn,.layui-btn {
background-color: #1989FA !important;
border-radius: 4px;
color: #ffffff;
}
/* .layui-btn, .add-circle, .btn-no-border{
background-color: #1989FA!important;
height: 16px !important;
width: 16px !important;
border-radius: 50% !important;
} */
.layui-laypage-em {
background-color: #1989FA !important;
}
.layui-btn-xs {
color: #1989FA;
font-size: 14px;
height: 14px;
font-weight: 400;
line-height: 14px;
}
.layui-btn-xs:hover {
color: #1989FA;
}
.layui-form-select dl dd.layui-this {
background-color: #1989FA;
}
.layui-form-checked[lay-skin=primary] i {
border-color: #1989FA !important;
background-color: #1989FA;
color: #fff;
}
.layui-form-checkbox[lay-skin=primary]:hover i {
border-color: #1989FA !important;
color: #fff;
}
.layui-form-checked span,
.layui-form-checked:hover span {
background-color: #1989FA;
}
.layui-form-checked i,
.layui-form-checked:hover i {
color: #1989FA;
}
.layui-laydate .layui-laydate-content .layui-this {
background-color: #1989FA !important;
color: #fff !important;
}
.layui-tab-brief>.layui-tab-title .layui-this {
color: #333333;
font-weight: 500;
}
.layui-tab-title li{
color: #999999;
}
.layui-tab-card>.layui-tab-title .layui-this{
color: #1989FA;
}
.layui-tab-brief>.layui-tab-more li.layui-this:after,
.layui-tab-brief>.layui-tab-title .layui-this:after {
border-bottom: 2px solid #1989FA;
}
.layui-disabled, .layui-disabled:hover{
color: #999!important;
font-family: PingFangSC-Regular, PingFang SC;
}
.layui-tab-content xm-select {
border-color: #E6E6E6!important;
}
.xm-label-block {
background-color: #1989FA!important;
}
.selected i.xm-icon-duox{
color: #1989FA!important;
}
.xm-option-icon, .xm-iconfont, .xm-icon-duox{
border-color:#1989FA!important;
}
/* 分页器的修改 */
.layui-laypage button{
border-radius: 4px;
}
.layui-laypage .layui-laypage-skip input:focus{
border-color: #1989FA!important;
}
.layui-laypage a, .layui-laypage span,.layui-laypage .layui-laypage-skip{
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
}
/* 表格行内容高度自适应 */
.layui-table-cell{
height: auto;
/* overflow: visible;
text-overflow: inherit; */
white-space: normal;
/* 高度最多四行,超出省略号结尾 */
/* display: -webkit-box;
-webkit-box-orient: vertical;
line-clamp: 4;
overflow: hidden;
word-break: break-all; */
overflow: hidden;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
display: -webkit-box;
word-break: break-all;
}
.layui-table-cell li{
list-style-type: none;
}
.layui-table-cell li::before{
/* list-style: disc;
list-style-position: inside; */
content: "\2022";
color: #1989FA;
margin-right: 5px;
}
.layui-table-cell li::marker{
/*谷歌浏览器有::marker伪元素,ie浏览器没有,故使用伪元素替代蓝色原点*/
/* color:#1989FA ; */
}
/* 表格去所有边框 */
.layui-table td, .layui-table th, .layui-table-col-set, .layui-table-fixed-r,
.layui-table-grid-down, .layui-table-header, .layui-table-page,
.layui-table-tips-main, .layui-table-tool, .layui-table-total,
.layui-table-view, .layui-table[lay-skin=line], .layui-table[lay-skin=row]{
border-style: none;
}
.layui-table-body tbody tr:not(:last-child){
border-bottom: 1px solid #DCDFE6;
}