bootstrapped-rails 2.0.1 → 2.0.2

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/.DS_Store CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  module Bootstrapped
2
2
  module Rails
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  end
data/vendor/.DS_Store CHANGED
Binary file
Binary file
Binary file
@@ -0,0 +1,41 @@
1
+ /**
2
+ * jQuery Cookie plugin
3
+ *
4
+ * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ *
9
+ */
10
+ jQuery.cookie = function (key, value, options) {
11
+
12
+ // key and at least value given, set cookie...
13
+ if (arguments.length > 1 && String(value) !== "[object Object]") {
14
+ options = jQuery.extend({}, options);
15
+
16
+ if (value === null || value === undefined) {
17
+ options.expires = -1;
18
+ }
19
+
20
+ if (typeof options.expires === 'number') {
21
+ var days = options.expires, t = options.expires = new Date();
22
+ t.setDate(t.getDate() + days);
23
+ }
24
+
25
+ value = String(value);
26
+
27
+ return (document.cookie = [
28
+ encodeURIComponent(key), '=',
29
+ options.raw ? value : encodeURIComponent(value),
30
+ options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
31
+ options.path ? '; path=' + options.path : '',
32
+ options.domain ? '; domain=' + options.domain : '',
33
+ options.secure ? '; secure' : ''
34
+ ].join(''));
35
+ }
36
+
37
+ // key and possibly options given, get cookie...
38
+ options = value || {};
39
+ var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
40
+ return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
41
+ };
@@ -13,7 +13,7 @@
13
13
 
14
14
  // Core variables and mixins
15
15
  @import "variables_xtra.scss";
16
- @import "type_xtra.css";
16
+ @import "type_xtra.css.scss";
17
17
  @import "mixins.scss";
18
18
 
19
19
  // Grid system and page structure
@@ -5,7 +5,7 @@
5
5
  width: 0;
6
6
  height: 0;
7
7
  }
8
- @mixin arrow_base($border-color, $background-color, $height, $width) {
8
+ @mixin arrow_base($border-color, $border-size, $background-color, $height, $width) {
9
9
  border: 1px solid $border-color;
10
10
  background: $background-color;
11
11
  height: $height;
@@ -59,8 +59,8 @@
59
59
  }
60
60
  }
61
61
  }
62
- @mixin arrow_east($border-color: #456eb9, $background-color: #e7eff4, $height: 100px, $width: 500px) {
63
- @include arrow_base($border-color, $background-color, $height, $width);
62
+ @mixin arrow_east($border-color: #456eb9, $background-color: #e7eff4, $border-size: 1px, $height: 100px, $width: 500px) {
63
+ @include arrow_base($border-color, $border-size, $background-color, $height, $width);
64
64
  margin-right: 50px;
65
65
  position: relative;
66
66
  &:before {
@@ -82,8 +82,8 @@
82
82
  border-color: transparent transparent transparent $background-color;
83
83
  }
84
84
  }
85
- @mixin arrow_south($border-color: #456eb9, $background-color: #e7eff4, $height: 100px, $width: 500px) {
86
- @include arrow_base($border-color, $background-color, $height, $width);
85
+ @mixin arrow_south($border-color: #456eb9, $background-color: #e7eff4, $border-size: 1px, $height: 100px, $width: 500px) {
86
+ @include arrow_base($border-color, $border-size, $background-color, $height, $width);
87
87
  margin-bottom: 50px;
88
88
  position: relative;
89
89
  &:before {
@@ -105,13 +105,13 @@
105
105
  border-color: $background-color transparent transparent transparent;
106
106
  }
107
107
  }
108
- @mixin arrow_north($border-color: #456eb9, $background-color: #e7eff4, $height: 100px, $width: 500px) {
109
- @include arrow_base($border-color, $background-color, $height, $width);
108
+ @mixin arrow_north($border-color: #456eb9, $background-color: #e7eff4, $border-size: 1px, $height: 100px, $width: 500px) {
109
+ @include arrow_base($border-color, $border-size, $background-color, $height, $width);
110
110
  margin-top: -15px;
111
111
  position: relative;
112
112
  &:before {
113
113
  @include before_and_after;
114
- top: $height / 2;
114
+ top: -50px;
115
115
  left: $width - 100px;
116
116
  bottom: auto;
117
117
  border-width: 25px;
@@ -120,7 +120,7 @@
120
120
  }
121
121
  &:after {
122
122
  @include before_and_after;
123
- top: $height / 2 - 1px;
123
+ top: -49px;
124
124
  left: $width - 100px;;
125
125
  bottom: auto;
126
126
  border-width: 25px;
@@ -129,10 +129,10 @@
129
129
  }
130
130
  }
131
131
 
132
- @mixin arrow_west($border-color: #456eb9, $background-color: #e7eff4, $height: 100px, $width: 500px) {
133
- @include arrow_base($border-color, $background-color, $height, $width);
132
+ @mixin arrow_west($border-color: #456eb9, $background-color: #e7eff4, $border-size: 1px, $height: 100px, $width: 500px) {
133
+ @include arrow_base($border-color, $border-size, $background-color, $height, $width);
134
134
  margin-left: 50px;
135
- width: 450px;
135
+ width: $width - 50px;
136
136
  position: relative;
137
137
  &:before {
138
138
  @include before_and_after;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrapped-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000Z
12
+ date: 2012-03-03 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
16
- requirement: &70221206494000 !ruby/object:Gem::Requirement
16
+ requirement: &70226100212420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70221206494000
24
+ version_requirements: *70226100212420
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70221206493460 !ruby/object:Gem::Requirement
27
+ requirement: &70226100246340 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70221206493460
35
+ version_requirements: *70226100246340
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &70221206492960 !ruby/object:Gem::Requirement
38
+ requirement: &70226100251140 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.1'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70221206492960
46
+ version_requirements: *70226100251140
47
47
  description: ! ' please see summary '
48
48
  email:
49
49
  - han@logicalprep.com
@@ -89,6 +89,7 @@ files:
89
89
  - vendor/assets/javascripts/bootstrapped/bootstrap-tooltip.js
90
90
  - vendor/assets/javascripts/bootstrapped/bootstrap-transition.js
91
91
  - vendor/assets/javascripts/bootstrapped/bootstrap-typeahead.js
92
+ - vendor/assets/javascripts/jquery-cookie.js
92
93
  - vendor/assets/stylesheets/.DS_Store
93
94
  - vendor/assets/stylesheets/bootstrap-xtra/mixins.scss
94
95
  - vendor/assets/stylesheets/bootstrap-xtra/patterns_xtra.scss