atlas_assets 0.0.16 → 0.0.17

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 CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- atlas_assets (0.0.15)
12
+ atlas_assets (0.0.16)
13
13
  handlebars_assets (~> 0.12.1)
14
14
 
15
15
  GEM
@@ -0,0 +1,31 @@
1
+ ---
2
+ layout: default
3
+ title: "Boxes"
4
+ date: 2013-05-17 23:24:04
5
+ ---
6
+
7
+ Boxes
8
+ ======
9
+
10
+ The `atlas_assets` gem ships with a few styles you can apply to `div` elements, to make them into grouped boxes, to use on e.g. a profile page to split up the content.
11
+
12
+ Default Box
13
+ -----------
14
+
15
+ Add a `.box` class to a `div` element to style as a sectioned box.
16
+
17
+ <div class="box">
18
+ <h3>Heading</h3>
19
+ <div class="box-inner">
20
+ This is a box with some content
21
+ </div>
22
+ </div>
23
+
24
+ ~~~html
25
+ <div class="box">
26
+ <h3>Heading</h3>
27
+ <div class="box-inner">
28
+ This is a box with some content
29
+ </div>
30
+ </div>
31
+ ~~~
@@ -0,0 +1,23 @@
1
+ .box {
2
+ background-color: #ececec;
3
+ -webkit-border-bottom-right-radius: 5px;
4
+ -webkit-border-bottom-left-radius: 5px;
5
+ -moz-border-radius-bottomright: 5px;
6
+ -moz-border-radius-bottomleft: 5px;
7
+ border-bottom-right-radius: 5px;
8
+ border-bottom-left-radius: 5px;
9
+ margin-bottom: 10px;
10
+ }
11
+
12
+ .box .box-inner {
13
+ padding: 10px 15px;
14
+ }
15
+
16
+ .box h3 {
17
+ color: #808080;
18
+ padding: 8px 15px;
19
+ margin: 0;
20
+ background-color: #e0e0e0;
21
+ border-bottom: 1px solid #d1d1d1;
22
+ }
23
+
@@ -1,5 +1,5 @@
1
1
  module Atlas
2
2
  module Assets
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
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.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -57,6 +57,7 @@ files:
57
57
  - docs/_posts/2013-05-17-lists.md
58
58
  - docs/_posts/2013-05-17-navbar.md
59
59
  - docs/_posts/2013-05-21-forms.md
60
+ - docs/_posts/2013-05-22-boxes.md
60
61
  - docs/index.html
61
62
  - lib/assets/fonts/atlas.eot
62
63
  - lib/assets/fonts/atlas.svg
@@ -73,6 +74,7 @@ files:
73
74
  - lib/assets/javascripts/string.js
74
75
  - lib/assets/javascripts/underscore.js
75
76
  - lib/assets/stylesheets/atlas_assets.css
77
+ - lib/assets/stylesheets/boxes.css.scss
76
78
  - lib/assets/stylesheets/buttons.css.scss
77
79
  - lib/assets/stylesheets/flash.css.scss
78
80
  - lib/assets/stylesheets/fonts.css.scss