toadstool 0.0.0.7 → 0.0.0.8

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.
@@ -67,12 +67,14 @@ ol.linenums
67
67
  }
68
68
 
69
69
  .example_code {
70
- background: $bravo_gray;
70
+ @include grid(12);
71
71
  @include border_radius(em(5));
72
- padding: em(10) em(10) 0 em(10);
72
+
73
+ background: $bravo_gray;
74
+ padding: 2.75em em(10) 0 em(10);
73
75
  margin-bottom: em(20);
74
- @include grid(12);
75
76
  line-height: 1.5em;
77
+ position: relative;
76
78
 
77
79
  @media #{$tablet_portrait} {
78
80
  @include grid(10, $grid_context: 10);
@@ -96,7 +98,9 @@ ol.linenums
96
98
  }
97
99
  }
98
100
  .codeToggle {
99
- margin-left: 0.5em;
101
+ position: absolute;
102
+ top: 0.25em;
103
+ right: 0;
100
104
  }
101
105
  .mtime {
102
106
  display: block;
@@ -11,25 +11,25 @@ var showEms = function(){
11
11
  $(document).ready(function() {
12
12
 
13
13
  $(".nav_toggle").click(function () {
14
- $(".toadstool_nav").slideToggle("slow");
14
+ $(".toadstool_nav").slideToggle(250);
15
15
  });
16
16
 
17
17
 
18
18
  $(".click_more a").click(function (event) {
19
19
  event.preventDefault();
20
- $(this).parents("p").siblings(".read_more").slideToggle("slow");
20
+ $(this).parents("p").siblings(".read_more").slideToggle(250);
21
21
  //$(this).parents("p").children("a").text("Read less ...");
22
22
  });
23
23
 
24
24
  $(".codeToggle a").click(function (event) {
25
25
  event.preventDefault();
26
- $(this).parents("p").siblings(".prettyprint").slideToggle("slow");
26
+ $(this).parents("p").siblings(".prettyprint").slideToggle(250);
27
27
  });
28
28
 
29
29
  // these toggles are for the styleguide color views
30
30
  $(".colorcode a").click(function (event) {
31
31
  event.preventDefault();
32
- $(this).parents('.toadstool_subheader').siblings('.hidden').slideToggle('slow');
32
+ $(this).parents('.toadstool_subheader').siblings('.hidden').slideToggle(250);
33
33
  });
34
34
  // these toggles are for the styleguide color views
35
35
 
@@ -1,9 +1,9 @@
1
1
  <div class="example_code">
2
- <p class="codeToggle"><a href="#">view</a></p>
2
+ <p class="codeToggle"><a><%= path %></a></p>
3
3
  <pre class="prettyprint linenums hidden" contenteditable>
4
4
  <%= code content %>
5
5
  </pre>
6
- <p><%= path %></p>
6
+
7
7
  <p class="mtime">
8
8
  Last modified: <%= mtime %>
9
9
  </p>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toadstool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.7
4
+ version: 0.0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: lib/bin
12
12
  cert_chain: []
13
- date: 2013-04-03 00:00:00.000000000 Z
13
+ date: 2013-04-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sinatra