cropper_rails 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Cropper.js v1.5.12
2
+ * Cropper.js v1.5.13
3
3
  * https://fengyuanchen.github.io/cropperjs
4
4
  *
5
5
  * Copyright 2015-present Chen Fengyuan
6
6
  * Released under the MIT license
7
7
  *
8
- * Date: 2021-06-12T08:00:11.623Z
8
+ * Date: 2022-11-20T05:30:43.444Z
9
9
  */
10
10
 
11
11
  .cropper-container {
@@ -14,23 +14,25 @@
14
14
  line-height: 0;
15
15
  position: relative;
16
16
  -ms-touch-action: none;
17
- touch-action: none;
17
+ touch-action: none;
18
18
  -webkit-user-select: none;
19
- -moz-user-select: none;
20
- -ms-user-select: none;
21
- user-select: none;
19
+ -moz-user-select: none;
20
+ -ms-user-select: none;
21
+ user-select: none;
22
22
  }
23
23
 
24
24
  .cropper-container img {
25
- display: block;
26
- height: 100%;
27
- image-orientation: 0deg;
28
- max-height: none !important;
29
- max-width: none !important;
30
- min-height: 0 !important;
31
- min-width: 0 !important;
32
- width: 100%;
33
- }
25
+ -webkit-backface-visibility: hidden;
26
+ backface-visibility: hidden;
27
+ display: block;
28
+ height: 100%;
29
+ image-orientation: 0deg;
30
+ max-height: none !important;
31
+ max-width: none !important;
32
+ min-height: 0 !important;
33
+ min-width: 0 !important;
34
+ width: 100%;
35
+ }
34
36
 
35
37
  .cropper-wrap-box,
36
38
  .cropper-canvas,
@@ -63,7 +65,7 @@
63
65
  display: block;
64
66
  height: 100%;
65
67
  outline: 1px solid #39f;
66
- outline-color: rgba(51, 153, 255, 0.75);
68
+ outline-color: rgba(51, 153, 255, 75%);
67
69
  overflow: hidden;
68
70
  width: 100%;
69
71
  }
@@ -76,22 +78,22 @@
76
78
  }
77
79
 
78
80
  .cropper-dashed.dashed-h {
79
- border-bottom-width: 1px;
80
- border-top-width: 1px;
81
- height: calc(100% / 3);
82
- left: 0;
83
- top: calc(100% / 3);
84
- width: 100%;
85
- }
81
+ border-bottom-width: 1px;
82
+ border-top-width: 1px;
83
+ height: calc(100% / 3);
84
+ left: 0;
85
+ top: calc(100% / 3);
86
+ width: 100%;
87
+ }
86
88
 
87
89
  .cropper-dashed.dashed-v {
88
- border-left-width: 1px;
89
- border-right-width: 1px;
90
- height: 100%;
91
- left: calc(100% / 3);
92
- top: 0;
93
- width: calc(100% / 3);
94
- }
90
+ border-left-width: 1px;
91
+ border-right-width: 1px;
92
+ height: 100%;
93
+ left: calc(100% / 3);
94
+ top: 0;
95
+ width: calc(100% / 3);
96
+ }
95
97
 
96
98
  .cropper-center {
97
99
  display: block;
@@ -104,26 +106,26 @@
104
106
  }
105
107
 
106
108
  .cropper-center::before,
107
- .cropper-center::after {
108
- background-color: #eee;
109
- content: ' ';
110
- display: block;
111
- position: absolute;
112
- }
109
+ .cropper-center::after {
110
+ background-color: #eee;
111
+ content: " ";
112
+ display: block;
113
+ position: absolute;
114
+ }
113
115
 
114
116
  .cropper-center::before {
115
- height: 1px;
116
- left: -3px;
117
- top: 0;
118
- width: 7px;
119
- }
117
+ height: 1px;
118
+ left: -3px;
119
+ top: 0;
120
+ width: 7px;
121
+ }
120
122
 
121
123
  .cropper-center::after {
122
- height: 7px;
123
- left: 0;
124
- top: -3px;
125
- width: 1px;
126
- }
124
+ height: 7px;
125
+ left: 0;
126
+ top: -3px;
127
+ width: 1px;
128
+ }
127
129
 
128
130
  .cropper-face,
129
131
  .cropper-line,
@@ -146,32 +148,32 @@
146
148
  }
147
149
 
148
150
  .cropper-line.line-e {
149
- cursor: ew-resize;
150
- right: -3px;
151
- top: 0;
152
- width: 5px;
153
- }
151
+ cursor: ew-resize;
152
+ right: -3px;
153
+ top: 0;
154
+ width: 5px;
155
+ }
154
156
 
155
157
  .cropper-line.line-n {
156
- cursor: ns-resize;
157
- height: 5px;
158
- left: 0;
159
- top: -3px;
160
- }
158
+ cursor: ns-resize;
159
+ height: 5px;
160
+ left: 0;
161
+ top: -3px;
162
+ }
161
163
 
162
164
  .cropper-line.line-w {
163
- cursor: ew-resize;
164
- left: -3px;
165
- top: 0;
166
- width: 5px;
167
- }
165
+ cursor: ew-resize;
166
+ left: -3px;
167
+ top: 0;
168
+ width: 5px;
169
+ }
168
170
 
169
171
  .cropper-line.line-s {
170
- bottom: -3px;
171
- cursor: ns-resize;
172
- height: 5px;
173
- left: 0;
174
- }
172
+ bottom: -3px;
173
+ cursor: ns-resize;
174
+ height: 5px;
175
+ left: 0;
176
+ }
175
177
 
176
178
  .cropper-point {
177
179
  background-color: #39f;
@@ -181,100 +183,103 @@
181
183
  }
182
184
 
183
185
  .cropper-point.point-e {
184
- cursor: ew-resize;
185
- margin-top: -3px;
186
- right: -3px;
187
- top: 50%;
188
- }
186
+ cursor: ew-resize;
187
+ margin-top: -3px;
188
+ right: -3px;
189
+ top: 50%;
190
+ }
189
191
 
190
192
  .cropper-point.point-n {
191
- cursor: ns-resize;
192
- left: 50%;
193
- margin-left: -3px;
194
- top: -3px;
195
- }
193
+ cursor: ns-resize;
194
+ left: 50%;
195
+ margin-left: -3px;
196
+ top: -3px;
197
+ }
196
198
 
197
199
  .cropper-point.point-w {
198
- cursor: ew-resize;
199
- left: -3px;
200
- margin-top: -3px;
201
- top: 50%;
202
- }
200
+ cursor: ew-resize;
201
+ left: -3px;
202
+ margin-top: -3px;
203
+ top: 50%;
204
+ }
203
205
 
204
206
  .cropper-point.point-s {
205
- bottom: -3px;
206
- cursor: s-resize;
207
- left: 50%;
208
- margin-left: -3px;
209
- }
207
+ bottom: -3px;
208
+ cursor: s-resize;
209
+ left: 50%;
210
+ margin-left: -3px;
211
+ }
210
212
 
211
213
  .cropper-point.point-ne {
212
- cursor: nesw-resize;
213
- right: -3px;
214
- top: -3px;
215
- }
214
+ cursor: nesw-resize;
215
+ right: -3px;
216
+ top: -3px;
217
+ }
216
218
 
217
219
  .cropper-point.point-nw {
218
- cursor: nwse-resize;
219
- left: -3px;
220
- top: -3px;
221
- }
220
+ cursor: nwse-resize;
221
+ left: -3px;
222
+ top: -3px;
223
+ }
222
224
 
223
225
  .cropper-point.point-sw {
224
- bottom: -3px;
225
- cursor: nesw-resize;
226
- left: -3px;
227
- }
226
+ bottom: -3px;
227
+ cursor: nesw-resize;
228
+ left: -3px;
229
+ }
228
230
 
229
231
  .cropper-point.point-se {
230
- bottom: -3px;
231
- cursor: nwse-resize;
232
- height: 20px;
233
- opacity: 1;
234
- right: -3px;
235
- width: 20px;
236
- }
232
+ bottom: -3px;
233
+ cursor: nwse-resize;
234
+ height: 20px;
235
+ opacity: 1;
236
+ right: -3px;
237
+ width: 20px;
238
+ }
237
239
 
238
240
  @media (min-width: 768px) {
239
- .cropper-point.point-se {
240
- height: 15px;
241
- width: 15px;
241
+
242
+ .cropper-point.point-se {
243
+ height: 15px;
244
+ width: 15px;
242
245
  }
243
- }
246
+ }
244
247
 
245
248
  @media (min-width: 992px) {
246
- .cropper-point.point-se {
247
- height: 10px;
248
- width: 10px;
249
+
250
+ .cropper-point.point-se {
251
+ height: 10px;
252
+ width: 10px;
249
253
  }
250
- }
254
+ }
251
255
 
252
256
  @media (min-width: 1200px) {
253
- .cropper-point.point-se {
254
- height: 5px;
255
- opacity: 0.75;
256
- width: 5px;
257
+
258
+ .cropper-point.point-se {
259
+ height: 5px;
260
+ opacity: 0.75;
261
+ width: 5px;
257
262
  }
258
- }
263
+ }
259
264
 
260
265
  .cropper-point.point-se::before {
261
- background-color: #39f;
262
- bottom: -50%;
263
- content: ' ';
264
- display: block;
265
- height: 200%;
266
- opacity: 0;
267
- position: absolute;
268
- right: -50%;
269
- width: 200%;
270
- }
266
+ background-color: #39f;
267
+ bottom: -50%;
268
+ content: " ";
269
+ display: block;
270
+ height: 200%;
271
+ opacity: 0;
272
+ position: absolute;
273
+ right: -50%;
274
+ width: 200%;
275
+ }
271
276
 
272
277
  .cropper-invisible {
273
278
  opacity: 0;
274
279
  }
275
280
 
276
281
  .cropper-bg {
277
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
282
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
278
283
  }
279
284
 
280
285
  .cropper-hide {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cropper_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
- - D1ceWard
7
+ - d1ceward
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-21 00:00:00.000000000 Z
11
+ date: 2022-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.10
33
+ version: 2.2.33
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 2.2.10
40
+ version: 2.2.33
41
41
  description: Cropper is a simple image cropping library. This gem integrates Cropper
42
42
  with Rails asset pipeline for ease of use.
43
43
  email:
@@ -62,7 +62,7 @@ files:
62
62
  - vendor/assets/javascripts/cropper.js
63
63
  - vendor/assets/javascripts/jquery-cropper.js
64
64
  - vendor/assets/stylesheets/cropper.css
65
- homepage: https://github.com/D1ceWard/cropper_rails
65
+ homepage: https://github.com/d1ceward/cropper_rails
66
66
  licenses:
67
67
  - MIT
68
68
  metadata: {}
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.1.6
84
+ rubygems_version: 3.3.7
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Integrate Cropper library with Rails asset pipeline