atlas_assets 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/docs/_posts/2013-05-22-boxes.md +31 -0
- data/lib/assets/stylesheets/boxes.css.scss +23 -0
- data/lib/atlas_assets/version.rb +1 -1
- metadata +3 -1
data/Gemfile.lock
CHANGED
@@ -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
|
+
|
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.0.
|
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
|