scrivito_advanced_editors 0.90.0.rc1 → 0.90.0.rc2

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
  SHA1:
3
- metadata.gz: 38dbbfe68c25c0d405f26124f3079314af575f88
4
- data.tar.gz: 0e9c6885568f5b264f1b843c58ce06065225f53f
3
+ metadata.gz: 4243352121b93e07d83c8af9721d4b94f5e22795
4
+ data.tar.gz: 537e46abbb489c2e323ab5f1ce6643b142205ad4
5
5
  SHA512:
6
- metadata.gz: 95607a4fb909790d6e66d1c50b9ff7d193fdc3e5c4a1b98fd9528d49625f2b9a08db90807b59ffba57b5f82d614b22682ec3893bc7b69631348b87df97950e66
7
- data.tar.gz: 5ed8a2f4d95f6fa43719c0045f07bb403ff8be0e1ec5c7942eb1877712f28757c373a58b24923fe133aa084ec2ecbdfbb165c42a22808b59741dbd145d5cf6c4
6
+ metadata.gz: ffaef98fc5ede4a582d89a1b36ffca0a14a873d4e0b819277fa1a0a19f9754709c6182d88f88b9bde1c0a5a2338fc168bb87a79c01766003b09b759096226165
7
+ data.tar.gz: 338380b99235f45c3eb4600a074f09653d53fd953d140fc013f29f9f4ad84ffe0fa1b3b01105ee8526016cccf6599ef58bfed010d19f4c3ac17fbfa36a3fdbb7
@@ -1,48 +1,47 @@
1
1
  (function($, App) {
2
2
  'use strict';
3
3
 
4
- $(function() {
5
- App.ScrivitoColorPicker = {
6
- init_function: function(scrivito_tag) {
7
- var content = $(scrivito_tag).scrivito('content');
8
- var values = $(scrivito_tag).data('colors-list');
4
+ var ScrivitoColorPicker = {
5
+ init_function: function(scrivito_tag) {
6
+ var content = $(scrivito_tag).scrivito('content');
7
+ var values = $(scrivito_tag).data('colors-list');
9
8
 
10
- $(scrivito_tag).addClass('button_list').html('');
11
- return $.each(values, function(index, color) {
12
- var css_class = (color === content) ? 'active' : 'inactive'
13
- $('<button></button>')
14
- .addClass('scrivito-toggle-button')
15
- .addClass('color-select')
16
- .addClass(color === "" ? "default" : color)
17
- .addClass(color !== "" ? '' : 'transparent_bg')
18
- .addClass(css_class)
19
- .data('content', color)
20
- .html('')
21
- .appendTo($(scrivito_tag));
22
- });
23
- },
9
+ $(scrivito_tag).addClass('toggle_button_list').html('');
10
+ return $.each(values, function(index, color) {
11
+ var css_class = (color === content) ? 'active' : 'inactive'
12
+ $('<button></button>')
13
+ .addClass('scrivito-toggle-button')
14
+ .addClass('color-select')
15
+ .addClass(color === "" ? "default" : color)
16
+ .addClass(color !== "" ? '' : 'transparent_bg')
17
+ .addClass(css_class)
18
+ .data('content', color)
19
+ .html('')
20
+ .appendTo($(scrivito_tag));
21
+ });
22
+ },
24
23
 
25
- clickFunction: function(event) {
26
- var text = $(event.currentTarget).data('content');
27
- var scrivito_tag = $(event.currentTarget).parent();
24
+ clickFunction: function(event) {
25
+ var text = $(event.currentTarget).data('content');
26
+ var scrivito_tag = $(event.currentTarget).parent();
28
27
 
29
- scrivito_tag.find('.active').removeClass('active');
30
- $(event.currentTarget).addClass('active');
28
+ scrivito_tag.find('.active').removeClass('active');
29
+ $(event.currentTarget).addClass('active');
31
30
 
32
- scrivito_tag.scrivito('save', text);
33
- },
34
- };
31
+ scrivito_tag.scrivito('save', text);
32
+ },
33
+ };
35
34
 
36
- scrivito.on('load', function() {
37
- scrivito.define_editor("color_picker", {
38
- can_edit: function(element) {
39
- return $(element).is('[data-colors-list]');
40
- },
41
- activate: function(element) {
42
- ScrivitoColorPicker.init_function(element);
43
- $(element).on('click', '.scrivito-toggle-button', ScrivitoColorPicker.clickFunction);
44
- }
45
- });
35
+ scrivito.on('load', function() {
36
+ scrivito.define_editor("color_picker", {
37
+ can_edit: function(element) {
38
+ return $(element).is('[data-colors-list]');
39
+ },
40
+ activate: function(element) {
41
+ ScrivitoColorPicker.init_function(element);
42
+ $(element).on('click', '.scrivito-toggle-button', ScrivitoColorPicker.clickFunction);
43
+ }
46
44
  });
47
45
  });
46
+
48
47
  })(jQuery, this);
@@ -20,7 +20,8 @@ $(function() {
20
20
  }
21
21
 
22
22
  if(with_date != "") {
23
- jQuery.extend({with_date: now}, options)
23
+ var attribute = options['with_date'];
24
+ jQuery.extend({attribute: now}, options)
24
25
  }
25
26
 
26
27
  return scrivito.create_obj(options).done(function(data) {
@@ -1,15 +1,14 @@
1
1
  (function($, App) {
2
2
  'use strict';
3
3
 
4
- $(function() {
5
- scrivito.on('content', function(content) {
6
- $(content).find('[data-scrivito-toggle-details]').on('click', function() {
7
- var details_link = $(this);
8
- var details_id = details_link.data('scrivito-toggle-details');
9
- var details = details_link.parent().find('.scrivito-details-' + details_id);
10
- details.toggle();
11
- return false;
12
- });
4
+ scrivito.on('content', function(content) {
5
+ $(content).find('[data-scrivito-toggle-details]').on('click', function() {
6
+ var details_link = $(this);
7
+ var details_id = details_link.data('scrivito-toggle-details');
8
+ var details = details_link.parent().find('.scrivito-details-' + details_id);
9
+ details.toggle();
10
+ return false;
13
11
  });
14
12
  });
13
+
15
14
  })(jQuery, this);
@@ -1,63 +1,62 @@
1
1
  (function($, App) {
2
2
  'use strict';
3
3
 
4
- $(function() {
5
- App.ScrivitoMultiSelectButton = {
6
- init_function: function(scrivito_tag) {
7
- var content = $(scrivito_tag).scrivito('content');
8
- var is_enum = $(scrivito_tag).is('[data-scrivito-field-type=multienum]');
9
- var values = is_enum ? $(scrivito_tag).scrivito('allowed_values') : $(scrivito_tag).data('multi-select-list');
10
- var captions = $(scrivito_tag).data('multi-select-caption');
11
-
12
- $(scrivito_tag).addClass('button_list').addClass('select').html('');
13
- return $.each(values, function(index, value) {
14
- var css_class = ($.inArray(value, content) >= 0) ? 'active' : 'inactive'
15
-
16
- if(!is_enum) css_class = (content.indexOf(value) > -1) ? 'active' : 'inactive'
17
-
18
- var caption = (captions && captions[value]) ? captions[value] : value
19
- $('<button></button>')
20
- .addClass('scrivito-multi-select-button')
21
- .addClass(css_class)
22
- .data('content', value)
23
- .html(caption)
24
- .appendTo($(scrivito_tag));
25
- });
26
- },
27
-
28
- clickFunction: function(event) {
29
- var newValue = $(event.currentTarget).data('content');
30
- var scrivito_tag = $(event.currentTarget).parent();
31
- var content = $(scrivito_tag).scrivito('content');
32
- var array_content = Array.isArray(content) ? content : content.split('%|%')
33
- if(content === "") array_content = []
34
-
35
- if($.inArray(newValue, content) >= 0) {
36
- array_content.splice( content.indexOf(newValue), 1 );
37
- } else {
38
- array_content.push(newValue);
39
- }
40
-
41
- $(event.currentTarget).toggleClass('active');
42
-
43
- var to_save = $(scrivito_tag).is('[data-scrivito-field-type=multienum]') ? array_content : array_content.join('%|%');
44
-
45
- scrivito_tag.scrivito('save', to_save);
46
- },
47
- };
48
-
49
- scrivito.on('load', function() {
50
- scrivito.define_editor("toggle_multi_select_editor", {
51
- can_edit: function(element) {
52
- var is_enum = $(element).is('[data-scrivito-field-type=multienum]')
53
- var has_list = $(element).is('[data-multi-select-list]')
54
- return is_enum || has_list;
55
- },
56
- activate: function(element) {
57
- ScrivitoMultiSelectButton.init_function(element);
58
- $(element).on('click', '.scrivito-multi-select-button', ScrivitoMultiSelectButton.clickFunction);
59
- }
4
+ var ScrivitoMultiSelectButton = {
5
+ init_function: function(scrivito_tag) {
6
+ var content = $(scrivito_tag).scrivito('content');
7
+ var is_enum = $(scrivito_tag).is('[data-scrivito-field-type=multienum]');
8
+ var values = is_enum ? $(scrivito_tag).scrivito('allowed_values') : $(scrivito_tag).data('multi-select-list');
9
+ var captions = $(scrivito_tag).data('multi-select-caption');
10
+
11
+ $(scrivito_tag).addClass('button_list').addClass('select').html('');
12
+ return $.each(values, function(index, value) {
13
+ var css_class = ($.inArray(value, content) >= 0) ? 'active' : 'inactive'
14
+
15
+ if(!is_enum) css_class = (content.indexOf(value) > -1) ? 'active' : 'inactive'
16
+
17
+ var caption = (captions && captions[value]) ? captions[value] : value
18
+ $('<button></button>')
19
+ .addClass('scrivito-multi-select-button')
20
+ .addClass(css_class)
21
+ .data('content', value)
22
+ .html(caption)
23
+ .appendTo($(scrivito_tag));
60
24
  });
25
+ },
26
+
27
+ clickFunction: function(event) {
28
+ var newValue = $(event.currentTarget).data('content');
29
+ var scrivito_tag = $(event.currentTarget).parent();
30
+ var content = $(scrivito_tag).scrivito('content');
31
+ var array_content = Array.isArray(content) ? content : content.split('%|%')
32
+ if(content === "") array_content = []
33
+
34
+ if($.inArray(newValue, content) >= 0) {
35
+ array_content.splice( content.indexOf(newValue), 1 );
36
+ } else {
37
+ array_content.push(newValue);
38
+ }
39
+
40
+ $(event.currentTarget).toggleClass('active');
41
+
42
+ var to_save = $(scrivito_tag).is('[data-scrivito-field-type=multienum]') ? array_content : array_content.join('%|%');
43
+
44
+ scrivito_tag.scrivito('save', to_save);
45
+ },
46
+ };
47
+
48
+ scrivito.on('load', function() {
49
+ scrivito.define_editor("toggle_multi_select_editor", {
50
+ can_edit: function(element) {
51
+ var is_enum = $(element).is('[data-scrivito-field-type=multienum]')
52
+ var has_list = $(element).is('[data-multi-select-list]')
53
+ return is_enum || has_list;
54
+ },
55
+ activate: function(element) {
56
+ ScrivitoMultiSelectButton.init_function(element);
57
+ $(element).on('click', '.scrivito-multi-select-button', ScrivitoMultiSelectButton.clickFunction);
58
+ }
61
59
  });
62
60
  });
61
+
63
62
  })(jQuery, this);
@@ -1,22 +1,20 @@
1
1
  (function($, App) {
2
2
  'use strict';
3
3
 
4
- $(function() {
5
- scrivito.on('content', function() {
6
- var tab_list = $('.tab-list');
7
- var active = tab_list.find('.active');
4
+ scrivito.on('content', function(content) {
5
+ var tab_list = $(content).find('.tab-list');
6
+ var active = tab_list.find('.active');
8
7
 
9
- $(active.data('panel-target')).addClass('active');
8
+ $(active.data('panel-target')).addClass('active');
10
9
 
11
- tab_list.on('click', 'li', function() {
12
- var target = $(this).data('panel-target');
13
- if(!$(this).hasClass('inactive')) {
14
- $(target).siblings('.active').removeClass('active');
15
- $(this).siblings('.active').removeClass('active');
16
- $(target).addClass('active');
17
- $(this).addClass('active');
18
- }
19
- });
10
+ tab_list.on('click', 'li', function() {
11
+ var target = $(this).data('panel-target');
12
+ if(!$(this).hasClass('inactive')) {
13
+ $(target).siblings('.active').removeClass('active');
14
+ $(this).siblings('.active').removeClass('active');
15
+ $(target).addClass('active');
16
+ $(this).addClass('active');
17
+ }
20
18
  });
21
19
  });
22
20
 
@@ -1,35 +1,32 @@
1
1
  (function($, App) {
2
2
  'use strict';
3
3
 
4
- $(function() {
4
+ var TextareaEditor = {
5
+ // set selector for Editor
6
+ selector: '[data-editor=scrivito-textarea-editor]',
5
7
 
6
- App.textareaEditor = {
7
- // set selector for Editor
8
- selector: '[data-editor=scrivito-textarea-editor]',
9
-
10
- initFunction: function() {
11
- var editors = $(textareaEditor.selector);
12
- $.each(editors, function(i, editor) {
13
- var textarea = $("<textarea></textarea>").val($(editor).html());
14
- $(editor).html(textarea);
15
- });
16
- },
8
+ initFunction: function() {
9
+ var editors = $(TextareaEditor.selector);
10
+ $.each(editors, function(i, editor) {
11
+ var textarea = $("<textarea></textarea>").val($(editor).html());
12
+ $(editor).html(textarea);
13
+ });
14
+ },
17
15
 
18
- blurFunction: function(cmsField) {
19
- var text = cmsField.val();
20
- return cmsField.parent().scrivito('save', text);
21
- }
22
- };
16
+ blurFunction: function(cmsField) {
17
+ var text = cmsField.val();
18
+ return cmsField.parent().scrivito('save', text);
19
+ }
20
+ };
23
21
 
24
- scrivito.on('load', function() {
22
+ scrivito.on('load', function() {
23
+ if(scrivito.in_editable_view()) {
24
+ TextareaEditor.initFunction();
25
+ }
26
+ return $('body').on('blur', TextareaEditor.selector + " textarea", function(event) {
25
27
  if(scrivito.in_editable_view()) {
26
- textareaEditor.initFunction();
28
+ TextareaEditor.blurFunction($(event.target));
27
29
  }
28
- return $('body').on('blur', textareaEditor.selector + " textarea", function(event) {
29
- if(scrivito.in_editable_view()) {
30
- textareaEditor.blurFunction($(event.target));
31
- }
32
- });
33
30
  });
34
31
  });
35
32
 
@@ -1,49 +1,48 @@
1
1
  (function($, App) {
2
2
  'use strict';
3
3
 
4
- $(function() {
5
- App.ScrivitoToggleButton = {
6
- init_function: function(scrivito_tag) {
7
- var content = $(scrivito_tag).scrivito('content');
8
- var values = $(scrivito_tag).is('[data-scrivito-field-type=enum]') ? $(scrivito_tag).scrivito('allowed_values') : $(scrivito_tag).data('toggle-button-list');
9
- var captions = $(scrivito_tag).data('toggle-button-caption');
4
+ var ScrivitoToggleButton = {
5
+ init_function: function($scrivito_tag) {
6
+ var content = $scrivito_tag.scrivito('content');
7
+ var values = $scrivito_tag.is('[data-scrivito-field-type=enum]') ? $scrivito_tag.scrivito('allowed_values') : $scrivito_tag.data('toggle-button-list');
8
+ var captions = $scrivito_tag.data('toggle-button-caption');
10
9
 
11
- $(scrivito_tag).addClass('button_list').html('');
12
- return $.each(values, function(index, value) {
13
- var css_class = (value === content) ? 'active' : 'inactive'
14
- var caption = (captions && captions[value]) ? captions[value] : value
15
- $('<button></button>')
16
- .addClass('scrivito-toggle-button')
17
- .addClass(css_class)
18
- .data('content', value)
19
- .html(caption)
20
- .appendTo($(scrivito_tag));
21
- });
22
- },
10
+ $scrivito_tag.addClass('toggle_button_list').html('');
11
+ return $.each(values, function(index, value) {
12
+ var css_class = (value.toString() === content) ? 'active' : 'inactive'
13
+ var caption = (captions && captions[value]) ? captions[value] : value
14
+ $('<button></button>')
15
+ .addClass('scrivito-toggle-button')
16
+ .addClass(css_class)
17
+ .data('content', value)
18
+ .html(caption)
19
+ .appendTo($scrivito_tag);
20
+ });
21
+ },
23
22
 
24
- clickFunction: function(event) {
25
- var text = $(event.currentTarget).data('content');
26
- var scrivito_tag = $(event.currentTarget).parent();
23
+ clickFunction: function(event) {
24
+ var text = $(event.currentTarget).data('content');
25
+ var scrivito_tag = $(event.currentTarget).parent();
27
26
 
28
- scrivito_tag.find('.active').removeClass('active');
29
- $(event.currentTarget).addClass('active');
27
+ scrivito_tag.find('.active').removeClass('active');
28
+ $(event.currentTarget).addClass('active');
30
29
 
31
- scrivito_tag.scrivito('save', text);
32
- },
33
- };
30
+ scrivito_tag.scrivito('save', text);
31
+ },
32
+ };
34
33
 
35
- scrivito.on('load', function() {
36
- scrivito.define_editor("toggle_button_editor", {
37
- can_edit: function(element) {
38
- var is_enum = $(element).is('[data-scrivito-field-type=enum]')
39
- var has_list = $(element).is('[data-toggle-button-list]')
40
- return is_enum || has_list;
41
- },
42
- activate: function(element) {
43
- ScrivitoToggleButton.init_function(element);
44
- $(element).on('click', '.scrivito-toggle-button', ScrivitoToggleButton.clickFunction);
45
- }
46
- });
34
+ scrivito.on('load', function() {
35
+ scrivito.define_editor("toggle_button_editor", {
36
+ can_edit: function(element) {
37
+ var is_enum = $(element).is('[data-scrivito-field-type=enum]')
38
+ var has_list = $(element).is('[data-toggle-button-list]')
39
+ return is_enum || has_list;
40
+ },
41
+ activate: function(element) {
42
+ ScrivitoToggleButton.init_function($(element));
43
+ $(element).on('click', '.scrivito-toggle-button', ScrivitoToggleButton.clickFunction);
44
+ }
47
45
  });
48
46
  });
47
+
49
48
  })(jQuery, this);
@@ -0,0 +1,11 @@
1
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.color-select {
2
+ padding: 3px;
3
+ font-size: 0px;
4
+ line-height: 10px;
5
+ width: 45px;
6
+ height: 45px;
7
+ }
8
+
9
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.color-select.none {
10
+ font-size: 10px;
11
+ }
@@ -32,11 +32,12 @@
32
32
  margin: 5px -10px -10px;
33
33
  }
34
34
 
35
- .scrivito_content_group {
36
- h1,h2,h3,h4,h5,h6 {
37
- small {
38
- color: #bbb;
39
- margin-left: 20px;
40
- }
41
- }
42
- }
35
+ .scrivito_content_group h1 small,
36
+ .scrivito_content_group h2 small,
37
+ .scrivito_content_group h3 small,
38
+ .scrivito_content_group h4 small,
39
+ .scrivito_content_group h5 small,
40
+ .scrivito_content_group h6 small {
41
+ color: #bbb;
42
+ margin-left: 20px;
43
+ }
@@ -1,15 +1,15 @@
1
- .scrivito_dialog .button_list {
1
+ .scrivito_dialog .toggle_button_list {
2
2
  overflow: hidden;
3
3
  position: relative;
4
4
  }
5
5
 
6
- .scrivito_dialog [data-scrivito-field-type="enum"].button_list {
6
+ .scrivito_dialog [data-scrivito-field-type="enum"].toggle_button_list {
7
7
  background: transparent;
8
8
  border: none;
9
9
  padding: 0;
10
10
  }
11
11
 
12
- .scrivito_dialog .button_list .scrivito-toggle-button {
12
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button {
13
13
  margin: 4px;
14
14
  min-width: 28px;
15
15
  background: #ddd;
@@ -26,17 +26,17 @@
26
26
  padding: 5px 15px;
27
27
  }
28
28
 
29
- .scrivito_dialog .button_list .scrivito-toggle-button:hover {
29
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button:hover {
30
30
  background: #ccc;
31
31
  }
32
32
 
33
- .scrivito_dialog .button_list .scrivito-toggle-button.active {
33
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.active {
34
34
  box-shadow: 0 0px 5px rgba(0,0,0,0.2);
35
35
  color: white;
36
36
  background: #658b51;
37
37
  }
38
38
 
39
- .scrivito_dialog .button_list .scrivito-toggle-button.color-select {
39
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.color-select {
40
40
  background: transparent;
41
41
  transition: width 0.3s, height 0.3s, margin 0.3s;
42
42
  position: relative;
@@ -44,7 +44,7 @@
44
44
  margin: 7px 4px;
45
45
  }
46
46
 
47
- .scrivito_dialog .button_list .scrivito-toggle-button.color-select.active {
47
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.color-select.active {
48
48
  background: transparent;
49
49
  height: 51px;
50
50
  width: 51px;
@@ -1,4 +1,4 @@
1
- .scrivito_dialog .button_list .scrivito-toggle-button.color-select:before {
1
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.color-select:before {
2
2
  content: '';
3
3
  background-color: #fff;
4
4
  background-image:
@@ -14,7 +14,7 @@
14
14
  bottom: 0;
15
15
  }
16
16
 
17
- .scrivito_dialog .button_list .scrivito-toggle-button.color-select:after {
17
+ .scrivito_dialog .toggle_button_list .scrivito-toggle-button.color-select:after {
18
18
  content: '';
19
19
  background-color: inherit;
20
20
  position: absolute;
@@ -11,7 +11,7 @@ module ScrivitoAdvancedEditors
11
11
 
12
12
  def scrivito_toggle_button_editor(obj, attribute, list=nil)
13
13
  if list
14
- scrivito_tag(:div, obj, attribute, data: {toggle_list: list})
14
+ scrivito_tag(:div, obj, attribute, data: {toggle_button_list: list})
15
15
  else
16
16
  scrivito_tag(:div, obj, attribute)
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module ScrivitoAdvancedEditors
2
- VERSION = "0.90.0.rc1"
2
+ VERSION = "0.90.0.rc2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_advanced_editors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0.rc1
4
+ version: 0.90.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-17 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,14 +84,14 @@ files:
84
84
  - app/assets/javascripts/scripts/scrivito_toggle_button.js
85
85
  - app/assets/javascripts/scrivito_advanced_editors.js
86
86
  - app/assets/stylesheets/scrivito_advanced_editors.css
87
- - app/assets/stylesheets/scrivito_advanced_editors/color_picker.css.scss
87
+ - app/assets/stylesheets/scrivito_advanced_editors/color_picker.css
88
88
  - app/assets/stylesheets/scrivito_advanced_editors/create_obj.css
89
- - app/assets/stylesheets/scrivito_advanced_editors/scrivito_dialog.css.scss
89
+ - app/assets/stylesheets/scrivito_advanced_editors/scrivito_dialog.css
90
90
  - app/assets/stylesheets/scrivito_advanced_editors/scrivito_mutli_select_button.css.scss
91
91
  - app/assets/stylesheets/scrivito_advanced_editors/scrivito_tabs.css
92
92
  - app/assets/stylesheets/scrivito_advanced_editors/scrivito_toggle_button.css
93
- - app/assets/stylesheets/scrivito_advanced_editors/textarea_editor.css.scss
94
- - app/assets/stylesheets/scrivito_advanced_editors/transparent_bg.css.scss
93
+ - app/assets/stylesheets/scrivito_advanced_editors/textarea_editor.css
94
+ - app/assets/stylesheets/scrivito_advanced_editors/transparent_bg.css
95
95
  - app/helpers/scrivito_advanced_editors/scrivito_advanced_tag_helper.rb
96
96
  - app/views/scrivito_advanced_editors/_create_obj.html.erb
97
97
  - lib/scrivito_advanced_editors.rb
@@ -1,10 +0,0 @@
1
- .scrivito_dialog .button_list .scrivito-toggle-button.color-select {
2
- padding: 3px;
3
- font-size: 0px;
4
- line-height: 10px;
5
- width: 45px;
6
- height: 45px;
7
- &.none {
8
- font-size: 10px;
9
- }
10
- }