morrisjs-rails 0.5.1.1 → 0.5.1.2

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: 41d60653f5a53de82417addfbf90a7d8c15b3e58
4
- data.tar.gz: e34fca92ec509f49ef431615b34d4f218e5e822a
3
+ metadata.gz: 1749eb760cd63fe69a1c4c5be6fdb88f0b3fcb98
4
+ data.tar.gz: 25f48435c3d2ee11624b587eb8f0135286a3be51
5
5
  SHA512:
6
- metadata.gz: 8e8d2093f5fa32e34c74643f4efd0db0ca4daa900bb8c2bb0722b36566225b73fbecf7e729a7e88d4c453aaad7b9cfbd3c61894414f5723c8a8a0b49edc5cf88
7
- data.tar.gz: 77a197810d51af9b10eed99352ccb17ce41f008eb530092b1433b5c67ece6735b528d5c06e32e2f22a05cdac95a82dd06f9c045b0387479e24125785b94a113a
6
+ metadata.gz: 75558e4b7f337e9422f3f1485e219d6e973cb2edab3a2c25d81ca7d780796c0eb42590f80dbe29b4ebcb015955bbe07bca5b335d109e452d65a03c9cad972b13
7
+ data.tar.gz: 16879abd39bd82b5a6dd8201b3a097c01b600b2274353b9c65f26d039019339bb49c84c0b79714657c75f7a51d58a153212327531acce58a27ee4b1d0da34611
data/README.md CHANGED
@@ -30,6 +30,11 @@ Add the following directive to your css manifest file (application.css):
30
30
  *= require morris
31
31
 
32
32
 
33
+ Add the following directive to your sass manifest file (application.scss):
34
+
35
+ @import 'morrisjs-rails';
36
+
37
+
33
38
  ## Versioning
34
39
 
35
40
  The naming schema is identical to morris.js.
@@ -1,5 +1,5 @@
1
1
  module Morrisjs
2
2
  module Rails
3
- VERSION = "0.5.1.1"
3
+ VERSION = "0.5.1.2"
4
4
  end
5
5
  end
@@ -0,0 +1,27 @@
1
+ .morris-hover {
2
+ position: absolute;
3
+ z-index: 1000;
4
+
5
+ &.morris-default-style {
6
+ border-radius: 10px;
7
+ padding: 6px;
8
+ color: #666;
9
+ background: rgba(255, 255, 255, 0.8);
10
+ border: solid 2px rgba(230, 230, 230, 0.8);
11
+ font-family: sans-serif;
12
+ font-size: 12px;
13
+ text-align: center;
14
+ }
15
+
16
+ &.morris-default-style {
17
+ .morris-hover-row-label {
18
+ font-weight: bold;
19
+ margin: 0.25em 0;
20
+ }
21
+
22
+ .morris-hover-point {
23
+ white-space: nowrap;
24
+ margin: 0.1em 0;
25
+ }
26
+ }
27
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morrisjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1.1
4
+ version: 0.5.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - beanie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-29 00:00:00.000000000 Z
11
+ date: 2017-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -41,6 +41,7 @@ files:
41
41
  - lib/morrisjs-rails.rb
42
42
  - lib/morrisjs-rails/version.rb
43
43
  - vendor/assets/javascripts/morris.js
44
+ - vendor/assets/stylesheets/_morrisjs-rails.scss
44
45
  - vendor/assets/stylesheets/morris.css
45
46
  homepage: https://github.com/beanieboi/morrisjs-rails
46
47
  licenses: