rails-gallery 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. data/.document +5 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +9 -0
  4. data/Gemfile.lock +37 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.md +298 -0
  7. data/Rakefile +49 -0
  8. data/VERSION +1 -0
  9. data/app/views/gallery/_galleria.html.haml +4 -0
  10. data/app/views/gallery/_responsive.html.haml +15 -0
  11. data/app/views/gallery/_slideshow.html.haml +26 -0
  12. data/app/views/gallery/template/_responsive.html.haml +14 -0
  13. data/config/locales/rails_gallery.yml +5 -0
  14. data/lib/rails-gallery.rb +3 -0
  15. data/lib/rails-gallery/engine.rb +9 -0
  16. data/lib/rails-gallery/rgallery.rb +7 -0
  17. data/lib/rails-gallery/rgallery/page.rb +24 -0
  18. data/lib/rails-gallery/rgallery/pages.rb +34 -0
  19. data/lib/rails-gallery/rgallery/photo.rb +50 -0
  20. data/lib/rails-gallery/rgallery/photo_config.rb +18 -0
  21. data/lib/rails-gallery/rgallery/photos.rb +45 -0
  22. data/lib/rails-gallery/view_helper.rb +27 -0
  23. data/lib/rails-gallery/view_helper/galleria.rb +11 -0
  24. data/lib/rails-gallery/view_helper/responsive.rb +9 -0
  25. data/lib/rails-gallery/view_helper/slideshow.rb +9 -0
  26. data/rails-gallery.gemspec +217 -0
  27. data/spec/galleria_snippet.html +54 -0
  28. data/spec/galleria_snippet.html.haml +9 -0
  29. data/spec/images/photo_gallery/icons/IconsByGentleface.txt +1 -0
  30. data/spec/images/photo_gallery/icons/grid.png +0 -0
  31. data/spec/images/photo_gallery/icons/loading.gif +0 -0
  32. data/spec/images/photo_gallery/icons/next.png +0 -0
  33. data/spec/images/photo_gallery/icons/next_thumb.png +0 -0
  34. data/spec/images/photo_gallery/icons/pause.png +0 -0
  35. data/spec/images/photo_gallery/icons/play.png +0 -0
  36. data/spec/images/photo_gallery/icons/prev.png +0 -0
  37. data/spec/images/photo_gallery/icons/prev_thumb.png +0 -0
  38. data/spec/images/photo_gallery/icons/up.png +0 -0
  39. data/spec/images/photo_gallery/images/1.jpg +0 -0
  40. data/spec/images/photo_gallery/images/10.jpg +0 -0
  41. data/spec/images/photo_gallery/images/11.jpg +0 -0
  42. data/spec/images/photo_gallery/images/12.jpg +0 -0
  43. data/spec/images/photo_gallery/images/2.jpg +0 -0
  44. data/spec/images/photo_gallery/images/3.jpg +0 -0
  45. data/spec/images/photo_gallery/images/4.jpg +0 -0
  46. data/spec/images/photo_gallery/images/5.jpg +0 -0
  47. data/spec/images/photo_gallery/images/6.jpg +0 -0
  48. data/spec/images/photo_gallery/images/7.jpg +0 -0
  49. data/spec/images/photo_gallery/images/8.jpg +0 -0
  50. data/spec/images/photo_gallery/images/9.jpg +0 -0
  51. data/spec/images/photo_gallery/images/ImagesByTibchris.txt +3 -0
  52. data/spec/images/photo_gallery/images/thumbs/1.jpg +0 -0
  53. data/spec/images/photo_gallery/images/thumbs/10.jpg +0 -0
  54. data/spec/images/photo_gallery/images/thumbs/11.jpg +0 -0
  55. data/spec/images/photo_gallery/images/thumbs/12.jpg +0 -0
  56. data/spec/images/photo_gallery/images/thumbs/2.jpg +0 -0
  57. data/spec/images/photo_gallery/images/thumbs/3.jpg +0 -0
  58. data/spec/images/photo_gallery/images/thumbs/4.jpg +0 -0
  59. data/spec/images/photo_gallery/images/thumbs/5.jpg +0 -0
  60. data/spec/images/photo_gallery/images/thumbs/6.jpg +0 -0
  61. data/spec/images/photo_gallery/images/thumbs/7.jpg +0 -0
  62. data/spec/images/photo_gallery/images/thumbs/8.jpg +0 -0
  63. data/spec/images/photo_gallery/images/thumbs/9.jpg +0 -0
  64. data/spec/images/property/1.jpg +0 -0
  65. data/spec/images/property/2.jpg +0 -0
  66. data/spec/images/property/3.jpg +0 -0
  67. data/spec/images/property/4.jpg +0 -0
  68. data/spec/images/property/5.jpg +0 -0
  69. data/spec/images/property/6.jpg +0 -0
  70. data/spec/images/property/7.jpg +0 -0
  71. data/spec/images/property/ads/ad1.jpg +0 -0
  72. data/spec/images/property/ads/ad2.jpg +0 -0
  73. data/spec/images/property/ads/ad3.jpg +0 -0
  74. data/spec/images/property/thumbs/1.jpg +0 -0
  75. data/spec/images/property/thumbs/2.jpg +0 -0
  76. data/spec/images/property/thumbs/3.jpg +0 -0
  77. data/spec/images/property/thumbs/4.jpg +0 -0
  78. data/spec/images/property/thumbs/5.jpg +0 -0
  79. data/spec/images/property/thumbs/6.jpg +0 -0
  80. data/spec/images/property/thumbs/7.jpg +0 -0
  81. data/spec/images/responsive-gallery/icons/ajax-loader.gif +0 -0
  82. data/spec/images/responsive-gallery/icons/black.png +0 -0
  83. data/spec/images/responsive-gallery/icons/nav.png +0 -0
  84. data/spec/images/responsive-gallery/icons/nav_thumbs.png +0 -0
  85. data/spec/images/responsive-gallery/icons/pattern.png +0 -0
  86. data/spec/images/responsive-gallery/icons/views.png +0 -0
  87. data/spec/images/responsive-gallery/images/1.jpg +0 -0
  88. data/spec/images/responsive-gallery/images/10.jpg +0 -0
  89. data/spec/images/responsive-gallery/images/11.jpg +0 -0
  90. data/spec/images/responsive-gallery/images/12.jpg +0 -0
  91. data/spec/images/responsive-gallery/images/13.jpg +0 -0
  92. data/spec/images/responsive-gallery/images/14.jpg +0 -0
  93. data/spec/images/responsive-gallery/images/15.jpg +0 -0
  94. data/spec/images/responsive-gallery/images/16.jpg +0 -0
  95. data/spec/images/responsive-gallery/images/17.jpg +0 -0
  96. data/spec/images/responsive-gallery/images/18.jpg +0 -0
  97. data/spec/images/responsive-gallery/images/19.jpg +0 -0
  98. data/spec/images/responsive-gallery/images/2.jpg +0 -0
  99. data/spec/images/responsive-gallery/images/20.jpg +0 -0
  100. data/spec/images/responsive-gallery/images/21.jpg +0 -0
  101. data/spec/images/responsive-gallery/images/22.jpg +0 -0
  102. data/spec/images/responsive-gallery/images/23.jpg +0 -0
  103. data/spec/images/responsive-gallery/images/24.jpg +0 -0
  104. data/spec/images/responsive-gallery/images/3.jpg +0 -0
  105. data/spec/images/responsive-gallery/images/4.jpg +0 -0
  106. data/spec/images/responsive-gallery/images/5.jpg +0 -0
  107. data/spec/images/responsive-gallery/images/6.jpg +0 -0
  108. data/spec/images/responsive-gallery/images/7.jpg +0 -0
  109. data/spec/images/responsive-gallery/images/8.jpg +0 -0
  110. data/spec/images/responsive-gallery/images/9.jpg +0 -0
  111. data/spec/images/responsive-gallery/images/thumbs/1.jpg +0 -0
  112. data/spec/images/responsive-gallery/images/thumbs/10.jpg +0 -0
  113. data/spec/images/responsive-gallery/images/thumbs/11.jpg +0 -0
  114. data/spec/images/responsive-gallery/images/thumbs/12.jpg +0 -0
  115. data/spec/images/responsive-gallery/images/thumbs/13.jpg +0 -0
  116. data/spec/images/responsive-gallery/images/thumbs/14.jpg +0 -0
  117. data/spec/images/responsive-gallery/images/thumbs/15.jpg +0 -0
  118. data/spec/images/responsive-gallery/images/thumbs/16.jpg +0 -0
  119. data/spec/images/responsive-gallery/images/thumbs/17.jpg +0 -0
  120. data/spec/images/responsive-gallery/images/thumbs/18.jpg +0 -0
  121. data/spec/images/responsive-gallery/images/thumbs/19.jpg +0 -0
  122. data/spec/images/responsive-gallery/images/thumbs/2.jpg +0 -0
  123. data/spec/images/responsive-gallery/images/thumbs/20.jpg +0 -0
  124. data/spec/images/responsive-gallery/images/thumbs/21.jpg +0 -0
  125. data/spec/images/responsive-gallery/images/thumbs/22.jpg +0 -0
  126. data/spec/images/responsive-gallery/images/thumbs/23.jpg +0 -0
  127. data/spec/images/responsive-gallery/images/thumbs/24.jpg +0 -0
  128. data/spec/images/responsive-gallery/images/thumbs/3.jpg +0 -0
  129. data/spec/images/responsive-gallery/images/thumbs/4.jpg +0 -0
  130. data/spec/images/responsive-gallery/images/thumbs/5.jpg +0 -0
  131. data/spec/images/responsive-gallery/images/thumbs/6.jpg +0 -0
  132. data/spec/images/responsive-gallery/images/thumbs/7.jpg +0 -0
  133. data/spec/images/responsive-gallery/images/thumbs/8.jpg +0 -0
  134. data/spec/images/responsive-gallery/images/thumbs/9.jpg +0 -0
  135. data/spec/rails-gallery_spec.rb +7 -0
  136. data/spec/spec_helper.rb +10 -0
  137. data/vendor/assets/images/gallery/galleria/classic/loader.gif +0 -0
  138. data/vendor/assets/images/gallery/galleria/classic/map.png +0 -0
  139. data/vendor/assets/images/gallery/responsive/icons/ajax-loader.gif +0 -0
  140. data/vendor/assets/images/gallery/responsive/icons/black.png +0 -0
  141. data/vendor/assets/images/gallery/responsive/icons/nav.png +0 -0
  142. data/vendor/assets/images/gallery/responsive/icons/nav_thumbs.png +0 -0
  143. data/vendor/assets/images/gallery/responsive/icons/pattern.png +0 -0
  144. data/vendor/assets/images/gallery/responsive/icons/views.png +0 -0
  145. data/vendor/assets/images/gallery/slideshow/icons/grid.png +0 -0
  146. data/vendor/assets/images/gallery/slideshow/icons/loading.gif +0 -0
  147. data/vendor/assets/images/gallery/slideshow/icons/next.png +0 -0
  148. data/vendor/assets/images/gallery/slideshow/icons/next_thumb.png +0 -0
  149. data/vendor/assets/images/gallery/slideshow/icons/pause.png +0 -0
  150. data/vendor/assets/images/gallery/slideshow/icons/play.png +0 -0
  151. data/vendor/assets/images/gallery/slideshow/icons/prev.png +0 -0
  152. data/vendor/assets/images/gallery/slideshow/icons/prev_thumb.png +0 -0
  153. data/vendor/assets/images/gallery/slideshow/icons/up.png +0 -0
  154. data/vendor/assets/javascripts/gallery/galleria-1.2.8.js +5926 -0
  155. data/vendor/assets/javascripts/gallery/galleria-1.2.8.min.js +9 -0
  156. data/vendor/assets/javascripts/gallery/galleria/classic.js +95 -0
  157. data/vendor/assets/javascripts/gallery/galleria/classic.min.js +8 -0
  158. data/vendor/assets/javascripts/gallery/responsive.js +261 -0
  159. data/vendor/assets/javascripts/gallery/slideshow.js +308 -0
  160. data/vendor/assets/javascripts/jquery/jquery.easing-1.3.js +205 -0
  161. data/vendor/assets/javascripts/jquery/jquery.elastislide.js +467 -0
  162. data/vendor/assets/javascripts/jquery/jquery.tmpl.min.js +1 -0
  163. data/vendor/assets/stylesheets/gallery/galleria/classic.css +217 -0
  164. data/vendor/assets/stylesheets/gallery/responsive.css +105 -0
  165. data/vendor/assets/stylesheets/gallery/responsive/elastislide.css +69 -0
  166. data/vendor/assets/stylesheets/gallery/slideshow.css +171 -0
  167. metadata +297 -0
@@ -0,0 +1 @@
1
+ (function(a){var r=a.fn.domManip,d="_tmplitem",q=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,b={},f={},e,p={key:0,data:{}},h=0,c=0,l=[];function g(e,d,g,i){var c={data:i||(d?d.data:{}),_wrap:d?d._wrap:null,tmpl:null,parent:d||null,nodes:[],calls:u,nest:w,wrap:x,html:v,update:t};e&&a.extend(c,e,{nodes:[],parent:d});if(g){c.tmpl=g;c._ctnt=c._ctnt||c.tmpl(a,c);c.key=++h;(l.length?f:b)[h]=c}return c}a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(f,d){a.fn[f]=function(n){var g=[],i=a(n),k,h,m,l,j=this.length===1&&this[0].parentNode;e=b||{};if(j&&j.nodeType===11&&j.childNodes.length===1&&i.length===1){i[d](this[0]);g=this}else{for(h=0,m=i.length;h<m;h++){c=h;k=(h>0?this.clone(true):this).get();a.fn[d].apply(a(i[h]),k);g=g.concat(k)}c=0;g=this.pushStack(g,f,i.selector)}l=e;e=null;a.tmpl.complete(l);return g}});a.fn.extend({tmpl:function(d,c,b){return a.tmpl(this[0],d,c,b)},tmplItem:function(){return a.tmplItem(this[0])},template:function(b){return a.template(b,this[0])},domManip:function(d,l,j){if(d[0]&&d[0].nodeType){var f=a.makeArray(arguments),g=d.length,i=0,h;while(i<g&&!(h=a.data(d[i++],"tmplItem")));if(g>1)f[0]=[a.makeArray(d)];if(h&&c)f[2]=function(b){a.tmpl.afterManip(this,b,j)};r.apply(this,f)}else r.apply(this,arguments);c=0;!e&&a.tmpl.complete(b);return this}});a.extend({tmpl:function(d,h,e,c){var j,k=!c;if(k){c=p;d=a.template[d]||a.template(null,d);f={}}else if(!d){d=c.tmpl;b[c.key]=c;c.nodes=[];c.wrapped&&n(c,c.wrapped);return a(i(c,null,c.tmpl(a,c)))}if(!d)return[];if(typeof h==="function")h=h.call(c||{});e&&e.wrapped&&n(e,e.wrapped);j=a.isArray(h)?a.map(h,function(a){return a?g(e,c,d,a):null}):[g(e,c,d,h)];return k?a(i(c,null,j)):j},tmplItem:function(b){var c;if(b instanceof a)b=b[0];while(b&&b.nodeType===1&&!(c=a.data(b,"tmplItem"))&&(b=b.parentNode));return c||p},template:function(c,b){if(b){if(typeof b==="string")b=o(b);else if(b instanceof a)b=b[0]||{};if(b.nodeType)b=a.data(b,"tmpl")||a.data(b,"tmpl",o(b.innerHTML));return typeof c==="string"?(a.template[c]=b):b}return c?typeof c!=="string"?a.template(null,c):a.template[c]||a.template(null,q.test(c)?c:a(c)):null},encode:function(a){return(""+a).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});a.extend(a.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){_=_.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(_,$1,$2);_=[];",close:"call=$item.calls();_=call._.concat($item.wrap(call,_));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){_.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){_.push($.encode($1a));}"},"!":{open:""}},complete:function(){b={}},afterManip:function(f,b,d){var e=b.nodeType===11?a.makeArray(b.childNodes):b.nodeType===1?[b]:[];d.call(f,b);m(e);c++}});function i(e,g,f){var b,c=f?a.map(f,function(a){return typeof a==="string"?e.key?a.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+d+'="'+e.key+'" $2'):a:i(a,e,a._ctnt)}):e;if(g)return c;c=c.join("");c.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(f,c,e,d){b=a(e).get();m(b);if(c)b=j(c).concat(b);if(d)b=b.concat(j(d))});return b?b:j(c)}function j(c){var b=document.createElement("div");b.innerHTML=c;return a.makeArray(b.childNodes)}function o(b){return new Function("jQuery","$item","var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('"+a.trim(b).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(m,l,j,d,b,c,e){var i=a.tmpl.tag[j],h,f,g;if(!i)throw"Template command not found: "+j;h=i._default||[];if(c&&!/\w$/.test(b)){b+=c;c=""}if(b){b=k(b);e=e?","+k(e)+")":c?")":"";f=c?b.indexOf(".")>-1?b+c:"("+b+").call($item"+e:b;g=c?f:"(typeof("+b+")==='function'?("+b+").call($item):("+b+"))"}else g=f=h.$1||"null";d=k(d);return"');"+i[l?"close":"open"].split("$notnull_1").join(b?"typeof("+b+")!=='undefined' && ("+b+")!=null":"true").split("$1a").join(g).split("$1").join(f).split("$2").join(d?d.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g,function(d,c,b,a){a=a?","+a+")":b?")":"";return a?"("+c+").call($item"+a:d}):h.$2||"")+"_.push('"})+"');}return _;")}function n(c,b){c._wrap=i(c,true,a.isArray(b)?b:[q.test(b)?b:a(b).html()]).join("")}function k(a){return a?a.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function s(b){var a=document.createElement("div");a.appendChild(b.cloneNode(true));return a.innerHTML}function m(o){var n="_"+c,k,j,l={},e,p,i;for(e=0,p=o.length;e<p;e++){if((k=o[e]).nodeType!==1)continue;j=k.getElementsByTagName("*");for(i=j.length-1;i>=0;i--)m(j[i]);m(k)}function m(j){var p,i=j,k,e,m;if(m=j.getAttribute(d)){while(i.parentNode&&(i=i.parentNode).nodeType===1&&!(p=i.getAttribute(d)));if(p!==m){i=i.parentNode?i.nodeType===11?0:i.getAttribute(d)||0:0;if(!(e=b[m])){e=f[m];e=g(e,b[i]||f[i],null,true);e.key=++h;b[h]=e}c&&o(m)}j.removeAttribute(d)}else if(c&&(e=a.data(j,"tmplItem"))){o(e.key);b[e.key]=e;i=a.data(j.parentNode,"tmplItem");i=i?i.key:0}if(e){k=e;while(k&&k.key!=i){k.nodes.push(j);k=k.parent}delete e._ctnt;delete e._wrap;a.data(j,"tmplItem",e)}function o(a){a=a+n;e=l[a]=l[a]||g(e,b[e.parent.key+n]||e.parent,null,true)}}}function u(a,d,c,b){if(!a)return l.pop();l.push({_:a,tmpl:d,item:this,data:c,options:b})}function w(d,c,b){return a.tmpl(a.template(d),c,b,this)}function x(b,d){var c=b.options||{};c.wrapped=d;return a.tmpl(a.template(b.tmpl),b.data,c,b.item)}function v(d,c){var b=this._wrap;return a.map(a(a.isArray(b)?b.join(""):b).filter(d||"*"),function(a){return c?a.innerText||a.textContent:a.outerHTML||s(a)})}function t(){var b=this.nodes;a.tmpl(null,null,null,this).insertBefore(b[0]);a(b).remove()}})(jQuery)
@@ -0,0 +1,217 @@
1
+ /* Galleria Classic Theme 2012-08-07 | https://raw.github.com/aino/galleria/master/LICENSE | (c) Aino */
2
+
3
+ #galleria-loader{height:1px!important}
4
+
5
+ .galleria-container {
6
+ position: relative;
7
+ overflow: hidden;
8
+ background: #000;
9
+ }
10
+ .galleria-container img {
11
+ -moz-user-select: none;
12
+ -webkit-user-select: none;
13
+ -o-user-select: none;
14
+ }
15
+ .galleria-stage {
16
+ position: absolute;
17
+ top: 10px;
18
+ bottom: 60px;
19
+ left: 10px;
20
+ right: 10px;
21
+ overflow:hidden;
22
+ }
23
+ .galleria-thumbnails-container {
24
+ height: 50px;
25
+ bottom: 0;
26
+ position: absolute;
27
+ left: 10px;
28
+ right: 10px;
29
+ z-index: 2;
30
+ }
31
+ .galleria-carousel .galleria-thumbnails-list {
32
+ margin-left: 30px;
33
+ margin-right: 30px;
34
+ }
35
+ .galleria-thumbnails .galleria-image {
36
+ height: 40px;
37
+ width: 60px;
38
+ background: #000;
39
+ margin: 0 5px 0 0;
40
+ border: 1px solid #000;
41
+ float: left;
42
+ cursor: pointer;
43
+ }
44
+ .galleria-counter {
45
+ position: absolute;
46
+ bottom: 10px;
47
+ left: 10px;
48
+ text-align: right;
49
+ color: #fff;
50
+ font: normal 11px/1 arial,sans-serif;
51
+ z-index: 1;
52
+ }
53
+ .galleria-loader {
54
+ background: #000;
55
+ width: 20px;
56
+ height: 20px;
57
+ position: absolute;
58
+ top: 10px;
59
+ right: 10px;
60
+ z-index: 2;
61
+ display: none;
62
+ background: url(/assets/galleria/classic/loader.gif) no-repeat 2px 2px;
63
+ }
64
+ .galleria-info {
65
+ width: 50%;
66
+ top: 15px;
67
+ left: 15px;
68
+ z-index: 2;
69
+ position: absolute;
70
+ }
71
+ .galleria-info-text {
72
+ background-color: #000;
73
+ padding: 12px;
74
+ display: none;
75
+ /* IE7 */ zoom:1;
76
+ }
77
+ .galleria-info-title {
78
+ font: bold 12px/1.1 arial,sans-serif;
79
+ margin: 0;
80
+ color: #fff;
81
+ margin-bottom: 7px;
82
+ }
83
+ .galleria-info-description {
84
+ font: italic 12px/1.4 georgia,serif;
85
+ margin: 0;
86
+ color: #bbb;
87
+ }
88
+ .galleria-info-close {
89
+ width: 9px;
90
+ height: 9px;
91
+ position: absolute;
92
+ top: 5px;
93
+ right: 5px;
94
+ background-position: -753px -11px;
95
+ opacity: .5;
96
+ filter: alpha(opacity=50);
97
+ cursor: pointer;
98
+ display: none;
99
+ }
100
+ .notouch .galleria-info-close:hover{
101
+ opacity:1;
102
+ filter: alpha(opacity=100);
103
+ }
104
+ .touch .galleria-info-close:active{
105
+ opacity:1;
106
+ filter: alpha(opacity=100);
107
+ }
108
+ .galleria-info-link {
109
+ background-position: -669px -5px;
110
+ opacity: .7;
111
+ filter: alpha(opacity=70);
112
+ position: absolute;
113
+ width: 20px;
114
+ height: 20px;
115
+ cursor: pointer;
116
+ background-color: #000;
117
+ }
118
+ .notouch .galleria-info-link:hover {
119
+ opacity: 1;
120
+ filter: alpha(opacity=100);
121
+ }
122
+ .touch .galleria-info-link:active {
123
+ opacity: 1;
124
+ filter: alpha(opacity=100);
125
+ }
126
+ .galleria-image-nav {
127
+ position: absolute;
128
+ top: 50%;
129
+ margin-top: -62px;
130
+ width: 100%;
131
+ height: 62px;
132
+ left: 0;
133
+ }
134
+ .galleria-image-nav-left,
135
+ .galleria-image-nav-right {
136
+ opacity: .3;
137
+ filter: alpha(opacity=30);
138
+ cursor: pointer;
139
+ width: 62px;
140
+ height: 124px;
141
+ position: absolute;
142
+ left: 10px;
143
+ z-index: 2;
144
+ background-position: 0 46px;
145
+ }
146
+ .galleria-image-nav-right {
147
+ left: auto;
148
+ right: 10px;
149
+ background-position: -254px 46px;
150
+ z-index: 2;
151
+ }
152
+ .notouch .galleria-image-nav-left:hover,
153
+ .notouch .galleria-image-nav-right:hover {
154
+ opacity: 1;
155
+ filter: alpha(opacity=100);
156
+ }
157
+ .touch .galleria-image-nav-left:active,
158
+ .touch .galleria-image-nav-right:active {
159
+ opacity: 1;
160
+ filter: alpha(opacity=100);
161
+ }
162
+ .galleria-thumb-nav-left,
163
+ .galleria-thumb-nav-right {
164
+ cursor: pointer;
165
+ display: none;
166
+ background-position: -495px 5px;
167
+ position: absolute;
168
+ left: 0;
169
+ top: 0;
170
+ height: 40px;
171
+ width: 23px;
172
+ z-index: 3;
173
+ opacity: .8;
174
+ filter: alpha(opacity=80);
175
+ }
176
+ .galleria-thumb-nav-right {
177
+ background-position: -578px 5px;
178
+ border-right: none;
179
+ right: 0;
180
+ left: auto;
181
+ }
182
+ .galleria-thumbnails-container .disabled {
183
+ opacity: .2;
184
+ filter: alpha(opacity=20);
185
+ cursor: default;
186
+ }
187
+ .notouch .galleria-thumb-nav-left:hover,
188
+ .notouch .galleria-thumb-nav-right:hover {
189
+ opacity: 1;
190
+ filter: alpha(opacity=100);
191
+ background-color: #111;
192
+ }
193
+ .touch .galleria-thumb-nav-left:active,
194
+ .touch .galleria-thumb-nav-right:active {
195
+ opacity: 1;
196
+ filter: alpha(opacity=100);
197
+ background-color: #111;
198
+ }
199
+ .notouch .galleria-thumbnails-container .disabled:hover {
200
+ opacity: .2;
201
+ filter: alpha(opacity=20);
202
+ background-color: transparent;
203
+ }
204
+
205
+ .galleria-carousel .galleria-thumb-nav-left,
206
+ .galleria-carousel .galleria-thumb-nav-right {
207
+ display: block;
208
+ }
209
+ .galleria-thumb-nav-left,
210
+ .galleria-thumb-nav-right,
211
+ .galleria-info-link,
212
+ .galleria-info-close,
213
+ .galleria-image-nav-left,
214
+ .galleria-image-nav-right {
215
+ background-image: url(/assets/galleria/classic/map.png);
216
+ background-repeat: no-repeat;
217
+ }
@@ -0,0 +1,105 @@
1
+ .rg-view{
2
+ display: none;
3
+ }
4
+
5
+ .rg-thumbs {
6
+ padding-top: 10px;
7
+ }
8
+
9
+ .rg-image-wrapper{
10
+ position:relative;
11
+ padding:20px 30px;
12
+ background:transparent url(/assets/gallery/responsive/icons/black.png) repeat top left;
13
+ -moz-border-radius: 10px;
14
+ -webkit-border-radius: 10px;
15
+ border-radius: 10px;
16
+ min-height:20px;
17
+ }
18
+ .rg-image{
19
+ position:relative;
20
+ text-align:center;
21
+ line-height:0px;
22
+ }
23
+ .rg-image img{
24
+ max-height:100%;
25
+ max-width:100%;
26
+ }
27
+ .rg-image-nav a{
28
+ position:absolute;
29
+ top:0px;
30
+ left:0px;
31
+ background:#000 url(/assets/gallery/responsive/icons/nav.png) no-repeat -20% 50%;
32
+ width:28px;
33
+ height:100%;
34
+ text-indent:-9000px;
35
+ cursor:pointer;
36
+ opacity:0.3;
37
+ outline:none;
38
+ -moz-border-radius: 10px 0px 0px 10px;
39
+ -webkit-border-radius: 10px 0px 0px 10px;
40
+ border-radius: 10px 0px 0px 10px;
41
+ }
42
+ .rg-image-nav a.rg-image-nav-next{
43
+ right:0px;
44
+ left:auto;
45
+ background-position:115% 50%;
46
+ -moz-border-radius: 0px 10px 10px 0px;
47
+ -webkit-border-radius: 0px 10px 10px 0px;
48
+ border-radius: 0px 10px 10px 0px;
49
+ }
50
+ .rg-image-nav a:hover{
51
+ opacity:0.8;
52
+ }
53
+ .rg-caption {
54
+ text-align:center;
55
+ margin-top:15px;
56
+ position:relative;
57
+ }
58
+ .rg-caption p{
59
+ font-size:11px;
60
+ letter-spacing:2px;
61
+ font-family: 'Trebuchet MS', 'Myriad Pro', Arial, sans-serif;
62
+ line-height:16px;
63
+ padding:0 15px;
64
+ text-transform:uppercase;
65
+ }
66
+ .rg-view{
67
+ height:30px;
68
+ }
69
+ .rg-view a{
70
+ display:block;
71
+ float:right;
72
+ width:16px;
73
+ height:16px;
74
+ margin-right:3px;
75
+ background:#464646 url(/assets/gallery/responsive/icons/views.png) no-repeat top left;
76
+ border:3px solid #464646;
77
+ opacity:0.8;
78
+ }
79
+ .rg-view a:hover{
80
+ opacity:1.0;
81
+ }
82
+ .rg-view a.rg-view-full{
83
+ background-position:0px 0px;
84
+ }
85
+ .rg-view a.rg-view-selected{
86
+ background-color:#6f6f6f;
87
+ border-color:#6f6f6f;
88
+ }
89
+ .rg-view a.rg-view-thumbs{
90
+ background-position:0px -16px;
91
+ }
92
+ .rg-loading{
93
+ width:46px;
94
+ height:46px;
95
+ position:absolute;
96
+ top:50%;
97
+ left:50%;
98
+ background:#000 url(/assets/gallery/responsive/icons/ajax-loader.gif) no-repeat center center;
99
+ margin:-23px 0px 0px -23px;
100
+ z-index:100;
101
+ -moz-border-radius: 10px;
102
+ -webkit-border-radius: 10px;
103
+ border-radius: 10px;
104
+ opacity:0.7;
105
+ }
@@ -0,0 +1,69 @@
1
+ /* Elastislide Style */
2
+ .es-carousel-wrapper{
3
+ background: #101010;
4
+ padding:10px 27px;
5
+ -moz-border-radius: 10px;
6
+ -webkit-border-radius: 10px;
7
+ border-radius: 10px;
8
+ position:relative;
9
+ -moz-box-shadow:0px 1px 3px rgba(0, 0, 0, 0.9);
10
+ -webkit-box-shadow:0px 1px 3px rgba(0, 0, 0, 0.9);
11
+ box-shadow:0px 1px 3px rgba(0, 0, 0, 0.9);
12
+ position:relative;
13
+ margin-bottom:20px;
14
+ }
15
+ .es-carousel{
16
+ overflow:hidden;
17
+ background:#000;
18
+ }
19
+ .es-carousel ul{
20
+ display:none;
21
+ }
22
+ .es-carousel ul li{
23
+ height:100%;
24
+ float:left;
25
+ display:block;
26
+ }
27
+ .es-carousel ul li a{
28
+ display:block;
29
+ border-style:solid;
30
+ border-color:#222;
31
+ opacity:0.8;
32
+ -webkit-touch-callout:none;
33
+ /* option */
34
+ -webkit-transition: all 0.2s ease-in-out;
35
+ -moz-transition: all 0.2s ease-in-out;
36
+ -o-transition: all 0.2s ease-in-out;
37
+ -ms-transition: all 0.2s ease-in-out;
38
+ transition: all 0.2s ease-in-out;
39
+ }
40
+ .es-carousel ul li.selected a{
41
+ border-color:#fff;
42
+ opacity:1.0;
43
+ }
44
+ .es-carousel ul li a img{
45
+ display:block;
46
+ border:none;
47
+ max-height:100%;
48
+ max-width:100%;
49
+ }
50
+ .es-nav span{
51
+ position:absolute;
52
+ top:50%;
53
+ left:8px;
54
+ background:transparent url(/assets/gallery/responsive/icons/nav_thumbs.png) no-repeat top left;
55
+ width:14px;
56
+ height:26px;
57
+ margin-top:-13px;
58
+ text-indent:-9000px;
59
+ cursor:pointer;
60
+ opacity:0.8;
61
+ }
62
+ .es-nav span.es-nav-next{
63
+ right:8px;
64
+ left:auto;
65
+ background-position:top right;
66
+ }
67
+ .es-nav span:hover{
68
+ opacity:1.0;
69
+ }
@@ -0,0 +1,171 @@
1
+ .msg_slideshow{
2
+ width:400px;
3
+ height:400px;
4
+ padding:10px;
5
+ position:relative;
6
+ overflow:hidden;
7
+ background:#101010 url(/assets/gallery/slideshow/icons/loading.gif) no-repeat center center;
8
+ -moz-border-radius:10px;
9
+ -webkit-border-radius:10px;
10
+ border-radius:10px;
11
+ }
12
+ .msg_slideshow a{
13
+ outline:none;
14
+ }
15
+ .msg_slideshow a img{
16
+ border:none;
17
+ }
18
+ .msg_wrapper{
19
+ width:400px;
20
+ height:400px;
21
+ position:relative;
22
+ margin:0;
23
+ padding:0;
24
+ display:table-cell;
25
+ text-align:center;
26
+ vertical-align:middle;
27
+ }
28
+ .msg_wrapper img{
29
+ display: inline-block!important;
30
+ vertical-align:middle;
31
+ -moz-box-shadow:0px 0px 10px #000;
32
+ -webkit-box-shadow:0px 0px 10px #000;
33
+ box-shadow:0px 0px 10px #000;
34
+ }
35
+ .msg_controls{
36
+ position:absolute;
37
+ bottom:15px;
38
+ right:-110px;
39
+ width:104px;
40
+ height:26px;
41
+ z-index: 20;
42
+ -moz-border-radius:5px;
43
+ -webkit-border-radius:5px;
44
+ border-radius:5px;
45
+ background-color:#000;
46
+ opacity:0.8;
47
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
48
+ }
49
+ .msg_controls a{
50
+ float:left;
51
+ background-color:#000;
52
+ width:20px;
53
+ height:20px;
54
+ margin:3px 3px;
55
+ opacity:0.5;
56
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
57
+ background-repeat:no-repeat;
58
+ background-position: center center;
59
+ }
60
+ .msg_controls a:hover{
61
+ opacity:1.0;
62
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=99);
63
+ }
64
+ .msg_controls a.msg_grid{
65
+ background-image:url(/assets/gallery/slideshow/icons/grid.png);
66
+ }
67
+ .msg_controls a.msg_prev{
68
+ background-image:url(/assets/gallery/slideshow/icons/prev.png);
69
+ }
70
+ .msg_controls a.msg_next{
71
+ background-image:url(/assets/gallery/slideshow/icons/next.png);
72
+ }
73
+ .msg_controls a.msg_pause{
74
+ background-image:url(/assets/gallery/slideshow/icons/pause.png);
75
+ }
76
+ .msg_controls a.msg_play{
77
+ background-image:url(/assets/gallery/slideshow/icons/play.png);
78
+ }
79
+ .msg_thumbs{
80
+ background:#000;
81
+ position:absolute;
82
+ width:250px;
83
+ height:166px;
84
+ top:-230px;
85
+ left:50%;
86
+ padding:30px;
87
+ margin:0 0 0 -155px;
88
+ -moz-border-radius:0px 0px 10px 10px;
89
+ -webkit-border-bottom-left-radius:10px;
90
+ -webkit-border-bottom-right-radius:10px;
91
+ border-bottom-left-radius:10px;
92
+ border-bottom-right-radius:10px;
93
+ -moz-box-shadow:1px 1px 5px #000;
94
+ -webkit-box-shadow:1px 1px 5px #000;
95
+ box-shadow:1px 1px 5px #000;
96
+ opacity:0.9;
97
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90);
98
+ overflow:hidden;
99
+ }
100
+ .msg_thumb_wrapper{
101
+ position:absolute;
102
+ width:250px;
103
+ height:166px;
104
+ top:30px;
105
+ left:30px;
106
+ z-index:30;
107
+ }
108
+ .msg_thumb_wrapper a{
109
+ display:block;
110
+ width:75px;
111
+ height:75px;
112
+ float:left;
113
+ margin:4px;
114
+ opacity:0.5;
115
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
116
+ }
117
+ .msg_thumbs a.msg_thumb_next,
118
+ .msg_thumbs a.msg_thumb_prev{
119
+ width:18px;
120
+ height:20px;
121
+ background-repeat:no-repeat;
122
+ background-position: center center;
123
+ position:absolute;
124
+ top:50%;
125
+ margin-top:-10px;
126
+ opacity:0.5;
127
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
128
+ }
129
+ .msg_thumbs a.msg_thumb_next:hover,
130
+ .msg_thumbs a.msg_thumb_prev:hover{
131
+ opacity:1.0;
132
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=99);
133
+ }
134
+ .msg_thumbs a.msg_thumb_next{
135
+ background-image:url(/assets/gallery/slideshow/icons/next_thumb.png);
136
+ right:5px;
137
+ }
138
+ .msg_thumbs a.msg_thumb_prev{
139
+ background-image:url(/assets/gallery/slideshow/icons/prev_thumb.png);
140
+ left:5px;
141
+ }
142
+ .msg_thumbs a.msg_thumb_close{
143
+ position:absolute;
144
+ bottom:0px;
145
+ width:50px;
146
+ left:50%;
147
+ margin:0 0 0 -25px;
148
+ background:#202020 url(/assets/gallery/slideshow/icons/up.png) no-repeat center center;
149
+ height:16px;
150
+ opacity:0.7;
151
+ -moz-border-radius:5px 5px 0 0;
152
+ -webkit-border-top-left-radius:5px;
153
+ -webkit-border-top-right-radius:5px;
154
+ border-top-left-radius:5px;
155
+ border-top-right-radius:5px;
156
+ }
157
+ .msg_thumbs a.msg_thumb_close:hover{
158
+ opacity:1.0;
159
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=99);
160
+ }
161
+ .msg_loading{
162
+ position:absolute;
163
+ background:transparent url(/assets/gallery/slideshow/icons/loading.gif) no-repeat center center;
164
+ top:50%;
165
+ left:50%;
166
+ width:50px;
167
+ height:50px;
168
+ margin:-25px 0 0 -25px;
169
+ z-index:25;
170
+ display:none;
171
+ }