anjlab-bootstrap-rails 2.0.3.2 → 2.0.4.0
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/README.md +2 -2
- data/bootstrap-rails.gemspec +2 -2
- data/lib/bootstrap-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-alert.js +1 -1
- data/vendor/assets/javascripts/bootstrap-button.js +1 -1
- data/vendor/assets/javascripts/bootstrap-carousel.js +1 -1
- data/vendor/assets/javascripts/bootstrap-collapse.js +1 -1
- data/vendor/assets/javascripts/bootstrap-dropdown.js +1 -1
- data/vendor/assets/javascripts/bootstrap-modal.js +1 -1
- data/vendor/assets/javascripts/bootstrap-popover.js +1 -1
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +1 -1
- data/vendor/assets/javascripts/bootstrap-tab.js +1 -1
- data/vendor/assets/javascripts/bootstrap-tooltip.js +3 -3
- data/vendor/assets/javascripts/bootstrap-transition.js +1 -1
- data/vendor/assets/javascripts/bootstrap-typeahead.js +1 -1
- data/vendor/assets/stylesheets/bootstrap.scss +1 -1
- data/vendor/assets/stylesheets/component-animations.scss +2 -2
- data/vendor/assets/stylesheets/dropdowns.scss +3 -3
- data/vendor/assets/stylesheets/forms.scss +90 -91
- data/vendor/assets/stylesheets/mixins.scss +32 -3
- data/vendor/assets/stylesheets/navbar.scss +1 -7
- data/vendor/assets/stylesheets/reset.scss +5 -0
- data/vendor/assets/stylesheets/responsive-navbar.scss +9 -2
- data/vendor/assets/stylesheets/responsive.scss +1 -1
- data/vendor/assets/stylesheets/type.scss +1 -4
- data/vendor/assets/stylesheets/variables.scss +2 -1
- metadata +6 -6
data/README.md
CHANGED
@@ -4,7 +4,7 @@ It includes base CSS and HTML for typography, forms, buttons, tables, grids, nav
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
anjlab-bootstrap-rails project integrates Bootstrap CSS (with
|
7
|
+
anjlab-bootstrap-rails project integrates Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
|
8
8
|
|
9
9
|
## Rails > 3.1
|
10
10
|
Include Bootstrap in Gemfile;
|
@@ -81,7 +81,7 @@ Add necessary javascript(s) files to app/assets/javascripts/application.js
|
|
81
81
|
## For Developers
|
82
82
|
|
83
83
|
- Fork this repo if you want fix rails integration bug
|
84
|
-
- Fork [
|
84
|
+
- Fork [Sass repo](https://github.com/yury/bootstrap) if you want fix SASS bug
|
85
85
|
|
86
86
|
## Thanks
|
87
87
|
Thanks Twitter for Bootstrap
|
data/bootstrap-rails.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/bootstrap-rails/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Yury Korolev"]
|
6
6
|
gem.email = ["yury.korolev@gmail.com"]
|
7
|
-
gem.description = %q{Twitter Bootstrap CSS (with
|
8
|
-
gem.summary = %q{Bootstrap CSS (with
|
7
|
+
gem.description = %q{Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects}
|
8
|
+
gem.summary = %q{Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects}
|
9
9
|
gem.homepage = "https://github.com/anjlab/bootstrap-rails"
|
10
10
|
|
11
11
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ==========================================================
|
2
|
-
* bootstrap-alert.js v2.0.
|
2
|
+
* bootstrap-alert.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
4
4
|
* ==========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ============================================================
|
2
|
-
* bootstrap-button.js v2.0.
|
2
|
+
* bootstrap-button.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
4
4
|
* ============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ==========================================================
|
2
|
-
* bootstrap-carousel.js v2.0.
|
2
|
+
* bootstrap-carousel.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
4
4
|
* ==========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-collapse.js v2.0.
|
2
|
+
* bootstrap-collapse.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ============================================================
|
2
|
-
* bootstrap-dropdown.js v2.0.
|
2
|
+
* bootstrap-dropdown.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
4
4
|
* ============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =========================================================
|
2
|
-
* bootstrap-modal.js v2.0.
|
2
|
+
* bootstrap-modal.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
4
4
|
* =========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===========================================================
|
2
|
-
* bootstrap-popover.js v2.0.
|
2
|
+
* bootstrap-popover.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
4
4
|
* ===========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-scrollspy.js v2.0.
|
2
|
+
* bootstrap-scrollspy.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================
|
2
|
-
* bootstrap-tab.js v2.0.
|
2
|
+
* bootstrap-tab.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
4
4
|
* ========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===========================================================
|
2
|
-
* bootstrap-tooltip.js v2.0.
|
2
|
+
* bootstrap-tooltip.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ===========================================================
|
@@ -84,9 +84,9 @@
|
|
84
84
|
, leave: function (e) {
|
85
85
|
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
86
86
|
|
87
|
+
if (this.timeout) clearTimeout(this.timeout)
|
87
88
|
if (!self.options.delay || !self.options.delay.hide) return self.hide()
|
88
89
|
|
89
|
-
clearTimeout(this.timeout)
|
90
90
|
self.hoverState = 'out'
|
91
91
|
this.timeout = setTimeout(function() {
|
92
92
|
if (self.hoverState == 'out') self.hide()
|
@@ -272,4 +272,4 @@
|
|
272
272
|
, delay: 0
|
273
273
|
}
|
274
274
|
|
275
|
-
}(window.jQuery);
|
275
|
+
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===================================================
|
2
|
-
* bootstrap-transition.js v2.0.
|
2
|
+
* bootstrap-transition.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
4
|
* ===================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-typeahead.js v2.0.
|
2
|
+
* bootstrap-typeahead.js v2.0.4
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -71,7 +71,7 @@
|
|
71
71
|
|
72
72
|
// Dividers (basically an hr) within the dropdown
|
73
73
|
.divider {
|
74
|
-
@include nav-divider();
|
74
|
+
@include nav-divider($dropdownDividerTop, $dropdownDividerBottom);
|
75
75
|
}
|
76
76
|
|
77
77
|
// Links within the dropdown menu
|
@@ -103,14 +103,14 @@
|
|
103
103
|
// make the menu appear below buttons that appeared later on the page
|
104
104
|
*z-index: $zindexDropdown;
|
105
105
|
|
106
|
-
.dropdown-menu {
|
106
|
+
& > .dropdown-menu {
|
107
107
|
display: block;
|
108
108
|
}
|
109
109
|
}
|
110
110
|
|
111
111
|
// Right aligned dropdowns
|
112
112
|
// ---------------------------
|
113
|
-
.pull-right .dropdown-menu {
|
113
|
+
.pull-right > .dropdown-menu {
|
114
114
|
right: 0;
|
115
115
|
left: auto;
|
116
116
|
}
|
@@ -27,7 +27,7 @@ legend {
|
|
27
27
|
line-height: $baseLineHeight * 2;
|
28
28
|
color: $grayDark;
|
29
29
|
border: 0;
|
30
|
-
border-bottom: 1px solid #
|
30
|
+
border-bottom: 1px solid #e5e5e5;
|
31
31
|
|
32
32
|
// Small
|
33
33
|
small {
|
@@ -55,71 +55,101 @@ textarea {
|
|
55
55
|
label {
|
56
56
|
display: block;
|
57
57
|
margin-bottom: 5px;
|
58
|
-
color: $grayDark;
|
59
58
|
}
|
60
59
|
|
61
|
-
//
|
62
|
-
|
63
|
-
|
60
|
+
// Form controls
|
61
|
+
// -------------------------
|
62
|
+
|
63
|
+
// Shared size and type resets
|
64
64
|
select,
|
65
|
+
textarea,
|
66
|
+
input[type="text"],
|
67
|
+
input[type="password"],
|
68
|
+
input[type="datetime"],
|
69
|
+
input[type="datetime-local"],
|
70
|
+
input[type="date"],
|
71
|
+
input[type="month"],
|
72
|
+
input[type="time"],
|
73
|
+
input[type="week"],
|
74
|
+
input[type="number"],
|
75
|
+
input[type="email"],
|
76
|
+
input[type="url"],
|
77
|
+
input[type="search"],
|
78
|
+
input[type="tel"],
|
79
|
+
input[type="color"],
|
65
80
|
.uneditable-input {
|
66
81
|
display: inline-block;
|
67
|
-
width: 210px;
|
68
82
|
height: $baseLineHeight;
|
69
83
|
padding: 4px;
|
70
84
|
margin-bottom: 9px;
|
71
85
|
font-size: $baseFontSize;
|
72
86
|
line-height: $baseLineHeight;
|
73
87
|
color: $gray;
|
74
|
-
background-color: $inputBackground;
|
75
|
-
border: 1px solid $inputBorder;
|
76
|
-
@include border-radius($inputBorderRadius);
|
77
88
|
}
|
78
|
-
|
79
|
-
|
89
|
+
|
90
|
+
// Reset appearance properties for textual inputs and textarea
|
91
|
+
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
92
|
+
input,
|
93
|
+
textarea {
|
94
|
+
width: 210px;
|
95
|
+
}
|
96
|
+
// Reset height since textareas have rows
|
97
|
+
textarea {
|
80
98
|
height: auto;
|
81
99
|
}
|
100
|
+
// Everything else
|
101
|
+
textarea,
|
102
|
+
input[type="text"],
|
103
|
+
input[type="password"],
|
104
|
+
input[type="datetime"],
|
105
|
+
input[type="datetime-local"],
|
106
|
+
input[type="date"],
|
107
|
+
input[type="month"],
|
108
|
+
input[type="time"],
|
109
|
+
input[type="week"],
|
110
|
+
input[type="number"],
|
111
|
+
input[type="email"],
|
112
|
+
input[type="url"],
|
113
|
+
input[type="search"],
|
114
|
+
input[type="tel"],
|
115
|
+
input[type="color"],
|
116
|
+
.uneditable-input {
|
117
|
+
background-color: $inputBackground;
|
118
|
+
border: 1px solid $inputBorder;
|
119
|
+
@include border-radius($inputBorderRadius);
|
120
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
121
|
+
$transition: border linear .2s, box-shadow linear .2s;
|
122
|
+
@include transition($transition);
|
82
123
|
|
83
|
-
//
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
124
|
+
// Focus state
|
125
|
+
&:focus {
|
126
|
+
border-color: rgba(82,168,236,.8);
|
127
|
+
outline: 0;
|
128
|
+
outline: thin dotted \9; /* IE6-9 */
|
129
|
+
@include box-shadow((inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)));
|
130
|
+
}
|
88
131
|
}
|
89
132
|
|
90
|
-
//
|
91
|
-
input[type="
|
92
|
-
input[type="checkbox"]
|
93
|
-
input[type="radio"] {
|
94
|
-
width: auto;
|
95
|
-
height: auto;
|
96
|
-
padding: 0;
|
133
|
+
// Position radios and checkboxes better
|
134
|
+
input[type="radio"],
|
135
|
+
input[type="checkbox"] {
|
97
136
|
margin: 3px 0;
|
98
137
|
*margin-top: 0; /* IE7 */
|
99
138
|
line-height: normal;
|
100
139
|
cursor: pointer;
|
101
|
-
border: 0 \9; /* IE9 and down */
|
102
|
-
@include border-radius(0);
|
103
|
-
}
|
104
|
-
input[type="image"] {
|
105
|
-
border: 0;
|
106
140
|
}
|
107
141
|
|
108
|
-
// Reset
|
109
|
-
input[type="
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
border: initial;
|
116
|
-
@include box-shadow(none);
|
142
|
+
// Reset width of input buttons, radios, checkboxes
|
143
|
+
input[type="submit"],
|
144
|
+
input[type="reset"],
|
145
|
+
input[type="button"],
|
146
|
+
input[type="radio"],
|
147
|
+
input[type="checkbox"] {
|
148
|
+
width: auto; // Override of generic input selector
|
117
149
|
}
|
118
150
|
|
119
|
-
//
|
120
|
-
|
121
|
-
input[type="reset"],
|
122
|
-
input[type="submit"] {
|
151
|
+
// Make uneditable textareas behave like a textarea
|
152
|
+
.uneditable-textarea {
|
123
153
|
width: auto;
|
124
154
|
height: auto;
|
125
155
|
}
|
@@ -132,15 +162,10 @@ input[type="file"] {
|
|
132
162
|
line-height: 28px;
|
133
163
|
}
|
134
164
|
|
135
|
-
//
|
136
|
-
input[type="file"] {
|
137
|
-
line-height: 18px \9;
|
138
|
-
}
|
139
|
-
|
140
|
-
// Chrome on Linux and Mobile Safari need background-color
|
165
|
+
// Make select elements obey height by applying a border
|
141
166
|
select {
|
142
167
|
width: 220px; // default input width + 10px of padding that doesn't get applied
|
143
|
-
|
168
|
+
border: 1px solid #bbb;
|
144
169
|
}
|
145
170
|
|
146
171
|
// Make multiple select elements height not fixed
|
@@ -149,19 +174,12 @@ select[size] {
|
|
149
174
|
height: auto;
|
150
175
|
}
|
151
176
|
|
152
|
-
//
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
textarea {
|
159
|
-
height: auto;
|
160
|
-
}
|
161
|
-
|
162
|
-
// Hidden inputs
|
163
|
-
input[type="hidden"] {
|
164
|
-
display: none;
|
177
|
+
// Focus for select, file, radio, and checkbox
|
178
|
+
select:focus,
|
179
|
+
input[type="file"]:focus,
|
180
|
+
input[type="radio"]:focus,
|
181
|
+
input[type="checkbox"]:focus {
|
182
|
+
@include tab-focus();
|
165
183
|
}
|
166
184
|
|
167
185
|
|
@@ -203,32 +221,6 @@ input[type="hidden"] {
|
|
203
221
|
|
204
222
|
|
205
223
|
|
206
|
-
// FOCUS STATE
|
207
|
-
// -----------
|
208
|
-
|
209
|
-
input,
|
210
|
-
textarea {
|
211
|
-
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
212
|
-
$transition: border linear .2s, box-shadow linear .2s;
|
213
|
-
@include transition($transition);
|
214
|
-
}
|
215
|
-
input:focus,
|
216
|
-
textarea:focus {
|
217
|
-
border-color: rgba(82,168,236,.8);
|
218
|
-
outline: 0;
|
219
|
-
outline: thin dotted \9; /* IE6-9 */
|
220
|
-
@include box-shadow((inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)));
|
221
|
-
}
|
222
|
-
input[type="file"]:focus,
|
223
|
-
input[type="radio"]:focus,
|
224
|
-
input[type="checkbox"]:focus,
|
225
|
-
select:focus {
|
226
|
-
@include tab-focus();
|
227
|
-
@include box-shadow(none); // override for file inputs
|
228
|
-
}
|
229
|
-
|
230
|
-
|
231
|
-
|
232
224
|
// INPUT SIZES
|
233
225
|
// -----------
|
234
226
|
|
@@ -253,6 +245,15 @@ textarea[class*="span"],
|
|
253
245
|
float: none;
|
254
246
|
margin-left: 0;
|
255
247
|
}
|
248
|
+
// Ensure input-prepend/append never wraps
|
249
|
+
.input-append input[class*="span"],
|
250
|
+
.input-append .uneditable-input[class*="span"],
|
251
|
+
.input-prepend input[class*="span"],
|
252
|
+
.input-prepend .uneditable-input[class*="span"],
|
253
|
+
.row-fluid .input-prepend [class*="span"],
|
254
|
+
.row-fluid .input-append [class*="span"] {
|
255
|
+
display: inline-block;
|
256
|
+
}
|
256
257
|
|
257
258
|
|
258
259
|
|
@@ -263,8 +264,6 @@ textarea[class*="span"],
|
|
263
264
|
|
264
265
|
|
265
266
|
|
266
|
-
|
267
|
-
|
268
267
|
// DISABLED STATE
|
269
268
|
// --------------
|
270
269
|
|
@@ -329,7 +328,7 @@ select:focus:required:invalid {
|
|
329
328
|
margin-top: $baseLineHeight;
|
330
329
|
margin-bottom: $baseLineHeight;
|
331
330
|
background-color: $formActionsBackground;
|
332
|
-
border-top: 1px solid #
|
331
|
+
border-top: 1px solid #e5e5e5;
|
333
332
|
@include clearfix(); // Adding clearfix to allow for .pull-right button containers
|
334
333
|
}
|
335
334
|
|
@@ -344,7 +343,7 @@ select:focus:required:invalid {
|
|
344
343
|
}
|
345
344
|
|
346
345
|
// Placeholder text gets special styles; can't be bundled together though for some reason
|
347
|
-
@include placeholder(
|
346
|
+
@include placeholder();
|
348
347
|
|
349
348
|
|
350
349
|
|
@@ -80,15 +80,32 @@
|
|
80
80
|
|
81
81
|
// Placeholder text
|
82
82
|
// -------------------------
|
83
|
+
@mixin placeholder-input($color: $placeholderText) {
|
84
|
+
&:-moz-placeholder {
|
85
|
+
color: $color;
|
86
|
+
}
|
87
|
+
&:-ms-input-placeholder {
|
88
|
+
color: $color;
|
89
|
+
}
|
90
|
+
&::-webkit-input-placeholder {
|
91
|
+
color: $color;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
83
95
|
@mixin placeholder($color: $placeholderText) {
|
84
96
|
:-moz-placeholder {
|
85
97
|
color: $color;
|
86
98
|
}
|
99
|
+
:-ms-input-placeholder {
|
100
|
+
color: $color;
|
101
|
+
}
|
87
102
|
::-webkit-input-placeholder {
|
88
103
|
color: $color;
|
89
104
|
}
|
90
105
|
}
|
91
106
|
|
107
|
+
|
108
|
+
|
92
109
|
// Text overflow
|
93
110
|
// -------------------------
|
94
111
|
// Requires inline-block or block for proper styling
|
@@ -170,6 +187,8 @@
|
|
170
187
|
color: $textColor;
|
171
188
|
}
|
172
189
|
// Style inputs accordingly
|
190
|
+
.checkbox,
|
191
|
+
.radio,
|
173
192
|
input,
|
174
193
|
select,
|
175
194
|
textarea {
|
@@ -307,6 +326,16 @@
|
|
307
326
|
column-gap: $columnGap;
|
308
327
|
}
|
309
328
|
|
329
|
+
// Optional hyphenation
|
330
|
+
@mixin hyphens($mode: auto) {
|
331
|
+
word-wrap: break-word;
|
332
|
+
-webkit-hyphens: $mode;
|
333
|
+
-moz-hyphens: $mode;
|
334
|
+
-ms-hyphens: $mode;
|
335
|
+
-o-hyphens: $mode;
|
336
|
+
hyphens: $mode;
|
337
|
+
}
|
338
|
+
|
310
339
|
// Opacity
|
311
340
|
@mixin opacity($opacity) {
|
312
341
|
opacity: $opacity / 100;
|
@@ -416,7 +445,7 @@
|
|
416
445
|
// Horizontal dividers
|
417
446
|
// -------------------------
|
418
447
|
// Dividers (basically an hr) within dropdowns and nav lists
|
419
|
-
@mixin nav-divider() {
|
448
|
+
@mixin nav-divider($top: #e5e5e5, $bottom: $white) {
|
420
449
|
// IE7 needs a set width since we gave a height. Restricting just
|
421
450
|
// to IE7 to keep the 1px left/right space in other browsers.
|
422
451
|
// It is unclear where IE is getting the extra space that we need
|
@@ -426,8 +455,8 @@
|
|
426
455
|
margin: (($baseLineHeight / 2) - 1) 1px; // 8px 1px
|
427
456
|
*margin: -5px 0 5px;
|
428
457
|
overflow: hidden;
|
429
|
-
background-color:
|
430
|
-
border-bottom: 1px solid $
|
458
|
+
background-color: $top;
|
459
|
+
border-bottom: 1px solid $bottom;
|
431
460
|
}
|
432
461
|
|
433
462
|
// Button backgrounds
|
@@ -123,13 +123,7 @@
|
|
123
123
|
@include box-shadow((inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)));
|
124
124
|
@include transition(none);
|
125
125
|
|
126
|
-
|
127
|
-
&:-moz-placeholder {
|
128
|
-
color: $navbarSearchPlaceholderColor;
|
129
|
-
}
|
130
|
-
&::-webkit-input-placeholder {
|
131
|
-
color: $navbarSearchPlaceholderColor;
|
132
|
-
}
|
126
|
+
@include placeholder-input($navbarSearchPlaceholderColor);
|
133
127
|
|
134
128
|
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
|
135
129
|
&:focus,
|
@@ -9,11 +9,18 @@
|
|
9
9
|
padding-top: 0;
|
10
10
|
}
|
11
11
|
// Unfix the navbar
|
12
|
-
.navbar-fixed-top
|
12
|
+
.navbar-fixed-top,
|
13
|
+
.navbar-fixed-bottom {
|
13
14
|
position: static;
|
15
|
+
}
|
16
|
+
.navbar-fixed-top {
|
14
17
|
margin-bottom: $baseLineHeight;
|
15
18
|
}
|
16
|
-
.navbar-fixed-
|
19
|
+
.navbar-fixed-bottom {
|
20
|
+
margin-top: $baseLineHeight;
|
21
|
+
}
|
22
|
+
.navbar-fixed-top .navbar-inner,
|
23
|
+
.navbar-fixed-bottom .navbar-inner {
|
17
24
|
padding: 5px;
|
18
25
|
}
|
19
26
|
.navbar .container {
|
@@ -8,9 +8,6 @@
|
|
8
8
|
|
9
9
|
p {
|
10
10
|
margin: 0 0 $baseLineHeight / 2;
|
11
|
-
font-family: $baseFontFamily;
|
12
|
-
font-size: $baseFontSize;
|
13
|
-
line-height: $baseLineHeight;
|
14
11
|
small {
|
15
12
|
font-size: $baseFontSize - 2;
|
16
13
|
color: $grayLight;
|
@@ -171,7 +168,7 @@ em {
|
|
171
168
|
// Abbreviations and acronyms
|
172
169
|
abbr[title] {
|
173
170
|
cursor: help;
|
174
|
-
border-bottom: 1px dotted
|
171
|
+
border-bottom: 1px dotted $grayLight;
|
175
172
|
}
|
176
173
|
abbr.initialism {
|
177
174
|
font-size: 90%;
|
@@ -107,7 +107,8 @@ $dropdownBorder: rgba(0,0,0,.2) !default;
|
|
107
107
|
$dropdownLinkColor: $grayDark !default;
|
108
108
|
$dropdownLinkColorHover: $white !default;
|
109
109
|
$dropdownLinkBackgroundHover: $linkColor !default;
|
110
|
-
|
110
|
+
$dropdownDividerTop: #e5e5e5 !default;
|
111
|
+
$dropdownDividerBottom: $white !default;
|
111
112
|
|
112
113
|
|
113
114
|
// COMPONENT VARIABLES
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anjlab-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4.0
|
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: 2012-
|
12
|
+
date: 2012-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -75,7 +75,7 @@ dependencies:
|
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '3.1'
|
78
|
-
description: Twitter Bootstrap CSS (with
|
78
|
+
description: Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3
|
79
79
|
projects
|
80
80
|
email:
|
81
81
|
- yury.korolev@gmail.com
|
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
segments:
|
166
166
|
- 0
|
167
|
-
hash:
|
167
|
+
hash: -1818697517985896885
|
168
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
169
|
none: false
|
170
170
|
requirements:
|
@@ -173,13 +173,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
segments:
|
175
175
|
- 0
|
176
|
-
hash:
|
176
|
+
hash: -1818697517985896885
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
179
|
rubygems_version: 1.8.22
|
180
180
|
signing_key:
|
181
181
|
specification_version: 3
|
182
|
-
summary: Bootstrap CSS (with
|
182
|
+
summary: Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
|
183
183
|
test_files:
|
184
184
|
- test/ie_hex_str_test.rb
|
185
185
|
- test/test_helper.rb
|