cssremedy-rails 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 0f77811ac05a533ab0d7398368cdb247acc8b012de85401207dcc7d479fd08c0
4
- data.tar.gz: c702445f6d223d39eb2fe2646de9bfef8e18831703b0df98f2da871115338868
3
+ metadata.gz: e8142015adba746021591378534d10576b20e2af0110d35b45123db69688ddab
4
+ data.tar.gz: f5de84b19e51b7150459e694aa40d72e1b6a8b97a67379ff8645d8103f8e649a
5
5
  SHA512:
6
- metadata.gz: 4abffaf0db4e67c93f7bbff3b7326e5155dd376b65773da0b73616b50e66e36ae24103692706518777df0eb93534886065e74ae19df1a9a16be7462b8799c3f7
7
- data.tar.gz: 23b4dd56b3d462d8c428f911d9a7bb439140d55f694263ef93db3100045c2725cf3e0a7343149e4cc15ce4cfc7ea4d426f7442813c15da9d1f1c3051062686af
6
+ metadata.gz: d2cf0bf0234094f926fa3d106a196e8f22632bf339e54616e783e63abac8a42793decdc706564278f2ba675a7f98715733a9e28dfb94fcca8dad85dc071ec80f
7
+ data.tar.gz: 7f1806823b0d2705e151a08ea1a4cb0ca2eba1e40a22c23ca0613f371b01f5546e802682566116161623699ed4434c4c9d7e2039becb9f3121dc6934e63825d1
@@ -0,0 +1,20 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cssremedy-rails (0.1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (10.5.0)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ bundler (~> 1.17)
16
+ cssremedy-rails!
17
+ rake (~> 10.0)
18
+
19
+ BUNDLED WITH
20
+ 1.17.1
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
- # cssremedy-rails
1
+ # cssremedy-rails · [![Gem Version](https://badge.fury.io/rb/cssremedy-rails.svg)](https://badge.fury.io/rb/cssremedy-rails)
2
2
 
3
3
  Integrates [remedy.css](https://github.com/mozdevs/cssremedy) with the rails asset pipeline.
4
4
 
5
5
  >Start your project with a remedy for the technical debt of CSS. A gift to you from Mozilla Developer Outreach.
6
6
 
7
+ CSS Remedy was started and is being led by [Jen Simmons](https://github.com/jensimmons) of Mozilla Developer Outreach.
8
+ A list of contributors can be found [here](https://github.com/mozdevs/cssremedy/graphs/contributors).
7
9
 
8
10
  ## Installation
9
11
 
@@ -49,4 +51,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
49
51
 
50
52
  ## Code of Conduct
51
53
 
52
- Everyone interacting in the Cssremedy::Rails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/blakeprudhomme/cssremedy-rails/blob/master/CODE_OF_CONDUCT.md).
54
+ Everyone interacting in the cssremedy-rails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/blakeprudhomme/cssremedy-rails/blob/master/CODE_OF_CONDUCT.md).
@@ -1,5 +1,5 @@
1
1
  module Cssremedy
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -1,33 +1,27 @@
1
1
 
2
2
 
3
- html {
4
- box-sizing: border-box; /* Switching to border-box for box-sizing. */
5
- font-size: 100%; /* Is this needed? Define the best way to define font size. */
3
+ /* This project is under construction. It's not ready for release yet. As of Feb 11, 2019. */
4
+
6
5
 
7
- }
8
- *, *:before, *:after {
9
- box-sizing: inherit; /* Switching to border-box for box-sizing. */
10
- }
11
6
 
12
- /* Stop any animation if the user has set their device to "prefers reduced motion". */
7
+ * { box-sizing: border-box; } /* Switch to border-box for box-sizing. */
8
+
9
+ /* Immediately jump any animation to the end point if the user has set their device to "prefers reduced motion". */
10
+ /* This could create bad, unintended consequences. Remove as needed, and write your own appropriate code for prefers-reduced-motion. */
13
11
  @​media (prefers-reduced-motion: reduce) {
14
12
  * {
15
- animation: none !important;
16
- transition: none !important;
17
- animation-duration: 0.1s !important;
18
- transition-duration: 0.1s !important;
13
+ animation-duration: 0.001s !important;
14
+ transition-duration: 0.001s !important;
19
15
  }
20
16
  }
21
17
 
22
18
  body {
23
19
  margin: 0; /* Remove the tiny space around the edge of the page */
24
- text-size-adjust: 100%; /* Fix for iOS Safari */
25
20
  }
26
21
 
27
-
28
22
  /* Switch to using rem units for typography. Fix line-height on headlines. */
29
23
  h1 {
30
- font-size: 2rem; /* Makes all H1 large, removing nested-shrinking sizes. */
24
+ font-size: 2rem; /* Make all H1 large, remove nested-shrinking sizes. */
31
25
  margin: 0.67em 0;
32
26
  }
33
27
  h2 {
@@ -50,42 +44,43 @@ h2, h3, h4, h5, h6{
50
44
  line-height: 1;
51
45
  }
52
46
 
53
- /* Improve readibility */
47
+ /* Improve readability */
54
48
  p {
55
- line-height: 1.5;
49
+ line-height: 1.5;
56
50
  }
57
51
 
58
52
 
59
- pre {
53
+ pre {
60
54
  white-space: pre-wrap; /* Overflow by default is bad. */
61
55
  }
62
56
 
63
57
 
64
- /* are browsers now consistent with margin & padding on lists?
58
+ /* Are browsers now consistent with margin & padding on lists?
65
59
  See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Consistent_list_indentation */
66
60
  nav ul {
67
61
  list-style: none;
68
62
  }
69
63
 
70
-
64
+
71
65
  img {
72
66
  border-style: none; /* Remove the border on images inside links in IE 10 and earlier. */
73
- vertical-align: bottom; /* Fix problem with images having a tiny gap for a decender under them. */
67
+ vertical-align: bottom; /* Fix problem with images having a tiny gap for a descender under them. */
74
68
  display: block; /* Switch display mode to block, since that's what we usually want for images. */
75
69
  max-width: 100%; /* Make images flexible by default. */
70
+ height: auto; /* Ensure images maintain their aspect ratio when max-width comes into play. */
76
71
  }
77
72
 
78
73
 
79
74
  /* In English, when styling the <q> element, use curly quotes instead of straight quotes. */
80
75
 
81
- /* Code for this is now in the quotes.css file */
76
+ /* Code for this is now in the quotes.css file */
82
77
 
83
78
 
84
- /* Upcoming properties that haven't been broadly implemented yet,
79
+ /* Support upcoming properties that haven't been broadly implemented yet,
85
80
  but for which the initial value and legacy behavior is not be the best behavior.
86
81
  */
87
82
 
88
- /* Consistent line spacing, which does not unecessarily grow to accomodate things that would fit anyway */
83
+ /* Consistent line spacing, which does not unnecessarily grow to accommodate things that would fit anyway */
89
84
  :root {
90
85
  line-sizing: normal;
91
86
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cssremedy-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Prudhomme
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -48,6 +48,7 @@ files:
48
48
  - ".gitignore"
49
49
  - CODE_OF_CONDUCT.md
50
50
  - Gemfile
51
+ - Gemfile.lock
51
52
  - LICENSE.txt
52
53
  - README.md
53
54
  - Rakefile