poodle-rb 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/poodle/application.css +1 -0
- data/app/assets/stylesheets/poodle/cropper.css +258 -0
- data/lib/poodle/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07a8b562337910bcfb35837e7c69b145eea18378
|
4
|
+
data.tar.gz: 349a8f9e3ed8b03f8488d07ca0445893c1e364c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3aea33e47187b3af7c7a6e8d57d07db5371fe2cce92f865e550d8f994619ec96855b02ce21b4a20966da3ff1c15ccb494888558a2446de5b0fdea73351936a7
|
7
|
+
data.tar.gz: 46ed10b9fb086cae1b806188b3e6c8969d8593a301e8bbf69a6f6070c4339bd3f18b39a5106a51c8d8afb0422ce8e8dbab86cc0388a57e058aa2a35196efb38b
|
@@ -0,0 +1,258 @@
|
|
1
|
+
.cropper-container {
|
2
|
+
-webkit-user-select: none;
|
3
|
+
-moz-user-select: none;
|
4
|
+
-ms-user-select: none;
|
5
|
+
user-select: none;
|
6
|
+
|
7
|
+
-webkit-tap-highlight-color: transparent;
|
8
|
+
-webkit-touch-callout: none;
|
9
|
+
}
|
10
|
+
|
11
|
+
.cropper-container {
|
12
|
+
position: relative;
|
13
|
+
overflow: hidden;
|
14
|
+
background-color: #fff;
|
15
|
+
}
|
16
|
+
|
17
|
+
.cropper-container > img {
|
18
|
+
width: 100%;
|
19
|
+
height: 100%;
|
20
|
+
}
|
21
|
+
|
22
|
+
.cropper-modal,
|
23
|
+
.cropper-canvas {
|
24
|
+
position: absolute;
|
25
|
+
top: 0;
|
26
|
+
right: 0;
|
27
|
+
bottom: 0;
|
28
|
+
left: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
.cropper-modal {
|
32
|
+
background-color: #000;
|
33
|
+
filter: alpha(opacity=50);
|
34
|
+
opacity: .5;
|
35
|
+
}
|
36
|
+
|
37
|
+
.cropper-canvas {
|
38
|
+
cursor: crosshair;
|
39
|
+
background-color: #fff;
|
40
|
+
filter: alpha(opacity=0);
|
41
|
+
opacity: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
.cropper-dragger {
|
45
|
+
position: absolute;
|
46
|
+
top: 10%;
|
47
|
+
left: 10%;
|
48
|
+
width: 80%;
|
49
|
+
height: 80%;
|
50
|
+
}
|
51
|
+
|
52
|
+
.cropper-viewer {
|
53
|
+
display: block;
|
54
|
+
width: 100%;
|
55
|
+
height: 100%;
|
56
|
+
overflow: hidden;
|
57
|
+
outline-width: 1px;
|
58
|
+
outline-style: solid;
|
59
|
+
outline-color: #69f;
|
60
|
+
outline-color: rgba(51, 102, 255, .75);
|
61
|
+
outline-offset: -1px;
|
62
|
+
}
|
63
|
+
|
64
|
+
.cropper-viewer > img {
|
65
|
+
max-width: none !important;
|
66
|
+
max-height: none !important;
|
67
|
+
}
|
68
|
+
|
69
|
+
.cropper-dashed {
|
70
|
+
position: absolute;
|
71
|
+
display: block;
|
72
|
+
filter: alpha(opacity=50);
|
73
|
+
border: 0 dashed #fff;
|
74
|
+
opacity: .5;
|
75
|
+
}
|
76
|
+
|
77
|
+
.cropper-dashed.dashed-h {
|
78
|
+
top: 33.3%;
|
79
|
+
left: 0;
|
80
|
+
width: 100%;
|
81
|
+
height: 33.3%;
|
82
|
+
border-top-width: 1px;
|
83
|
+
border-bottom-width: 1px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.cropper-dashed.dashed-v {
|
87
|
+
top: 0;
|
88
|
+
left: 33.3%;
|
89
|
+
width: 33.3%;
|
90
|
+
height: 100%;
|
91
|
+
border-right-width: 1px;
|
92
|
+
border-left-width: 1px;
|
93
|
+
}
|
94
|
+
|
95
|
+
.cropper-face,
|
96
|
+
.cropper-line,
|
97
|
+
.cropper-point {
|
98
|
+
position: absolute;
|
99
|
+
display: block;
|
100
|
+
width: 100%;
|
101
|
+
height: 100%;
|
102
|
+
filter: alpha(opacity=10);
|
103
|
+
opacity: .1;
|
104
|
+
}
|
105
|
+
|
106
|
+
.cropper-face {
|
107
|
+
top: 0;
|
108
|
+
left: 0;
|
109
|
+
cursor: move;
|
110
|
+
background-color: #fff;
|
111
|
+
}
|
112
|
+
|
113
|
+
.cropper-line {
|
114
|
+
background-color: #69f;
|
115
|
+
}
|
116
|
+
|
117
|
+
.cropper-line.line-e {
|
118
|
+
top: 0;
|
119
|
+
right: -2px;
|
120
|
+
width: 5px;
|
121
|
+
cursor: e-resize;
|
122
|
+
}
|
123
|
+
|
124
|
+
.cropper-line.line-n {
|
125
|
+
top: -2px;
|
126
|
+
left: 0;
|
127
|
+
height: 5px;
|
128
|
+
cursor: n-resize;
|
129
|
+
}
|
130
|
+
|
131
|
+
.cropper-line.line-w {
|
132
|
+
top: 0;
|
133
|
+
left: -2px;
|
134
|
+
width: 5px;
|
135
|
+
cursor: w-resize;
|
136
|
+
}
|
137
|
+
|
138
|
+
.cropper-line.line-s {
|
139
|
+
bottom: -2px;
|
140
|
+
left: 0;
|
141
|
+
height: 5px;
|
142
|
+
cursor: s-resize;
|
143
|
+
}
|
144
|
+
|
145
|
+
.cropper-point {
|
146
|
+
width: 5px;
|
147
|
+
height: 5px;
|
148
|
+
background-color: #69f;
|
149
|
+
filter: alpha(opacity=75);
|
150
|
+
opacity: .75;
|
151
|
+
}
|
152
|
+
|
153
|
+
.cropper-point.point-e {
|
154
|
+
top: 49%;
|
155
|
+
right: -2px;
|
156
|
+
cursor: e-resize;
|
157
|
+
}
|
158
|
+
|
159
|
+
.cropper-point.point-n {
|
160
|
+
top: -2px;
|
161
|
+
left: 49%;
|
162
|
+
cursor: n-resize;
|
163
|
+
}
|
164
|
+
|
165
|
+
.cropper-point.point-w {
|
166
|
+
top: 49%;
|
167
|
+
left: -2px;
|
168
|
+
cursor: w-resize;
|
169
|
+
}
|
170
|
+
|
171
|
+
.cropper-point.point-s {
|
172
|
+
bottom: -2px;
|
173
|
+
left: 49%;
|
174
|
+
cursor: s-resize;
|
175
|
+
}
|
176
|
+
|
177
|
+
.cropper-point.point-ne {
|
178
|
+
top: -2px;
|
179
|
+
right: -2px;
|
180
|
+
cursor: ne-resize;
|
181
|
+
}
|
182
|
+
|
183
|
+
.cropper-point.point-nw {
|
184
|
+
top: -2px;
|
185
|
+
left: -2px;
|
186
|
+
cursor: nw-resize;
|
187
|
+
}
|
188
|
+
|
189
|
+
.cropper-point.point-sw {
|
190
|
+
bottom: -2px;
|
191
|
+
left: -2px;
|
192
|
+
cursor: sw-resize;
|
193
|
+
}
|
194
|
+
|
195
|
+
.cropper-point.point-se {
|
196
|
+
right: -2px;
|
197
|
+
bottom: -2px;
|
198
|
+
width: 20px;
|
199
|
+
height: 20px;
|
200
|
+
cursor: se-resize;
|
201
|
+
filter: alpha(opacity=100);
|
202
|
+
opacity: 1;
|
203
|
+
}
|
204
|
+
|
205
|
+
.cropper-point.point-se:before {
|
206
|
+
position: absolute;
|
207
|
+
right: -50%;
|
208
|
+
bottom: -50%;
|
209
|
+
display: block;
|
210
|
+
width: 200%;
|
211
|
+
height: 200%;
|
212
|
+
content: " ";
|
213
|
+
background-color: #69f;
|
214
|
+
filter: alpha(opacity=0);
|
215
|
+
opacity: 0;
|
216
|
+
}
|
217
|
+
|
218
|
+
@media (min-width: 768px) {
|
219
|
+
.cropper-point.point-se {
|
220
|
+
width: 15px;
|
221
|
+
height: 15px;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
@media (min-width: 992px) {
|
226
|
+
.cropper-point.point-se {
|
227
|
+
width: 10px;
|
228
|
+
height: 10px;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
@media (min-width: 1200px) {
|
233
|
+
.cropper-point.point-se {
|
234
|
+
width: 5px;
|
235
|
+
height: 5px;
|
236
|
+
filter: alpha(opacity=75);
|
237
|
+
opacity: .75;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
/* Helper classes for JavaScript */
|
242
|
+
|
243
|
+
.cropper-hidden {
|
244
|
+
display: none !important;
|
245
|
+
}
|
246
|
+
|
247
|
+
.cropper-invisible {
|
248
|
+
position: fixed;
|
249
|
+
top: 0;
|
250
|
+
left: 0;
|
251
|
+
z-index: -1;
|
252
|
+
width: auto !important;
|
253
|
+
max-width: none !important;
|
254
|
+
height: auto !important;
|
255
|
+
max-height: none !important;
|
256
|
+
filter: alpha(opacity=0);
|
257
|
+
opacity: 0;
|
258
|
+
}
|
data/lib/poodle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poodle-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krishnaprasad Varma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kaminari
|
@@ -315,6 +315,7 @@ files:
|
|
315
315
|
- app/assets/stylesheets/poodle/application.css
|
316
316
|
- app/assets/stylesheets/poodle/bootstrap-theme.css
|
317
317
|
- app/assets/stylesheets/poodle/bootstrap.css
|
318
|
+
- app/assets/stylesheets/poodle/cropper.css
|
318
319
|
- app/assets/stylesheets/poodle/font-awesome.css
|
319
320
|
- app/assets/stylesheets/poodle/poodle-theme.css
|
320
321
|
- app/controllers/poodle/admin_controller.rb
|