bootstrap-sass-rails 1.4.0 → 1.4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bootstrap/sass/rails/version.rb +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap.js +8 -0
- data/vendor/assets/javascripts/twitter/bootstrap/alerts.js +124 -0
- data/vendor/assets/javascripts/twitter/bootstrap/buttons.js +64 -0
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +55 -0
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +260 -0
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +90 -0
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +107 -0
- data/vendor/assets/javascripts/twitter/bootstrap/tabs.js +80 -0
- data/vendor/assets/javascripts/twitter/bootstrap/twipsy.js +321 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +26 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +479 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +216 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_patterns.scss +1056 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +141 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +139 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +224 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +187 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +60 -0
- metadata +27 -9
@@ -0,0 +1,187 @@
|
|
1
|
+
/* Typography.scss
|
2
|
+
* Headings, body text, lists, code, and more for a versatile and durable typography system
|
3
|
+
* ---------------------------------------------------------------------------------------- */
|
4
|
+
|
5
|
+
|
6
|
+
// BODY TEXT
|
7
|
+
// ---------
|
8
|
+
|
9
|
+
p {
|
10
|
+
@include shorthand-font(normal,$basefont,$baseline);
|
11
|
+
margin-bottom: $baseline / 2;
|
12
|
+
small {
|
13
|
+
font-size: $basefont - 2;
|
14
|
+
color: $grayLight;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
// HEADINGS
|
20
|
+
// --------
|
21
|
+
|
22
|
+
h1, h2, h3, h4, h5, h6 {
|
23
|
+
font-weight: bold;
|
24
|
+
color: $grayDark;
|
25
|
+
small {
|
26
|
+
color: $grayLight;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
h1 {
|
30
|
+
margin-bottom: $baseline;
|
31
|
+
font-size: 30px;
|
32
|
+
line-height: $baseline * 2;
|
33
|
+
small {
|
34
|
+
font-size: 18px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
h2 {
|
38
|
+
font-size: 24px;
|
39
|
+
line-height: $baseline * 2;
|
40
|
+
small {
|
41
|
+
font-size: 14px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
h3, h4, h5, h6 {
|
45
|
+
line-height: $baseline * 2;
|
46
|
+
}
|
47
|
+
h3 {
|
48
|
+
font-size: 18px;
|
49
|
+
small {
|
50
|
+
font-size: 14px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
h4 {
|
54
|
+
font-size: 16px;
|
55
|
+
small {
|
56
|
+
font-size: 12px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
h5 {
|
60
|
+
font-size: 14px;
|
61
|
+
}
|
62
|
+
h6 {
|
63
|
+
font-size: 13px;
|
64
|
+
color: $grayLight;
|
65
|
+
text-transform: uppercase;
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
// COLORS
|
70
|
+
// ------
|
71
|
+
|
72
|
+
// Unordered and Ordered lists
|
73
|
+
ul, ol {
|
74
|
+
margin: 0 0 $baseline 25px;
|
75
|
+
}
|
76
|
+
ul ul,
|
77
|
+
ul ol,
|
78
|
+
ol ol,
|
79
|
+
ol ul {
|
80
|
+
margin-bottom: 0;
|
81
|
+
}
|
82
|
+
ul {
|
83
|
+
list-style: disc;
|
84
|
+
}
|
85
|
+
ol {
|
86
|
+
list-style: decimal;
|
87
|
+
}
|
88
|
+
li {
|
89
|
+
line-height: $baseline;
|
90
|
+
color: $gray;
|
91
|
+
}
|
92
|
+
ul.unstyled {
|
93
|
+
list-style: none;
|
94
|
+
margin-left: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
// Description Lists
|
98
|
+
dl {
|
99
|
+
margin-bottom: $baseline;
|
100
|
+
dt, dd {
|
101
|
+
line-height: $baseline;
|
102
|
+
}
|
103
|
+
dt {
|
104
|
+
font-weight: bold;
|
105
|
+
}
|
106
|
+
dd {
|
107
|
+
margin-left: $baseline / 2;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
// MISC
|
112
|
+
// ----
|
113
|
+
|
114
|
+
// Horizontal rules
|
115
|
+
hr {
|
116
|
+
margin: 20px 0 19px;
|
117
|
+
border: 0;
|
118
|
+
border-bottom: 1px solid #eee;
|
119
|
+
}
|
120
|
+
|
121
|
+
// Emphasis
|
122
|
+
strong {
|
123
|
+
font-style: inherit;
|
124
|
+
font-weight: bold;
|
125
|
+
}
|
126
|
+
em {
|
127
|
+
font-style: italic;
|
128
|
+
font-weight: inherit;
|
129
|
+
line-height: inherit;
|
130
|
+
}
|
131
|
+
.muted {
|
132
|
+
color: $grayLight;
|
133
|
+
}
|
134
|
+
|
135
|
+
// Blockquotes
|
136
|
+
blockquote {
|
137
|
+
margin-bottom: $baseline;
|
138
|
+
border-left: 5px solid #eee;
|
139
|
+
padding-left: 15px;
|
140
|
+
p {
|
141
|
+
@include shorthand-font(300,14px,$baseline);
|
142
|
+
margin-bottom: 0;
|
143
|
+
}
|
144
|
+
small {
|
145
|
+
display: block;
|
146
|
+
@include shorthand-font(300,12px,$baseline);
|
147
|
+
color: $grayLight;
|
148
|
+
&:before {
|
149
|
+
content: '\2014 \00A0';
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
// Addresses
|
155
|
+
address {
|
156
|
+
display: block;
|
157
|
+
line-height: $baseline;
|
158
|
+
margin-bottom: $baseline;
|
159
|
+
}
|
160
|
+
|
161
|
+
// Inline and block code styles
|
162
|
+
code, pre {
|
163
|
+
padding: 0 3px 2px;
|
164
|
+
font-family: Monaco, Andale Mono, Courier New, monospace;
|
165
|
+
font-size: 12px;
|
166
|
+
@include border-radius(3px);
|
167
|
+
}
|
168
|
+
code {
|
169
|
+
background-color: lighten($orange, 40%);
|
170
|
+
color: rgba(0,0,0,.75);
|
171
|
+
padding: 1px 3px;
|
172
|
+
}
|
173
|
+
pre {
|
174
|
+
background-color: #f5f5f5;
|
175
|
+
display: block;
|
176
|
+
padding: ($baseline - 1) / 2;
|
177
|
+
margin: 0 0 $baseline;
|
178
|
+
line-height: $baseline;
|
179
|
+
font-size: 12px;
|
180
|
+
border: 1px solid #ccc;
|
181
|
+
border: 1px solid rgba(0,0,0,.15);
|
182
|
+
@include border-radius(3px);
|
183
|
+
white-space: pre;
|
184
|
+
white-space: pre-wrap;
|
185
|
+
word-wrap: break-word;
|
186
|
+
|
187
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
/* Variables.scss
|
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: bootstrap-sass-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.0
|
4
|
+
version: 1.4.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70259058428340 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70259058428340
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70259058427840 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.9.2
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70259058427840
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sass-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &70259058427380 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 3.1.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70259058427380
|
47
47
|
description: Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps,
|
48
48
|
and more. It includes base CSS styles for typography, forms, buttons, tables, grids,
|
49
49
|
navigation, alerts, and more.
|
@@ -57,6 +57,24 @@ files:
|
|
57
57
|
- lib/bootstrap/sass/rails/version.rb
|
58
58
|
- lib/bootstrap/sass/rails.rb
|
59
59
|
- lib/bootstrap-sass-rails.rb
|
60
|
+
- vendor/assets/javascripts/twitter/bootstrap/alerts.js
|
61
|
+
- vendor/assets/javascripts/twitter/bootstrap/buttons.js
|
62
|
+
- vendor/assets/javascripts/twitter/bootstrap/dropdown.js
|
63
|
+
- vendor/assets/javascripts/twitter/bootstrap/modal.js
|
64
|
+
- vendor/assets/javascripts/twitter/bootstrap/popover.js
|
65
|
+
- vendor/assets/javascripts/twitter/bootstrap/scrollspy.js
|
66
|
+
- vendor/assets/javascripts/twitter/bootstrap/tabs.js
|
67
|
+
- vendor/assets/javascripts/twitter/bootstrap/twipsy.js
|
68
|
+
- vendor/assets/javascripts/twitter/bootstrap.js
|
69
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_forms.scss
|
70
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss
|
71
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_patterns.scss
|
72
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_reset.scss
|
73
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss
|
74
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_tables.scss
|
75
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_type.scss
|
76
|
+
- vendor/assets/stylesheets/twitter/bootstrap/_variables.scss
|
77
|
+
- vendor/assets/stylesheets/twitter/bootstrap.css.scss
|
60
78
|
- LICENSE
|
61
79
|
- Rakefile
|
62
80
|
- README.md
|
@@ -137,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
155
|
version: '0'
|
138
156
|
segments:
|
139
157
|
- 0
|
140
|
-
hash:
|
158
|
+
hash: 567427105348891934
|
141
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
160
|
none: false
|
143
161
|
requirements:
|
@@ -146,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
164
|
version: '0'
|
147
165
|
segments:
|
148
166
|
- 0
|
149
|
-
hash:
|
167
|
+
hash: 567427105348891934
|
150
168
|
requirements: []
|
151
169
|
rubyforge_project:
|
152
170
|
rubygems_version: 1.8.10
|