atlas_assets 0.4.3 → 0.4.4

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.4.3)
12
+ atlas_assets (0.4.4)
13
13
  handlebars_assets (~> 0.12.2)
14
14
 
15
15
  GEM
@@ -18,7 +18,25 @@ All HTML headings, `<h1>` through `<h6>` are available.
18
18
  <h6>h6. Heading 6</h6>
19
19
  </div>
20
20
 
21
- Paragraph text and links:
21
+ If you want to have other elements in line with a `<h2>` heading, you can use the `.heading-split` class.
22
+
23
+ <div class="heading-split">
24
+ <h2>Heading Split</h2>
25
+ <a href="#" class="btn pull-right">My Button</a>
26
+ </div>
27
+
28
+ ~~~html
29
+ <div class="heading-split">
30
+ <h3>Heading Split</h3>
31
+ <a href="#" class="btn pull-right">My Button</a>
32
+ </div>
33
+ ~~~
34
+
35
+
36
+
37
+
38
+ Body text
39
+ ---------
22
40
 
23
41
  <div class="example">
24
42
  <p>Magna cornhole freegan dolore, ugh PBRB sriracha YOLO art party direct trade gluten-free put a bird on it deep v <a href="#">skateboard whatever</a>. Occaecat sartorial hashtag, master cleanse consequat pug excepteur dolor pariatur Pinterest whatever. Consequat try-hard 90's, disrupt delectus Shoreditch placeat mollit tattooed quinoa freegan <a href="#" class="underline">with .underline</a> reprehenderit ennui. Tempor Austin blog, flannel reprehenderit asymmetrical ugh quinoa bitters post-ironic Marfa lomo. Deserunt single-origin coffee accusamus, tote bag YOLO laborum voluptate aliquip street art letterpress gentrify cray elit officia. Tofu banh mi shabby chic salvia Echo Park. Excepteur proident occupy, voluptate exercitation food truck cupidatat duis master cleanse.</p>
@@ -15,17 +15,17 @@ The Dropdown is a site wide BackboneView helper using the [Chosen](http://harves
15
15
  $(function () {
16
16
  window.dropdown = new classes.DropdownView();
17
17
 
18
- dropdown.add({model: new Backbone.Model({'label':'first'})})
19
- dropdown.add({model: new Backbone.Model({'label':'second'})})
20
- dropdown.add({model: new Backbone.Model({'label':'third'})})
18
+ dropdown.add({model: new classes.Dropdown({'label':'first'})})
19
+ dropdown.add({model: new classes.Dropdown({'label':'second'})})
20
+ dropdown.add({model: new classes.Dropdown({'label':'third'})})
21
21
 
22
22
  $('#dropdown-examples').append(dropdown.render().el)
23
23
 
24
24
  window.dropdown2 = new classes.DropdownView({'label':'title', 'default_to':'third'});
25
25
 
26
- dropdown2.add({model: new Backbone.Model({'title':'first'})})
27
- dropdown2.add({model: new Backbone.Model({'title':'second'})})
28
- dropdown2.add({model: new Backbone.Model({'title':'third'})})
26
+ dropdown2.add({model: new classes.Dropdown({'title':'first'})})
27
+ dropdown2.add({model: new classes.Dropdown({'title':'second'})})
28
+ dropdown2.add({model: new classes.Dropdown({'title':'third'})})
29
29
 
30
30
  $('#dropdown-examples').append(dropdown2.render().el)
31
31
  })
@@ -34,17 +34,17 @@ $(function () {
34
34
  ~~~javascript
35
35
  window.dropdown = new classes.DropdownView();
36
36
 
37
- dropdown.add({model: new Backbone.Model({'label':'first'})})
38
- dropdown.add({model: new Backbone.Model({'label':'second'})})
39
- dropdown.add({model: new Backbone.Model({'label':'third'})})
37
+ dropdown.add({model: new classes.Dropdown({'label':'first'})})
38
+ dropdown.add({model: new classes.Dropdown({'label':'second'})})
39
+ dropdown.add({model: new classes.Dropdown({'label':'third'})})
40
40
 
41
41
  $('#dropdown-examples').append(dropdown.render().el)
42
42
 
43
43
  window.dropdown2 = new classes.DropdownView({'label':'title', 'default_to':'third'});
44
44
 
45
- dropdown2.add({model: new Backbone.Model({'title':'first'})})
46
- dropdown2.add({model: new Backbone.Model({'title':'second'})})
47
- dropdown2.add({model: new Backbone.Model({'title':'third'})})
45
+ dropdown2.add({model: new classes.Dropdown({'title':'first'})})
46
+ dropdown2.add({model: new classes.Dropdown({'title':'second'})})
47
+ dropdown2.add({model: new classes.Dropdown({'title':'third'})})
48
48
 
49
49
  $('#dropdown-examples').append(dropdown2.render().el)
50
50
  ~~~
@@ -255,6 +255,9 @@ a {
255
255
  .heading-split h1, .heading-split h2, .heading-split h3, .heading-split > div {
256
256
  display: inline-block; }
257
257
 
258
+ .heading-split .pull-right {
259
+ margin-top: 22px; }
260
+
258
261
  /* Grid
259
262
  ----------------------------------------------------- */
260
263
  .row {
@@ -76,4 +76,8 @@ a {
76
76
 
77
77
  .heading-split h1, .heading-split h2, .heading-split h3, .heading-split > div {
78
78
  display: inline-block;
79
+ }
80
+
81
+ .heading-split .pull-right {
82
+ margin-top: 22px;
79
83
  }
@@ -1,5 +1,5 @@
1
1
  module Atlas
2
2
  module Assets
3
- VERSION = "0.4.3"
3
+ VERSION = "0.4.4"
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.4.3
4
+ version: 0.4.4
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-10-28 00:00:00.000000000 Z
12
+ date: 2013-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: handlebars_assets