promethee 4.1.18 → 4.1.23

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: c4fec398977caedb678199760eda8f8048a8ad3578a575fe6750ec8ab0829294
4
- data.tar.gz: a8ead5a99ade251233f48277368067b2b0c283de4a4019dc92dd7f4a21979f21
3
+ metadata.gz: 9a7469af95ebb0c9129cefcbf1f1725ea643f94d190e4dadd1f112a958c8f19b
4
+ data.tar.gz: 3392581a1d79870cfdf2898594eac571a905182af47e19ddbd744f692d15a4fa
5
5
  SHA512:
6
- metadata.gz: 182b0e99d95aee2780171efcd08518d47fbe200dfca49c0d10122b87d2c2987301e890b5848ec04589f6570252c9b69c3fe8b3fc13e7143d7bc2e9c48db9c636
7
- data.tar.gz: 042ee1425887e10eeb3bd1d3a8ca8d4ab28ac179c19843260863487468021c9445b56685629e298c04cfe214cfd64bbb4f82b81e7c30d1fe372bd5cc0c848520
6
+ metadata.gz: 2abb01f521e591562786be98c8a7a01217a06dff3866ceb405c60443da59d0fd54b2e53fe8e248d86e63d461912eb133402df416b864662399ce5b45fd0dcdf0
7
+ data.tar.gz: 2217be85a45d4fb947fdc5b48d19e772ae0f2044c84474e70e98cb879ca435f859acab06948a88c5e7ff5b13d65b08ca5be2475cb3fba080508f0d5c027b1b6a
@@ -213,14 +213,16 @@
213
213
  padding-right: 10px
214
214
  &-header
215
215
  padding-left: 10px
216
-
216
+ &-content
217
+ display: flex
218
+ flex-wrap: wrap
217
219
  &__item-container, &__item
218
220
  display: inline-block
219
221
  &__item
220
222
  background-color: #253742
221
223
  color: white
222
224
  height: 100px
223
- margin: 0 10px 20px
225
+ margin: 0 9px 18px
224
226
  max-width: 100px
225
227
  min-width: 100px
226
228
  padding: 10px 5px 0 5px
@@ -63,14 +63,15 @@ $black: #000000 !default
63
63
 
64
64
  &__collection
65
65
  margin-bottom: $grid-gutter-width
66
- > div
66
+ [class*="col-"]
67
67
  margin-bottom: $grid-gutter-width
68
68
  .collection-item__content
69
69
  &:not(:last-of-type)
70
70
  margin-bottom: $grid-gutter-width
71
- a + p
72
- margin-bottom: 0
71
+ &__caption
73
72
  margin-top: 10px
73
+ p:last-of-type
74
+ margin-bottom: 0
74
75
 
75
76
  &__cover
76
77
  background-position: center center
@@ -12,20 +12,22 @@
12
12
  end
13
13
  %>
14
14
 
15
- <div class="row <%= promethee_class_for component %>"
15
+ <div class="<%= promethee_class_for component %>"
16
16
  id="<%= promethee_id_for component %>">
17
17
  <% component[:children].each.with_index do |child, n| %>
18
- <div class="<%= col_classes %>">
19
- <%= render 'promethee/show/component', component: child %>
20
- </div>
21
- <% if n%items_per_line === items_per_line - 1 %>
22
- <div class="clearfix hidden-sm hidden-xs d-none d-md-block"></div>
18
+ <div class="row promethee__component__row">
19
+ <div class="<%= col_classes %>">
20
+ <%= render 'promethee/show/component', component: child %>
21
+ </div>
22
+ <% if n%items_per_line === items_per_line - 1 %>
23
+ <div class="clearfix hidden-sm hidden-xs d-none d-md-block"></div>
24
+ <% end %>
25
+ <% if items_per_line >= 4 && n.odd? %>
26
+ <div class="clearfix visible-xs-block d-block <%= items_per_line === 4 ? 'visible-sm-block d-md-none' : 'd-sm-none' %>"></div>
27
+ <% end %>
28
+ <% if items_per_line == 6 && n%3 == 2 %>
29
+ <div class="clearfix visible-sm-block .d-none .d-sm-block .d-md-none"></div>
30
+ <% end %>
23
31
  <% end %>
24
- <% if items_per_line >= 4 && n.odd? %>
25
- <div class="clearfix visible-xs-block d-block <%= items_per_line === 4 ? 'visible-sm-block d-md-none' : 'd-sm-none' %>"></div>
26
- <% end %>
27
- <% if items_per_line == 6 && n%3 == 2 %>
28
- <div class="clearfix visible-sm-block .d-none .d-sm-block .d-md-none"></div>
29
- <% end %>
30
- <% end %>
32
+ </div>
31
33
  </div>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.1.18'
3
+ VERSION = '4.1.23'
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: 4.1.18
4
+ version: 4.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2020-11-13 00:00:00.000000000 Z
17
+ date: 2021-01-04 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -40,16 +40,16 @@ dependencies:
40
40
  name: angularjs-rails
41
41
  requirement: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - "~>"
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 1.6.2
45
+ version: '0'
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: !ruby/object:Gem::Requirement
49
49
  requirements:
50
- - - "~>"
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 1.6.2
52
+ version: '0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: sassc-rails
55
55
  requirement: !ruby/object:Gem::Requirement