overlay_me 0.13.0 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +10 -1
- data/Gemfile +10 -1
- data/Gemfile.lock +32 -12
- data/Guardfile +13 -0
- data/README.md +32 -16
- data/Rakefile +67 -88
- data/javascripts/{addons → coffeescripts/addons}/layout_resizer.js.coffee +0 -0
- data/javascripts/coffeescripts/basics_panel.js.coffee +42 -0
- data/javascripts/{draggable.js.coffee → coffeescripts/draggable.js.coffee} +0 -0
- data/javascripts/{init.js.coffee → coffeescripts/init.js.coffee} +11 -2
- data/javascripts/{lib → coffeescripts/lib}/backbone.js +0 -0
- data/javascripts/{lib → coffeescripts/lib}/html5slider.js +0 -0
- data/javascripts/{lib → coffeescripts/lib}/jquery.js +0 -0
- data/javascripts/{lib → coffeescripts/lib}/underscore.js +0 -0
- data/javascripts/{menu.js.coffee → coffeescripts/menu.js.coffee} +8 -3
- data/javascripts/{menu_item.js.coffee → coffeescripts/menu_item.js.coffee} +5 -5
- data/javascripts/{mixins → coffeescripts/mixins}/hideable.js.coffee +0 -0
- data/javascripts/{mixins → coffeescripts/mixins}/storable.js.coffee +0 -0
- data/javascripts/coffeescripts/overlay_me.js.coffee +7 -0
- data/javascripts/{overlays → coffeescripts/overlays}/content_div_mngmt.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/draggable_image.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/dynamic_images_mngmt.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/image.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/images_container.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/images_directory.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/images_mngt_div.js.coffee +0 -0
- data/javascripts/{overlays → coffeescripts/overlays}/init.js.coffee +0 -0
- data/javascripts/coffeescripts/overlays_panel.js.coffee +90 -0
- data/javascripts/overlay_me.css_embedded.js +13166 -0
- data/{overlay_me.js → javascripts/overlay_me.js} +216 -150
- data/lib/overlay_me.rb +15 -0
- data/lib/overlay_me/version.rb +1 -1
- data/spec/SpecRunner.html +56 -0
- data/spec/javascripts/coffeescripts/init.spec.js.coffee +21 -0
- data/spec/javascripts/coffeescripts/menu.spec.js.coffee +36 -0
- data/spec/javascripts/coffeescripts/menu_item.spec.js.coffee +66 -0
- data/spec/javascripts/init.spec.js +25 -0
- data/spec/javascripts/menu.spec.js +38 -0
- data/spec/javascripts/menu_item.spec.js +81 -0
- data/spec/lib/jasmine-1.2.0.rc3/MIT.LICENSE +20 -0
- data/spec/lib/jasmine-1.2.0.rc3/jasmine-html.js +616 -0
- data/spec/lib/jasmine-1.2.0.rc3/jasmine.css +81 -0
- data/spec/lib/jasmine-1.2.0.rc3/jasmine.js +2530 -0
- data/{overlay_me.css → stylesheets/overlay_me.css} +27 -78
- data/stylesheets/{overlay_me.css.scss → scss/overlay_me.css.scss} +2 -1
- data/vendor/assets/javascripts/overlay_me/addons/layout_resizer.js +0 -51
- data/vendor/assets/javascripts/overlay_me/overlay_me.min.js +10 -8
- metadata +42 -29
- data/javascripts/basics.js.coffee +0 -38
- data/javascripts/overlay_me.js.coffee +0 -7
- data/javascripts/overlays.js.coffee +0 -87
@@ -1,45 +1,37 @@
|
|
1
|
-
/* line 6, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
2
1
|
button {
|
3
2
|
font-size: 9px;
|
4
3
|
margin: 0 3px;
|
5
4
|
padding: 0px 3px;
|
6
5
|
}
|
7
6
|
|
8
|
-
/* line 12, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
9
7
|
#overlay_me_page_container {
|
10
8
|
position: relative;
|
11
9
|
}
|
12
10
|
|
13
|
-
/* line 16, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
14
11
|
#overlay_me_menu {
|
12
|
+
font-family: Arial, sans-serif;
|
15
13
|
position: fixed;
|
16
14
|
right: 0;
|
17
15
|
z-index: 990;
|
18
16
|
}
|
19
|
-
/* line 21, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
20
17
|
#overlay_me_menu * {
|
21
18
|
line-height: 14px;
|
22
19
|
}
|
23
|
-
/* line 25, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
24
20
|
#overlay_me_menu .drag-me {
|
25
21
|
line-height: 100%;
|
26
22
|
display: block;
|
27
23
|
color: black;
|
28
24
|
font-size: 0.7em;
|
29
25
|
text-align: center;
|
30
|
-
background-image: -webkit-gradient(linear, 0deg, 0deg, color-stop(0%, #999999), color-stop(30%, #dddddd), color-stop(70%, #dddddd), color-stop(100%, #999999));
|
31
26
|
background-image: -webkit-linear-gradient(0deg, #999999, #dddddd 30%, #dddddd 70%, #999999 100%);
|
32
27
|
background-image: -moz-linear-gradient(0deg, #999999, #dddddd 30%, #dddddd 70%, #999999 100%);
|
33
28
|
background-image: -o-linear-gradient(0deg, #999999, #dddddd 30%, #dddddd 70%, #999999 100%);
|
34
|
-
background-image: -ms-linear-gradient(0deg, #999999, #dddddd 30%, #dddddd 70%, #999999 100%);
|
35
29
|
background-image: linear-gradient(0deg, #999999, #dddddd 30%, #dddddd 70%, #999999 100%);
|
36
30
|
padding: 1px;
|
37
31
|
}
|
38
|
-
/* line 33, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
39
32
|
#overlay_me_menu .drag-me:hover {
|
40
33
|
cursor: move;
|
41
34
|
}
|
42
|
-
/* line 38, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
43
35
|
#overlay_me_menu ul {
|
44
36
|
list-style: none;
|
45
37
|
margin: 0;
|
@@ -50,14 +42,12 @@ button {
|
|
50
42
|
vertical-align: baseline;
|
51
43
|
}
|
52
44
|
|
53
|
-
/* line 52, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
54
45
|
.menu-item {
|
55
46
|
text-align: left;
|
56
47
|
background-color: #CCC;
|
57
48
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
58
49
|
width: 200px;
|
59
50
|
}
|
60
|
-
/* line 57, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
61
51
|
.menu-item a.collaps-button {
|
62
52
|
cursor: pointer;
|
63
53
|
position: absolute;
|
@@ -68,16 +58,13 @@ button {
|
|
68
58
|
border: none;
|
69
59
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIlJREFUeNpivHDhQujz589TmZiYvjMQAP/+/eOQkZGZyfD//38ZIL77nzhwG4ilQJpA2BiIPxHQ8BGIDUHqYZpAOIWApiSYWmRNIDfPxaYaKD4bWR2KJiDmA+KzaHrOQMVxagJhfSD+ALXhA5TPQEgTCCcD8V+gpmRs8rg0MQI1eANpJmzyAAEGAKD/bax/HrzbAAAAAElFTkSuQmCC) no-repeat center 3px;
|
70
60
|
}
|
71
|
-
/* line 66, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
72
61
|
.menu-item a.collaps-button span {
|
73
62
|
display: none;
|
74
63
|
color: yellow;
|
75
64
|
}
|
76
|
-
/* line 69, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
77
65
|
.menu-item a.collaps-button span:hover {
|
78
66
|
color: yellow;
|
79
67
|
}
|
80
|
-
/* line 74, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
81
68
|
.menu-item label.title {
|
82
69
|
padding-left: 20px;
|
83
70
|
color: white;
|
@@ -87,22 +74,18 @@ button {
|
|
87
74
|
font-size: 14px;
|
88
75
|
background: none;
|
89
76
|
}
|
90
|
-
/* line 84, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
91
77
|
.menu-item.collapsed .item-content {
|
92
78
|
display: none;
|
93
79
|
}
|
94
|
-
/* line 85, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
95
80
|
.menu-item.collapsed a.collaps-button {
|
96
81
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAANCAYAAAB7AEQGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpiuHz5ctD///+lgJgBF2Z68uRJOgMDw0EgNmTAAZiA4AeQVgHiA0CchFUREpsPiOcCjZ8NZWNVBAaMjIwpQGofEOvjVAQFxkATDwJxMkgNCy7HAk3kB1KzgApf4DIJBD4CcRpQ8TZcJp2D+vQiVjcBjZ8HpBxhCtAVfQbiVKDxIMd+QtbI8u/fP04gfQ+Iw4D4LDa7WSQlJUGBdxyIn+DyAUCAAQDxsEXD9kreLQAAAABJRU5ErkJggg==) no-repeat center top;
|
97
82
|
}
|
98
83
|
|
99
|
-
|
100
|
-
#overlay_panel .content-mgnt-block {
|
84
|
+
.overlays-panel .content-mgnt-block {
|
101
85
|
position: relative;
|
102
86
|
line-height: 10px;
|
103
87
|
}
|
104
|
-
|
105
|
-
#overlay_panel .content-mgnt-block .unicorns {
|
88
|
+
.overlays-panel .content-mgnt-block .unicorns {
|
106
89
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAklJREFUeNqEks1u00AQx3d27V3HdezY+SBpkKBFoBZxQEKIOwfegBs3rtwoPABvw3sgceKAuFWtUBBSaT6ctvHXer2zOElTVaoKI/2lWWl/O//ZGZi8jgSPxFv3JX93+CJvfJ4/09++vzH6S/SVH59+IohH5JagxBilC4zNHHigSLvtTCPRnLYxtB4b29ojGglBc1PG1PAyLfUxzszIX7B86MwLP/iVkS566DWeEgo+gfrWdV1VJoZgpUdqon84p1a+wxI1CA+l3Z+yqu89N5a9v65EVgK8TOpgH/edZS6JAZ97/AkfKjF3pTpRkUrlfQFnoGlaHNc2F0sAzPIFWIl9WMEGTYUZJfyB12ED2l9UE6bkDAcoy+0QznXJ8nIEBosNuIb3xLoBNIlRhNlc7Ho9dDA6l1OC8gKGUGEnhAyBFmpSu8zqf9jAzqZ/RIUxFDR0G2LQ6ueIwUzGFIuE95livS4p2RaUVQYas/p+xQ4eiavPqO2nKPUcCrvlCR50uqlirXGeiUWeua4uva6vebNDwHIJErq2fW0Mdfcxpjqmqe37Nnd73US64Ummt8a5bCpZhh5UrZanfS9gBw/5tcorGSz1TJ/rCTljoomOGDTLsh+NUz8Ypdz/ndBwlpFeIdn7Hevm9miD9QNxdVGNSQzGSR3ao6Duekm23fqT3Al/Ju3waAEnr1xyayxnymhgNcU9Z7sx5LtWA+6bquxXaeLr5J+wMZebRQwDiwW2x0O7I1y7ZxOrS+X/4Y0DXJ0pANhgM4sKRv4KMACD6UDbVgTzkgAAAABJRU5ErkJggg==) no-repeat center center;
|
107
90
|
width: 15px;
|
108
91
|
height: 15px;
|
@@ -110,13 +93,11 @@ button {
|
|
110
93
|
right: 0;
|
111
94
|
top: 6px;
|
112
95
|
}
|
113
|
-
|
114
|
-
#overlay_panel label {
|
96
|
+
.overlays-panel label {
|
115
97
|
margin: 0;
|
116
98
|
font-size: 14px;
|
117
99
|
}
|
118
|
-
|
119
|
-
#overlay_panel .content-mgnt-block, #overlay_panel #images_mgnt {
|
100
|
+
.overlays-panel .content-mgnt-block, .overlays-panel #images_mgnt {
|
120
101
|
text-align: left;
|
121
102
|
padding: 3px 4px;
|
122
103
|
margin: 2px;
|
@@ -127,64 +108,52 @@ button {
|
|
127
108
|
-o-border-radius: 5px;
|
128
109
|
border-radius: 5px;
|
129
110
|
}
|
130
|
-
|
131
|
-
#overlay_panel .content-mgnt-block legend, #overlay_panel #images_mgnt legend {
|
111
|
+
.overlays-panel .content-mgnt-block legend, .overlays-panel #images_mgnt legend {
|
132
112
|
font-size: 10px;
|
133
113
|
padding: 0 3px;
|
134
114
|
margin-left: 10px;
|
135
115
|
}
|
136
|
-
|
137
|
-
#overlay_panel .slider-block {
|
116
|
+
.overlays-panel .slider-block {
|
138
117
|
display: block;
|
139
118
|
}
|
140
|
-
|
141
|
-
#overlay_panel .slider-block label {
|
119
|
+
.overlays-panel .slider-block label {
|
142
120
|
font-size: 60%;
|
143
121
|
margin: 0 5px 0 0;
|
144
122
|
vertical-align: top;
|
145
123
|
}
|
146
|
-
|
147
|
-
#overlay_panel .slider-block input[type=range] {
|
124
|
+
.overlays-panel .slider-block input[type=range] {
|
148
125
|
margin: 0;
|
149
126
|
height: 14px;
|
150
127
|
width: 120px;
|
151
128
|
}
|
152
|
-
|
153
|
-
#overlay_panel #images_mgnt {
|
129
|
+
.overlays-panel #images_mgnt {
|
154
130
|
width: 186px;
|
155
131
|
}
|
156
|
-
|
157
|
-
#overlay_panel #images_mgnt .controls {
|
132
|
+
.overlays-panel #images_mgnt .controls {
|
158
133
|
padding-bottom: 2px;
|
159
134
|
}
|
160
|
-
|
161
|
-
#overlay_panel #images_mgnt .controls label {
|
135
|
+
.overlays-panel #images_mgnt .controls label {
|
162
136
|
margin-right: 5px;
|
163
137
|
}
|
164
|
-
|
165
|
-
#overlay_panel #images_mgnt .overlay-image-block, #overlay_panel #images_mgnt .images_dir {
|
138
|
+
.overlays-panel #images_mgnt .overlay-image-block, .overlays-panel #images_mgnt .images_dir {
|
166
139
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
167
140
|
border-right: none;
|
168
141
|
border-left: none;
|
169
142
|
padding-top: 2px;
|
170
143
|
}
|
171
|
-
|
172
|
-
#overlay_panel #images_mgnt .overlay-image-block:first-child, #overlay_panel #images_mgnt .images_dir:first-child {
|
144
|
+
.overlays-panel #images_mgnt .overlay-image-block:first-child, .overlays-panel #images_mgnt .images_dir:first-child {
|
173
145
|
border-top: none;
|
174
146
|
padding-top: 0;
|
175
147
|
}
|
176
|
-
|
177
|
-
#overlay_panel #images_mgnt .overlay-image-block {
|
148
|
+
.overlays-panel #images_mgnt .overlay-image-block {
|
178
149
|
text-align: left;
|
179
150
|
position: relative;
|
180
151
|
width: 186px;
|
181
152
|
}
|
182
|
-
|
183
|
-
#overlay_panel #images_mgnt .overlay-image-block.hovered {
|
153
|
+
.overlays-panel #images_mgnt .overlay-image-block.hovered {
|
184
154
|
background-color: rgba(255, 255, 0, 0.5);
|
185
155
|
}
|
186
|
-
|
187
|
-
#overlay_panel #images_mgnt .overlay-image-block .del-button {
|
156
|
+
.overlays-panel #images_mgnt .overlay-image-block .del-button {
|
188
157
|
position: absolute;
|
189
158
|
right: 0;
|
190
159
|
top: 0;
|
@@ -198,107 +167,87 @@ button {
|
|
198
167
|
font-weight: bold;
|
199
168
|
padding: 0 3px;
|
200
169
|
}
|
201
|
-
|
202
|
-
#overlay_panel #images_mgnt .images_dir {
|
170
|
+
.overlays-panel #images_mgnt .images_dir {
|
203
171
|
line-height: 18px;
|
204
172
|
}
|
205
|
-
|
206
|
-
#overlay_panel #images_mgnt .images_dir .sub-block {
|
173
|
+
.overlays-panel #images_mgnt .images_dir .sub-block {
|
207
174
|
border-left: 2px white solid;
|
208
175
|
padding-left: 2px;
|
209
176
|
margin-left: 5px;
|
210
177
|
}
|
211
|
-
|
212
|
-
#overlay_panel #images_mgnt .images_dir > input[type=checkbox] {
|
178
|
+
.overlays-panel #images_mgnt .images_dir > input[type=checkbox] {
|
213
179
|
-webkit-appearance: none;
|
214
180
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAANCAYAAAB7AEQGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpiuHz5ctD///+lgJgBF2Z68uRJOgMDw0EgNmTAAZiA4AeQVgHiA0CchFUREpsPiOcCjZ8NZWNVBAaMjIwpQGofEOvjVAQFxkATDwJxMkgNCy7HAk3kB1KzgApf4DIJBD4CcRpQ8TZcJp2D+vQiVjcBjZ8HpBxhCtAVfQbiVKDxIMd+QtbI8u/fP04gfQ+Iw4D4LDa7WSQlJUGBdxyIn+DyAUCAAQDxsEXD9kreLQAAAABJRU5ErkJggg==) no-repeat center center;
|
215
181
|
display: inline-block;
|
216
182
|
width: 13px;
|
217
183
|
height: 13px;
|
218
184
|
}
|
219
|
-
|
220
|
-
#overlay_panel #images_mgnt .images_dir > input[type=checkbox]:checked {
|
185
|
+
.overlays-panel #images_mgnt .images_dir > input[type=checkbox]:checked {
|
221
186
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIlJREFUeNpivHDhQujz589TmZiYvjMQAP/+/eOQkZGZyfD//38ZIL77nzhwG4ilQJpA2BiIPxHQ8BGIDUHqYZpAOIWApiSYWmRNIDfPxaYaKD4bWR2KJiDmA+KzaHrOQMVxagJhfSD+ALXhA5TPQEgTCCcD8V+gpmRs8rg0MQI1eANpJmzyAAEGAKD/bax/HrzbAAAAAElFTkSuQmCC) no-repeat center center;
|
222
187
|
width: 13px;
|
223
188
|
height: 13px;
|
224
189
|
margin: -2px 5px 0 0;
|
225
190
|
}
|
226
|
-
|
227
|
-
#overlay_panel #images_mgnt .dynamic-adds {
|
191
|
+
.overlays-panel #images_mgnt .dynamic-adds {
|
228
192
|
padding-top: 4px;
|
229
193
|
}
|
230
|
-
|
231
|
-
#overlay_panel #images_mgnt .dynamic-adds label {
|
194
|
+
.overlays-panel #images_mgnt .dynamic-adds label {
|
232
195
|
font-size: 75%;
|
233
196
|
}
|
234
|
-
|
235
|
-
#overlay_panel #images_mgnt .dynamic-adds input {
|
197
|
+
.overlays-panel #images_mgnt .dynamic-adds input {
|
236
198
|
width: 95px;
|
237
199
|
font-size: 10px;
|
238
200
|
margin-left: 2px;
|
239
201
|
}
|
240
|
-
|
241
|
-
#overlay_panel #images_mgnt .dynamic-adds button {
|
202
|
+
.overlays-panel #images_mgnt .dynamic-adds button {
|
242
203
|
font-size: 10px;
|
243
204
|
}
|
244
|
-
|
245
|
-
#overlay_panel input[type=checkbox], #overlay_panel label, #overlay_panel #contentSlider, #overlay_panel .zindex-switch {
|
205
|
+
.overlays-panel input[type=checkbox], .overlays-panel label, .overlays-panel #contentSlider, .overlays-panel .zindex-switch {
|
246
206
|
display: inline;
|
247
207
|
}
|
248
|
-
|
249
|
-
#overlay_panel input[type=checkbox] {
|
208
|
+
.overlays-panel input[type=checkbox] {
|
250
209
|
vertical-align: middle;
|
251
210
|
margin: -3px 5px 0 0;
|
252
211
|
}
|
253
212
|
|
254
|
-
/* line 234, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
255
213
|
#overlay_me_images_container {
|
256
214
|
position: absolute;
|
257
215
|
z-index: 4;
|
258
216
|
top: 0;
|
259
217
|
left: 0;
|
260
218
|
}
|
261
|
-
/* line 239, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
262
219
|
#overlay_me_images_container div {
|
263
220
|
position: absolute;
|
264
221
|
}
|
265
|
-
/* line 241, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
266
222
|
#overlay_me_images_container div.highlight {
|
267
223
|
border: 2px solid red;
|
268
224
|
margin-top: -2px;
|
269
225
|
margin-left: -2px;
|
270
226
|
}
|
271
|
-
/* line 246, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
272
227
|
#overlay_me_images_container div:hover {
|
273
228
|
cursor: move;
|
274
229
|
}
|
275
|
-
/* line 250, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
276
230
|
#overlay_me_images_container img {
|
277
231
|
position: absolute;
|
278
232
|
top: 0;
|
279
233
|
left: 0;
|
280
234
|
}
|
281
235
|
|
282
|
-
/* line 258, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
283
236
|
#overlay_me_menu.collapsed .drag-me, #overlay_me_menu.collapsed .menu-item {
|
284
237
|
width: 25px;
|
285
238
|
}
|
286
|
-
/* line 261, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
287
239
|
#overlay_me_menu.collapsed .drag-me {
|
288
240
|
height: 10px;
|
289
241
|
overflow: hidden;
|
290
242
|
}
|
291
|
-
/* line 265, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
292
243
|
#overlay_me_menu.collapsed button {
|
293
244
|
height: 10px;
|
294
245
|
overflow: hidden;
|
295
246
|
}
|
296
|
-
/* line 269, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
297
247
|
#overlay_me_menu.collapsed .overlay-image-block {
|
298
248
|
height: 14px;
|
299
249
|
margin-top: 3px;
|
300
250
|
}
|
301
|
-
/* line 273, /Users/ffmini/Programming/overlay_me/stylesheets/overlay_me.css.scss */
|
302
251
|
#overlay_me_menu.collapsed .overlay-image-block label, #overlay_me_menu.collapsed #content_div_management_block, #overlay_me_menu.collapsed .controls, #overlay_me_menu.collapsed input[type=range], #overlay_me_menu.collapsed #overlay_panel #contentSlider, #overlay_me_menu.collapsed legend, #overlay_me_menu.collapsed .dynamic-adds, #overlay_me_menu.collapsed .unicorns, #overlay_me_menu.collapsed button.reset, #overlay_me_menu.collapsed button.hide, #overlay_me_menu.collapsed button.del-button {
|
303
252
|
display: none;
|
304
253
|
}
|
@@ -14,6 +14,7 @@ button {
|
|
14
14
|
}
|
15
15
|
|
16
16
|
#overlay_me_menu {
|
17
|
+
font-family: Arial, sans-serif;
|
17
18
|
position: fixed;
|
18
19
|
right: 0;
|
19
20
|
z-index: 990; //to pass over Google Toolbar ;)
|
@@ -88,7 +89,7 @@ $down_arrow: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpe
|
|
88
89
|
}
|
89
90
|
}
|
90
91
|
|
91
|
-
|
92
|
+
.overlays-panel {
|
92
93
|
|
93
94
|
.content-mgnt-block {
|
94
95
|
position: relative;
|
@@ -1,51 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
var layout_menu, layouts;
|
3
|
-
|
4
|
-
layouts = {
|
5
|
-
smartphone_portrait: 320,
|
6
|
-
smartphone_landscape: 480,
|
7
|
-
tablet_port: 768,
|
8
|
-
tablet_land: 1024,
|
9
|
-
none: null
|
10
|
-
};
|
11
|
-
|
12
|
-
window.resize_page = function(width) {
|
13
|
-
if (width === null || isNaN(width)) {
|
14
|
-
$o('#overlay_me_page_container').css({
|
15
|
-
width: 'auto'
|
16
|
-
});
|
17
|
-
} else {
|
18
|
-
$o('#overlay_me_page_container').css({
|
19
|
-
width: "" + width + "px"
|
20
|
-
});
|
21
|
-
}
|
22
|
-
_.each(layouts, function(_width, name) {
|
23
|
-
if (width === _width) {
|
24
|
-
return $o('body').addClass(name);
|
25
|
-
} else {
|
26
|
-
return $o('body').removeClass(name);
|
27
|
-
}
|
28
|
-
});
|
29
|
-
return localStorage.setItem("layout-width", width);
|
30
|
-
};
|
31
|
-
|
32
|
-
window.resize_page(parseInt(localStorage.getItem("layout-width")));
|
33
|
-
|
34
|
-
layout_menu = new OverlayMe.MenuItem({
|
35
|
-
id: "layout-buttons",
|
36
|
-
title: "Layout Resizing"
|
37
|
-
});
|
38
|
-
|
39
|
-
_.each(layouts, function(width, name) {
|
40
|
-
var button;
|
41
|
-
button = (new Backbone.View).make('button', {}, name);
|
42
|
-
$o(button).addClass(name);
|
43
|
-
$o(button).bind('click', function(e) {
|
44
|
-
return window.resize_page("" + width);
|
45
|
-
});
|
46
|
-
return layout_menu.append(button);
|
47
|
-
});
|
48
|
-
|
49
|
-
OverlayMe.menu.append(layout_menu.render());
|
50
|
-
|
51
|
-
}).call(this);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// OverlayMe v0.13.
|
1
|
+
// OverlayMe v0.13.2
|
2
2
|
// http://github.com/frontfoot/overlay_me
|
3
3
|
//
|
4
4
|
// Copyright (c) 2012 Joseph Boiteau, FrontFoot Media Solutions
|
@@ -712,7 +712,7 @@ function draw(attrsModified){calc();if(isChanged&&value!=prevValue)
|
|
712
712
|
slider.dispatchEvent(onChange);isChanged=false;if(!attrsModified&&value==prevValue)
|
713
713
|
return;prevValue=value;var position=range?(value-min)/range*100:0;var bg='-moz-element(#__sliderthumb__) '+position+'% no-repeat, ';style(slider,{background:bg+track});}}
|
714
714
|
function style(element,styles){for(var prop in styles)
|
715
|
-
element.style.setProperty(prop,styles[prop],'important');}})();(function(){$o('head').append('<style rel="stylesheet" type="text/css">button{font-size:9px;margin:0 3px;padding:0 3px}#overlay_me_page_container{position:relative}#overlay_me_menu{position:fixed;right:0;z-index:990}#overlay_me_menu *{line-height:14px}#overlay_me_menu .drag-me{line-height:100%;display:block;color:black;font-size:.7em;text-align:center;background-image:-webkit-
|
715
|
+
element.style.setProperty(prop,styles[prop],'important');}})();(function(){$o('head').append('<style rel="stylesheet" type="text/css">button{font-size:9px;margin:0 3px;padding:0 3px}#overlay_me_page_container{position:relative}#overlay_me_menu{font-family:Arial,sans-serif;position:fixed;right:0;z-index:990}#overlay_me_menu *{line-height:14px}#overlay_me_menu .drag-me{line-height:100%;display:block;color:black;font-size:.7em;text-align:center;background-image:-webkit-linear-gradient(0deg,#999,#ddd 30%,#ddd 70%,#999 100%);background-image:-moz-linear-gradient(0deg,#999,#ddd 30%,#ddd 70%,#999 100%);background-image:-o-linear-gradient(0deg,#999,#ddd 30%,#ddd 70%,#999 100%);background-image:linear-gradient(0deg,#999,#ddd 30%,#ddd 70%,#999 100%);padding:1px}#overlay_me_menu .drag-me:hover{cursor:move}#overlay_me_menu ul{list-style:none;margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.menu-item{text-align:left;background-color:#CCC;border:1px solid rgba(255,255,255,0.2);width:200px}.menu-item a.collaps-button{cursor:pointer;position:absolute;padding-top:9px;padding-left:5px;width:13px;height:9px;border:none;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIlJREFUeNpivHDhQujz589TmZiYvjMQAP/+/eOQkZGZyfD//38ZIL77nzhwG4ilQJpA2BiIPxHQ8BGIDUHqYZpAOIWApiSYWmRNIDfPxaYaKD4bWR2KJiDmA+KzaHrOQMVxagJhfSD+ALXhA5TPQEgTCCcD8V+gpmRs8rg0MQI1eANpJmzyAAEGAKD/bax/HrzbAAAAAElFTkSuQmCC) no-repeat center 3px}.menu-item a.collaps-button span{display:none;color:yellow}.menu-item a.collaps-button span:hover{color:yellow}.menu-item label.title{padding-left:20px;color:white;cursor:pointer;width:187px;line-height:1.1em;font-size:14px;background:none}.menu-item.collapsed .item-content{display:none}.menu-item.collapsed a.collaps-button{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAANCAYAAAB7AEQGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpiuHz5ctD///+lgJgBF2Z68uRJOgMDw0EgNmTAAZiA4AeQVgHiA0CchFUREpsPiOcCjZ8NZWNVBAaMjIwpQGofEOvjVAQFxkATDwJxMkgNCy7HAk3kB1KzgApf4DIJBD4CcRpQ8TZcJp2D+vQiVjcBjZ8HpBxhCtAVfQbiVKDxIMd+QtbI8u/fP04gfQ+Iw4D4LDa7WSQlJUGBdxyIn+DyAUCAAQDxsEXD9kreLQAAAABJRU5ErkJggg==) no-repeat center top}.overlays-panel .content-mgnt-block{position:relative;line-height:10px}.overlays-panel .content-mgnt-block .unicorns{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAklJREFUeNqEks1u00AQx3d27V3HdezY+SBpkKBFoBZxQEKIOwfegBs3rtwoPABvw3sgceKAuFWtUBBSaT6ctvHXer2zOElTVaoKI/2lWWl/O//ZGZi8jgSPxFv3JX93+CJvfJ4/09++vzH6S/SVH59+IohH5JagxBilC4zNHHigSLvtTCPRnLYxtB4b29ojGglBc1PG1PAyLfUxzszIX7B86MwLP/iVkS566DWeEgo+gfrWdV1VJoZgpUdqon84p1a+wxI1CA+l3Z+yqu89N5a9v65EVgK8TOpgH/edZS6JAZ97/AkfKjF3pTpRkUrlfQFnoGlaHNc2F0sAzPIFWIl9WMEGTYUZJfyB12ED2l9UE6bkDAcoy+0QznXJ8nIEBosNuIb3xLoBNIlRhNlc7Ho9dDA6l1OC8gKGUGEnhAyBFmpSu8zqf9jAzqZ/RIUxFDR0G2LQ6ueIwUzGFIuE95livS4p2RaUVQYas/p+xQ4eiavPqO2nKPUcCrvlCR50uqlirXGeiUWeua4uva6vebNDwHIJErq2fW0Mdfcxpjqmqe37Nnd73US64Ummt8a5bCpZhh5UrZanfS9gBw/5tcorGSz1TJ/rCTljoomOGDTLsh+NUz8Ypdz/ndBwlpFeIdn7Hevm9miD9QNxdVGNSQzGSR3ao6Duekm23fqT3Al/Ju3waAEnr1xyayxnymhgNcU9Z7sx5LtWA+6bquxXaeLr5J+wMZebRQwDiwW2x0O7I1y7ZxOrS+X/4Y0DXJ0pANhgM4sKRv4KMACD6UDbVgTzkgAAAABJRU5ErkJggg==) no-repeat center center;width:15px;height:15px;position:absolute;right:0;top:6px}.overlays-panel label{margin:0;font-size:14px}.overlays-panel .content-mgnt-block,.overlays-panel #images_mgnt{text-align:left;padding:3px 4px;margin:2px;border:1px #777 solid;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px}.overlays-panel .content-mgnt-block legend,.overlays-panel #images_mgnt legend{font-size:10px;padding:0 3px;margin-left:10px}.overlays-panel .slider-block{display:block}.overlays-panel .slider-block label{font-size:60%;margin:0 5px 0 0;vertical-align:top}.overlays-panel .slider-block input[type=range]{margin:0;height:14px;width:120px}.overlays-panel #images_mgnt{width:186px}.overlays-panel #images_mgnt .controls{padding-bottom:2px}.overlays-panel #images_mgnt .controls label{margin-right:5px}.overlays-panel #images_mgnt .overlay-image-block,.overlays-panel #images_mgnt .images_dir{border:1px solid rgba(255,255,255,0.2);border-right:none;border-left:none;padding-top:2px}.overlays-panel #images_mgnt .overlay-image-block:first-child,.overlays-panel #images_mgnt .images_dir:first-child{border-top:none;padding-top:0}.overlays-panel #images_mgnt .overlay-image-block{text-align:left;position:relative;width:186px}.overlays-panel #images_mgnt .overlay-image-block.hovered{background-color:rgba(255,255,0,0.5)}.overlays-panel #images_mgnt .overlay-image-block .del-button{position:absolute;right:0;top:0;margin:1px;cursor:pointer;border:1px #AAA solid;font-size:10px;line-height:13px;background-color:#444;color:white;font-weight:bold;padding:0 3px}.overlays-panel #images_mgnt .images_dir{line-height:18px}.overlays-panel #images_mgnt .images_dir .sub-block{border-left:2px white solid;padding-left:2px;margin-left:5px}.overlays-panel #images_mgnt .images_dir>input[type=checkbox]{-webkit-appearance:none;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAANCAYAAAB7AEQGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpiuHz5ctD///+lgJgBF2Z68uRJOgMDw0EgNmTAAZiA4AeQVgHiA0CchFUREpsPiOcCjZ8NZWNVBAaMjIwpQGofEOvjVAQFxkATDwJxMkgNCy7HAk3kB1KzgApf4DIJBD4CcRpQ8TZcJp2D+vQiVjcBjZ8HpBxhCtAVfQbiVKDxIMd+QtbI8u/fP04gfQ+Iw4D4LDa7WSQlJUGBdxyIn+DyAUCAAQDxsEXD9kreLQAAAABJRU5ErkJggg==) no-repeat center center;display:inline-block;width:13px;height:13px}.overlays-panel #images_mgnt .images_dir>input[type=checkbox]:checked{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIlJREFUeNpivHDhQujz589TmZiYvjMQAP/+/eOQkZGZyfD//38ZIL77nzhwG4ilQJpA2BiIPxHQ8BGIDUHqYZpAOIWApiSYWmRNIDfPxaYaKD4bWR2KJiDmA+KzaHrOQMVxagJhfSD+ALXhA5TPQEgTCCcD8V+gpmRs8rg0MQI1eANpJmzyAAEGAKD/bax/HrzbAAAAAElFTkSuQmCC) no-repeat center center;width:13px;height:13px;margin:-2px 5px 0 0}.overlays-panel #images_mgnt .dynamic-adds{padding-top:4px}.overlays-panel #images_mgnt .dynamic-adds label{font-size:75%}.overlays-panel #images_mgnt .dynamic-adds input{width:95px;font-size:10px;margin-left:2px}.overlays-panel #images_mgnt .dynamic-adds button{font-size:10px}.overlays-panel input[type=checkbox],.overlays-panel label,.overlays-panel #contentSlider,.overlays-panel .zindex-switch{display:inline}.overlays-panel input[type=checkbox]{vertical-align:middle;margin:-3px 5px 0 0}#overlay_me_images_container{position:absolute;z-index:4;top:0;left:0}#overlay_me_images_container div{position:absolute}#overlay_me_images_container div.highlight{border:2px solid red;margin-top:-2px;margin-left:-2px}#overlay_me_images_container div:hover{cursor:move}#overlay_me_images_container img{position:absolute;top:0;left:0}#overlay_me_menu.collapsed .drag-me,#overlay_me_menu.collapsed .menu-item{width:25px}#overlay_me_menu.collapsed .drag-me{height:10px;overflow:hidden}#overlay_me_menu.collapsed button{height:10px;overflow:hidden}#overlay_me_menu.collapsed .overlay-image-block{height:14px;margin-top:3px}#overlay_me_menu.collapsed .overlay-image-block label,#overlay_me_menu.collapsed #content_div_management_block,#overlay_me_menu.collapsed .controls,#overlay_me_menu.collapsed input[type=range],#overlay_me_menu.collapsed #overlay_panel #contentSlider,#overlay_me_menu.collapsed legend,#overlay_me_menu.collapsed .dynamic-adds,#overlay_me_menu.collapsed .unicorns,#overlay_me_menu.collapsed button.reset,#overlay_me_menu.collapsed button.hide,#overlay_me_menu.collapsed button.del-button{display:none}</style>');window.OverlayMe={};window.OverlayMe.Mixin={};OverlayMe.isLoaded=function(){return window.overlay_me_loaded;};OverlayMe.setLoaded=function(){return window.overlay_me_loaded=true;};OverlayMe.isMobile=function(){return OverlayMe.userAgent().match(/(iPhone|iPod|iPad|Android)/);};OverlayMe.mustLoad=function(){return!OverlayMe.isLoaded()&&!OverlayMe.isMobile();};OverlayMe.clearAndReload=function(){localStorage.clear();return OverlayMe.pageReload();};OverlayMe.pageReload=function(){return window.location.reload();};OverlayMe.userAgent=function(){return navigator.userAgent;};}).call(this);(function(){OverlayMe.Mixin.Storable={loadCss:function(element,default_css){var cssData;if(element==null){element=this.el;}
|
716
716
|
if(!this.id){return;}
|
717
717
|
if((cssData=localStorage.getItem(this.id))){return $o(element).css(JSON.parse(cssData));}else{if(default_css!==void 0){return $o(element).css(default_css);}}},saveCss:function(element){var cssData,css_attribute,_i,_len,_ref;if(element==null){element=this.el;}
|
718
718
|
if(!this.id){return;}
|
@@ -722,10 +722,11 @@ return localStorage.setItem(this.id,JSON.stringify(cssData));}};}).call(this);(f
|
|
722
722
|
if(this.isDisplayed()){return this.hide();}else{return this.show(default_display_type);}},show:function(default_display_type){var element;if(default_display_type==null){default_display_type='block';}
|
723
723
|
element=this.el||this;$o(element).css({display:default_display_type});return this.saveState();},hide:function(){var element;element=this.el||this;$o(element).css({display:'none'});return this.saveState();},saveState:function(){var element;element=this.el||this;if(this.saveCss){return this.saveCss(element);}}};}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.Draggable=(function(_super){__extends(Draggable,_super);Draggable.name='Draggable';function Draggable(){return Draggable.__super__.constructor.apply(this,arguments);}
|
724
724
|
Draggable.prototype.tagName='div';Draggable.prototype.css_attributes_to_save=['top','left','display','opacity'];Draggable.prototype.initialize=function(attributes,options){Draggable.__super__.initialize.call(this,attributes,options);return this.loadCss(this.el,options.default_css);};Draggable.prototype.engageMove=function(event){var _this=this;event.preventDefault();this.moving=true;this.lastX=event.clientX;this.lastY=event.clientY;$o(window).bind('mymousemove',function(event,mouseEvent){_this.updateOverlay(mouseEvent.clientX-_this.lastX,mouseEvent.clientY-_this.lastY);_this.lastX=mouseEvent.clientX;return _this.lastY=mouseEvent.clientY;});return $o(this.el).addClass('on-move');};Draggable.prototype.endMove=function(event){this.moving=false;$o(window).unbind('mymousemove');return $o(this.el).removeClass('on-move');};Draggable.prototype.toggleMove=function(event){if(this.moving){return this.endMove(event);}else{return this.engageMove(event);}};Draggable.prototype.updateOverlay=function(x,y){var newX,newY;newX=parseInt($o(this.el).css('left'))+x;newY=parseInt($o(this.el).css('top'))+y;$o(this.el).css({top:""+newY+"px",left:""+newX+"px"});return this.saveCss();};Draggable.prototype.render=function(){return this.el;};return Draggable;})(Backbone.View);_.extend(OverlayMe.Draggable.prototype,OverlayMe.Mixin.Storable);_.extend(OverlayMe.Draggable.prototype,OverlayMe.Mixin.Hideable);}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.MenuClass=(function(_super){__extends(MenuClass,_super);MenuClass.name='MenuClass';function MenuClass(){return MenuClass.__super__.constructor.apply(this,arguments);}
|
725
|
-
MenuClass.prototype.id='overlay_me_menu';MenuClass.prototype.initialize=function(attributes){var drag_me_line,_this=this;MenuClass.__super__.initialize.call(this,attributes,{default_css:{top:'50px'}});drag_me_line=(new Backbone.View).make('div',{"class":'drag-me'},'Drag me up and down');this.menu_list=(new Backbone.View).make('ul');$o(this.el).append(drag_me_line);$o(this.el).append(this.menu_list);$o('body').append(this.render());$o(drag_me_line).bind('mousedown',function(event){return _this.toggleMove(event);});$o(window).bind('mouseup',function(event){return _this.endMove(event);});return $o(window).bind('overlay_me:toggle_all_display',function(){return _this.toggleDisplay();});};MenuClass.prototype.append=function(element){return this.menu_list.appendChild(element);};MenuClass.prototype.toggleCollapse=function(){if($o(this.el).
|
726
|
-
MenuItem.prototype.tagName='li';MenuItem.prototype.className='menu-item';MenuItem.prototype.initialize=function(attributes,options){var _this=this;this.id=attributes.id;this.el.appendChild(this.collapseButton());this.title=this.make('label',{"class":'title'},attributes.title);$o(this.title).bind('click',function(){return _this.toggleCollapse();});this.el.appendChild(this.title);this.content=this.make('div',{"class":'item-content'});this.el.appendChild(this.content);this.
|
725
|
+
MenuClass.prototype.id='overlay_me_menu';MenuClass.prototype.initialize=function(attributes){var drag_me_line,_this=this;MenuClass.__super__.initialize.call(this,attributes,{default_css:{top:'50px'}});drag_me_line=(new Backbone.View).make('div',{"class":'drag-me'},'Drag me up and down');this.menu_list=(new Backbone.View).make('ul');$o(this.el).append(drag_me_line);$o(this.el).append(this.menu_list);$o('body').append(this.render());$o(drag_me_line).bind('mousedown',function(event){return _this.toggleMove(event);});$o(window).bind('mouseup',function(event){return _this.endMove(event);});return $o(window).bind('overlay_me:toggle_all_display',function(){return _this.toggleDisplay();});};MenuClass.prototype.append=function(element){return this.menu_list.appendChild(element);};MenuClass.prototype.toggleCollapse=function(){if(this.collapsed()){return $o(this.el).removeClass('collapsed');}else{return $o(this.el).addClass('collapsed');}};MenuClass.prototype.collapsed=function(){return $o(this.el).hasClass('collapsed');};return MenuClass;})(OverlayMe.Draggable);if(OverlayMe.mustLoad()){$o(function(){if(!OverlayMe.menu){return OverlayMe.menu=new OverlayMe.MenuClass();}});}}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.MenuItem=(function(_super){__extends(MenuItem,_super);MenuItem.name='MenuItem';function MenuItem(){return MenuItem.__super__.constructor.apply(this,arguments);}
|
726
|
+
MenuItem.prototype.tagName='li';MenuItem.prototype.className='menu-item';MenuItem.prototype.initialize=function(attributes,options){var _this=this;this.id=attributes.id;$o(this.el).addClass(attributes.id);this.el.appendChild(this.collapseButton());this.title=this.make('label',{"class":'title'},attributes.title);$o(this.title).bind('click',function(){return _this.toggleCollapse();});this.el.appendChild(this.title);this.content=this.make('div',{"class":'item-content'});this.el.appendChild(this.content);return this.setCollapse((localStorage.getItem(""+this.id+"-collapsed")==='1'?true:false));};MenuItem.prototype.collapseButton=function(){var _this=this;this.collapseButton=this.make('a',{"class":'collaps-button'},'<span>o</span>');$o(this.collapseButton).bind('click',function(){return _this.toggleCollapse();});return this.collapseButton;};MenuItem.prototype.toggleCollapse=function(){this.setCollapse(!this.collapsed);return this.saveState();};MenuItem.prototype.setCollapse=function(toCollapse){this.collapsed=toCollapse;if(toCollapse){return $o(this.el).addClass('collapsed');}else{return $o(this.el).removeClass('collapsed');}};MenuItem.prototype.append=function(childElemt){return this.content.appendChild(childElemt);};MenuItem.prototype.render=function(){return this.el;};MenuItem.prototype.saveState=function(){return localStorage.setItem(""+this.id+"-collapsed",(this.collapsed?1:0));};return MenuItem;})(Backbone.View);}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.BasicsPanel=(function(_super){__extends(BasicsPanel,_super);BasicsPanel.name='BasicsPanel';function BasicsPanel(){return BasicsPanel.__super__.constructor.apply(this,arguments);}
|
727
|
+
BasicsPanel.prototype.initialize=function(attributes,options){var clear_all_button,collapse_button,hide_button,toggle_all_display,_this=this;BasicsPanel.__super__.initialize.call(this,{id:"basics-options-panel",title:"Basics"},options);collapse_button=(new Backbone.View).make('button',{"class":'collapse'},'Collapse (c)');$o(collapse_button).bind('click',function(event){return OverlayMe.menu.toggleCollapse();});this.append(collapse_button);clear_all_button=(new Backbone.View).make('button',{"class":'reset',onClick:"javascript: OverlayMe.clearAndReload()"},'Reset All (r)');this.append(clear_all_button);toggle_all_display=function(){$o(window).trigger('overlay_me:toggle_all_display');return $o(window).trigger('overlay_me:toggle_overlay_me_images_container_display');};hide_button=(new Backbone.View).make('button',{"class":'hide'},'Hide (h)');$o(hide_button).bind('click',function(event){return toggle_all_display();});this.append(hide_button);OverlayMe.menu.append(this.render());return $o(window).bind('keypress',function(event){if(event.charCode===104){toggle_all_display();}
|
727
728
|
if(event.charCode===99){OverlayMe.menu.toggleCollapse();}
|
728
|
-
if(event.charCode===114){return OverlayMe.clearAndReload();}});}}).call(this);(function(){OverlayMe.Overlays={};OverlayMe.Overlays.urlToId=function(url){return url.replace(/[.:\/]/g,'_').replace(/[^a-zA-Z0-9_\-]/g,'');};OverlayMe.unicorns=["http://fc07.deviantart.net/fs49/f/2009/200/b/3/Fat_Unicorn_and_the_Rainbow_by_la_ratta.jpg","http://www.deviantart.com/download/126388773/Unicorn_Pukes_Rainbow_by_Angel35W.jpg","http://macmcrae.com/wp-content/uploads/2010/02/unicorn.jpg","http://4.bp.blogspot.com/-uPLiez-m9vY/TacC_Bmsn3I/AAAAAAAAAyg/jusQIA8aAME/s1600/Behold_A_Rainbow_Unicorn_Ninja_by_Jess4921.jpg","http://www.everquestdragon.com/everquestdragon/main/image.axd?picture=2009%2F9%2FPaperPaperNewrainbow.png"];}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.Overlays.ContainerItself=(function(_super){__extends(ContainerItself,_super);ContainerItself.name='ContainerItself';function ContainerItself(){return ContainerItself.__super__.constructor.apply(this,arguments);}
|
729
|
+
if(event.charCode===114){return OverlayMe.clearAndReload();}});};return BasicsPanel;})(OverlayMe.MenuItem);$o(function(){if(!OverlayMe.basics_panel){return OverlayMe.basics_panel=new OverlayMe.BasicsPanel();}});}).call(this);(function(){OverlayMe.Overlays={};OverlayMe.Overlays.urlToId=function(url){return url.replace(/[.:\/]/g,'_').replace(/[^a-zA-Z0-9_\-]/g,'');};OverlayMe.unicorns=["http://fc07.deviantart.net/fs49/f/2009/200/b/3/Fat_Unicorn_and_the_Rainbow_by_la_ratta.jpg","http://www.deviantart.com/download/126388773/Unicorn_Pukes_Rainbow_by_Angel35W.jpg","http://macmcrae.com/wp-content/uploads/2010/02/unicorn.jpg","http://4.bp.blogspot.com/-uPLiez-m9vY/TacC_Bmsn3I/AAAAAAAAAyg/jusQIA8aAME/s1600/Behold_A_Rainbow_Unicorn_Ninja_by_Jess4921.jpg","http://www.everquestdragon.com/everquestdragon/main/image.axd?picture=2009%2F9%2FPaperPaperNewrainbow.png"];}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.Overlays.ContainerItself=(function(_super){__extends(ContainerItself,_super);ContainerItself.name='ContainerItself';function ContainerItself(){return ContainerItself.__super__.constructor.apply(this,arguments);}
|
729
730
|
ContainerItself.prototype.tagName='div';ContainerItself.prototype.css_attributes_to_save=['display'];ContainerItself.prototype.initialize=function(attributes,options){var _this=this;ContainerItself.__super__.initialize.call(this,attributes,options);this.loadCss();return $o(window).bind("overlay_me:toggle_"+this.id+"_display",function(event,options){if(options){if(options.show){return _this.show();}else{return _this.hide();}}else{return _this.toggleDisplay();}});};return ContainerItself;})(Backbone.View);_.extend(OverlayMe.Overlays.ContainerItself.prototype,OverlayMe.Mixin.Storable);_.extend(OverlayMe.Overlays.ContainerItself.prototype,OverlayMe.Mixin.Hideable);OverlayMe.Overlays.ImagesContainer=(function(_super){__extends(ImagesContainer,_super);ImagesContainer.name='ImagesContainer';function ImagesContainer(){return ImagesContainer.__super__.constructor.apply(this,arguments);}
|
730
731
|
ImagesContainer.prototype.initialize=function(options){var container;if(!OverlayMe.images_container){OverlayMe.images_container=new OverlayMe.Overlays.ContainerItself({id:'overlay_me_images_container'});$o('body').append(OverlayMe.images_container.el);}
|
731
732
|
if(options.parent_path){container=this.subDirContainer(options.parent_path);}else{container=OverlayMe.images_container;}
|
@@ -754,13 +755,14 @@ return OverlayMe.images_management_div.del(image_id);};DynamicManager.prototype.
|
|
754
755
|
return _results;};DynamicManager.prototype.saveList=function(){return localStorage.setItem('dyn_image_list',JSON.stringify(this.list));};return DynamicManager;})(Backbone.Model);}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.Overlays.ContentDivManagementBlock=(function(_super){__extends(ContentDivManagementBlock,_super);ContentDivManagementBlock.name='ContentDivManagementBlock';function ContentDivManagementBlock(){return ContentDivManagementBlock.__super__.constructor.apply(this,arguments);}
|
755
756
|
ContentDivManagementBlock.prototype.tagName='fieldset';ContentDivManagementBlock.prototype.className='content-mgnt-block';ContentDivManagementBlock.prototype.id='content_div_management_block';ContentDivManagementBlock.prototype.css_attributes_to_save=['z-index','opacity'];ContentDivManagementBlock.prototype.normal_zindex='0';ContentDivManagementBlock.prototype.over_zindex='5';ContentDivManagementBlock.prototype.initialize=function(){var slider_block,unicorn_button,_this=this;this.page_container_div=this.make('div',{id:'overlay_me_page_container'});$o('body').append(this.page_container_div);$o('body > *').each(function(index,thing){if(!(thing.id.match(/^overlay_me/)||thing.tagName==='SCRIPT')){return $o(_this.page_container_div).append(thing);}});this.loadCss(this.page_container_div,{'z-index':this.normal_zindex});unicorn_button=this.make('div',{"class":'unicorns',title:'Feeling corny?'});$o(unicorn_button).bind('click',function(){return OverlayMe.dyn_manager.addImage(OverlayMe.unicorns[Math.floor(Math.random()*OverlayMe.unicorns.length)],{default_css:{opacity:1}});});$o(this.el).append(unicorn_button);$o(this.el).append(this.make('legend',{},'Page content'));slider_block=this.make('div',{"class":'slider-block'});$o(this.el).append(slider_block);slider_block.appendChild(this.make('label',{},'Opacity'));slider_block.appendChild(this.contentSlider());$o(this.el).append(this.zIndexSwitch());return this.bindEvents();};ContentDivManagementBlock.prototype.zIndexSwitch=function(){var block,label,_this=this;block=this.make('div',{"class":'zindex-switch'});this.zIndexSwitch=this.make('input',{type:"checkbox"});$o(block).append(this.zIndexSwitch);setTimeout(function(){if($o("#overlay_me_page_container").css('z-index')===_this.over_zindex){return _this.zIndexSwitch.checked=true;}},500);label=this.make('label',{},'Content on top (t)');$o(label).bind('click',function(){return $o(_this.zIndexSwitch).trigger('click');});return $o(block).append(label);};ContentDivManagementBlock.prototype.contentSlider=function(){return this.contentSlider=this.make('input',{id:"contentSlider",type:"range",value:$o("#overlay_me_page_container").css('opacity')*100});};ContentDivManagementBlock.prototype.bindEvents=function(){var _this=this;$o(this.contentSlider).bind('change',function(){$o("#overlay_me_page_container").css('opacity',$o(_this.contentSlider)[0].value/100);return _this.saveCss(_this.page_container_div);});$o(this.zIndexSwitch).bind('change',function(event){if(_this.zIndexSwitch.checked){$o("#overlay_me_page_container").css({'z-index':_this.over_zindex});}else{$o("#overlay_me_page_container").css({'z-index':_this.normal_zindex});}
|
756
757
|
return _this.saveCss(_this.page_container_div);});return $o(window).bind('keypress',function(event){if(event.charCode===116){return $o(_this.zIndexSwitch).trigger('click');}});};ContentDivManagementBlock.prototype.render=function(){return this.el;};return ContentDivManagementBlock;})(Backbone.View);_.extend(OverlayMe.Overlays.ContentDivManagementBlock.prototype,OverlayMe.Mixin.Storable);}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.Overlays.ImagesManagementDiv=(function(_super){__extends(ImagesManagementDiv,_super);ImagesManagementDiv.name='ImagesManagementDiv';function ImagesManagementDiv(){return ImagesManagementDiv.__super__.constructor.apply(this,arguments);}
|
757
|
-
ImagesManagementDiv.prototype.tagName='fieldset';ImagesManagementDiv.prototype.id='images_mgnt';ImagesManagementDiv.prototype.initialize=function(){$o(this.el).append(this.make('legend',{},'Overlaying images'));this.overlaysListBlock=this.make('div',{"class":'overlays-list'});$o(this.el).append(this.overlaysListBlock);return $o(this.el).append(this.dynamicAddsBlock());};ImagesManagementDiv.prototype.append=function(block){return this.overlaysListBlock.appendChild(block);};ImagesManagementDiv.prototype.del=function(image_id){$o(".overlay-image-block[data-img-id="+image_id+"]",this.el).remove();return $o("#overlay_me_images_container #"+image_id).remove();};ImagesManagementDiv.prototype.dynamicAddsBlock=function(){var dynamicAddsBlock,push_image_button,_this=this;dynamicAddsBlock=this.make('div',{"class":'dynamic-adds'});dynamicAddsBlock.appendChild(this.make('label',{},'Add image'));this.image_url_input=this.make('input',{type:'text',placeholder:"http://"});dynamicAddsBlock.appendChild(this.image_url_input);push_image_button=this.make('button',{},'+');dynamicAddsBlock.appendChild(push_image_button);$o(this.image_url_input).bind('keypress',function(e){if(e.keyCode===13){return _this.pushImage();}});$o(push_image_button).bind('click',function(e){return _this.pushImage();});return dynamicAddsBlock;};ImagesManagementDiv.prototype.pushImage=function(){OverlayMe.dyn_manager.addImage(this.image_url_input.value);return this.image_url_input.value='';};ImagesManagementDiv.prototype.render=function(){return this.el;};return ImagesManagementDiv;})(Backbone.View);}).call(this);(function(){var
|
758
|
+
ImagesManagementDiv.prototype.tagName='fieldset';ImagesManagementDiv.prototype.id='images_mgnt';ImagesManagementDiv.prototype.initialize=function(){$o(this.el).append(this.make('legend',{},'Overlaying images'));this.overlaysListBlock=this.make('div',{"class":'overlays-list'});$o(this.el).append(this.overlaysListBlock);return $o(this.el).append(this.dynamicAddsBlock());};ImagesManagementDiv.prototype.append=function(block){return this.overlaysListBlock.appendChild(block);};ImagesManagementDiv.prototype.del=function(image_id){$o(".overlay-image-block[data-img-id="+image_id+"]",this.el).remove();return $o("#overlay_me_images_container #"+image_id).remove();};ImagesManagementDiv.prototype.dynamicAddsBlock=function(){var dynamicAddsBlock,push_image_button,_this=this;dynamicAddsBlock=this.make('div',{"class":'dynamic-adds'});dynamicAddsBlock.appendChild(this.make('label',{},'Add image'));this.image_url_input=this.make('input',{type:'text',placeholder:"http://"});dynamicAddsBlock.appendChild(this.image_url_input);push_image_button=this.make('button',{},'+');dynamicAddsBlock.appendChild(push_image_button);$o(this.image_url_input).bind('keypress',function(e){if(e.keyCode===13){return _this.pushImage();}});$o(push_image_button).bind('click',function(e){return _this.pushImage();});return dynamicAddsBlock;};ImagesManagementDiv.prototype.pushImage=function(){OverlayMe.dyn_manager.addImage(this.image_url_input.value);return this.image_url_input.value='';};ImagesManagementDiv.prototype.render=function(){return this.el;};return ImagesManagementDiv;})(Backbone.View);}).call(this);(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child;};OverlayMe.OverlaysPanel=(function(_super){__extends(OverlaysPanel,_super);OverlaysPanel.name='OverlaysPanel';function OverlaysPanel(){return OverlaysPanel.__super__.constructor.apply(this,arguments);}
|
759
|
+
OverlaysPanel.prototype.initialize=function(attributes,options){var buildTree,displayTree,files_tree,shiftTofiles;OverlaysPanel.__super__.initialize.call(this,{id:"overlays-panel",title:"Overlays"},options);this.append(new OverlayMe.Overlays.ContentDivManagementBlock().render());OverlayMe.images_management_div=new OverlayMe.Overlays.ImagesManagementDiv();this.append(OverlayMe.images_management_div.render());OverlayMe.menu.append(this.render());$o(window).bind('mousemove',function(event){return $o(window).trigger('mymousemove',event);});OverlayMe.dyn_manager=new OverlayMe.Overlays.DynamicManager();OverlayMe.dyn_manager.loadAll();OverlayMe.loadDefaultImage=function(){if(OverlayMe.dyn_manager.isEmpty()){return OverlayMe.dyn_manager.addImage('https://a248.e.akamai.net/assets.github.com/images/modules/about_page/octocat.png',{default_css:{left:""+(window.document.width*.6)+"px"}});}};$o.ajax({url:'/overlay_images',dataType:'json',success:function(data){if(data.length===0){return OverlayMe.loadDefaultImage();}else{return buildTree(data);}},error:function(){return OverlayMe.loadDefaultImage();}});files_tree={};buildTree=function(data){$o.each(data,function(index,img_path){var bit,bits,parent_path,position,_results;bits=img_path.split('/');position=files_tree;parent_path='/';_results=[];while(bits.length>0){bit=bits[0];bits=bits.slice(1);if(bit===""){continue;}
|
758
760
|
parent_path+=bit+'/';if(position[bit]===void 0){if(bits.length>0){position[bit]={parent_path:parent_path};}else{if(position['files']===void 0){position['files']=[];}
|
759
761
|
position['files'].push(bit);}}
|
760
762
|
_results.push(position=position[bit]);}
|
761
763
|
return _results;});files_tree=shiftTofiles(files_tree);return displayTree(OverlayMe.images_management_div,files_tree);};shiftTofiles=function(tree){var keys;if(tree.files){return tree;}
|
762
764
|
keys=Object.keys(tree);if(keys.length>2){return tree;}
|
763
|
-
keys=_.without(keys,'parent_path');return shiftTofiles(tree[keys[0]]);};displayTree=function(parent,tree){var dir,img,sub_dir,_i,_j,_len,_len1,_ref,_ref1,_results;_ref=Object.keys(tree);for(_i=0,_len=_ref.length;_i<_len;_i++){dir=_ref[_i];if(dir==='files'||dir==='parent_path'){continue;}
|
765
|
+
keys=_.without(keys,'parent_path');return shiftTofiles(tree[keys[0]]);};return displayTree=function(parent,tree){var dir,img,sub_dir,_i,_j,_len,_len1,_ref,_ref1,_results;_ref=Object.keys(tree);for(_i=0,_len=_ref.length;_i<_len;_i++){dir=_ref[_i];if(dir==='files'||dir==='parent_path'){continue;}
|
764
766
|
sub_dir=new OverlayMe.Overlays.ImagesDirectory(dir);parent.append(sub_dir.render());displayTree(sub_dir,tree[dir]);}
|
765
767
|
if(tree.files){_ref1=tree.files;_results=[];for(_j=0,_len1=_ref1.length;_j<_len1;_j++){img=_ref1[_j];_results.push(parent.append(new OverlayMe.Overlays.Image(tree.parent_path+img,{parent_path:tree.parent_path}).render()));}
|
766
|
-
return _results;}};}}).call(this);(function(){
|
768
|
+
return _results;}};};return OverlaysPanel;})(OverlayMe.MenuItem);$o(function(){if(!OverlayMe.overlay_panel){return OverlayMe.overlay_panel=new OverlayMe.OverlaysPanel();}});}).call(this);(function(){OverlayMe.setLoaded();}).call(this);
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overlay_me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 35
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 13
|
9
|
-
-
|
10
|
-
version: 0.13.
|
9
|
+
- 4
|
10
|
+
version: 0.13.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joseph Boiteau
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-09-18 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rake
|
@@ -129,37 +129,50 @@ files:
|
|
129
129
|
- CHANGELOG.md
|
130
130
|
- Gemfile
|
131
131
|
- Gemfile.lock
|
132
|
+
- Guardfile
|
132
133
|
- LICENSE
|
133
134
|
- README.md
|
134
135
|
- Rakefile
|
135
|
-
- javascripts/addons/layout_resizer.js.coffee
|
136
|
-
- javascripts/
|
137
|
-
- javascripts/draggable.js.coffee
|
138
|
-
- javascripts/init.js.coffee
|
139
|
-
- javascripts/lib/backbone.js
|
140
|
-
- javascripts/lib/html5slider.js
|
141
|
-
- javascripts/lib/jquery.js
|
142
|
-
- javascripts/lib/underscore.js
|
143
|
-
- javascripts/menu.js.coffee
|
144
|
-
- javascripts/menu_item.js.coffee
|
145
|
-
- javascripts/mixins/hideable.js.coffee
|
146
|
-
- javascripts/mixins/storable.js.coffee
|
147
|
-
- javascripts/overlay_me.js.coffee
|
148
|
-
- javascripts/overlays.js.coffee
|
149
|
-
- javascripts/overlays/
|
150
|
-
- javascripts/overlays/
|
151
|
-
- javascripts/overlays/
|
152
|
-
- javascripts/overlays/
|
153
|
-
- javascripts/overlays/
|
154
|
-
- javascripts/overlays/
|
155
|
-
- javascripts/overlays/
|
156
|
-
- javascripts/
|
136
|
+
- javascripts/coffeescripts/addons/layout_resizer.js.coffee
|
137
|
+
- javascripts/coffeescripts/basics_panel.js.coffee
|
138
|
+
- javascripts/coffeescripts/draggable.js.coffee
|
139
|
+
- javascripts/coffeescripts/init.js.coffee
|
140
|
+
- javascripts/coffeescripts/lib/backbone.js
|
141
|
+
- javascripts/coffeescripts/lib/html5slider.js
|
142
|
+
- javascripts/coffeescripts/lib/jquery.js
|
143
|
+
- javascripts/coffeescripts/lib/underscore.js
|
144
|
+
- javascripts/coffeescripts/menu.js.coffee
|
145
|
+
- javascripts/coffeescripts/menu_item.js.coffee
|
146
|
+
- javascripts/coffeescripts/mixins/hideable.js.coffee
|
147
|
+
- javascripts/coffeescripts/mixins/storable.js.coffee
|
148
|
+
- javascripts/coffeescripts/overlay_me.js.coffee
|
149
|
+
- javascripts/coffeescripts/overlays/content_div_mngmt.js.coffee
|
150
|
+
- javascripts/coffeescripts/overlays/draggable_image.js.coffee
|
151
|
+
- javascripts/coffeescripts/overlays/dynamic_images_mngmt.js.coffee
|
152
|
+
- javascripts/coffeescripts/overlays/image.js.coffee
|
153
|
+
- javascripts/coffeescripts/overlays/images_container.js.coffee
|
154
|
+
- javascripts/coffeescripts/overlays/images_directory.js.coffee
|
155
|
+
- javascripts/coffeescripts/overlays/images_mngt_div.js.coffee
|
156
|
+
- javascripts/coffeescripts/overlays/init.js.coffee
|
157
|
+
- javascripts/coffeescripts/overlays_panel.js.coffee
|
158
|
+
- javascripts/overlay_me.css_embedded.js
|
159
|
+
- javascripts/overlay_me.js
|
157
160
|
- lib/overlay_me.rb
|
158
161
|
- lib/overlay_me/version.rb
|
159
|
-
- overlay_me.css
|
160
162
|
- overlay_me.gemspec
|
161
|
-
-
|
162
|
-
-
|
163
|
+
- spec/SpecRunner.html
|
164
|
+
- spec/javascripts/coffeescripts/init.spec.js.coffee
|
165
|
+
- spec/javascripts/coffeescripts/menu.spec.js.coffee
|
166
|
+
- spec/javascripts/coffeescripts/menu_item.spec.js.coffee
|
167
|
+
- spec/javascripts/init.spec.js
|
168
|
+
- spec/javascripts/menu.spec.js
|
169
|
+
- spec/javascripts/menu_item.spec.js
|
170
|
+
- spec/lib/jasmine-1.2.0.rc3/MIT.LICENSE
|
171
|
+
- spec/lib/jasmine-1.2.0.rc3/jasmine-html.js
|
172
|
+
- spec/lib/jasmine-1.2.0.rc3/jasmine.css
|
173
|
+
- spec/lib/jasmine-1.2.0.rc3/jasmine.js
|
174
|
+
- stylesheets/overlay_me.css
|
175
|
+
- stylesheets/scss/overlay_me.css.scss
|
163
176
|
- vendor/assets/javascripts/overlay_me/addons/layout_resizer.js
|
164
177
|
- vendor/assets/javascripts/overlay_me/overlay_me.min.js
|
165
178
|
homepage: http://github.com/frontfoot/overlay_me
|