jquery-cropper 2.2.5 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,41 +1,41 @@
1
1
  /*!
2
- * Cropper v2.2.5
2
+ * Cropper v2.3.2
3
3
  * https://github.com/fengyuanchen/cropper
4
4
  *
5
5
  * Copyright (c) 2014-2016 Fengyuan Chen and contributors
6
6
  * Released under the MIT license
7
7
  *
8
- * Date: 2016-01-18T05:42:29.639Z
8
+ * Date: 2016-06-08T12:14:46.286Z
9
9
  */
10
10
  .cropper-container {
11
- font-size: 0;
12
- line-height: 0;
11
+ font-size: 0;
12
+ line-height: 0;
13
13
 
14
- position: relative;
14
+ position: relative;
15
15
 
16
- -webkit-user-select: none;
17
- -moz-user-select: none;
18
- -ms-user-select: none;
19
- user-select: none;
16
+ -webkit-user-select: none;
17
+ -moz-user-select: none;
18
+ -ms-user-select: none;
19
+ user-select: none;
20
20
 
21
- direction: ltr !important;
22
- -ms-touch-action: none;
23
- touch-action: none;
24
- -webkit-tap-highlight-color: transparent;
25
- -webkit-touch-callout: none;
21
+ direction: ltr !important;
22
+ -ms-touch-action: none;
23
+ touch-action: none;
24
+ -webkit-tap-highlight-color: transparent;
25
+ -webkit-touch-callout: none;
26
26
  }
27
27
 
28
28
  .cropper-container img {
29
- display: block;
29
+ display: block;
30
30
 
31
- width: 100%;
32
- min-width: 0 !important;
33
- max-width: none !important;
34
- height: 100%;
35
- min-height: 0 !important;
36
- max-height: none !important;
31
+ width: 100%;
32
+ min-width: 0 !important;
33
+ max-width: none !important;
34
+ height: 100%;
35
+ min-height: 0 !important;
36
+ max-height: none !important;
37
37
 
38
- image-orientation: 0deg !important;
38
+ image-orientation: 0deg !important;
39
39
  }
40
40
 
41
41
  .cropper-wrap-box,
@@ -43,337 +43,337 @@
43
43
  .cropper-drag-box,
44
44
  .cropper-crop-box,
45
45
  .cropper-modal {
46
- position: absolute;
47
- top: 0;
48
- right: 0;
49
- bottom: 0;
50
- left: 0;
46
+ position: absolute;
47
+ top: 0;
48
+ right: 0;
49
+ bottom: 0;
50
+ left: 0;
51
51
  }
52
52
 
53
53
  .cropper-wrap-box {
54
- overflow: hidden;
54
+ overflow: hidden;
55
55
  }
56
56
 
57
57
  .cropper-drag-box {
58
- opacity: 0;
59
- background-color: #fff;
58
+ opacity: 0;
59
+ background-color: #fff;
60
60
 
61
- filter: alpha(opacity=0);
61
+ filter: alpha(opacity=0);
62
62
  }
63
63
 
64
64
  .cropper-modal {
65
- opacity: .5;
66
- background-color: #000;
65
+ opacity: .5;
66
+ background-color: #000;
67
67
 
68
- filter: alpha(opacity=50);
68
+ filter: alpha(opacity=50);
69
69
  }
70
70
 
71
71
  .cropper-view-box {
72
- display: block;
73
- overflow: hidden;
72
+ display: block;
73
+ overflow: hidden;
74
74
 
75
- width: 100%;
76
- height: 100%;
75
+ width: 100%;
76
+ height: 100%;
77
77
 
78
- outline: 1px solid #39f;
79
- outline-color: rgba(51, 153, 255, .75);
78
+ outline: 1px solid #39f;
79
+ outline-color: rgba(51, 153, 255, .75);
80
80
  }
81
81
 
82
82
  .cropper-dashed {
83
- position: absolute;
83
+ position: absolute;
84
84
 
85
- display: block;
85
+ display: block;
86
86
 
87
- opacity: .5;
88
- border: 0 dashed #eee;
87
+ opacity: .5;
88
+ border: 0 dashed #eee;
89
89
 
90
- filter: alpha(opacity=50);
90
+ filter: alpha(opacity=50);
91
91
  }
92
92
 
93
93
  .cropper-dashed.dashed-h {
94
- top: 33.33333%;
95
- left: 0;
94
+ top: 33.33333%;
95
+ left: 0;
96
96
 
97
- width: 100%;
98
- height: 33.33333%;
97
+ width: 100%;
98
+ height: 33.33333%;
99
99
 
100
- border-top-width: 1px;
101
- border-bottom-width: 1px;
100
+ border-top-width: 1px;
101
+ border-bottom-width: 1px;
102
102
  }
103
103
 
104
104
  .cropper-dashed.dashed-v {
105
- top: 0;
106
- left: 33.33333%;
105
+ top: 0;
106
+ left: 33.33333%;
107
107
 
108
- width: 33.33333%;
109
- height: 100%;
108
+ width: 33.33333%;
109
+ height: 100%;
110
110
 
111
- border-right-width: 1px;
112
- border-left-width: 1px;
111
+ border-right-width: 1px;
112
+ border-left-width: 1px;
113
113
  }
114
114
 
115
115
  .cropper-center {
116
- position: absolute;
117
- top: 50%;
118
- left: 50%;
116
+ position: absolute;
117
+ top: 50%;
118
+ left: 50%;
119
119
 
120
- display: block;
120
+ display: block;
121
121
 
122
- width: 0;
123
- height: 0;
122
+ width: 0;
123
+ height: 0;
124
124
 
125
- opacity: .75;
125
+ opacity: .75;
126
126
 
127
- filter: alpha(opacity=75);
127
+ filter: alpha(opacity=75);
128
128
  }
129
129
 
130
130
  .cropper-center:before,
131
131
  .cropper-center:after {
132
- position: absolute;
132
+ position: absolute;
133
133
 
134
- display: block;
134
+ display: block;
135
135
 
136
- content: ' ';
136
+ content: ' ';
137
137
 
138
- background-color: #eee;
138
+ background-color: #eee;
139
139
  }
140
140
 
141
141
  .cropper-center:before {
142
- top: 0;
143
- left: -3px;
142
+ top: 0;
143
+ left: -3px;
144
144
 
145
- width: 7px;
146
- height: 1px;
145
+ width: 7px;
146
+ height: 1px;
147
147
  }
148
148
 
149
149
  .cropper-center:after {
150
- top: -3px;
151
- left: 0;
150
+ top: -3px;
151
+ left: 0;
152
152
 
153
- width: 1px;
154
- height: 7px;
153
+ width: 1px;
154
+ height: 7px;
155
155
  }
156
156
 
157
157
  .cropper-face,
158
158
  .cropper-line,
159
159
  .cropper-point {
160
- position: absolute;
160
+ position: absolute;
161
161
 
162
- display: block;
162
+ display: block;
163
163
 
164
- width: 100%;
165
- height: 100%;
164
+ width: 100%;
165
+ height: 100%;
166
166
 
167
- opacity: .1;
167
+ opacity: .1;
168
168
 
169
- filter: alpha(opacity=10);
169
+ filter: alpha(opacity=10);
170
170
  }
171
171
 
172
172
  .cropper-face {
173
- top: 0;
174
- left: 0;
173
+ top: 0;
174
+ left: 0;
175
175
 
176
- background-color: #fff;
176
+ background-color: #fff;
177
177
  }
178
178
 
179
179
  .cropper-line {
180
- background-color: #39f;
180
+ background-color: #39f;
181
181
  }
182
182
 
183
183
  .cropper-line.line-e {
184
- top: 0;
185
- right: -3px;
184
+ top: 0;
185
+ right: -3px;
186
186
 
187
- width: 5px;
187
+ width: 5px;
188
188
 
189
- cursor: e-resize;
189
+ cursor: e-resize;
190
190
  }
191
191
 
192
192
  .cropper-line.line-n {
193
- top: -3px;
194
- left: 0;
193
+ top: -3px;
194
+ left: 0;
195
195
 
196
- height: 5px;
196
+ height: 5px;
197
197
 
198
- cursor: n-resize;
198
+ cursor: n-resize;
199
199
  }
200
200
 
201
201
  .cropper-line.line-w {
202
- top: 0;
203
- left: -3px;
202
+ top: 0;
203
+ left: -3px;
204
204
 
205
- width: 5px;
205
+ width: 5px;
206
206
 
207
- cursor: w-resize;
207
+ cursor: w-resize;
208
208
  }
209
209
 
210
210
  .cropper-line.line-s {
211
- bottom: -3px;
212
- left: 0;
211
+ bottom: -3px;
212
+ left: 0;
213
213
 
214
- height: 5px;
214
+ height: 5px;
215
215
 
216
- cursor: s-resize;
216
+ cursor: s-resize;
217
217
  }
218
218
 
219
219
  .cropper-point {
220
- width: 5px;
221
- height: 5px;
220
+ width: 5px;
221
+ height: 5px;
222
222
 
223
- opacity: .75;
224
- background-color: #39f;
223
+ opacity: .75;
224
+ background-color: #39f;
225
225
 
226
- filter: alpha(opacity=75);
226
+ filter: alpha(opacity=75);
227
227
  }
228
228
 
229
229
  .cropper-point.point-e {
230
- top: 50%;
231
- right: -3px;
230
+ top: 50%;
231
+ right: -3px;
232
232
 
233
- margin-top: -3px;
233
+ margin-top: -3px;
234
234
 
235
- cursor: e-resize;
235
+ cursor: e-resize;
236
236
  }
237
237
 
238
238
  .cropper-point.point-n {
239
- top: -3px;
240
- left: 50%;
239
+ top: -3px;
240
+ left: 50%;
241
241
 
242
- margin-left: -3px;
242
+ margin-left: -3px;
243
243
 
244
- cursor: n-resize;
244
+ cursor: n-resize;
245
245
  }
246
246
 
247
247
  .cropper-point.point-w {
248
- top: 50%;
249
- left: -3px;
248
+ top: 50%;
249
+ left: -3px;
250
250
 
251
- margin-top: -3px;
251
+ margin-top: -3px;
252
252
 
253
- cursor: w-resize;
253
+ cursor: w-resize;
254
254
  }
255
255
 
256
256
  .cropper-point.point-s {
257
- bottom: -3px;
258
- left: 50%;
257
+ bottom: -3px;
258
+ left: 50%;
259
259
 
260
- margin-left: -3px;
260
+ margin-left: -3px;
261
261
 
262
- cursor: s-resize;
262
+ cursor: s-resize;
263
263
  }
264
264
 
265
265
  .cropper-point.point-ne {
266
- top: -3px;
267
- right: -3px;
266
+ top: -3px;
267
+ right: -3px;
268
268
 
269
- cursor: ne-resize;
269
+ cursor: ne-resize;
270
270
  }
271
271
 
272
272
  .cropper-point.point-nw {
273
- top: -3px;
274
- left: -3px;
273
+ top: -3px;
274
+ left: -3px;
275
275
 
276
- cursor: nw-resize;
276
+ cursor: nw-resize;
277
277
  }
278
278
 
279
279
  .cropper-point.point-sw {
280
- bottom: -3px;
281
- left: -3px;
280
+ bottom: -3px;
281
+ left: -3px;
282
282
 
283
- cursor: sw-resize;
283
+ cursor: sw-resize;
284
284
  }
285
285
 
286
286
  .cropper-point.point-se {
287
- right: -3px;
288
- bottom: -3px;
287
+ right: -3px;
288
+ bottom: -3px;
289
289
 
290
- width: 20px;
291
- height: 20px;
290
+ width: 20px;
291
+ height: 20px;
292
292
 
293
- cursor: se-resize;
293
+ cursor: se-resize;
294
294
 
295
- opacity: 1;
295
+ opacity: 1;
296
296
 
297
- filter: alpha(opacity=100);
297
+ filter: alpha(opacity=100);
298
298
  }
299
299
 
300
300
  .cropper-point.point-se:before {
301
- position: absolute;
302
- right: -50%;
303
- bottom: -50%;
301
+ position: absolute;
302
+ right: -50%;
303
+ bottom: -50%;
304
304
 
305
- display: block;
305
+ display: block;
306
306
 
307
- width: 200%;
308
- height: 200%;
307
+ width: 200%;
308
+ height: 200%;
309
309
 
310
- content: ' ';
310
+ content: ' ';
311
311
 
312
- opacity: 0;
313
- background-color: #39f;
312
+ opacity: 0;
313
+ background-color: #39f;
314
314
 
315
- filter: alpha(opacity=0);
315
+ filter: alpha(opacity=0);
316
316
  }
317
317
 
318
318
  @media (min-width: 768px) {
319
- .cropper-point.point-se {
320
- width: 15px;
321
- height: 15px;
322
- }
319
+ .cropper-point.point-se {
320
+ width: 15px;
321
+ height: 15px;
322
+ }
323
323
  }
324
324
 
325
325
  @media (min-width: 992px) {
326
- .cropper-point.point-se {
327
- width: 10px;
328
- height: 10px;
329
- }
326
+ .cropper-point.point-se {
327
+ width: 10px;
328
+ height: 10px;
329
+ }
330
330
  }
331
331
 
332
332
  @media (min-width: 1200px) {
333
- .cropper-point.point-se {
334
- width: 5px;
335
- height: 5px;
333
+ .cropper-point.point-se {
334
+ width: 5px;
335
+ height: 5px;
336
336
 
337
- opacity: .75;
337
+ opacity: .75;
338
338
 
339
- filter: alpha(opacity=75);
340
- }
339
+ filter: alpha(opacity=75);
340
+ }
341
341
  }
342
342
 
343
343
  .cropper-invisible {
344
- opacity: 0;
344
+ opacity: 0;
345
345
 
346
- filter: alpha(opacity=0);
346
+ filter: alpha(opacity=0);
347
347
  }
348
348
 
349
349
  .cropper-bg {
350
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
350
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
351
351
  }
352
352
 
353
353
  .cropper-hide {
354
- position: absolute;
354
+ position: absolute;
355
355
 
356
- display: block;
356
+ display: block;
357
357
 
358
- width: 0;
359
- height: 0;
358
+ width: 0;
359
+ height: 0;
360
360
  }
361
361
 
362
362
  .cropper-hidden {
363
- display: none !important;
363
+ display: none !important;
364
364
  }
365
365
 
366
366
  .cropper-move {
367
- cursor: move;
367
+ cursor: move;
368
368
  }
369
369
 
370
370
  .cropper-crop {
371
- cursor: crosshair;
371
+ cursor: crosshair;
372
372
  }
373
373
 
374
374
  .cropper-disabled .cropper-drag-box,
375
375
  .cropper-disabled .cropper-face,
376
376
  .cropper-disabled .cropper-line,
377
377
  .cropper-disabled .cropper-point {
378
- cursor: not-allowed;
378
+ cursor: not-allowed;
379
379
  }