sinatra-hexacta 0.9.4 → 0.9.5

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
  SHA256:
3
- metadata.gz: 6aaec32790752b72c99527ea6fab74f017349baa383b7e34c806d0d51abc97be
4
- data.tar.gz: e2eea2b2586a3c8fa5ba99981b1c2bcb5896566721dba5ffc7e5194f9e0af4cf
3
+ metadata.gz: d79ff3433bcac2fb8f84b38f2847eb2807a481f952d7940e9015f703c189afd3
4
+ data.tar.gz: 5b14042aab9d75bf41cc2804f10e6df792f833c480de934ec14c0d03b9df22d3
5
5
  SHA512:
6
- metadata.gz: bc9c270af10de54c5bb1d7e56c1b901892dc4dc035267fb439101ea94797a7d11942fe925cc0f740123894b327a2926f18e154008faf5e8a0df79fc39d29aaea
7
- data.tar.gz: 7fac0d0de897c15fcf63055e7c3b650f95dad234ad3bf599f019cc9bfa57b7cd8249df4ec8fe225220e18b40b1a0c78d2c867b004153a20e40e80dcfa5d05d24
6
+ metadata.gz: 60566a5a7826baa9993d1d5f4b61dc57cfde3a99ced5af08daa80d5436099ca74d1f8625c2f76007d5662f2278356a1f8e4de61d8de277fef15973b309e39dd3
7
+ data.tar.gz: 4b5263301f5e43d3541f252d404f02028565adf9728b01e96fb145040eea19e774201b42ca727402f618b08247cbadc7800a99867b12809be0e8d6f957ba7ef4
@@ -5,9 +5,9 @@
5
5
  -for item in menu
6
6
  -idx = menu.index(item) + 1
7
7
  -if item[:type] == 'link'
8
- a.text.btn.bgm-white.c-gray type="button" href="#{item[:link]}" target="#{item[:target]}" style="bottom:#{50+idx*45}px;animation-duration: 0.#{idx+1}s" #{item[:text]}
8
+ a.text.btn.bgm-white.c-gray type="button" href="#{item[:link]}" target="#{item[:target]}" style="bottom:#{50+idx*45}px;animation-duration: #{(idx.to_f/10.0).round(2)}s" #{item[:text]}
9
9
  -if item[:type] == 'modal'
10
- a.text.btn.bgm-white.c-gray type="button" data-toggle="modal" data-target="#{item[:link]}" style="bottom:#{50+idx*45}px;animation-duration: 0.#{idx+1}s" #{item[:text]}
10
+ a.text.btn.bgm-white.c-gray type="button" data-toggle="modal" data-target="#{item[:link]}" style="bottom:#{50+idx*45}px;animation-duration: #{(idx.to_f/10.0).round(2)}s" #{item[:text]}
11
11
 
12
12
  .footer-btn
13
13
  a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float onclick='toggle_menu()'
@@ -17,11 +17,11 @@
17
17
  -for item in menu
18
18
  -idx = menu.index(item) + 1
19
19
  -if item[:type] == 'link'
20
- a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float type="button" href="#{item[:link]}" target="#{item[:target]}" style="bottom:#{50+idx*45}px;animation-duration: 0.#{idx+1}s"
20
+ a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float type="button" href="#{item[:link]}" target="#{item[:target]}" style="bottom:#{50+idx*45}px;animation-duration: #{(idx.to_f/10.0).round(2)}s"
21
21
  i.zmdi class="zmdi-#{item[:icon]}"
22
22
 
23
23
  -if item[:type] == 'modal'
24
- a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float type="button" data-toggle="modal" data-target="#{item[:link]}" style="bottom:#{50+idx*45}px;animation-duration: 0.#{idx+1}s"
24
+ a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float type="button" data-toggle="modal" data-target="#{item[:link]}" style="bottom:#{50+idx*45}px;animation-duration: #{(idx.to_f/10.0).round(2)}s"
25
25
  i.zmdi class="zmdi-#{item[:icon]}"
26
26
 
27
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger