move css modules, add css compile
This commit is contained in:
34
css/widget/loading.less
Normal file
34
css/widget/loading.less
Normal file
@@ -0,0 +1,34 @@
|
||||
// loading 动画
|
||||
.loading {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 30%;
|
||||
width: 200px;
|
||||
margin-left: -100px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
z-index: 10000;
|
||||
display: none;
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
padding: 0 6px;
|
||||
background: rgba(84, 114, 93, 0.9);
|
||||
color: #FFF;
|
||||
border: 1px solid #DDD;
|
||||
}
|
||||
}
|
||||
|
||||
.loading[data-status="error"] {
|
||||
span {
|
||||
color: red;
|
||||
background: rgba(236, 234, 69, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
.loading[data-status="warn"] {
|
||||
span {
|
||||
color: #FF8722;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user