promethee 1.6.48 → 1.6.49

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: add5d8562fb0e23e09127e3666a5afc41aaaeba7ab8ee63530564fe017b96ddf
4
- data.tar.gz: 9dd810222bdf30bde6c883365e236b4902a64520df8203afd80754f232aa021b
2
+ SHA1:
3
+ metadata.gz: 496447f7f0b22debc78ac8e895a227c6b3992bdb
4
+ data.tar.gz: 500ff0356497020a42749c4b7af4fcba097cea54
5
5
  SHA512:
6
- metadata.gz: ae61240e6351d66d2a7d43cc536c96c3510e22bcf06ef22f23eb58f13ed1ff0439573d6454f403fa130c93cac6badc6208584dd33c646f32be1b89f4ff32c8b2
7
- data.tar.gz: 8b9b52d4aef606cf458162596651ac7b0d06462b1d1ab1d02efb7c7dc61d90b905699682e42bf757c19df5a99a6fafc7a03e0e7136f70f3c47b1f10e543b3923
6
+ metadata.gz: af5728585f2ea8be4bffdb06ae539f88bc279e3986e6a11a4ff4ae666f4ac592241500a011299899cb87ca7e8d9bf3612e12e60117d456cfa77f87be308de152
7
+ data.tar.gz: d1e1ec26ae2afb63d2917925b3644d6a874f4c4d4160d420da24ac6cc3fd8c355aab4b5c9b1e91b3457945f8042a0a1be62a7b06419fb49e559b6cd3fe9eb610
@@ -131,7 +131,7 @@
131
131
  z-index: 1000
132
132
  width: calc(50vw - 420px)
133
133
  overflow-x: hidden
134
- overflow-y: scroll
134
+ overflow-y: auto
135
135
  &-header
136
136
  font-size: 18px
137
137
  font-weight: bold
@@ -18,6 +18,28 @@
18
18
  transform: translateY(-50%)
19
19
  font-size: 30px
20
20
 
21
+ &__faq
22
+ h4
23
+ cursor: pointer
24
+ position: relative
25
+ &::after
26
+ content: ""
27
+ display: block
28
+ width: 8px
29
+ height: 8px
30
+ border-right: 2px solid #000
31
+ border-top: 2px solid #000
32
+ transform: rotate(135deg)
33
+ position: absolute
34
+ right: 10px
35
+ top: 5px
36
+ transition: transform .4s ease
37
+ &[aria-expanded="true"]
38
+ &::after
39
+ transform: rotate(315deg)
40
+ img
41
+ margin-bottom: 30px
42
+
21
43
  &__aside
22
44
  .aside__button
23
45
  padding-top: 30px
@@ -8,12 +8,26 @@ if image && image[:id]
8
8
  end
9
9
  %>
10
10
 
11
+ <h4 data-toggle="collapse"
12
+ data-target="#collapse-faq-<%= component[:id] %>"
13
+ aria-expanded="false"
14
+ aria-controls="collapse-faq-<%= component[:id] %>">
15
+ <%= title %>
16
+ </h4>
17
+
11
18
  <div class="row <%= promethee_class_for component %>">
12
- <div class="col-xs-3">
13
- <%= render 'promethee/show/image.srcset', blob: image_blob, alt: '', caption: '' if image_blob %>
14
- </div>
15
- <div class="col-xs-9">
16
- <h4><%= title %></h4>
17
- <%= body.html_safe %>
19
+ <div class="collapse" id="collapse-faq-<%= component[:id] %>">
20
+ <% if image_blob %>
21
+ <div class="col-xs-9">
22
+ <%= body.html_safe %>
23
+ </div>
24
+ <div class="col-xs-3">
25
+ <%= render 'promethee/show/image.srcset', blob: image_blob, alt: '', caption: '' %>
26
+ </div>
27
+ <% else %>
28
+ <div class="col-md-12">
29
+ <%= body.html_safe %>
30
+ </div>
31
+ <% end %>
18
32
  </div>
19
33
  </div>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.6.48'
3
+ VERSION = '1.6.49'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.48
4
+ version: 1.6.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-07-06 00:00:00.000000000 Z
16
+ date: 2018-07-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails
@@ -458,7 +458,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
458
458
  version: '0'
459
459
  requirements: []
460
460
  rubyforge_project:
461
- rubygems_version: 2.7.6
461
+ rubygems_version: 2.6.11
462
462
  signing_key:
463
463
  specification_version: 4
464
464
  summary: Bring fire to your page