promethee 1.6.24 → 1.6.25

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
  SHA1:
3
- metadata.gz: 83798f3646f85b2dc7978ceade304967a7c02361
4
- data.tar.gz: fa1c1d8dea9bddf479298708fa44f3cf6fb5a53f
3
+ metadata.gz: 42e820058c5973d55d05ff00caaa099eae018c83
4
+ data.tar.gz: 11983a0800b6e95381680cad20968f151abec785
5
5
  SHA512:
6
- metadata.gz: 124e91b8a2c54adab120c8c72ad700330d930fb8f45b7773c03f6ec8a5699eef1ec158245631439b1ad568efe8564b65888d6566692ebbcebe2c5c3dae832a1c
7
- data.tar.gz: afb10c5801cc2e6d29d982b9fbf0850cac92d0a690d944f76c1b5e2cb66c85f9dd9795163905044c3c6fce299b964468301517da2b149e387a00931a18d8e1c5
6
+ metadata.gz: 71f818d72a652293f32f6a1b30e531ec92a5951878200cabf715720a2179e21335642e52a2606cc376ecd9005984bd6b330318285d0d0a78eb1d05fb8a0223de
7
+ data.tar.gz: 239d45d0fd0e3528c12c975514696fe17a2ee7e64f260bcca615e1072e73e33dce3806738c6ef69f14f3fa4ddddadc73bf56860a197c4be40797d68331fdaaa3
@@ -121,6 +121,24 @@ $promethee-color: #ff9900 !default
121
121
  margin-left: 5px
122
122
  cursor: pointer
123
123
 
124
+
125
+ .promethee-edit
126
+ .row
127
+ position: relative
128
+ &__background
129
+ position: absolute
130
+ z-index: 0
131
+ top: 0
132
+ left: 5px
133
+ right: 5px
134
+ bottom: 0
135
+ opacity: .5
136
+ background-repeat: no-repeat
137
+ &__children
138
+ position: relative
139
+ z-index: 10
140
+
141
+
124
142
  @media (min-width: 768px)
125
143
  .modal-dialog
126
144
  // default margin-top is 30px and the modal window is displayed UNDER the topbar
@@ -1,16 +1,27 @@
1
1
  <script type="text/ng-template" id="promethee/components/row/edit/move">
2
2
  <%= render 'promethee/edit/move.header', type: 'row' %>
3
- <div class="header">Row</div>
4
- <div class="row">
5
- <ng-include src="'promethee/components/row/edit/move/columns'"></ng-include>
6
- </div>
3
+ <div class="header">Row</div>
4
+ <div class="row">
5
+ <div class="row__background row__background--color" ng-style="{'background': component.attributes.bgcolor}"></div>
6
+
7
+ <div ng-repeat="background in component.attributes.backgrounds"
8
+ class="row__background"
9
+ style="
10
+ background-image:url('{{ background.image.id ? '/promethee/blob/' + background.image.id : '' }}');
11
+ background-position:{{ background.posh+' '+background.posv }};
12
+ background-size: {{background.size}}" >
7
13
  </div>
14
+
15
+ <ng-include src="'promethee/components/row/edit/move/columns'"></ng-include>
16
+
17
+ </div>
18
+ </div>
8
19
  </div>
9
20
  </script>
10
21
 
11
22
  <% # Scope of components must be local, so the row can be removed from its parent components %>
12
23
  <script type="text/ng-template" id="promethee/components/row/edit/move/columns">
13
- <div ng-init="components = component.children">
24
+ <div ng-init="components = component.children" class="row__children">
14
25
  <div ng-repeat="component in components"
15
26
  class="<%= promethee_bem_classes 'promethee-edit__move__draggable', '--{{component.type}}' %>">
16
27
  <ng-include src="'promethee/move/component'"></ng-include>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.6.24'
3
+ VERSION = '1.6.25'
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.24
4
+ version: 1.6.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos