promethee 4.1.17 → 4.1.22

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
2
  SHA256:
3
- metadata.gz: 0e6e42f0d4cb145f8b35d05d3f25bd1aa3a232893b582a33dd1b87f6ec12a043
4
- data.tar.gz: bf7f8e5795187559af358cd49d9c765e410aba8636c3015e6b51f4f6b4dd11b6
3
+ metadata.gz: 1aafecb12274f0287bef271deebf2fc5bdd95a34e28d81f206ec0a9bb15ff7cb
4
+ data.tar.gz: 7748db008cdbd1ae0c6e789667cfd7a873434270066561fecaa64f92bd67eb61
5
5
  SHA512:
6
- metadata.gz: 0b2631fe22a469a19b9e76dddb109c9b6829cffc46df68f123a4cc2fae106474c6927a93bcf2d6fd89af06a9f981dadf96683c74b365aabde8a2febfcb2ff3e9
7
- data.tar.gz: 4f3b348bceb066ad90efecaf6b5bd7cc621cc57facab8cfba2de7c9a0917f02075e54a9c729bafe62eb106f49842ad57a2b24c7ba2be1794512fac3c00da113b
6
+ metadata.gz: c1ebfe5ce1a60ec06ef2a03e797d39203e6d371f37f5fdc81c301fe93cd01d44b45fdfb2fe8f81283e14ac5d7cb6421e84f58a800ef9e690b94714110a3d592f
7
+ data.tar.gz: 3bd2cd1fe7c731142a1740814227bbede04afeff790d4a783e3b80738786fb22ecd4bf94232f197e5ba470d88df33d81ac06c5b206913b7043d7835016f05034
@@ -140,8 +140,8 @@
140
140
 
141
141
  &__component--blockquote
142
142
  text-align: center
143
-
144
143
  .blockquote
144
+ padding-top: 20px
145
145
  &::before, &::after
146
146
  display: inline-block
147
147
  &::before
@@ -151,6 +151,8 @@
151
151
  p
152
152
  display: inline
153
153
  line-height: 1.4rem
154
+ &:last-child
155
+ margin-bottom: 0
154
156
 
155
157
 
156
158
  @media (min-width: 768px)
@@ -8,7 +8,7 @@
8
8
  border: 1px solid #CCCCCC
9
9
  display: flex
10
10
  flex-direction: column
11
- justify-content: center
11
+ justify-content: flex-start
12
12
  min-height: 70px
13
13
  position: relative
14
14
  p.text-empty
@@ -21,14 +21,38 @@
21
21
  color: white
22
22
  &__remove
23
23
  background: white
24
- font-size: 12px
25
- line-height: 12px
26
- padding: 1px 2px 1px 3px
24
+ font-size: 10px
25
+ line-height: 10px
26
+ padding: 1px 3px
27
27
  position: absolute
28
- right: 4px
28
+ right: 5px
29
29
  top: 4px
30
30
  z-index: 1
31
31
 
32
+ &--row
33
+ .row
34
+ margin-left: -10px
35
+ margin-right: -10px
36
+ .promethee-edit__component--column
37
+ padding-bottom: 5px
38
+ padding-top: 5px
39
+
40
+ &--text
41
+ .promethee-edit__component__inner
42
+ padding: 10px
43
+ h1, h2, h3
44
+ margin-top: 0
45
+ p
46
+ line-height: 1.2
47
+ &:last-of-type
48
+ margin-bottom: 0
49
+
50
+ &--image
51
+ figure
52
+ margin-bottom: 0
53
+ figcaption
54
+ padding: 5px
55
+
32
56
  &--aside
33
57
  .btn
34
58
  &.left
@@ -57,6 +81,9 @@
57
81
  align-items: center
58
82
  display: flex
59
83
  justify-content: center
84
+ p
85
+ &:last-of-type
86
+ margin-bottom: 0
60
87
  .dots
61
88
  margin-top: 5px
62
89
  text-align: center
@@ -118,24 +145,23 @@
118
145
  color: white
119
146
  font-size: 8px
120
147
  margin-bottom: 5px
121
- padding: 4px 5px 5px
148
+ padding: 5px 10px
122
149
  text-transform: uppercase
123
150
  &__component
124
151
  user-select: none
125
152
 
126
153
  &__droppable
127
154
  background: white
128
- border: 1px dashed #253742
155
+ border: 0 dashed #253742
129
156
  box-sizing: border-box
130
- height: 20px
131
- margin: 2px 0
132
157
  opacity: .2
133
158
  position: relative
134
- transition: width .2s, height .2s, opacity .2s
135
- visibility: hidden
136
- width: 100%
159
+ transition: all .5s
160
+ width: calc(100% - 4px)
137
161
  &.ui-droppable-active
138
- visibility: visible
162
+ border-width: 1px
163
+ height: 20px
164
+ margin: 2px
139
165
  &.ui-droppable-hover
140
166
  height: 100px
141
167
  opacity: 1
@@ -157,7 +183,7 @@
157
183
  padding: 30px 20px 15px
158
184
  position: fixed
159
185
  top: 50px
160
- width: calc(50vw - 365px)
186
+ width: calc(50vw - 367px)
161
187
  z-index: 1000
162
188
  &-header
163
189
  font-size: 18px
@@ -194,7 +220,7 @@
194
220
  background-color: #253742
195
221
  color: white
196
222
  height: 100px
197
- margin: 0 10px 20px
223
+ margin: 0 9px 18px
198
224
  max-width: 100px
199
225
  min-width: 100px
200
226
  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>
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div class="form-group">
9
9
  <label class="label-control">Description</label>
10
- <textarea class="form-control" ng-model="promethee.inspected.attributes.description.value"></textarea>
10
+ <textarea rows="6" class="form-control" ng-model="promethee.inspected.attributes.description.value"></textarea>
11
11
  </div>
12
12
  <% end %>
13
13
 
@@ -16,12 +16,12 @@
16
16
 
17
17
  <div class="form-group">
18
18
  <label class="label-control">Stylesheets</label>
19
- <textarea class="form-control" ng-model="promethee.inspected.attributes.stylesheets.value"></textarea>
19
+ <textarea rows="6" class="form-control" ng-model="promethee.inspected.attributes.stylesheets.value"></textarea>
20
20
  </div>
21
21
 
22
22
  <div class="form-group">
23
23
  <label class="label-control">Javascripts</label>
24
- <textarea class="form-control" ng-model="promethee.inspected.attributes.javascripts.value"></textarea>
24
+ <textarea rows="6" class="form-control" ng-model="promethee.inspected.attributes.javascripts.value"></textarea>
25
25
  </div>
26
26
  </div>
27
27
  </script>
@@ -25,7 +25,7 @@
25
25
  <div class="col-md-6">
26
26
  <div class="form-group">
27
27
  <b>Page description</b>
28
- <textarea class="form-control" ng-model="component.attributes.description.value"></textarea>
28
+ <textarea class="form-control" rows="6" ng-model="component.attributes.description.value"></textarea>
29
29
  </div>
30
30
  </div>
31
31
  </div>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.1.17'
3
+ VERSION = '4.1.22'
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.17
4
+ version: 4.1.22
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-06 00:00:00.000000000 Z
17
+ date: 2020-12-17 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