Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zui
提交
e22c0e68
Z
zui
项目概览
易企天创
/
zui
12 个月 前同步成功
通知
6
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
37
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
37
Issue
37
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e22c0e68
编写于
1月 05, 2017
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* build upload files in dist.
上级
b17a87c6
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
397 addition
and
175 deletion
+397
-175
dist/lib/uploader/zui.uploader.css
dist/lib/uploader/zui.uploader.css
+28
-8
dist/lib/uploader/zui.uploader.js
dist/lib/uploader/zui.uploader.js
+349
-159
dist/lib/uploader/zui.uploader.min.css
dist/lib/uploader/zui.uploader.min.css
+3
-3
dist/lib/uploader/zui.uploader.min.js
dist/lib/uploader/zui.uploader.min.js
+17
-5
未找到文件。
dist/lib/uploader/zui.uploader.css
浏览文件 @
e22c0e68
/*!
* ZUI: 文件上传 - v1.5.0 - 201
6-12-11
* ZUI: 文件上传 - v1.5.0 - 201
7-01-05
* http://zui.sexy
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 201
6
cnezsoft.com; Licensed MIT
* Copyright (c) 201
7
cnezsoft.com; Licensed MIT
*/
.uploader
{
position
:
relative
;
margin-bottom
:
20px
;
}
.uploader-btn-hidden
{
position
:
absolute
;
top
:
-1px
;
left
:
-1px
;
width
:
1px
;
height
:
1px
;
opacity
:
0
;
}
.file-dragable
{
position
:
relative
;
}
...
...
@@ -27,7 +35,7 @@
text-align
:
center
;
pointer-events
:
none
;
content
:
attr
(
data-drop-placeholder
);
background-color
:
rgba
(
255
,
2
55
,
255
,
.7
);
background-color
:
rgba
(
255
,
2
40
,
213
,
.5
);
filter
:
alpha
(
opacity
=
0
);
border
:
2px
dashed
#f1a325
;
opacity
:
0
;
...
...
@@ -58,6 +66,7 @@
}
.file-drag-enter
[
data-drop-placeholder
]
:before
{
background-color
:
#fff0d5
;
border-style
:
solid
;
}
.file-list
{
position
:
relative
;
...
...
@@ -197,6 +206,8 @@
border
:
1px
solid
#ddd
;
}
.file-list
.file-name
{
display
:
block
;
text-decoration
:
none
;
-webkit-transition
:
all
.2s
;
-o-transition
:
all
.2s
;
transition
:
all
.2s
;
...
...
@@ -230,6 +241,9 @@
float
:
right
;
margin-top
:
2px
;
}
.file-list
.file-wrapper
>
.actions
>
.btn
{
border-radius
:
0
;
}
.file-list
.file-status
{
display
:
inline-block
;
padding
:
5px
;
...
...
@@ -243,9 +257,9 @@
line-height
:
20px
;
vertical-align
:
middle
;
opacity
:
1
;
-webkit-transition
:
all
.8s
.2s
;
-o-transition
:
all
.8s
.2s
;
transition
:
all
.8s
.2s
;
-webkit-transition
:
all
.8s
;
-o-transition
:
all
.8s
;
transition
:
all
.8s
;
-webkit-transform
:
scale
(
1
);
-ms-transform
:
scale
(
1
);
-o-transform
:
scale
(
1
);
...
...
@@ -292,11 +306,15 @@
color
:
#38b03f
;
}
.file-list
.file
.actions
>
.btn-reset-file
,
.file-list
.file
.actions
>
.btn-download-file
,
.file-list
.file
[
data-status
=
"failed"
]
.actions
>
.btn-rename-file
,
.file-list
.file
[
data-status
=
"uploading"
]
.actions
>
.btn
,
.file-list
.file
[
data-status
=
"done"
]
.actions
>
.btn
{
display
:
none
;
}
.file-list
.file
[
data-status
=
"done"
]
.actions
>
.btn-download-file
[
href
],
.file-list.file-show-rename-action-on-done
.file
[
data-status
=
"done"
]
.actions
>
.btn-rename-file
,
.file-list.file-show-delete-action-on-done
.file
[
data-status
=
"done"
]
.actions
>
.btn-delete-file
,
.file-list
.file
[
data-status
=
"failed"
]
.actions
>
.btn-reset-file
{
display
:
inline-block
;
}
...
...
@@ -311,6 +329,7 @@
bottom
:
0
;
left
:
0
;
z-index
:
10
;
pointer-events
:
none
;
background-color
:
rgba
(
50
,
128
,
252
,
.1
);
filter
:
alpha
(
opacity
=
0
);
-webkit-box-shadow
:
inset
0
-2px
#3280fc
;
...
...
@@ -449,8 +468,8 @@
}
.file-list-grid
.file-wrapper
>
.content
>
.file-size
{
position
:
absolute
;
top
:
-2
6
px
;
left
:
8
px
;
top
:
-2
4
px
;
left
:
4
px
;
display
:
block
;
padding
:
0
5px
;
line-height
:
18px
;
...
...
@@ -513,6 +532,7 @@
}
.file-list-grid
.file
[
data-status
=
"failed"
]
.file-wrapper
>
.actions
>
.file-status
>
.icon
{
font-size
:
14px
;
text-shadow
:
none
;
}
.file-list-grid
.file
[
data-status
=
"uploading"
]
.file-wrapper
>
.actions
>
.file-status
>
.text
{
position
:
absolute
;
...
...
dist/lib/uploader/zui.uploader.js
浏览文件 @
e22c0e68
此差异已折叠。
点击以展开。
dist/lib/uploader/zui.uploader.min.css
浏览文件 @
e22c0e68
此差异已折叠。
点击以展开。
dist/lib/uploader/zui.uploader.min.js
浏览文件 @
e22c0e68
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录