alula-plugins 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ //=require jquery
2
+ //=require jquery.fancybox
3
+
4
+ jQuery ->
5
+ $(".fancybox").fancybox()
File without changes
@@ -0,0 +1,222 @@
1
+ /*! fancyBox v2.0.5 fancyapps.com | fancyapps.com/fancybox/#license */
2
+ .fancybox-tmp iframe, .fancybox-tmp object {
3
+ vertical-align: top;
4
+ padding: 0;
5
+ margin: 0;
6
+ }
7
+
8
+ .fancybox-wrap {
9
+ position: absolute;
10
+ top: 0;
11
+ left: 0;
12
+ z-index: 1002;
13
+ }
14
+
15
+ .fancybox-outer {
16
+ position: relative;
17
+ padding: 0;
18
+ margin: 0;
19
+ background: #f9f9f9;
20
+ color: #444;
21
+ text-shadow: none;
22
+ -webkit-border-radius: 4px;
23
+ -moz-border-radius: 4px;
24
+ border-radius: 4px;
25
+ }
26
+
27
+ .fancybox-opened {
28
+ z-index: 1003;
29
+ }
30
+
31
+ .fancybox-opened .fancybox-outer {
32
+ -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
33
+ -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
34
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
35
+ }
36
+
37
+ .fancybox-inner {
38
+ width: 100%;
39
+ height: 100%;
40
+ padding: 0;
41
+ margin: 0;
42
+ position: relative;
43
+ outline: none;
44
+ overflow: hidden;
45
+ }
46
+
47
+ .fancybox-error {
48
+ color: #444;
49
+ font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
50
+ margin: 0;
51
+ padding: 10px;
52
+ }
53
+
54
+ .fancybox-image, .fancybox-iframe {
55
+ display: block;
56
+ width: 100%;
57
+ height: 100%;
58
+ border: 0;
59
+ padding: 0;
60
+ margin: 0;
61
+ vertical-align: top;
62
+ }
63
+
64
+ .fancybox-image {
65
+ max-width: 100%;
66
+ max-height: 100%;
67
+ }
68
+
69
+ #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
70
+ background-image: url('fancybox_sprite.png');
71
+ }
72
+
73
+ #fancybox-loading {
74
+ position: fixed;
75
+ top: 50%;
76
+ left: 50%;
77
+ margin-top: -22px;
78
+ margin-left: -22px;
79
+ background-position: 0 -108px;
80
+ opacity: 0.8;
81
+ cursor: pointer;
82
+ z-index: 1010;
83
+ }
84
+
85
+ #fancybox-loading div {
86
+ width: 44px;
87
+ height: 44px;
88
+ background: url('fancybox_loading.gif') center center no-repeat;
89
+ }
90
+
91
+ .fancybox-close {
92
+ position: absolute;
93
+ top: -18px;
94
+ right: -18px;
95
+ width: 36px;
96
+ height: 36px;
97
+ cursor: pointer;
98
+ z-index: 1004;
99
+ }
100
+
101
+ .fancybox-nav {
102
+ position: absolute;
103
+ top: 0;
104
+ width: 40%;
105
+ height: 100%;
106
+ cursor: pointer;
107
+ background: transparent url('blank.gif'); /* helps IE */
108
+ z-index: 1003;
109
+ }
110
+
111
+ .fancybox-prev {
112
+ left: 0;
113
+ }
114
+
115
+ .fancybox-next {
116
+ right: 0;
117
+ }
118
+
119
+ .fancybox-nav span {
120
+ position: absolute;
121
+ top: 50%;
122
+ width: 36px;
123
+ height: 36px;
124
+ margin-top: -18px;
125
+ cursor: pointer;
126
+ z-index: 1003;
127
+ visibility: hidden;
128
+ }
129
+
130
+ .fancybox-prev span {
131
+ left: 20px;
132
+ background-position: 0 -36px;
133
+ }
134
+
135
+ .fancybox-next span {
136
+ right: 20px;
137
+ background-position: 0 -72px;
138
+ }
139
+
140
+ .fancybox-nav:hover span {
141
+ visibility: visible;
142
+ }
143
+
144
+ .fancybox-tmp {
145
+ position: absolute;
146
+ top: -9999px;
147
+ left: -9999px;
148
+ padding: 0;
149
+ overflow: visible;
150
+ visibility: hidden;
151
+ }
152
+
153
+ /* Overlay helper */
154
+
155
+ #fancybox-overlay {
156
+ position: absolute;
157
+ top: 0;
158
+ left: 0;
159
+ overflow: hidden;
160
+ display: none;
161
+ z-index: 1001;
162
+ background: #000;
163
+ }
164
+
165
+ /* Title helper */
166
+
167
+ .fancybox-title {
168
+ visibility: hidden;
169
+ font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
170
+ position: relative;
171
+ text-shadow: none;
172
+ z-index: 1005;
173
+ }
174
+
175
+ .fancybox-opened .fancybox-title {
176
+ visibility: visible;
177
+ }
178
+
179
+ .fancybox-title-float-wrap {
180
+ position: absolute;
181
+ bottom: 0;
182
+ right: 50%;
183
+ margin-bottom: -35px;
184
+ z-index: 1003;
185
+ text-align: center;
186
+ }
187
+
188
+ .fancybox-title-float-wrap .child {
189
+ display: inline-block;
190
+ margin-right: -100%;
191
+ padding: 2px 20px;
192
+ background: transparent; /* Fallback for web browsers that doesn't support RGBa */
193
+ background: rgba(0, 0, 0, 0.8);
194
+ -webkit-border-radius: 15px;
195
+ -moz-border-radius: 15px;
196
+ border-radius: 15px;
197
+ text-shadow: 0 1px 2px #222;
198
+ color: #FFF;
199
+ font-weight: bold;
200
+ line-height: 24px;
201
+ white-space: nowrap;
202
+ }
203
+
204
+ .fancybox-title-outside-wrap {
205
+ position: relative;
206
+ margin-top: 10px;
207
+ color: #fff;
208
+ }
209
+
210
+ .fancybox-title-inside-wrap {
211
+ margin-top: 10px;
212
+ }
213
+
214
+ .fancybox-title-over-wrap {
215
+ position: absolute;
216
+ bottom: 0;
217
+ left: 0;
218
+ color: #fff;
219
+ padding: 10px;
220
+ background: #000;
221
+ background: rgba(0, 0, 0, .8);
222
+ }
@@ -0,0 +1,3 @@
1
+ /*
2
+ *=require jquery.fancybox
3
+ */
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: alula-plugins
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mikko Kokkonen
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-04-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: alula
16
+ requirement: &70142059595480 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70142059595480
25
+ description: Plugins for Alula blog
26
+ email:
27
+ - mikko@owlforestry.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - .gitignore
33
+ - Gemfile
34
+ - LICENSE
35
+ - README.md
36
+ - Rakefile
37
+ - alula-plugins.gemspec
38
+ - lib/alula/plugins.rb
39
+ - lib/alula/plugins/lightbox.rb
40
+ - lib/alula/plugins/version.rb
41
+ - plugins/.DS_Store
42
+ - plugins/lightbox/.DS_Store
43
+ - plugins/lightbox/javascripts/.DS_Store
44
+ - plugins/lightbox/javascripts/jquery.fancybox.js
45
+ - plugins/lightbox/javascripts/lightbox.js.coffee
46
+ - plugins/lightbox/javascripts/lightbox_body.js
47
+ - plugins/lightbox/stylesheets/.DS_Store
48
+ - plugins/lightbox/stylesheets/jquery.fancybox.css
49
+ - plugins/lightbox/stylesheets/lightbox.css
50
+ homepage: ''
51
+ licenses: []
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ requirements: []
69
+ rubyforge_project:
70
+ rubygems_version: 1.8.17
71
+ signing_key:
72
+ specification_version: 3
73
+ summary: Simple, ready to use plugins for Alula blogs.
74
+ test_files: []