forked from blueimp/jQuery-File-Upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.fileupload-ui.css
151 lines (131 loc) · 2.67 KB
/
jquery.fileupload-ui.css
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
@charset 'UTF-8';
/*
* jQuery File Upload Plugin CSS 4.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://creativecommons.org/licenses/MIT/
*/
form.file_upload {
position: relative;
overflow: hidden;
direction: ltr;
cursor: pointer;
text-align: center;
color: #333;
font-weight: bold;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
width: 15em;
height: 2.5em;
line-height: 2.5em;
background: palegreen;
border: 1px solid limegreen;
}
form.file_upload_small {
width: 15em;
height: 2.5em;
line-height: 2.5em;
font-size: 100%;
background: palegreen;
border: 1px solid limegreen;
}
form.file_upload_large {
width: 100%;
height: 7em;
line-height: 7em;
font-size: 2em;
background: palegreen;
border: 1px solid limegreen;
}
form.file_upload_highlight,
form.file_upload:hover {
background: lawngreen;
}
form.file_upload input {
position: absolute;
top: 0;
right: 0;
margin: 0;
border: 300px solid transparent;
opacity: 0;
-ms-filter: 'alpha(opacity=0)';
filter: alpha(opacity=0);
-o-transform: translate(-300px, -300px) scale(10);
-moz-transform: translate(-800px, 0) scale(10);
cursor: pointer;
height: 100%;
}
:root form.file_upload input {
height: auto;
}
form.file_upload button,
.no-js .file_upload_label,
.no-js .file_upload_overall_progress,
.no-js .file_upload_buttons {
display: none;
}
.file_upload .file_upload_label,
.file_upload .file_upload_overall_progress,
.file_upload .file_upload_buttons {
display: block;
}
.file_upload img {
border: none;
}
.progressbar, .progressbar div {
border: 1px solid #aaa;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.progressbar div {
width: 100%;
height: 100%;
margin: -1px;
}
.file_upload_progress .ui-progressbar-value,
.file_upload_overall_progress .ui-progressbar-value,
.progressbar div {
background: url(pbar-ani.gif);
}
.file_upload_progress div {
width: 150px;
height: 17px;
}
.file_upload_overall_progress div {
width: 350px;
height: 17px;
}
.file_upload .file_name {
padding: 0 10px;
font-size: 1.1em;
}
.file_upload .file_size {
padding: 0 10px 0 0;
text-align: right;
white-space: nowrap;
font-size: 1.1em;
}
.file_upload .files,
.file_upload_overall_progress {
margin: 10px 0;
}
.file_upload_error .ui-progressbar,
.file_upload_error .progressbar,
.file_upload_error .file_upload_start button {
display: none;
}
.file_upload_error .error {
width: 100%;
height: 100%;
color: #CD0A0A;
font-size: 1.1em;
}
.file_upload .ui-widget {
font-size: 1em;
}