Skip to content

Commit 445f53d

Browse files
author
macintosh
committed
jquery-fileupload-rails pipelined
1 parent 42c4ba6 commit 445f53d

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
@charset "UTF-8";
2+
/*
3+
* jQuery File Upload UI Plugin CSS 8.8.5
4+
* https://github.com/blueimp/jQuery-File-Upload
5+
*
6+
* Copyright 2010, Sebastian Tschan
7+
* https://blueimp.net
8+
*
9+
* Licensed under the MIT license:
10+
* http://www.opensource.org/licenses/MIT
11+
*/
12+
13+
.fileupload-buttonbar .btn,
14+
.fileupload-buttonbar .toggle {
15+
margin-bottom: 5px;
16+
}
17+
.progress-animated .progress-bar,
18+
.progress-animated .bar {
19+
background: url(<%= asset_path 'progressbar.gif' %>) !important;
20+
filter: none;
21+
}
22+
.fileupload-loading {
23+
float: right;
24+
width: 32px;
25+
height: 32px;
26+
background: url(<%= asset_path 'loading.gif' %>) center no-repeat;
27+
background-size: contain;
28+
display: none;
29+
}
30+
.fileupload-processing .fileupload-loading {
31+
display: block;
32+
}
33+
.files audio,
34+
.files video {
35+
max-width: 300px;
36+
}
37+
38+
@media (max-width: 767px) {
39+
.fileupload-buttonbar .toggle,
40+
.files .toggle,
41+
.files .btn span {
42+
display: none;
43+
}
44+
.files .name {
45+
width: 80px;
46+
word-wrap: break-word;
47+
}
48+
.files audio,
49+
.files video {
50+
max-width: 80px;
51+
}
52+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* jquery.Jcrop.min.css v0.9.12 (build:20130126) */
2+
.jcrop-holder{direction:ltr;text-align:left;}
3+
.jcrop-vline,.jcrop-hline{background:#FFF url(<%= asset_path 'Jcrop.gif' %>);font-size:0;position:absolute;}
4+
.jcrop-vline{height:100%;width:1px!important;}
5+
.jcrop-vline.right{right:0;}
6+
.jcrop-hline{height:1px!important;width:100%;}
7+
.jcrop-hline.bottom{bottom:0;}
8+
.jcrop-tracker{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;height:100%;width:100%;}
9+
.jcrop-handle{background-color:#333;border:1px #EEE solid;font-size:1px;height:7px;width:7px;}
10+
.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0;}
11+
.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px;}
12+
.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%;}
13+
.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%;}
14+
.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0;}
15+
.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0;}
16+
.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0;}
17+
.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px;}
18+
.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%;}
19+
.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px;}
20+
.jcrop-dragbar.ord-n{margin-top:-4px;}
21+
.jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px;}
22+
.jcrop-dragbar.ord-e{margin-right:-4px;right:0;}
23+
.jcrop-dragbar.ord-w{margin-left:-4px;}
24+
.jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{background:#FFF;filter:alpha(opacity=70)!important;opacity:.70!important;}
25+
.jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#FFF;border-radius:3px;}
26+
.jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{background:#000;filter:alpha(opacity=70)!important;opacity:.7!important;}
27+
.jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#FFF;border-color:#000;border-radius:3px;}
28+
.solid-line .jcrop-vline,.solid-line .jcrop-hline{background:#FFF;}
29+
.jcrop-holder img,img.jcrop-preview{max-width:none;}

0 commit comments

Comments
 (0)