gridstack-js-rails 0.2.3 → 0.2.5
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.
- checksums.yaml +7 -0
- data/.gitignore +0 -1
- data/lib/gridstack-js-rails/rails/version.rb +1 -1
- data/vendor/assets/javascripts/gridstack/gridstack.js +1188 -414
- data/vendor/assets/stylesheets/gridstack/gridstack-extra.css +474 -162
- data/vendor/assets/stylesheets/gridstack/gridstack.css +133 -65
- metadata +16 -26
|
@@ -5,6 +5,15 @@
|
|
|
5
5
|
.grid-stack {
|
|
6
6
|
position: relative;
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
.grid-stack.grid-stack-rtl {
|
|
10
|
+
direction: ltr;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.grid-stack.grid-stack-rtl > .grid-stack-item {
|
|
14
|
+
direction: rtl;
|
|
15
|
+
}
|
|
16
|
+
|
|
8
17
|
.grid-stack .grid-stack-placeholder > .placeholder-content {
|
|
9
18
|
border: 1px dashed lightgray;
|
|
10
19
|
margin: 0;
|
|
@@ -15,12 +24,15 @@
|
|
|
15
24
|
bottom: 0;
|
|
16
25
|
width: auto;
|
|
17
26
|
z-index: 0 !important;
|
|
27
|
+
text-align: center;
|
|
18
28
|
}
|
|
29
|
+
|
|
19
30
|
.grid-stack > .grid-stack-item {
|
|
20
|
-
min-width: 8.
|
|
31
|
+
min-width: 8.3333333333%;
|
|
21
32
|
position: absolute;
|
|
22
33
|
padding: 0;
|
|
23
34
|
}
|
|
35
|
+
|
|
24
36
|
.grid-stack > .grid-stack-item > .grid-stack-item-content {
|
|
25
37
|
margin: 0;
|
|
26
38
|
position: absolute;
|
|
@@ -33,6 +45,7 @@
|
|
|
33
45
|
overflow-x: hidden;
|
|
34
46
|
overflow-y: auto;
|
|
35
47
|
}
|
|
48
|
+
|
|
36
49
|
.grid-stack > .grid-stack-item > .ui-resizable-handle {
|
|
37
50
|
position: absolute;
|
|
38
51
|
font-size: 0.1px;
|
|
@@ -40,43 +53,43 @@
|
|
|
40
53
|
-ms-touch-action: none;
|
|
41
54
|
touch-action: none;
|
|
42
55
|
}
|
|
43
|
-
|
|
56
|
+
|
|
57
|
+
.grid-stack > .grid-stack-item.ui-resizable-disabled > .ui-resizable-handle,
|
|
58
|
+
.grid-stack > .grid-stack-item.ui-resizable-autohide > .ui-resizable-handle {
|
|
44
59
|
display: none;
|
|
45
60
|
}
|
|
61
|
+
|
|
46
62
|
.grid-stack > .grid-stack-item.ui-draggable-dragging, .grid-stack > .grid-stack-item.ui-resizable-resizing {
|
|
47
63
|
z-index: 100;
|
|
48
64
|
}
|
|
65
|
+
|
|
49
66
|
.grid-stack > .grid-stack-item.ui-draggable-dragging > .grid-stack-item-content,
|
|
50
67
|
.grid-stack > .grid-stack-item.ui-draggable-dragging > .grid-stack-item-content, .grid-stack > .grid-stack-item.ui-resizable-resizing > .grid-stack-item-content,
|
|
51
68
|
.grid-stack > .grid-stack-item.ui-resizable-resizing > .grid-stack-item-content {
|
|
52
69
|
box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2);
|
|
53
70
|
opacity: 0.8;
|
|
54
71
|
}
|
|
72
|
+
|
|
55
73
|
.grid-stack > .grid-stack-item > .ui-resizable-se,
|
|
56
74
|
.grid-stack > .grid-stack-item > .ui-resizable-sw {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-moz-osx-font-smoothing: grayscale;
|
|
66
|
-
}
|
|
67
|
-
.grid-stack > .grid-stack-item > .ui-resizable-se::before,
|
|
68
|
-
.grid-stack > .grid-stack-item > .ui-resizable-sw::before {
|
|
69
|
-
content: "\f065";
|
|
75
|
+
background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDUxMS42MjYgNTExLjYyNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTExLjYyNiA1MTEuNjI3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTMyOC45MDYsNDAxLjk5NGgtMzYuNTUzVjEwOS42MzZoMzYuNTUzYzQuOTQ4LDAsOS4yMzYtMS44MDksMTIuODQ3LTUuNDI2YzMuNjEzLTMuNjE1LDUuNDIxLTcuODk4LDUuNDIxLTEyLjg0NSAgIGMwLTQuOTQ5LTEuODAxLTkuMjMxLTUuNDI4LTEyLjg1MWwtNzMuMDg3LTczLjA5QzI2NS4wNDQsMS44MDksMjYwLjc2LDAsMjU1LjgxMywwYy00Ljk0OCwwLTkuMjI5LDEuODA5LTEyLjg0Nyw1LjQyNCAgIGwtNzMuMDg4LDczLjA5Yy0zLjYxOCwzLjYxOS01LjQyNCw3LjkwMi01LjQyNCwxMi44NTFjMCw0Ljk0NiwxLjgwNyw5LjIyOSw1LjQyNCwxMi44NDVjMy42MTksMy42MTcsNy45MDEsNS40MjYsMTIuODUsNS40MjYgICBoMzYuNTQ1djI5Mi4zNThoLTM2LjU0MmMtNC45NTIsMC05LjIzNSwxLjgwOC0xMi44NSw1LjQyMWMtMy42MTcsMy42MjEtNS40MjQsNy45MDUtNS40MjQsMTIuODU0ICAgYzAsNC45NDUsMS44MDcsOS4yMjcsNS40MjQsMTIuODQ3bDczLjA4OSw3My4wODhjMy42MTcsMy42MTcsNy44OTgsNS40MjQsMTIuODQ3LDUuNDI0YzQuOTUsMCw5LjIzNC0xLjgwNywxMi44NDktNS40MjQgICBsNzMuMDg3LTczLjA4OGMzLjYxMy0zLjYyLDUuNDIxLTcuOTAxLDUuNDIxLTEyLjg0N2MwLTQuOTQ4LTEuODA4LTkuMjMyLTUuNDIxLTEyLjg1NCAgIEMzMzguMTQyLDQwMy44MDIsMzMzLjg1Nyw0MDEuOTk0LDMyOC45MDYsNDAxLjk5NHoiIGZpbGw9IiM2NjY2NjYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
|
|
76
|
+
background-repeat: no-repeat;
|
|
77
|
+
background-position: center;
|
|
78
|
+
-webkit-transform: rotate(45deg);
|
|
79
|
+
-moz-transform: rotate(45deg);
|
|
80
|
+
-ms-transform: rotate(45deg);
|
|
81
|
+
-o-transform: rotate(45deg);
|
|
82
|
+
transform: rotate(45deg);
|
|
70
83
|
}
|
|
84
|
+
|
|
71
85
|
.grid-stack > .grid-stack-item > .ui-resizable-se {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
-o-transform: rotate(90deg);
|
|
78
|
-
transform: rotate(90deg);
|
|
86
|
+
-webkit-transform: rotate(-45deg);
|
|
87
|
+
-moz-transform: rotate(-45deg);
|
|
88
|
+
-ms-transform: rotate(-45deg);
|
|
89
|
+
-o-transform: rotate(-45deg);
|
|
90
|
+
transform: rotate(-45deg);
|
|
79
91
|
}
|
|
92
|
+
|
|
80
93
|
.grid-stack > .grid-stack-item > .ui-resizable-nw {
|
|
81
94
|
cursor: nw-resize;
|
|
82
95
|
width: 20px;
|
|
@@ -84,6 +97,7 @@
|
|
|
84
97
|
left: 10px;
|
|
85
98
|
top: 0;
|
|
86
99
|
}
|
|
100
|
+
|
|
87
101
|
.grid-stack > .grid-stack-item > .ui-resizable-n {
|
|
88
102
|
cursor: n-resize;
|
|
89
103
|
height: 10px;
|
|
@@ -91,6 +105,7 @@
|
|
|
91
105
|
left: 25px;
|
|
92
106
|
right: 25px;
|
|
93
107
|
}
|
|
108
|
+
|
|
94
109
|
.grid-stack > .grid-stack-item > .ui-resizable-ne {
|
|
95
110
|
cursor: ne-resize;
|
|
96
111
|
width: 20px;
|
|
@@ -98,6 +113,7 @@
|
|
|
98
113
|
right: 10px;
|
|
99
114
|
top: 0;
|
|
100
115
|
}
|
|
116
|
+
|
|
101
117
|
.grid-stack > .grid-stack-item > .ui-resizable-e {
|
|
102
118
|
cursor: e-resize;
|
|
103
119
|
width: 10px;
|
|
@@ -105,6 +121,7 @@
|
|
|
105
121
|
top: 15px;
|
|
106
122
|
bottom: 15px;
|
|
107
123
|
}
|
|
124
|
+
|
|
108
125
|
.grid-stack > .grid-stack-item > .ui-resizable-se {
|
|
109
126
|
cursor: se-resize;
|
|
110
127
|
width: 20px;
|
|
@@ -112,6 +129,7 @@
|
|
|
112
129
|
right: 10px;
|
|
113
130
|
bottom: 0;
|
|
114
131
|
}
|
|
132
|
+
|
|
115
133
|
.grid-stack > .grid-stack-item > .ui-resizable-s {
|
|
116
134
|
cursor: s-resize;
|
|
117
135
|
height: 10px;
|
|
@@ -119,6 +137,7 @@
|
|
|
119
137
|
bottom: 0;
|
|
120
138
|
right: 25px;
|
|
121
139
|
}
|
|
140
|
+
|
|
122
141
|
.grid-stack > .grid-stack-item > .ui-resizable-sw {
|
|
123
142
|
cursor: sw-resize;
|
|
124
143
|
width: 20px;
|
|
@@ -126,6 +145,7 @@
|
|
|
126
145
|
left: 10px;
|
|
127
146
|
bottom: 0;
|
|
128
147
|
}
|
|
148
|
+
|
|
129
149
|
.grid-stack > .grid-stack-item > .ui-resizable-w {
|
|
130
150
|
cursor: w-resize;
|
|
131
151
|
width: 10px;
|
|
@@ -133,158 +153,215 @@
|
|
|
133
153
|
top: 15px;
|
|
134
154
|
bottom: 15px;
|
|
135
155
|
}
|
|
156
|
+
|
|
157
|
+
.grid-stack > .grid-stack-item.ui-draggable-dragging > .ui-resizable-handle {
|
|
158
|
+
display: none !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
136
161
|
.grid-stack > .grid-stack-item[data-gs-width='1'] {
|
|
137
|
-
width: 8.
|
|
162
|
+
width: 8.3333333333%;
|
|
138
163
|
}
|
|
164
|
+
|
|
139
165
|
.grid-stack > .grid-stack-item[data-gs-x='1'] {
|
|
140
|
-
left: 8.
|
|
166
|
+
left: 8.3333333333%;
|
|
141
167
|
}
|
|
168
|
+
|
|
142
169
|
.grid-stack > .grid-stack-item[data-gs-min-width='1'] {
|
|
143
|
-
min-width: 8.
|
|
170
|
+
min-width: 8.3333333333%;
|
|
144
171
|
}
|
|
172
|
+
|
|
145
173
|
.grid-stack > .grid-stack-item[data-gs-max-width='1'] {
|
|
146
|
-
max-width: 8.
|
|
174
|
+
max-width: 8.3333333333%;
|
|
147
175
|
}
|
|
176
|
+
|
|
148
177
|
.grid-stack > .grid-stack-item[data-gs-width='2'] {
|
|
149
|
-
width: 16.
|
|
178
|
+
width: 16.6666666667%;
|
|
150
179
|
}
|
|
180
|
+
|
|
151
181
|
.grid-stack > .grid-stack-item[data-gs-x='2'] {
|
|
152
|
-
left: 16.
|
|
182
|
+
left: 16.6666666667%;
|
|
153
183
|
}
|
|
184
|
+
|
|
154
185
|
.grid-stack > .grid-stack-item[data-gs-min-width='2'] {
|
|
155
|
-
min-width: 16.
|
|
186
|
+
min-width: 16.6666666667%;
|
|
156
187
|
}
|
|
188
|
+
|
|
157
189
|
.grid-stack > .grid-stack-item[data-gs-max-width='2'] {
|
|
158
|
-
max-width: 16.
|
|
190
|
+
max-width: 16.6666666667%;
|
|
159
191
|
}
|
|
192
|
+
|
|
160
193
|
.grid-stack > .grid-stack-item[data-gs-width='3'] {
|
|
161
194
|
width: 25%;
|
|
162
195
|
}
|
|
196
|
+
|
|
163
197
|
.grid-stack > .grid-stack-item[data-gs-x='3'] {
|
|
164
198
|
left: 25%;
|
|
165
199
|
}
|
|
200
|
+
|
|
166
201
|
.grid-stack > .grid-stack-item[data-gs-min-width='3'] {
|
|
167
202
|
min-width: 25%;
|
|
168
203
|
}
|
|
204
|
+
|
|
169
205
|
.grid-stack > .grid-stack-item[data-gs-max-width='3'] {
|
|
170
206
|
max-width: 25%;
|
|
171
207
|
}
|
|
208
|
+
|
|
172
209
|
.grid-stack > .grid-stack-item[data-gs-width='4'] {
|
|
173
|
-
width: 33.
|
|
210
|
+
width: 33.3333333333%;
|
|
174
211
|
}
|
|
212
|
+
|
|
175
213
|
.grid-stack > .grid-stack-item[data-gs-x='4'] {
|
|
176
|
-
left: 33.
|
|
214
|
+
left: 33.3333333333%;
|
|
177
215
|
}
|
|
216
|
+
|
|
178
217
|
.grid-stack > .grid-stack-item[data-gs-min-width='4'] {
|
|
179
|
-
min-width: 33.
|
|
218
|
+
min-width: 33.3333333333%;
|
|
180
219
|
}
|
|
220
|
+
|
|
181
221
|
.grid-stack > .grid-stack-item[data-gs-max-width='4'] {
|
|
182
|
-
max-width: 33.
|
|
222
|
+
max-width: 33.3333333333%;
|
|
183
223
|
}
|
|
224
|
+
|
|
184
225
|
.grid-stack > .grid-stack-item[data-gs-width='5'] {
|
|
185
|
-
width: 41.
|
|
226
|
+
width: 41.6666666667%;
|
|
186
227
|
}
|
|
228
|
+
|
|
187
229
|
.grid-stack > .grid-stack-item[data-gs-x='5'] {
|
|
188
|
-
left: 41.
|
|
230
|
+
left: 41.6666666667%;
|
|
189
231
|
}
|
|
232
|
+
|
|
190
233
|
.grid-stack > .grid-stack-item[data-gs-min-width='5'] {
|
|
191
|
-
min-width: 41.
|
|
234
|
+
min-width: 41.6666666667%;
|
|
192
235
|
}
|
|
236
|
+
|
|
193
237
|
.grid-stack > .grid-stack-item[data-gs-max-width='5'] {
|
|
194
|
-
max-width: 41.
|
|
238
|
+
max-width: 41.6666666667%;
|
|
195
239
|
}
|
|
240
|
+
|
|
196
241
|
.grid-stack > .grid-stack-item[data-gs-width='6'] {
|
|
197
242
|
width: 50%;
|
|
198
243
|
}
|
|
244
|
+
|
|
199
245
|
.grid-stack > .grid-stack-item[data-gs-x='6'] {
|
|
200
246
|
left: 50%;
|
|
201
247
|
}
|
|
248
|
+
|
|
202
249
|
.grid-stack > .grid-stack-item[data-gs-min-width='6'] {
|
|
203
250
|
min-width: 50%;
|
|
204
251
|
}
|
|
252
|
+
|
|
205
253
|
.grid-stack > .grid-stack-item[data-gs-max-width='6'] {
|
|
206
254
|
max-width: 50%;
|
|
207
255
|
}
|
|
256
|
+
|
|
208
257
|
.grid-stack > .grid-stack-item[data-gs-width='7'] {
|
|
209
|
-
width: 58.
|
|
258
|
+
width: 58.3333333333%;
|
|
210
259
|
}
|
|
260
|
+
|
|
211
261
|
.grid-stack > .grid-stack-item[data-gs-x='7'] {
|
|
212
|
-
left: 58.
|
|
262
|
+
left: 58.3333333333%;
|
|
213
263
|
}
|
|
264
|
+
|
|
214
265
|
.grid-stack > .grid-stack-item[data-gs-min-width='7'] {
|
|
215
|
-
min-width: 58.
|
|
266
|
+
min-width: 58.3333333333%;
|
|
216
267
|
}
|
|
268
|
+
|
|
217
269
|
.grid-stack > .grid-stack-item[data-gs-max-width='7'] {
|
|
218
|
-
max-width: 58.
|
|
270
|
+
max-width: 58.3333333333%;
|
|
219
271
|
}
|
|
272
|
+
|
|
220
273
|
.grid-stack > .grid-stack-item[data-gs-width='8'] {
|
|
221
|
-
width: 66.
|
|
274
|
+
width: 66.6666666667%;
|
|
222
275
|
}
|
|
276
|
+
|
|
223
277
|
.grid-stack > .grid-stack-item[data-gs-x='8'] {
|
|
224
|
-
left: 66.
|
|
278
|
+
left: 66.6666666667%;
|
|
225
279
|
}
|
|
280
|
+
|
|
226
281
|
.grid-stack > .grid-stack-item[data-gs-min-width='8'] {
|
|
227
|
-
min-width: 66.
|
|
282
|
+
min-width: 66.6666666667%;
|
|
228
283
|
}
|
|
284
|
+
|
|
229
285
|
.grid-stack > .grid-stack-item[data-gs-max-width='8'] {
|
|
230
|
-
max-width: 66.
|
|
286
|
+
max-width: 66.6666666667%;
|
|
231
287
|
}
|
|
288
|
+
|
|
232
289
|
.grid-stack > .grid-stack-item[data-gs-width='9'] {
|
|
233
290
|
width: 75%;
|
|
234
291
|
}
|
|
292
|
+
|
|
235
293
|
.grid-stack > .grid-stack-item[data-gs-x='9'] {
|
|
236
294
|
left: 75%;
|
|
237
295
|
}
|
|
296
|
+
|
|
238
297
|
.grid-stack > .grid-stack-item[data-gs-min-width='9'] {
|
|
239
298
|
min-width: 75%;
|
|
240
299
|
}
|
|
300
|
+
|
|
241
301
|
.grid-stack > .grid-stack-item[data-gs-max-width='9'] {
|
|
242
302
|
max-width: 75%;
|
|
243
303
|
}
|
|
304
|
+
|
|
244
305
|
.grid-stack > .grid-stack-item[data-gs-width='10'] {
|
|
245
|
-
width: 83.
|
|
306
|
+
width: 83.3333333333%;
|
|
246
307
|
}
|
|
308
|
+
|
|
247
309
|
.grid-stack > .grid-stack-item[data-gs-x='10'] {
|
|
248
|
-
left: 83.
|
|
310
|
+
left: 83.3333333333%;
|
|
249
311
|
}
|
|
312
|
+
|
|
250
313
|
.grid-stack > .grid-stack-item[data-gs-min-width='10'] {
|
|
251
|
-
min-width: 83.
|
|
314
|
+
min-width: 83.3333333333%;
|
|
252
315
|
}
|
|
316
|
+
|
|
253
317
|
.grid-stack > .grid-stack-item[data-gs-max-width='10'] {
|
|
254
|
-
max-width: 83.
|
|
318
|
+
max-width: 83.3333333333%;
|
|
255
319
|
}
|
|
320
|
+
|
|
256
321
|
.grid-stack > .grid-stack-item[data-gs-width='11'] {
|
|
257
|
-
width: 91.
|
|
322
|
+
width: 91.6666666667%;
|
|
258
323
|
}
|
|
324
|
+
|
|
259
325
|
.grid-stack > .grid-stack-item[data-gs-x='11'] {
|
|
260
|
-
left: 91.
|
|
326
|
+
left: 91.6666666667%;
|
|
261
327
|
}
|
|
328
|
+
|
|
262
329
|
.grid-stack > .grid-stack-item[data-gs-min-width='11'] {
|
|
263
|
-
min-width: 91.
|
|
330
|
+
min-width: 91.6666666667%;
|
|
264
331
|
}
|
|
332
|
+
|
|
265
333
|
.grid-stack > .grid-stack-item[data-gs-max-width='11'] {
|
|
266
|
-
max-width: 91.
|
|
334
|
+
max-width: 91.6666666667%;
|
|
267
335
|
}
|
|
336
|
+
|
|
268
337
|
.grid-stack > .grid-stack-item[data-gs-width='12'] {
|
|
269
338
|
width: 100%;
|
|
270
339
|
}
|
|
340
|
+
|
|
271
341
|
.grid-stack > .grid-stack-item[data-gs-x='12'] {
|
|
272
342
|
left: 100%;
|
|
273
343
|
}
|
|
344
|
+
|
|
274
345
|
.grid-stack > .grid-stack-item[data-gs-min-width='12'] {
|
|
275
346
|
min-width: 100%;
|
|
276
347
|
}
|
|
348
|
+
|
|
277
349
|
.grid-stack > .grid-stack-item[data-gs-max-width='12'] {
|
|
278
350
|
max-width: 100%;
|
|
279
351
|
}
|
|
280
|
-
|
|
352
|
+
|
|
353
|
+
.grid-stack.grid-stack-animate,
|
|
354
|
+
.grid-stack.grid-stack-animate .grid-stack-item {
|
|
281
355
|
-webkit-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
|
|
282
356
|
-moz-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
|
|
283
357
|
-ms-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
|
|
284
358
|
-o-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
|
|
285
359
|
transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
|
|
286
360
|
}
|
|
287
|
-
|
|
361
|
+
|
|
362
|
+
.grid-stack.grid-stack-animate .grid-stack-item.ui-draggable-dragging,
|
|
363
|
+
.grid-stack.grid-stack-animate .grid-stack-item.ui-resizable-resizing,
|
|
364
|
+
.grid-stack.grid-stack-animate .grid-stack-item.grid-stack-placeholder {
|
|
288
365
|
-webkit-transition: left 0s, top 0s, height 0s, width 0s;
|
|
289
366
|
-moz-transition: left 0s, top 0s, height 0s, width 0s;
|
|
290
367
|
-ms-transition: left 0s, top 0s, height 0s, width 0s;
|
|
@@ -292,14 +369,6 @@
|
|
|
292
369
|
transition: left 0s, top 0s, height 0s, width 0s;
|
|
293
370
|
}
|
|
294
371
|
|
|
295
|
-
/** Uncomment this to show bottom-left resize handle **/
|
|
296
|
-
/*
|
|
297
|
-
.grid-stack > .grid-stack-item > .ui-resizable-sw {
|
|
298
|
-
display: inline-block;
|
|
299
|
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
|
300
|
-
@include vendor(transform, rotate(180deg));
|
|
301
|
-
}
|
|
302
|
-
*/
|
|
303
372
|
@media (max-width: 768px) {
|
|
304
373
|
.grid-stack-item {
|
|
305
374
|
position: relative !important;
|
|
@@ -311,7 +380,6 @@
|
|
|
311
380
|
.grid-stack-item .ui-resizable-handle {
|
|
312
381
|
display: none;
|
|
313
382
|
}
|
|
314
|
-
|
|
315
383
|
.grid-stack {
|
|
316
384
|
height: auto !important;
|
|
317
385
|
}
|
metadata
CHANGED
|
@@ -1,78 +1,69 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gridstack-js-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.2.5
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- randoum
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2016-03-20 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: lodash-rails
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - ">="
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: 3.5.0
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: 3.5.0
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: underscore-rails
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
|
-
- -
|
|
31
|
+
- - ">="
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: 1.7.0
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
|
-
- -
|
|
38
|
+
- - ">="
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
45
40
|
version: 1.7.0
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: jquery-rails
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
|
-
- -
|
|
45
|
+
- - ">="
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
53
47
|
version: 3.0.5
|
|
54
48
|
type: :runtime
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
|
-
- -
|
|
52
|
+
- - ">="
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
54
|
version: 3.0.5
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
|
63
56
|
name: jquery-ui-rails
|
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
58
|
requirements:
|
|
67
|
-
- -
|
|
59
|
+
- - ">="
|
|
68
60
|
- !ruby/object:Gem::Version
|
|
69
61
|
version: 5.0.0
|
|
70
62
|
type: :runtime
|
|
71
63
|
prerelease: false
|
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
65
|
requirements:
|
|
75
|
-
- -
|
|
66
|
+
- - ">="
|
|
76
67
|
- !ruby/object:Gem::Version
|
|
77
68
|
version: 5.0.0
|
|
78
69
|
description: Rails gridstack.js library integration. All credits for the javascript
|
|
@@ -83,7 +74,7 @@ executables: []
|
|
|
83
74
|
extensions: []
|
|
84
75
|
extra_rdoc_files: []
|
|
85
76
|
files:
|
|
86
|
-
- .gitignore
|
|
77
|
+
- ".gitignore"
|
|
87
78
|
- Gemfile
|
|
88
79
|
- LICENSE.txt
|
|
89
80
|
- README.md
|
|
@@ -101,26 +92,25 @@ files:
|
|
|
101
92
|
homepage: https://github.com/randoum/gridstack-js-rails
|
|
102
93
|
licenses:
|
|
103
94
|
- MIT
|
|
95
|
+
metadata: {}
|
|
104
96
|
post_install_message:
|
|
105
97
|
rdoc_options: []
|
|
106
98
|
require_paths:
|
|
107
99
|
- lib
|
|
108
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
|
-
none: false
|
|
110
101
|
requirements:
|
|
111
|
-
- -
|
|
102
|
+
- - ">="
|
|
112
103
|
- !ruby/object:Gem::Version
|
|
113
104
|
version: '0'
|
|
114
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
|
-
none: false
|
|
116
106
|
requirements:
|
|
117
|
-
- -
|
|
107
|
+
- - ">="
|
|
118
108
|
- !ruby/object:Gem::Version
|
|
119
109
|
version: '0'
|
|
120
110
|
requirements: []
|
|
121
111
|
rubyforge_project:
|
|
122
|
-
rubygems_version:
|
|
112
|
+
rubygems_version: 2.4.8
|
|
123
113
|
signing_key:
|
|
124
|
-
specification_version:
|
|
114
|
+
specification_version: 4
|
|
125
115
|
summary: Wrap gridstack.js library and its dependencies for rails projects
|
|
126
116
|
test_files: []
|