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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42e820058c5973d55d05ff00caaa099eae018c83
|
|
4
|
+
data.tar.gz: 11983a0800b6e95381680cad20968f151abec785
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
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>
|