promethee 1.11.8 → 1.11.9

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: 3b9908c1caf8636426ed2f1c338c5ada6044749653f518d08afdaa4a9ea64317
4
- data.tar.gz: cfebaa4a825d191a47f8958fd93b5dc3f901a69d44a03979ae18169338589ac7
3
+ metadata.gz: b9c913a35afd81ad585c4701fbb1c60179ce1121448a9223ea170d4946287324
4
+ data.tar.gz: 06b9ad22a7f86607ae59f409ae57984eee99814007ddbd3f26ff319de82b0f92
5
5
  SHA512:
6
- metadata.gz: 73db6de2999962989397974b4c4695a995a4c220298a7e51e1275481506fc3359fcfd1508e1e30f1914c28e91fae4a4c6e6c1b76311da75f9518bab2e4cbaafa
7
- data.tar.gz: b685f5f35e186534169193a5524e3b71f8ec16dea2fdb8aad62b6ae18a1aea0dc0c6d4212985de42d065b57302d9a7f21c57d79fd612ff31daf9b72b344f17ed
6
+ metadata.gz: 9bc2bb9e001a9107ff37dd62e66db25eb6599be8f67058b7b34306e37af3901838873932d1cffc7ae8425ed69dd90ed89697d432cebdbf98db53106ec0d8552c
7
+ data.tar.gz: 0a0cdd5971a9d4e07cc07061ea5d68b95b9e0398182f7c44ac25e59320f5772799350a1934d5a7a89f82dd7377849f751e9789ca29bcac4795ff6361e099b213
@@ -9,3 +9,4 @@ $promethee-color: #ff9900 !default
9
9
  @import 'promethee-edit/loader'
10
10
  @import 'promethee-edit/move'
11
11
  @import 'promethee-edit/preview'
12
+ @import 'promethee-edit/summernote'
@@ -26,7 +26,7 @@
26
26
  font-size: 12px
27
27
  line-height: 12px
28
28
  z-index: 1
29
-
29
+
30
30
  &--aside
31
31
  .btn
32
32
  &.left
@@ -147,14 +147,13 @@
147
147
  .promethee-edit
148
148
  &__inspect, &__library
149
149
  min-width: 100px
150
- max-width: 400px
151
150
  background: white
152
151
  position: fixed
153
152
  top: 50px
154
153
  bottom: 0
155
- padding: 30px 40px 15px
154
+ padding: 30px 20px 15px
156
155
  z-index: 1000
157
- width: calc(50vw - 380px)
156
+ width: calc(50vw - 365px)
158
157
  overflow-x: hidden
159
158
  overflow-y: auto
160
159
  &-header
@@ -180,13 +179,17 @@
180
179
  cursor: pointer
181
180
 
182
181
  &__library
182
+ padding-left: 10px
183
+ padding-right: 10px
183
184
  left: 0
185
+ &__item-container, &__item
186
+ display: inline-block
184
187
  &__item
185
- max-width: 300px
188
+ max-width: 100px
186
189
  z-index: 100000
187
190
  background-color: #253742
188
- padding-top: 10px
189
- margin-bottom: 30px
191
+ padding: 10px 5px 0 5px
192
+ margin: 0 10px 20px
190
193
  height: 100px
191
194
  min-width: 100px
192
195
  text-align: center
@@ -0,0 +1,6 @@
1
+ .note-editor
2
+ .note-toolbar-wrapper
3
+ .card-header
4
+ .btn-sm
5
+ font-size: 0.75rem
6
+ padding: 0.25rem 0.35rem
@@ -124,26 +124,21 @@ promethee
124
124
  <div class="promethee-edit__library">
125
125
  <div class="promethee-edit__library-header">Library</div>
126
126
  <div class="promethee-edit__library-content">
127
- <div class="row">
128
- <div ng-repeat="definition in promethee.definitions | filter:{library:true} | orderBy:'position'"
129
- class="col-md-12 col-lg-6">
130
- <div addable
131
- class="promethee-edit__library__item"
132
- data-type="{{definition.data.type}}">
133
- <div class="promethee-edit__library__item__icon" ng-bind-html="definition.icon | htmlSafe"></div>
134
- <div class="promethee-edit__library__item__name">{{definition.name}}</div>
135
- </div>
127
+ <div ng-repeat="definition in promethee.definitions | filter:{library:true} | orderBy:'position'" class="promethee-edit__library__item-container">
128
+ <div addable
129
+ class="promethee-edit__library__item"
130
+ data-type="{{definition.data.type}}">
131
+ <div class="promethee-edit__library__item__icon" ng-bind-html="definition.icon | htmlSafe"></div>
132
+ <div class="promethee-edit__library__item__name">{{definition.name}}</div>
136
133
  </div>
137
134
  </div>
138
135
  </div>
139
136
  <div class="promethee-edit__library-header">Presets</div>
140
137
  <div class="promethee-edit__library-content">
141
- <div class="row">
142
- <div ng-repeat="preset in promethee.presets | orderBy:'position'" class="col-md-12 col-lg-6">
143
- <div addable class="promethee-edit__library__item" data-type="text" data-preset="{{preset.name}}">
144
- <div class="promethee-edit__library__item__icon" ng-bind-html="preset.icon | htmlSafe"></div>
145
- <div class="promethee-edit__library__item__name">{{preset.name}}</div>
146
- </div>
138
+ <div ng-repeat="preset in promethee.presets | orderBy:'position'" class="promethee-edit__library__item-container">
139
+ <div addable class="promethee-edit__library__item" data-type="text" data-preset="{{preset.name}}">
140
+ <div class="promethee-edit__library__item__icon" ng-bind-html="preset.icon | htmlSafe"></div>
141
+ <div class="promethee-edit__library__item__name">{{preset.name}}</div>
147
142
  </div>
148
143
  </div>
149
144
  </div>
@@ -23,7 +23,9 @@
23
23
  ['headline', ['style']],
24
24
  ['style', ['bold', 'italic']],
25
25
  ['alignment', ['ul', 'ol', 'paragraph']],
26
- ['code', ['codeview']]
26
+ ['code', ['codeview']],
27
+ ['link', ['linkDialogShow', 'unlink']],
28
+ ['insert', ['hr']]
27
29
  ],
28
30
  styleTags: ['p', 'blockquote', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']
29
31
  });
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.11.8'
3
+ VERSION = '1.11.9'
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.11.8
4
+ version: 1.11.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -170,6 +170,7 @@ files:
170
170
  - app/assets/stylesheets/promethee-edit/_move.sass
171
171
  - app/assets/stylesheets/promethee-edit/_nav.sass
172
172
  - app/assets/stylesheets/promethee-edit/_preview.sass
173
+ - app/assets/stylesheets/promethee-edit/_summernote.sass
173
174
  - app/assets/stylesheets/promethee.sass
174
175
  - app/controllers/promethee_controller.rb
175
176
  - app/models/concerns/promethee_data.rb