promethee 4.1.16 → 4.1.21

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: 310831237cbf7ee4493331c7bd1101275bc33c5ab5f34a6742104f9bdc4a6da8
4
- data.tar.gz: efc159fd105c74f764acd164a69e72753a1b581f76e1e08e22b7ee020ec1a9dc
3
+ metadata.gz: eb85b9e783ea7ca04f6256cbf1e8f07faf8465334f7747ccb4d98590e057c282
4
+ data.tar.gz: 4eecc4d0a1a92ad141f2192b44c52f9305a2981089d9f33a786713a581333ff4
5
5
  SHA512:
6
- metadata.gz: 42ef37255720cc041e58f3092ba3731a97a58b80196e7bee290839c64f0e7b9222bc0d0aa8c56e3f45b40d4190da0bf03533a4152f873d9a29fade61cda869b7
7
- data.tar.gz: d8aadec0f132cca1fcf21e1dad8ce35f8221c63807131ff76910a726ad547a100c433c1068bb37b3a91cb109ac6ea196a4ba021dcd0bbd02d4c86833b9d3a386
6
+ metadata.gz: f13fb885e2fb9c7a8a3d470a51784258de8db2053f667217405f9d55d5818f64729a895cc43db3fa427a070431422315aa7b719b68ee42812c27ddad0d5e8274
7
+ data.tar.gz: 7d4943b42cdc7bb860f1a4c4982f89dcdcad11e99bdfe21f5c2cbb4e929ea2c21b323e29723139ee2d216c28be6d4f9e3a49a4859b6a6aa41f39cdbfd36cb325
@@ -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
@@ -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,6 +1,10 @@
1
- <% image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false" %>
2
- <% fullsize_url = url_for(blob) %>
3
- <% image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width] %>
1
+ <%
2
+ image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false"
3
+ fullsize_url = url_for(blob)
4
+ image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width]
5
+ alt ||= ''
6
+ title ||= ''
7
+ %>
4
8
 
5
9
  <% if image_zoomable %>
6
10
  <a data-fancybox="gallery" title="<%= strip_tags(caption) %>" href="<%= fullsize_url %>">
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.1.16'
3
+ VERSION = '4.1.21'
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.16
4
+ version: 4.1.21
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-11-18 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