Browse Source

文件上传修改按钮背景及添加加载动画

RuoYi 5 years ago
parent
commit
76b3c381c3

+ 3 - 3
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-fileinput/fileinput.css

@@ -102,7 +102,7 @@
     font-size: 13px;
     font-variant: small-caps;
     color: #999;
-    background: transparent url(../img/loading.gif) top left no-repeat;
+    background: transparent url(loading.gif) top left no-repeat;
 }
 
 .file-object {
@@ -397,7 +397,7 @@
 }
 
 .file-thumb-loading {
-    background: transparent url(../img/loading.gif) no-repeat scroll center center content-box !important;
+    background: transparent url(loading.gif) no-repeat scroll center center content-box !important;
 }
 
 .file-drop-zone {
@@ -527,7 +527,7 @@
 }
 
 .file-loading[dir=rtl]:before {
-    background: transparent url(../img/loading.gif) top right no-repeat;
+    background: transparent url(loading.gif) top right no-repeat;
     padding-left: 0;
     padding-right: 20px;
 }

File diff suppressed because it is too large
+ 0 - 0
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-fileinput/fileinput.min.css


BIN
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-fileinput/loading-sm.gif


BIN
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-fileinput/loading.gif


+ 6 - 0
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css

@@ -672,6 +672,12 @@ label {
 	background: #FFFFFF none
 }
 
+.file-input .btn-default {
+    color: inherit;
+    background: white;
+    border: 1px solid #e7eaec;
+}
+
 .select-list .btn-default {
     color: #555;
     padding: 5px 5px;

Some files were not shown because too many files changed in this diff