trusty-festivity-extension 2.3.28 → 2.3.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef40788fed9c3455b1d80ce79307b16feaf27795
4
- data.tar.gz: 83854bbfa184a08bcec5905a422214682c06a4ab
3
+ metadata.gz: 15ed102f0aff037437686e7da24c8297865e06cc
4
+ data.tar.gz: 1c8d324e8bc6b08cc8756630993aa3d44c98aad0
5
5
  SHA512:
6
- metadata.gz: ba1e1b25beb100219a6a3889fdd9316b62a8a67368504d3fdb8bea5f36a91dc6687d46d415c7eda1f3794cb515952292af9aa0467731d115543e6ae989985257
7
- data.tar.gz: 4f2782b0fea71af40b43dfeab93cb271a7c934acae7af308d0753b6cdb9916be91a37652fc9c4e161060ad802f6d94cf48b5b0b41e19ae3f5486639e78e0bbcb
6
+ metadata.gz: 76cfb14062d0f83e433faaf9e25d5162b0d73cd2e35f7f20b5c295323d53a2d0f095897d02f22b905f0a163aaf5804729ae5ea601e9c09e89746d3b62a87a460
7
+ data.tar.gz: b5b4e266862e21d06887ec66fcfaee6f6682e23987d30ebbaa3400682c05d7dcb2912b4f65155c55019791104eea1164d24b1a7442ec4170f99626e2167f4cc0
data/Gemfile.lock CHANGED
@@ -2,7 +2,7 @@ GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
4
  builder (3.2.2)
5
- faraday (0.9.1)
5
+ faraday (0.9.2)
6
6
  multipart-post (>= 1.2, < 3)
7
7
  geminabox (0.12.4)
8
8
  builder
@@ -10,7 +10,7 @@ GEM
10
10
  httpclient (>= 2.2.7)
11
11
  nesty
12
12
  sinatra (>= 1.2.7)
13
- httpclient (2.6.0.1)
13
+ httpclient (2.7.0.1)
14
14
  multipart-post (2.0.0)
15
15
  nesty (1.0.2)
16
16
  rack (1.6.4)
@@ -31,3 +31,6 @@ PLATFORMS
31
31
  DEPENDENCIES
32
32
  geminabox
33
33
  trustygems (~> 0.1.0)
34
+
35
+ BUNDLED WITH
36
+ 1.10.6
@@ -17,5 +17,6 @@
17
17
  //= require responders
18
18
  //= require navigation
19
19
  //= require home-social
20
+ //= require modal
20
21
 
21
22
  //= require modernizr/modernizr
@@ -0,0 +1,17 @@
1
+ $(document).ready(function(){
2
+ function showModal() {
3
+ $('.modal-link').on("click", function(e) {
4
+ $(this).next('.modal').addClass('is-visible');
5
+ });
6
+ };
7
+
8
+ function hideModal() {
9
+ $('.modal .close-btn, .modal .close-link, .modal .add-to-cart').on("click", function(e) {
10
+ e.preventDefault();
11
+ $('.modal').removeClass('is-visible');
12
+ })
13
+ }
14
+
15
+ showModal();
16
+ hideModal();
17
+ });
@@ -9,6 +9,7 @@
9
9
  @import "library/general-mixins";
10
10
  @import "first-night-stylesheets/library/general-mixins";
11
11
  @import "library/icons";
12
+ @import "library/modal";
12
13
  @import "first-night-stylesheets/library/icons";
13
14
 
14
15
  @import "globals/forms.scss";
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
6
+ <path fill="#888888" d="M8,1.219c3.738,0,6.781,3.043,6.781,6.782c0,3.738-3.043,6.78-6.781,6.78c-3.739,0-6.781-3.042-6.781-6.78
7
+ C1.219,4.262,4.261,1.219,8,1.219 M8,0C3.582,0,0,3.582,0,8.001C0,12.418,3.582,16,8,16s8-3.582,8-7.999C16,3.582,12.418,0,8,0L8,0z
8
+ "/>
9
+ <polygon fill="#888888" points="11.907,5.814 10.185,4.091 8,6.276 5.815,4.091 4.092,5.814 6.277,7.999 4.092,10.185 5.815,11.907
10
+ 8,9.723 10.185,11.907 11.907,10.185 9.723,7.999 "/>
11
+ </svg>
@@ -6,6 +6,9 @@
6
6
 
7
7
  .icon-chevron-up { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAANhJREFUKJHVzzFqw0AQBdC/M3LjOimCSRUMyQG2SxEfIu5VSIuONOgWyQFUGJJqT2ACgditwbXYmVSCRazKFPnlzrz5LPD/U9f1bdu2N0tzKj12XXfPzJ+q+hFC2JR2XAmN4zgQ0QMAqOqRmXcicl6EczSlhN0SUtUzABDRpoRpoelkZi/MvMsObFNKw/Rn1zTNnZkd5qjv+y8ACCFsU0pD3lxV1TM551YA1gBgZj85AgAROebNANZmtuIY49V7/2ZmjwBeczQlxnjx3r8DeCKivYh8z3f+Pr/LNIAe3l5aQgAAAABJRU5ErkJggg=='); background-repeat: no-repeat; }
8
8
 
9
+ .icon-close { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAjRJREFUOI19U0FLVGEUPecOOL5/IAWJm1qGbUTDzYA4RVOu27WoNoKawfc+XchsvvdmMRi5aLB9655EIKm0CCNwE+0sRHDVD8hmBubeFr4nL7Hu6uNyzuHcc+9HXKgkScbN7CmAmoiM5u1jAHtm1vHefy3jWTza7XbU7/c3SD4ys/cAMhH5DgBmdh3AHIC6qr7u9XqLzWazey6Qk7fNbKRSqTx0zh1cdAYAIYQJEXljZifdbrfebDa7AgD9fn/DzEbM7Pa/yACwsrLyZTAYTAG4FkXROgAwSZJxkgckJ5xzB2bGNE1fktyK4/gDAKRpOgvgjnNuiaSFECZF5JOZ3WIIoUPyqve+kYe4QXJeVX+LyANVpYhkAIYBrMdx/CwX3TazHwKgBiArOc1ycqSqWYl8amZb5+mTGcmaiMhokTYAeO93SN4DcCoiEYBhVf1F8q73/mOBU9VDVR2Ty8IysyFVrZRaYmZDl2EFwHG+52JVdQBvRaQK4LQ8TpqmMyXuDQBHAmAPZ0dypihSL8hm1qhUKo1CBMBsKYM5krtiZh0A9RDCBAA455bM7IWZNbz3e865XZL3AbTjOH4OAK1WazoPf5O57Y6IzAwGg6nV1dWfl81aVKvVuqKq+yTfxXE8LwDQ6/UWzexERD6HECb/Q55W1X0AR1EULQOlz7S2tjZcrVZfiMhjADskM1U9LAIjOZfbfhVF0fLCwkLvL4GikiS5CeAJyZqqjuXtI5K7ADa999/K+D9wSRQuxMpuuAAAAABJRU5ErkJggg=='); background-repeat: no-repeat; }
10
+
11
+
9
12
  .icon-email-connect { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAPBJREFUKJGNz7FKxEAQBuB/JtsZ4gOocHhinSKBxEew8QXOt/AF7BXf4R4mCZsUwUo0ooitZSwCO2NzWc5jldtml+Gb/WfIWnuhqmtmXuKfIyIDM694HwwAzHwGYG12sPvDR5v73Hjp3ElRFJ8hXdf1whjzBgC8FXkZwqpKURRdebfVMFhr76qqOpprTdMcd133QESPc43atlUAyPOc+r4/mKbphoi+Np8dEtF9lmXfs/M7AECapiOAW2vtqXNOyrJ83x3RJ6jqchzHj9AeSZIsROTlVwIRvcZxHPIQEf9mERmCKtz4xMy8AvC8DwZw/QOEl2KLMl8IHQAAAABJRU5ErkJggg=='); background-repeat: no-repeat; }
10
13
 
11
14
  .icon-envelope-square { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAkBJREFUSInVls+LEnEYxp/3O2N5MJpjwrJ06KJX6VZBUP/AwhRsHcKZfQUPQQt12hILgi26BKvDoJQkRXgMOnfcWthICoIg2ENSXfRgKsw43y4K4rjqrIywn+PLy/OZZ34DS4bGB7quK8lk0jefl3w+784UptPpU6qqPvA876YQ4sxRZQDged5vInoViUQeFgqFtk+YzWZjrut+AJBaRDSBvU6nc7larf4bHQrXde+HIAOA89FodGt8KACshyAb4ssWAFbCsgkhVicJl4o6PpBSbrZaree1Wq0fJEjXdUXTtDtE9HTanq9hNBotBJUBQK1W68disZ1Zez5hr9e7FlQ2pN1u3wgslFI+YebrAV1kmuYtItqetei7hqqqXnVd9y0zr/X7/dvlcvnPtADTNFeEEEUp5VkhxBXP8/an7fsaWpb11XGcFIAfiqJ8yWQyBia8cwEQM7MQYh/Ax1arlbIs6/P0fhMaAkClUukB2DJN840QosTM64qibBSLxZ8AYBjGOSKyAZwEcMm27e+zRIc2HKVUKn1rNpsXpJTvHcf5xMwvmPklEe0S0bt4PH4xiAw4pOEog0fkmWEYVSnlGhFJVVXvWZb1N4hobuGQwc1TPIpkFN8pzeVycx/EOLqunwgsbDQam8wcCSpj5oimaXdn7fnaDB7ebWYO6gTR7D+TpX8thOd5v0LMP/AJiagaotCXLbrd7iMAeyHIdgE8Hh8q9XrdSSQSrxVFEVLKVSI6vaDoAMAOgA3btjsLZh1D/gNzacIItl+lvAAAAABJRU5ErkJggg=='); background-repeat: no-repeat; }
@@ -6,6 +6,8 @@
6
6
 
7
7
  .icon-chevron-up { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M13.148%2010.398l-1.297%201.29q-.146.147-.35.147t-.352-.148L7%207.54l-4.15%204.147q-.147.148-.35.148t-.353-.148L.85%2010.397q-.148-.147-.148-.354t.148-.355l5.797-5.79Q6.795%203.75%207%203.75t.35.15l5.797%205.79q.148.147.148.354t-.148.355z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; }
8
8
 
9
+ .icon-close { background-image: url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20enable-background%3D%22new%200%200%2016%2016%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23888888%22%20d%3D%22M8%2C1.219c3.738%2C0%2C6.781%2C3.043%2C6.781%2C6.782c0%2C3.738-3.043%2C6.78-6.781%2C6.78c-3.739%2C0-6.781-3.042-6.781-6.78%20C1.219%2C4.262%2C4.261%2C1.219%2C8%2C1.219%20M8%2C0C3.582%2C0%2C0%2C3.582%2C0%2C8.001C0%2C12.418%2C3.582%2C16%2C8%2C16s8-3.582%2C8-7.999C16%2C3.582%2C12.418%2C0%2C8%2C0L8%2C0z%20%22%2F%3E%3Cpolygon%20fill%3D%22%23888888%22%20points%3D%2211.907%2C5.814%2010.185%2C4.091%208%2C6.276%205.815%2C4.091%204.092%2C5.814%206.277%2C7.999%204.092%2C10.185%205.815%2C11.907%20%208%2C9.723%2010.185%2C11.907%2011.907%2C10.185%209.723%2C7.999%20%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; }
10
+
9
11
  .icon-envelope { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%3E%3Cpath%20fill%3D%22%23ccc%22%20d%3D%22M14%205.547v6.203q0%20.516-.367.883T12.75%2013H1.25q-.516%200-.883-.367T0%2011.75V5.547q.344.383.79.68Q3.616%208.15%204.67%208.922q.445.328.723.512t.738.375.86.19h.016q.398%200%20.86-.19t.737-.377.723-.512q1.328-.96%203.89-2.694.446-.305.782-.68zm0-2.297q0%20.617-.383%201.18t-.953.96L9.008%207.93q-.078.055-.332.238t-.422.297-.406.254-.45.21-.39.07h-.016q-.18%200-.39-.07t-.45-.21-.406-.256-.422-.297-.332-.238q-.71-.5-2.047-1.427T1.343%205.39Q.86%205.064.43%204.49T0%203.422q0-.61.323-1.016T1.25%202h11.5q.507%200%20.878.368t.37.883z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; }
10
12
 
11
13
  .icon-external-link { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2214%22%20viewBox%3D%220%200%2012%2014%22%3E%3Cpath%20fill%3D%22%23ccc%22%20d%3D%22M10%207.25V3.5q0-.203-.148-.352T9.5%203H5.75q-.328%200-.46.305-.134.32.108.547l1.125%201.125L2.35%209.15q-.147.147-.147.35t.148.353l.8.797q.147.148.35.148t.353-.148l4.172-4.172L9.15%207.603q.14.148.35.148.095%200%20.196-.037.305-.133.305-.46zm2-4v7.5q0%20.93-.66%201.59T9.75%2013h-7.5q-.93%200-1.59-.66T0%2010.75v-7.5q0-.93.66-1.59T2.25%201h7.5q.93%200%201.59.66T12%203.25z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; }
@@ -52,3 +52,5 @@
52
52
 
53
53
  .icon-twitter { background-image: url('png/twitter.png'); background-repeat: no-repeat; }
54
54
 
55
+ .icon-close { background-image: url('png/close.png'); background-repeat: no-repeat; }
56
+
@@ -10,7 +10,7 @@
10
10
  @include icon-base;
11
11
  }
12
12
 
13
- $icons: menu search instagram twitter facebook envelope external-link chevron-down chevron-up chevron-right chevron-left;
13
+ $icons: menu search instagram twitter facebook envelope external-link chevron-down chevron-up chevron-right chevron-left close;
14
14
 
15
15
  @each $icon in $icons {
16
16
  .icon-#{$icon} {
@@ -22,7 +22,8 @@ $icons: menu search instagram twitter facebook envelope external-link chevron-do
22
22
  .icon-facebook,
23
23
  .icon-instagram,
24
24
  .icon-external-link,
25
- .icon-envelope {
25
+ .icon-envelope ,
26
+ .icon-close {
26
27
  svg {
27
28
  width: 1.25em;
28
29
  height: 1.25em;
@@ -0,0 +1,77 @@
1
+ .modal {
2
+ display: none;
3
+ background-color: $background-color;
4
+ height: 100%;
5
+ top: 0;
6
+ left: 0;
7
+ overflow-y: hidden;
8
+ padding: 1em;
9
+ position: fixed;
10
+ width: 100%;
11
+ z-index: 13;
12
+
13
+ @include breakpoint($breakpoint-m) {
14
+ background-color: rgba(0,0,0, 0.5);
15
+ }
16
+
17
+ &.is-visible {
18
+ display: block;
19
+ }
20
+
21
+ &.short-modal {
22
+ text-align: center;
23
+ }
24
+ }
25
+
26
+ .modal-wrapper {
27
+ margin: 0 auto;
28
+ background-color: $background-color;
29
+
30
+ @include breakpoint($breakpoint-m) {
31
+ max-width: 700px;
32
+ margin-top: 4em;
33
+ }
34
+ }
35
+
36
+ .modal-content {
37
+ padding: 1em;
38
+
39
+ @include breakpoint($breakpoint-m) {
40
+ max-width: 80%;
41
+ margin-left: auto;
42
+ margin-right: auto;
43
+ padding: 2.5em 1em;
44
+ }
45
+
46
+ }
47
+
48
+ .close-btn {
49
+ border: none;
50
+ background: none;
51
+ position: fixed;
52
+ right: 1em;
53
+ top: 1em;
54
+
55
+ @include breakpoint($breakpoint-m) {
56
+ position: static;
57
+ float: right;
58
+ }
59
+ }
60
+
61
+ .close-link {
62
+ @include button-subtle;
63
+
64
+ @include breakpoint($breakpoint-s) {
65
+ margin-right: 1.5em;
66
+ }
67
+ }
68
+
69
+ .modal-actions {
70
+ @include pie-clearfix;
71
+ @include divider-top;
72
+ text-align: center;
73
+
74
+ @include breakpoint($breakpoint-m) {
75
+ border-top: 0 none;
76
+ }
77
+ }
@@ -8,6 +8,7 @@
8
8
  @import "library/typographic-mixins";
9
9
  @import "library/general-mixins";
10
10
  @import "library/icons";
11
+ @import "library/modal";
11
12
 
12
13
  @import "globals/forms.scss";
13
14
  @import "globals/general.scss";
@@ -20,9 +20,15 @@
20
20
 
21
21
  %ul.event-tools
22
22
  - if @event.video?
23
- %li
23
+ %li.modal-link
24
24
  %a{href: "#", data: {toggle: "modal", target: "#video-modal"}}
25
- Watch Video
25
+ Watch Video
26
+ .videos-modal.modal
27
+ .modal-wrapper
28
+ .modal-content
29
+ %button.close-btn
30
+ %span.icon-close{:data => {'grunticon-embed' => true}}
31
+ = @event.video.html_safe
26
32
  - if @event.single_location?
27
33
  %li
28
34
  %a{target: "_blank", href: "#{@event.locations.first.festivity_directions_url}"}
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.3.28"
2
+ VERSION = "2.3.29"
3
3
  SUMMARY = "Festival microsite engine for Trusty CMS"
4
4
  DESCRIPTION = "Event management for arts festivals."
5
5
  URL = "http://github.com/pgharts/trusty-festivity-extension"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-festivity-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.28
4
+ version: 2.3.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple
@@ -349,6 +349,7 @@ files:
349
349
  - app/assets/javascripts/jrespond/jRespond.js
350
350
  - app/assets/javascripts/lodash.min.js
351
351
  - app/assets/javascripts/masonry/dist/masonry.pkgd.js
352
+ - app/assets/javascripts/modal.js
352
353
  - app/assets/javascripts/navigation.js
353
354
  - app/assets/javascripts/readmore.min.js
354
355
  - app/assets/javascripts/responders.js
@@ -491,6 +492,7 @@ files:
491
492
  - app/assets/stylesheets/grunticon/chevron-left.svg
492
493
  - app/assets/stylesheets/grunticon/chevron-right.svg
493
494
  - app/assets/stylesheets/grunticon/chevron-up.svg
495
+ - app/assets/stylesheets/grunticon/close.svg
494
496
  - app/assets/stylesheets/grunticon/envelope.svg
495
497
  - app/assets/stylesheets/grunticon/external-link.svg
496
498
  - app/assets/stylesheets/grunticon/facebook.svg
@@ -504,6 +506,7 @@ files:
504
506
  - app/assets/stylesheets/grunticon/production/png/chevron-left.png
505
507
  - app/assets/stylesheets/grunticon/production/png/chevron-right.png
506
508
  - app/assets/stylesheets/grunticon/production/png/chevron-up.png
509
+ - app/assets/stylesheets/grunticon/production/png/close.png
507
510
  - app/assets/stylesheets/grunticon/production/png/email-connect.png
508
511
  - app/assets/stylesheets/grunticon/production/png/envelope-square.png
509
512
  - app/assets/stylesheets/grunticon/production/png/envelope.png
@@ -534,6 +537,7 @@ files:
534
537
  - app/assets/stylesheets/library/_grid.scss
535
538
  - app/assets/stylesheets/library/_icons.scss
536
539
  - app/assets/stylesheets/library/_mediaqueries.scss
540
+ - app/assets/stylesheets/library/_modal.scss
537
541
  - app/assets/stylesheets/library/_reset.scss
538
542
  - app/assets/stylesheets/library/_typographic-mixins.scss
539
543
  - app/assets/stylesheets/library/_variables.scss