|
| 1 | +.fileapi { |
| 2 | + overflow: hidden; |
| 3 | + clear: both; |
| 4 | +} |
| 5 | + .fileapi .btn { |
| 6 | + position: relative; |
| 7 | + clear: both; |
| 8 | + } |
| 9 | + |
| 10 | + .fileapi-browse input { |
| 11 | + border: none; |
| 12 | + outline: none; |
| 13 | + opacity: 0; |
| 14 | + filter: alpha(opacity=0); |
| 15 | + position: absolute; |
| 16 | + cursor: pointer; |
| 17 | + top: -20px; |
| 18 | + bottom: 0; |
| 19 | + left: 0; |
| 20 | + right: 0; |
| 21 | + } |
| 22 | + |
| 23 | + .fileapi-progress { |
| 24 | + display: none; |
| 25 | + } |
| 26 | + .fileapi-progress .progress { |
| 27 | + margin-bottom: 0 !important; |
| 28 | + } |
| 29 | + |
| 30 | + .fileapi-preview { |
| 31 | + float: left; |
| 32 | + position: relative; |
| 33 | + margin-top: 10px; |
| 34 | + overflow: hidden; |
| 35 | + clear: both; |
| 36 | + } |
| 37 | + .fileapi-preview img { max-height: 200px; } |
| 38 | + .fileapi-preview-delete { |
| 39 | + display: none; |
| 40 | + position: absolute; |
| 41 | + top: 0; |
| 42 | + bottom: 0; |
| 43 | + left: 0; |
| 44 | + right: 0; |
| 45 | + color: #ffffff; |
| 46 | + } |
| 47 | + |
| 48 | + .fileapi-preview-delete span { |
| 49 | + position: absolute; |
| 50 | + left: 50%; |
| 51 | + top: 50%; |
| 52 | + margin-left: -8px; |
| 53 | + margin-top: -8px; |
| 54 | + } |
| 55 | + |
| 56 | + .fileapi-preview:hover .fileapi-preview-delete { |
| 57 | + display: block; |
| 58 | + background: #f38083; |
| 59 | + opacity: 0.9; |
| 60 | + filter: alpha(opacity=0.9); |
| 61 | + cursor: pointer; |
| 62 | + } |
| 63 | + |
| 64 | + .fileapi-preview > span.fileapi-preview-wrapper, |
| 65 | + .fileapi-preview > span.fileapi-preview-wrapper > canvas { |
| 66 | + display: block; |
| 67 | + } |
| 68 | + |
| 69 | + .fileapi-files { |
| 70 | + list-style: none; |
| 71 | + padding: 10px 0px 0px 0px; |
| 72 | + } |
| 73 | + .fileapi-files li { |
| 74 | + padding-bottom: 5px |
| 75 | + } |
| 76 | + |
| 77 | + .fileapi-files .btn { |
| 78 | + padding: 3px; |
| 79 | + } |
| 80 | + |
| 81 | + .fileapi-files input { |
| 82 | + display: inline-block; |
| 83 | + width: 300px; |
| 84 | + font-size: 13px |
| 85 | + } |
0 commit comments