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 +4 -4
- data/README.md +5 -0
- data/lib/morrisjs-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/_morrisjs-rails.scss +27 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1749eb760cd63fe69a1c4c5be6fdb88f0b3fcb98
|
4
|
+
data.tar.gz: 25f48435c3d2ee11624b587eb8f0135286a3be51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
@@ -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.
|
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:
|
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:
|