diff options
| author | “Ryder <“r@okfoc.us”> | 2016-03-28 18:39:59 -0400 |
|---|---|---|
| committer | “Ryder <“r@okfoc.us”> | 2016-03-28 18:39:59 -0400 |
| commit | ba7c5d05ccaf30e78e5ce96c11f153101b157813 (patch) | |
| tree | 3310a5d3f2bf4538851b7c14afcfc088a7760e25 | |
| parent | a086d316e82ec012bc8f84fa653fc4ae562848ea (diff) | |
adding tomato
| -rw-r--r-- | public/assets/js/app.js | 4 | ||||
| -rw-r--r-- | public/assets/ok.css | 4 | ||||
| -rw-r--r-- | public/assets/tomato20dancing.gif | bin | 0 -> 36620 bytes |
3 files changed, 7 insertions, 1 deletions
diff --git a/public/assets/js/app.js b/public/assets/js/app.js index be7b585..8a11dd8 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -47,8 +47,10 @@ var delay = (function() { $(window).resize(function() { $(".cell").css({ 'display': 'none' }); + $('body').addClass('resizing'); delay(function() { $(".cell").css({ 'height': ($(".top").height() + 'px'), 'display': 'inline-block' }); - $('.top').flickity('resize') + $('.top').flickity('resize'); + $('body').removeClass('resizing'); }, 400); });
\ No newline at end of file diff --git a/public/assets/ok.css b/public/assets/ok.css index d9e6008..34b6d1d 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -239,6 +239,10 @@ button.previous:active svg { background-color: #eee; } +.resizing .top { + background: url(tomato20dancing.gif)center; +} + .bottom { /*height: 20vh;*/ flex: 0 auto; diff --git a/public/assets/tomato20dancing.gif b/public/assets/tomato20dancing.gif Binary files differnew file mode 100644 index 0000000..0416665 --- /dev/null +++ b/public/assets/tomato20dancing.gif |
