alom 0.1.1 → 1.0.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
- SHA1:
3
- metadata.gz: d4f37a1317225111fb71f3f38522b17f2649dc12
4
- data.tar.gz: 8b83d0471e469dda91a2d6ac501199172daac9c7
2
+ SHA256:
3
+ metadata.gz: fa2547afe299b1d69cf5d387ce6dde8a0cd3239ee2ff76b0f9ff11f3d07f3665
4
+ data.tar.gz: fd587c3909160e3b0331b7e170e5f09d667664fc2cd4774ae8ca5e26e702c064
5
5
  SHA512:
6
- metadata.gz: eff775193fcf4c1d573ad4609d1d3bc2f3749f67021dffe91f12541bb43f4949d72515665cb94db826bb3b07d8d9e74b0fc8ff741dce810d003c7fc683b505eb
7
- data.tar.gz: c194e99237d24ec8eddd9a1e11e833ead822863ab1e77568dc07f8ebb4c5c22d8b56d55f38db8c5e3d6405bba38d41220a843e42b7a7cf069a1bbdf6a952056f
6
+ metadata.gz: 52c6a38eff602d5166e2a651b549033a44dc1065ea1d6a1996276190b66cb0a6d3119aacf2d97079fb21cf0288acbb1157e2ca73de090751b6f1825874876164
7
+ data.tar.gz: bae74c626afddac093d720052ae5fb326123cc4db0832f6d0afd4db3e42d9e0422d6e90ab82b338bb43a80ff4d5bb52fdd3fa25ff675c884959ab3de3a24377c
data/README.md CHANGED
@@ -14,7 +14,7 @@ The alom gem integrates the Alom framework for Rails 4+ Asset Pipeline.
14
14
 
15
15
  ## Installing Gem
16
16
 
17
- You need to only include the `furatto` gem inside your `Gemfile`:
17
+ You need to only include the `alom` gem inside your `Gemfile`:
18
18
 
19
19
  ```ruby
20
20
  gem 'alom'
@@ -50,7 +50,7 @@ Or if you're using SASS, go to application.css.scss and add:
50
50
 
51
51
  ## Contributing
52
52
 
53
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/icalicons. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/IcaliaLabs/alom-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
54
54
 
55
55
  ## License
56
56
 
@@ -1,3 +1,3 @@
1
1
  module Alom
2
- VERSION = "0.1.1"
2
+ VERSION = "1.0.0"
3
3
  end
File without changes
@@ -23,26 +23,51 @@ time, mark, audio, video {
23
23
  font: inherit;
24
24
  vertical-align: baseline;
25
25
  }
26
+
26
27
  /* HTML5 display-role reset for older browsers */
27
28
  article, aside, details, figcaption, figure,
28
29
  footer, header, hgroup, menu, nav, section {
29
30
  display: block;
30
31
  }
32
+
31
33
  body {
32
34
  line-height: 1;
33
35
  }
34
- ol, ul {
36
+
37
+ ol,
38
+ ul {
35
39
  list-style: none;
36
40
  }
37
- blockquote, q {
41
+
42
+ blockquote,
43
+ q {
38
44
  quotes: none;
39
45
  }
40
- blockquote:before, blockquote:after,
41
- q:before, q:after {
46
+
47
+ blockquote:before,
48
+ blockquote:after,
49
+ q:before,
50
+ q:after {
42
51
  content: '';
43
52
  content: none;
44
53
  }
54
+
45
55
  table {
46
56
  border-collapse: collapse;
47
57
  border-spacing: 0;
48
58
  }
59
+
60
+ a {
61
+ background-color: transparent;
62
+ color: inherit;
63
+ display: inline-block;
64
+ text-decoration: none;
65
+ -webkit-text-decoration-skip: objects;
66
+
67
+ &:focus,
68
+ &:hover,
69
+ &:active {
70
+ outline: 0;
71
+ cursor: pointer;
72
+ }
73
+ }
@@ -9,6 +9,8 @@ $breakpoints: (
9
9
  w: $wide // Wide Screens
10
10
  );
11
11
 
12
+ $min-width: min-width;
13
+
12
14
  //############################################//
13
15
  //# Customize Alom editing the variables ###//
14
16
  //###########################################//
@@ -36,17 +38,26 @@ $breakpoints: (
36
38
  //###########################################//
37
39
  @each $bp in map-keys($breakpoints) {
38
40
  .hide-on-#{$bp}-only {
39
- @media screen and (min-width: prev($breakpoints, #{$bp})) and (max-width: next($breakpoints, #{$bp})) {
41
+ @media screen and (min-width: prev($breakpoints, #{$bp})) and (max-width: next($breakpoints, #{$bp})) {
40
42
  display: none !important;
41
43
  }
42
44
  }
43
45
  }
46
+
44
47
  @each $bp in map-keys($breakpoints) {
45
48
  .show-on-#{$bp} {
46
- visibility: hidden;
49
+ display: none;
50
+
51
+ @if ($min-width != null) {
52
+ @media screen and (max-width: $small) {
53
+ display: block;
54
+ }
55
+ }
47
56
 
48
- @media screen and (min-width: prev($breakpoints, #{$bp})) and (max-width: next($breakpoints, #{$bp})) {
49
- visibility: visible;
57
+ @else {
58
+ @media screen and ($min-width: prev($breakpoints, #{$bp})) and (max-width: next($breakpoints, #{$bp})) {
59
+ display: block;
60
+ }
50
61
  }
51
62
  }
52
63
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abraham Kuri
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-19 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.6.14
105
+ rubygems_version: 2.7.3
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: A Ruby wrapper to use Alom on Rails