atlas_assets 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- atlas_assets (0.1.2)
12
+ atlas_assets (0.1.3)
13
13
  handlebars_assets (~> 0.12.1)
14
14
 
15
15
  GEM
data/README.md CHANGED
@@ -19,7 +19,11 @@ To use in a new Rails application, add the gem to your Gemfile, and add the foll
19
19
 
20
20
  Along with all the CSS and JS widgets, it will include our base bundle of JS libraries (`JQuery`, `underscore.js`, `backbone.js`, etc). It will also set up a number of JS namespaces `window.classes`, `window.app`, `window.events` and `window.constants`, so make sure to include the JS manifest before any of your JS code.
21
21
 
22
- Show how to use color bars and mixins in the app
22
+ If you need to, you can import individual stylesheets from this gem in your application:
23
+
24
+ ```css
25
+ @import "atlas_assets/icons";
26
+ ```
23
27
 
24
28
  Adding new styles
25
29
  -----------------
@@ -17,7 +17,7 @@ Add a `.box` class to a `div` element to style as a sectioned box.
17
17
  <div class="box">
18
18
  <h3>Heading</h3>
19
19
  <div class="box-inner">
20
- This is a box with some content
20
+ <p>This is a box with some content</p>
21
21
  </div>
22
22
  </div>
23
23
 
@@ -25,7 +25,7 @@ Add a `.box` class to a `div` element to style as a sectioned box.
25
25
  <div class="box">
26
26
  <h3>Heading</h3>
27
27
  <div class="box-inner">
28
- This is a box with some content
28
+ <p>This is a box with some content</p>
29
29
  </div>
30
30
  </div>
31
31
  ~~~
@@ -5,7 +5,7 @@
5
5
  }
6
6
 
7
7
  .box .box-inner {
8
- padding: 10px $boxPaddingX;
8
+ padding: 15px;
9
9
  }
10
10
 
11
11
  .box h3 {
@@ -16,6 +16,10 @@
16
16
  border-bottom: 1px solid $gray;
17
17
  }
18
18
 
19
- .box {
20
- @include grid-core($gridColumnWidth768, $gridGutterWidth768);
19
+ .box .box-inner *:first-child {
20
+ margin-top: 0;
21
+ }
22
+
23
+ .box .box-inner *:last-child {
24
+ margin-bottom: 0;
21
25
  }
@@ -26,6 +26,8 @@ ____________________________________________________________ */
26
26
  /* Spacing
27
27
  ____________________________________________________________ */
28
28
 
29
+ // Top
30
+
29
31
  .down20 {
30
32
  margin-top: 20px;
31
33
  }
@@ -42,6 +44,34 @@ ____________________________________________________________ */
42
44
  margin-top: 80px;
43
45
  }
44
46
 
47
+ // Right
48
+
49
+ .right10 {
50
+ margin-right: 10px;
51
+ }
52
+
53
+ .right20 {
54
+ margin-right: 20px;
55
+ }
56
+
57
+ .right30 {
58
+ margin-right: 10px;
59
+ }
60
+
61
+ // Left
62
+
63
+ .left10 {
64
+ margin-left: 10px;
65
+ }
66
+
67
+ .left20 {
68
+ margin-left: 20px;
69
+ }
70
+
71
+ .left30 {
72
+ margin-left: 10px;
73
+ }
74
+
45
75
  /* Float
46
76
  ____________________________________________________________ */
47
77
 
@@ -35,11 +35,6 @@ $baseLineHeight: 20px !default;
35
35
 
36
36
  $smallFontSize: 12px !default;
37
37
 
38
- /* Boxes
39
- ------------------------------------------------------- */
40
-
41
- $boxPaddingX: 15px;
42
-
43
38
  /* Forms
44
39
  ------------------------------------------------------- */
45
40
 
@@ -1,5 +1,5 @@
1
1
  module Atlas
2
2
  module Assets
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atlas_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-22 00:00:00.000000000 Z
12
+ date: 2013-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: handlebars_assets
@@ -52,10 +52,10 @@ files:
52
52
  - docs/_posts/2013-05-17-flash.md
53
53
  - docs/_posts/2013-05-17-fonts.md
54
54
  - docs/_posts/2013-05-17-grid.md
55
- - docs/_posts/2013-05-17-helpers.md
56
55
  - docs/_posts/2013-05-17-icons.md
57
56
  - docs/_posts/2013-05-17-lists.md
58
57
  - docs/_posts/2013-05-17-navigation.md
58
+ - docs/_posts/2013-05-17-utilities.md
59
59
  - docs/_posts/2013-05-21-forms.md
60
60
  - docs/_posts/2013-05-22-boxes.md
61
61
  - docs/index.html