atlas_assets 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/README.md +5 -1
- data/docs/_posts/{2013-05-17-helpers.md → 2013-05-17-utilities.md} +0 -0
- data/docs/_posts/2013-05-22-boxes.md +2 -2
- data/lib/assets/stylesheets/atlas_assets/_boxes.scss +7 -3
- data/lib/assets/stylesheets/atlas_assets/_utilities.scss +30 -0
- data/lib/assets/stylesheets/atlas_assets/_variables.scss +0 -5
- data/lib/atlas_assets/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
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
|
-
|
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
|
-----------------
|
File without changes
|
@@ -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:
|
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
|
-
|
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
|
|
data/lib/atlas_assets/version.rb
CHANGED
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.
|
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-
|
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
|