twitter-bootstrap-rails 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of twitter-bootstrap-rails might be problematic. Click here for more details.
- data/.gitignore +1 -0
- data/README.md +2 -1
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap.js +1 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-alerts.js +112 -103
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-buttons.js +62 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +55 -50
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +260 -238
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +85 -76
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +106 -104
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tabs.js +80 -62
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-twipsy.js +309 -306
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +26 -27
- data/vendor/toolkit/twitter/bootstrap/forms.less +479 -466
- data/vendor/toolkit/twitter/bootstrap/mixins.less +223 -218
- data/vendor/toolkit/twitter/bootstrap/patterns.less +1058 -1007
- data/vendor/toolkit/twitter/bootstrap/reset.less +141 -142
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +137 -136
- data/vendor/toolkit/twitter/bootstrap/tables.less +224 -171
- data/vendor/toolkit/twitter/bootstrap/type.less +187 -188
- data/vendor/toolkit/twitter/bootstrap/variables.less +60 -61
- metadata +15 -14
@@ -1,61 +1,60 @@
|
|
1
|
-
/* Variables.less
|
2
|
-
* Variables to customize the look and feel of Bootstrap
|
3
|
-
* ----------------------------------------------------- */
|
4
|
-
|
5
|
-
|
6
|
-
// Links
|
7
|
-
@linkColor: #0069d6;
|
8
|
-
@linkColorHover: darken(@linkColor, 15);
|
9
|
-
|
10
|
-
// Grays
|
11
|
-
@black: #000;
|
12
|
-
@grayDark: lighten(@black, 25%);
|
13
|
-
@gray: lighten(@black, 50%);
|
14
|
-
@grayLight: lighten(@black, 75%);
|
15
|
-
@grayLighter: lighten(@black, 90%);
|
16
|
-
@white: #fff;
|
17
|
-
|
18
|
-
// Accent Colors
|
19
|
-
@blue: #049CDB;
|
20
|
-
@blueDark: #0064CD;
|
21
|
-
@green: #46a546;
|
22
|
-
@red: #9d261d;
|
23
|
-
@yellow: #ffc40d;
|
24
|
-
@orange: #f89406;
|
25
|
-
@pink: #c3325f;
|
26
|
-
@purple: #7a43b6;
|
27
|
-
|
28
|
-
// Baseline grid
|
29
|
-
@basefont: 13px;
|
30
|
-
@baseline: 18px;
|
31
|
-
|
32
|
-
// Griditude
|
33
|
-
// Modify the grid styles in mixins.less
|
34
|
-
@gridColumns: 16;
|
35
|
-
@gridColumnWidth: 40px;
|
36
|
-
@gridGutterWidth: 20px;
|
37
|
-
@extraSpace: (@gridGutterWidth * 2); // For our grid calculations
|
38
|
-
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
39
|
-
|
40
|
-
// Color Scheme
|
41
|
-
// Use this to roll your own color schemes if you like (unused by Bootstrap by default)
|
42
|
-
@baseColor: @blue; // Set a base color
|
43
|
-
@complement: spin(@baseColor, 180); // Determine a complementary color
|
44
|
-
@split1: spin(@baseColor, 158); // Split complements
|
45
|
-
@split2: spin(@baseColor, -158);
|
46
|
-
@triad1: spin(@baseColor, 135); // Triads colors
|
47
|
-
@triad2: spin(@baseColor, -135);
|
48
|
-
@tetra1: spin(@baseColor, 90); // Tetra colors
|
49
|
-
@tetra2: spin(@baseColor, -90);
|
50
|
-
@analog1: spin(@baseColor, 22); // Analogs colors
|
51
|
-
@analog2: spin(@baseColor, -22);
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
// More variables coming soon:
|
56
|
-
// - @basefont to @baseFontSize
|
57
|
-
// - @baseline to @baseLineHeight
|
58
|
-
// - @baseFontFamily
|
59
|
-
// - @primaryButtonColor
|
60
|
-
// - anything else? File an issue on GitHub
|
61
|
-
|
1
|
+
/* Variables.less
|
2
|
+
* Variables to customize the look and feel of Bootstrap
|
3
|
+
* ----------------------------------------------------- */
|
4
|
+
|
5
|
+
|
6
|
+
// Links
|
7
|
+
@linkColor: #0069d6;
|
8
|
+
@linkColorHover: darken(@linkColor, 15);
|
9
|
+
|
10
|
+
// Grays
|
11
|
+
@black: #000;
|
12
|
+
@grayDark: lighten(@black, 25%);
|
13
|
+
@gray: lighten(@black, 50%);
|
14
|
+
@grayLight: lighten(@black, 75%);
|
15
|
+
@grayLighter: lighten(@black, 90%);
|
16
|
+
@white: #fff;
|
17
|
+
|
18
|
+
// Accent Colors
|
19
|
+
@blue: #049CDB;
|
20
|
+
@blueDark: #0064CD;
|
21
|
+
@green: #46a546;
|
22
|
+
@red: #9d261d;
|
23
|
+
@yellow: #ffc40d;
|
24
|
+
@orange: #f89406;
|
25
|
+
@pink: #c3325f;
|
26
|
+
@purple: #7a43b6;
|
27
|
+
|
28
|
+
// Baseline grid
|
29
|
+
@basefont: 13px;
|
30
|
+
@baseline: 18px;
|
31
|
+
|
32
|
+
// Griditude
|
33
|
+
// Modify the grid styles in mixins.less
|
34
|
+
@gridColumns: 16;
|
35
|
+
@gridColumnWidth: 40px;
|
36
|
+
@gridGutterWidth: 20px;
|
37
|
+
@extraSpace: (@gridGutterWidth * 2); // For our grid calculations
|
38
|
+
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
39
|
+
|
40
|
+
// Color Scheme
|
41
|
+
// Use this to roll your own color schemes if you like (unused by Bootstrap by default)
|
42
|
+
@baseColor: @blue; // Set a base color
|
43
|
+
@complement: spin(@baseColor, 180); // Determine a complementary color
|
44
|
+
@split1: spin(@baseColor, 158); // Split complements
|
45
|
+
@split2: spin(@baseColor, -158);
|
46
|
+
@triad1: spin(@baseColor, 135); // Triads colors
|
47
|
+
@triad2: spin(@baseColor, -135);
|
48
|
+
@tetra1: spin(@baseColor, 90); // Tetra colors
|
49
|
+
@tetra2: spin(@baseColor, -90);
|
50
|
+
@analog1: spin(@baseColor, 22); // Analogs colors
|
51
|
+
@analog2: spin(@baseColor, -22);
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
// More variables coming soon:
|
56
|
+
// - @basefont to @baseFontSize
|
57
|
+
// - @baseline to @baseLineHeight
|
58
|
+
// - @baseFontFamily
|
59
|
+
// - @primaryButtonColor
|
60
|
+
// - anything else? File an issue on GitHub
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
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: 2011-
|
12
|
+
date: 2011-11-05 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: less
|
16
|
-
requirement: &
|
16
|
+
requirement: &75106590 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *75106590
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: less-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &75106310 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.0.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *75106310
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: railties
|
38
|
-
requirement: &
|
38
|
+
requirement: &75106070 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *75106070
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: actionpack
|
49
|
-
requirement: &
|
49
|
+
requirement: &75105760 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *75105760
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: bundler
|
60
|
-
requirement: &
|
60
|
+
requirement: &75105450 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *75105450
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rails
|
71
|
-
requirement: &
|
71
|
+
requirement: &75105050 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: 3.1.1
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *75105050
|
80
80
|
description: twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for
|
81
81
|
Rails 3.1 Asset Pipeline
|
82
82
|
email:
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- twitter-bootstrap-rails.gemspec
|
97
97
|
- vendor/assets/javascripts/twitter/bootstrap.js
|
98
98
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-alerts.js
|
99
|
+
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-buttons.js
|
99
100
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js
|
100
101
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js
|
101
102
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js
|