effective_bootstrap 0.0.29 → 0.1.0

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: c5b5ab69922453107c33ee2e23222f74fb5ad91a
4
- data.tar.gz: 9c372c210a203b2c47473f78d01b91852f4ab243
3
+ metadata.gz: 75b919adce2eb277dcbfcb27d3e0e685dd1f0199
4
+ data.tar.gz: 5428f8595cb475f1157e6787890741836edfc1cf
5
5
  SHA512:
6
- metadata.gz: c78fd7b598bd7a5f67167aabe94ba789ee12d060bf273199380ce35fbf28bc50bf93a7ce9487d786a9e2ad954b9715f914704285058ec709373e3df2b63296de
7
- data.tar.gz: e024f7950477fcc310626f3cf783d294394f0fd75148ee66f48bfdb47fb5c0eb71aff54abbcfeaa1834ce3e674f6ebf2d71fae4492c53f6c79e3c75e1017e006
6
+ metadata.gz: 4e57ec5d9fe6070a84047eab59fbb03ef46327ad7feee2d6eadd33f82f520335794963d5c5647aeaac62f77b2013f4e91d66cc8074a0ccbf0f1a7681a80a4571
7
+ data.tar.gz: b4a5c1c2b3faf60174c8178e0741e081b2ea80eddca4b020d355dde16d20fbba674bfa6d83aa1d93612e81b063e426160cf0ca5f5e906091bbed8fa3bef081e5
@@ -12,11 +12,6 @@
12
12
  .form-control.is-valid ~ .ql-container { border-color: #28a745; }
13
13
  .form-control.is-valid ~ .ql-toolbar { border-color: #28a745; }
14
14
 
15
- .ql-effective.ql-container {
16
- font-family: inherit;
17
- font-size: inherit;
18
- }
19
-
20
15
  // Now for the editor itself
21
16
  .effective_editor_content.ql-container {
22
17
  border: none;
@@ -4,10 +4,13 @@
4
4
  * Copyright (c) 2014, Jason Chen
5
5
  * Copyright (c) 2013, salesforce.com
6
6
  */
7
+ /*
8
+ UPGRADE WARNING: track what styles have been commented out and keep them commented out;
9
+ */
7
10
  .ql-container {
8
11
  box-sizing: border-box;
9
- font-family: Helvetica, Arial, sans-serif;
10
- font-size: 13px;
12
+ // font-family: Helvetica, Arial, sans-serif;
13
+ // font-size: 13px;
11
14
  height: 100%;
12
15
  margin: 0px;
13
16
  position: relative;
@@ -56,7 +59,7 @@
56
59
  .ql-editor h4,
57
60
  .ql-editor h5,
58
61
  .ql-editor h6 {
59
- margin: 0;
62
+ // margin: 0;
60
63
  padding: 0;
61
64
  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
62
65
  }
@@ -848,7 +851,7 @@
848
851
  .ql-toolbar.ql-snow {
849
852
  border: 1px solid #ccc;
850
853
  box-sizing: border-box;
851
- font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
854
+ // font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
852
855
  padding: 8px;
853
856
  }
854
857
  .ql-toolbar.ql-snow .ql-formats {
@@ -17,11 +17,12 @@ module Effective
17
17
  { modules: { toolbar: toolbar }, theme: 'snow', placeholder: "Add #{name.to_s.pluralize}...", delta: delta? }
18
18
  end
19
19
 
20
+ # Commented out 'Full' toolbar options because currently we don't want headers / source / code options
20
21
  def toolbar
21
22
  [
22
- [{'header': [1, 2, 3, 4, false] }],
23
+ # [{'header': [1, 2, 3, 4, false] }],
23
24
  ['bold', 'italic', 'underline'],
24
- ['link', 'image', 'video', 'code-block'],
25
+ ['link', 'image', 'video'], # also 'code-block'
25
26
  [{'list': 'ordered'}, { 'list': 'bullet' }],
26
27
  [{'align': [] }, 'clean'],
27
28
  ]
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.0.29'.freeze
2
+ VERSION = '0.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-27 00:00:00.000000000 Z
11
+ date: 2018-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -412,7 +412,7 @@ files:
412
412
  - app/assets/stylesheets/effective_datetime/overrides.scss
413
413
  - app/assets/stylesheets/effective_editor/input.scss
414
414
  - app/assets/stylesheets/effective_editor/overrides.scss
415
- - app/assets/stylesheets/effective_editor/quill.css
415
+ - app/assets/stylesheets/effective_editor/quill.scss
416
416
  - app/assets/stylesheets/effective_file/input.scss
417
417
  - app/assets/stylesheets/effective_radio/input.scss
418
418
  - app/assets/stylesheets/effective_select/bootstrap-theme.css