thecore_ui_commons 2.4.0 → 2.4.1

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
  SHA256:
3
- metadata.gz: baeea09d6c4a3fa13afe8e01906f681a5459bea35e80277c0c93aaffbdad6ba8
4
- data.tar.gz: 66edd5d93e10fb3dcf5f4e78554d9deeb65936c0d5829244df75377e31701f37
3
+ metadata.gz: 597081279a83bd276d54e6e4187812cefad8f9d783e289d94a175a4d9c944649
4
+ data.tar.gz: 5f08c5d3c96a897426214f1f1975284f02cfc8bdcb62c2fa48b79bc4298b37a0
5
5
  SHA512:
6
- metadata.gz: 99a4c64b915ce9d05eb6a4cb63f9a2dd5deb8814fd068f8009c844c2a2c63adf90f067253139bcae02637f394ee0f596fda279296bf21aaf45801e1f05f4b6c5
7
- data.tar.gz: 62763fe0c7efd2a605f338d3f37ef91a09bb7e2597c013fb6ca7b9fcaac4e9006c91616955e8ef329a8ee4ea8e35686c932f7a8c331e43f40349a5c5ce00ea31
6
+ metadata.gz: 25670a9e33dde238dec7b1614d3bd6383633acac29874bbadcfc79866cca89efebf8f954ded16ff0fdcb4a8625242eaaaafbc8805f8b645935e76b717eff828c
7
+ data.tar.gz: 9f71bdae0dfd6f3e72a34ea4cbb31e5216d49758e9ec939af54311d2ae41c79ef94a1f9d26f9f70726faef6531fc273a19ad1c98edd220fda87dbfb82beb72a1
@@ -0,0 +1,3 @@
1
+ //= require jquery
2
+ //= require jquery_ujs
3
+ //= require bootstrap
@@ -1,3 +1,4 @@
1
+
1
2
  //= require ie
2
3
  //= require timer
3
4
  //= require apexcharts
@@ -8,29 +8,29 @@
8
8
  // We need to override trix.css’s image gallery styles to accommodate the
9
9
  // <action-text-attachment> element we wrap around attachments. Otherwise,
10
10
  // images in galleries will be squished by the max-width: 33%; rule.
11
- .trix-content {
12
- .attachment-gallery {
13
- > action-text-attachment,
14
- > .attachment {
15
- flex: 1 0 33%;
16
- padding: 0 0.5em;
17
- max-width: 33%;
18
- }
11
+ // .trix-content {
12
+ // .attachment-gallery {
13
+ // > action-text-attachment,
14
+ // > .attachment {
15
+ // flex: 1 0 33%;
16
+ // padding: 0 0.5em;
17
+ // max-width: 33%;
18
+ // }
19
19
 
20
- &.attachment-gallery--2,
21
- &.attachment-gallery--4 {
22
- > action-text-attachment,
23
- > .attachment {
24
- flex-basis: 50%;
25
- max-width: 50%;
26
- }
27
- }
28
- }
20
+ // &.attachment-gallery--2,
21
+ // &.attachment-gallery--4 {
22
+ // > action-text-attachment,
23
+ // > .attachment {
24
+ // flex-basis: 50%;
25
+ // max-width: 50%;
26
+ // }
27
+ // }
28
+ // }
29
29
 
30
- action-text-attachment {
31
- .attachment {
32
- padding: 0 !important;
33
- max-width: 100% !important;
34
- }
35
- }
36
- }
30
+ // action-text-attachment {
31
+ // .attachment {
32
+ // padding: 0 !important;
33
+ // max-width: 100% !important;
34
+ // }
35
+ // }
36
+ // }
@@ -28,4 +28,16 @@
28
28
  width: 20vw;
29
29
  z-index:9999;
30
30
  border-radius: 1em;
31
+ }
32
+
33
+
34
+ trix-editor {
35
+ background-color: white;
36
+
37
+ }
38
+
39
+ @media (min-width: 768px) {
40
+ .col-sm-10.controls {
41
+ width: auto !important;
42
+ }
31
43
  }
@@ -11,6 +11,7 @@
11
11
  <meta name="turbolinks-cache-control" content="no-cache">
12
12
 
13
13
  <%# Getting all the assets needed by thecore from all the gems %>
14
+ <%= javascript_include_tag('thecore_ui_commons/thecore-devise', 'data-turbolinks-track' => true)%>
14
15
  <%= get_asset_tags_for("thecore")%>
15
16
  <%= stylesheet_link_tag('application', media: 'all', 'data-turbolinks-track' => true) if (Rails.application.assets || ::Sprockets::Railtie.build_environment(Rails.application)).find_asset("application.css")%>
16
17
  <%= javascript_include_tag('application', 'data-turbolinks-track' => true) if (Rails.application.assets || ::Sprockets::Railtie.build_environment(Rails.application)).find_asset("application.js") %>
@@ -1,3 +1,5 @@
1
1
  Rails.application.config.assets.configure do |env|
2
2
  env.export_concurrent = false
3
- end
3
+ end
4
+
5
+ Rails.application.config.assets.precompile += %w( thecore_ui_commons/thecore-devise.js )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-27 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_background_jobs
@@ -133,6 +133,7 @@ files:
133
133
  - app/assets/javascripts/ie.js
134
134
  - app/assets/javascripts/manifest.json
135
135
  - app/assets/javascripts/pages.coffee
136
+ - app/assets/javascripts/thecore_ui_commons/thecore-devise.js
136
137
  - app/assets/javascripts/thecore_ui_commons/thecore.js
137
138
  - app/assets/javascripts/timer.js
138
139
  - app/assets/stylesheets/thecore_ui_commons/actiontext.scss