sass-twitter-bootstrap 2.0.1 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/lib/sass/twitter/bootstrap/version.rb +1 -1
  2. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  3. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  4. data/vendor/assets/javascripts/twitter/bootstrap-affix.js +104 -0
  5. data/vendor/assets/javascripts/twitter/bootstrap-alert.js +28 -32
  6. data/vendor/assets/javascripts/twitter/bootstrap-button.js +29 -33
  7. data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +43 -24
  8. data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +50 -28
  9. data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +77 -19
  10. data/vendor/assets/javascripts/twitter/bootstrap-modal.js +113 -84
  11. data/vendor/assets/javascripts/twitter/bootstrap-popover.js +19 -11
  12. data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +50 -24
  13. data/vendor/assets/javascripts/twitter/bootstrap-tab.js +13 -8
  14. data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +44 -39
  15. data/vendor/assets/javascripts/twitter/bootstrap-transition.js +29 -20
  16. data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +73 -44
  17. data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
  18. data/vendor/assets/stylesheets/tests/css-tests.css +1 -12
  19. data/vendor/assets/stylesheets/tests/css-tests.html +22 -125
  20. data/vendor/assets/stylesheets/tests/navbar.html +39 -38
  21. data/vendor/assets/stylesheets/twitter/_accordion.scss +8 -2
  22. data/vendor/assets/stylesheets/twitter/_alerts.scss +16 -21
  23. data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +12 -10
  24. data/vendor/assets/stylesheets/twitter/_button-groups.scss +137 -39
  25. data/vendor/assets/stylesheets/twitter/_buttons.scss +129 -81
  26. data/vendor/assets/stylesheets/twitter/_carousel.scss +13 -3
  27. data/vendor/assets/stylesheets/twitter/_close.scss +16 -3
  28. data/vendor/assets/stylesheets/twitter/_code.scss +11 -10
  29. data/vendor/assets/stylesheets/twitter/_component-animations.scss +12 -8
  30. data/vendor/assets/stylesheets/twitter/_dropdowns.scss +133 -53
  31. data/vendor/assets/stylesheets/twitter/_forms.scss +298 -170
  32. data/vendor/assets/stylesheets/twitter/_grid.scss +17 -4
  33. data/vendor/assets/stylesheets/twitter/_hero-unit.scss +7 -3
  34. data/vendor/assets/stylesheets/twitter/_labels-badges.scss +69 -0
  35. data/vendor/assets/stylesheets/twitter/_layouts.scss +2 -3
  36. data/vendor/assets/stylesheets/twitter/_mixins.scss +359 -258
  37. data/vendor/assets/stylesheets/twitter/_modals.scss +26 -12
  38. data/vendor/assets/stylesheets/twitter/_navbar.scss +318 -143
  39. data/vendor/assets/stylesheets/twitter/_navs.scss +87 -56
  40. data/vendor/assets/stylesheets/twitter/_pager.scss +16 -6
  41. data/vendor/assets/stylesheets/twitter/_pagination.scss +23 -14
  42. data/vendor/assets/stylesheets/twitter/_popovers.scss +101 -33
  43. data/vendor/assets/stylesheets/twitter/_progress-bars.scss +43 -16
  44. data/vendor/assets/stylesheets/twitter/_reset.scss +16 -6
  45. data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +28 -0
  46. data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +174 -0
  47. data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +19 -0
  48. data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +177 -0
  49. data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +58 -0
  50. data/vendor/assets/stylesheets/twitter/_scaffolding.scss +32 -11
  51. data/vendor/assets/stylesheets/twitter/_sprites.scss +49 -14
  52. data/vendor/assets/stylesheets/twitter/_tables.scss +115 -42
  53. data/vendor/assets/stylesheets/twitter/_thumbnails.scss +23 -6
  54. data/vendor/assets/stylesheets/twitter/_tooltip.scss +47 -12
  55. data/vendor/assets/stylesheets/twitter/_type.scss +96 -93
  56. data/vendor/assets/stylesheets/twitter/_utilities.scss +24 -2
  57. data/vendor/assets/stylesheets/twitter/_variables.scss +202 -31
  58. data/vendor/assets/stylesheets/twitter/_wells.scss +17 -5
  59. data/vendor/assets/stylesheets/twitter/bootstrap.scss +3 -7
  60. data/vendor/assets/stylesheets/twitter/responsive.scss +15 -301
  61. metadata +10 -7
  62. data/vendor/assets/stylesheets/tests/buttons.html +0 -139
  63. data/vendor/assets/stylesheets/tests/forms-responsive.html +0 -71
  64. data/vendor/assets/stylesheets/tests/navbar-fixed-top.html +0 -104
  65. data/vendor/assets/stylesheets/tests/navbar-static-top.html +0 -107
  66. data/vendor/assets/stylesheets/twitter/_labels.scss +0 -32
@@ -1,13 +1,15 @@
1
- // WELLS
2
- // -----
1
+ //
2
+ // Wells
3
+ // --------------------------------------------------
3
4
 
5
+
6
+ // Base class
4
7
  .well {
5
8
  min-height: 20px;
6
9
  padding: 19px;
7
10
  margin-bottom: 20px;
8
- background-color: #f5f5f5;
9
- border: 1px solid #eee;
10
- border: 1px solid rgba(0,0,0,.05);
11
+ background-color: $wellBackground;
12
+ border: 1px solid darken($wellBackground, 7%);
11
13
  @include border-radius(4px);
12
14
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
13
15
  blockquote {
@@ -15,3 +17,13 @@
15
17
  border-color: rgba(0,0,0,.15);
16
18
  }
17
19
  }
20
+
21
+ // Sizes
22
+ .well-large {
23
+ padding: 24px;
24
+ @include border-radius(6px);
25
+ }
26
+ .well-small {
27
+ padding: 9px;
28
+ @include border-radius(3px);
29
+ }
@@ -1,15 +1,11 @@
1
1
  /*!
2
- * Bootstrap v2.0.1
2
+ * Bootstrap v2.1.0
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
6
6
  * http://www.apache.org/licenses/LICENSE-2.0
7
7
  *
8
8
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
- *
10
- * Converted to Sass by @johnwlong / @m5o.
11
- *
12
- * Date: @DATE
13
9
  */
14
10
 
15
11
  // Core variables and mixins
@@ -40,7 +36,7 @@
40
36
  // Components: Buttons & Alerts
41
37
  @import "buttons";
42
38
  @import "button-groups";
43
- @import "alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons.scss
39
+ @import "alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons
44
40
 
45
41
  // Components: Nav
46
42
  @import "navs";
@@ -56,7 +52,7 @@
56
52
 
57
53
  // Components: Misc
58
54
  @import "thumbnails";
59
- @import "labels";
55
+ @import "labels-badges";
60
56
  @import "progress-bars";
61
57
  @import "accordion";
62
58
  @import "carousel";
@@ -1,18 +1,15 @@
1
1
  /*!
2
- * Bootstrap Responsive v2.0.1
2
+ * Bootstrap Responsive v2.0.4
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
6
6
  * http://www.apache.org/licenses/LICENSE-2.0
7
7
  *
8
8
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
- *
10
- * Converted to Sass by @johnwlong / @m5o.
11
- *
12
- * Date: @DATE
13
9
  */
14
10
 
15
- // Responsive.scss
11
+
12
+ // Responsive
16
13
  // For phone and tablet devices
17
14
  // -------------------------------------------------------------
18
15
 
@@ -24,311 +21,28 @@
24
21
  @import "variables"; // Modify this for custom colors, font-sizes, etc
25
22
  @import "mixins";
26
23
 
27
- .clearfix {
28
- @include clearfix();
29
- }
30
24
 
31
25
  // RESPONSIVE CLASSES
32
26
  // ------------------
33
27
 
34
- // Hide from screenreaders and browsers
35
- // Credit: HTML5 Boilerplate
36
- .hidden {
37
- display: none;
38
- visibility: hidden;
39
- }
40
-
41
-
42
-
43
- // UP TO LANDSCAPE PHONE
44
- // ---------------------
45
-
46
- @media (max-width: 480px) {
47
-
48
- // Smooth out the collapsing/expanding nav
49
- .nav-collapse {
50
- -webkit-transform: translate3d(0, 0, 0); // activate the GPU
51
- }
52
-
53
- // Block level the page header small tag for readability
54
- .page-header h1 small {
55
- display: block;
56
- line-height: $baseLineHeight;
57
- }
58
-
59
- // Make span* classes full width
60
- input[class*="span"],
61
- select[class*="span"],
62
- textarea[class*="span"],
63
- .uneditable-input {
64
- display: block;
65
- width: 100%;
66
- min-height: 28px; /* Make inputs at least the height of their button counterpart */
67
- /* Makes inputs behave like true block-level elements */
68
- -webkit-box-sizing: border-box; /* Older Webkit */
69
- -moz-box-sizing: border-box; /* Older FF */
70
- -ms-box-sizing: border-box; /* IE8 */
71
- box-sizing: border-box; /* CSS3 spec*/
72
- }
73
- // But don't let it screw up prepend/append inputs
74
- .input-prepend input[class*="span"],
75
- .input-append input[class*="span"] {
76
- width: auto;
77
- }
78
-
79
- // Update checkboxes for iOS
80
- input[type="checkbox"],
81
- input[type="radio"] {
82
- border: 1px solid #ccc;
83
- }
84
-
85
- // Remove the horizontal form styles
86
- .form-horizontal .control-group > label {
87
- float: none;
88
- width: auto;
89
- padding-top: 0;
90
- text-align: left;
91
- }
92
- // Move over all input controls and content
93
- .form-horizontal .controls {
94
- margin-left: 0;
95
- }
96
- // Move the options list down to align with labels
97
- .form-horizontal .control-list {
98
- padding-top: 0; // has to be padding because margin collaspes
99
- }
100
- // Move over buttons in .form-actions to align with .controls
101
- .form-horizontal .form-actions {
102
- padding-left: 10px;
103
- padding-right: 10px;
104
- }
105
-
106
- // Modals
107
- .modal {
108
- position: absolute;
109
- top: 10px;
110
- left: 10px;
111
- right: 10px;
112
- width: auto;
113
- margin: 0;
114
- &.fade.in { top: auto; }
115
- }
116
- .modal-header .close {
117
- padding: 10px;
118
- margin: -10px;
119
- }
120
-
121
- // Carousel
122
- .carousel-caption {
123
- position: static;
124
- }
125
-
126
- }
127
-
128
-
129
-
130
- // LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
131
- // --------------------------------------------------
132
-
133
- @media (max-width: 767px) {
134
- // GRID & CONTAINERS
135
- // -----------------
136
- // Remove width from containers
137
- .container {
138
- width: auto;
139
- padding: 0 20px;
140
- }
141
- // Fluid rows
142
- .row-fluid {
143
- width: 100%;
144
- }
145
- // Undo negative margin on rows
146
- .row {
147
- margin-left: 0;
148
- }
149
- // Make all columns even
150
- .row > [class*="span"],
151
- .row-fluid > [class*="span"] {
152
- float: none;
153
- display: block;
154
- width: auto;
155
- margin: 0;
156
- }
157
- }
28
+ @import "responsive-utilities";
158
29
 
159
30
 
160
-
161
- // PORTRAIT TABLET TO DEFAULT DESKTOP
162
- // ----------------------------------
163
-
164
- @media (min-width: 768px) and (max-width: 979px) {
165
-
166
- // Fixed grid
167
- @include gridSystem-generate(12, 42px, 20px);
168
-
169
- // Fluid grid
170
- @include fluidGridSystem-generate(12, 5.801104972%, 2.762430939%);
171
-
172
- // Input grid
173
- @include inputGridSystem-generate(12, 42px, 20px);
174
-
175
- }
176
-
177
-
178
-
179
- // TABLETS AND BELOW
180
- // -----------------
181
- @media (max-width: 979px) {
182
-
183
- // UNFIX THE TOPBAR
184
- // ----------------
185
- // Remove any padding from the body
186
- body {
187
- padding-top: 0;
188
- }
189
- // Unfix the navbar
190
- .navbar-fixed-top {
191
- position: static;
192
- margin-bottom: $baseLineHeight;
193
- }
194
- .navbar-fixed-top .navbar-inner {
195
- padding: 5px;
196
- }
197
- .navbar .container {
198
- width: auto;
199
- padding: 0;
200
- }
201
- // Account for brand name
202
- .navbar .brand {
203
- padding-left: 10px;
204
- padding-right: 10px;
205
- margin: 0 0 0 -5px;
206
- }
207
- // Nav collapse clears brand
208
- .navbar .nav-collapse {
209
- clear: left;
210
- }
211
- // Block-level the nav
212
- .navbar .nav {
213
- float: none;
214
- margin: 0 0 ($baseLineHeight / 2);
215
- }
216
- .navbar .nav > li {
217
- float: none;
218
- }
219
- .navbar .nav > li > a {
220
- margin-bottom: 2px;
221
- }
222
- .navbar .nav > .divider-vertical {
223
- display: none;
224
- }
225
- .navbar .nav .nav-header {
226
- color: $navbarText;
227
- text-shadow: none;
228
- }
229
- // Nav and dropdown links in navbar
230
- .navbar .nav > li > a,
231
- .navbar .dropdown-menu a {
232
- padding: 6px 15px;
233
- font-weight: bold;
234
- color: $navbarLinkColor;
235
- @include border-radius(3px);
236
- }
237
- .navbar .dropdown-menu li + li a {
238
- margin-bottom: 2px;
239
- }
240
- .navbar .nav > li > a:hover,
241
- .navbar .dropdown-menu a:hover {
242
- background-color: $navbarBackground;
243
- }
244
- // Dropdowns in the navbar
245
- .navbar .dropdown-menu {
246
- position: static;
247
- top: auto;
248
- left: auto;
249
- float: none;
250
- display: block;
251
- max-width: none;
252
- margin: 0 15px;
253
- padding: 0;
254
- background-color: transparent;
255
- border: none;
256
- @include border-radius(0);
257
- @include box-shadow(none);
258
- }
259
- .navbar .dropdown-menu:before,
260
- .navbar .dropdown-menu:after {
261
- display: none;
262
- }
263
- .navbar .dropdown-menu .divider {
264
- display: none;
265
- }
266
- // Forms in navbar
267
- .navbar-form,
268
- .navbar-search {
269
- float: none;
270
- padding: ($baseLineHeight / 2) 15px;
271
- margin: ($baseLineHeight / 2) 0;
272
- border-top: 1px solid $navbarBackground;
273
- border-bottom: 1px solid $navbarBackground;
274
- $shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
275
- @include box-shadow($shadow);
276
- }
277
- // Pull right (secondary) nav content
278
- .navbar .nav.pull-right {
279
- float: none;
280
- margin-left: 0;
281
- }
282
- // Static navbar
283
- .navbar-static .navbar-inner {
284
- padding-left: 10px;
285
- padding-right: 10px;
286
- }
287
- // Navbar button
288
- .btn-navbar {
289
- display: block;
290
- }
291
-
292
- // Hide everything in the navbar save .brand and toggle button */
293
- .nav-collapse {
294
- overflow: hidden;
295
- height: 0;
296
- }
297
- }
298
-
299
-
300
-
301
- // DEFAULT DESKTOP
302
- // ---------------
303
-
304
- @media (min-width: 980px) {
305
- .nav-collapse.collapse {
306
- height: auto !important;
307
- }
308
- }
309
-
310
-
311
-
312
- // LARGE DESKTOP & UP
31
+ // MEDIA QUERIES
313
32
  // ------------------
314
33
 
315
- @media (min-width: 1200px) {
34
+ // Large desktops
35
+ @import "responsive-1200px-min";
316
36
 
317
- // Fixed grid
318
- @include gridSystem-generate(12, 70px, 30px);
37
+ // Tablets to regular desktops
38
+ @import "responsive-768px-979px";
319
39
 
320
- // Fluid grid
321
- @include fluidGridSystem-generate(12, 5.982905983%, 2.564102564%);
40
+ // Phones to portrait tablets and narrow desktops
41
+ @import "responsive-767px-max";
322
42
 
323
- // Input grid
324
- @include inputGridSystem-generate(12, 70px, 30px);
325
43
 
326
- // Thumbnails
327
- .thumbnails {
328
- margin-left: -30px;
329
- }
330
- .thumbnails > li {
331
- margin-left: 30px;
332
- }
44
+ // RESPONSIVE NAVBAR
45
+ // ------------------
333
46
 
334
- }
47
+ // From 979px and below, show a button to toggle navbar contents
48
+ @import "responsive-navbar";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-twitter-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.1
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: 2013-07-24 00:00:00.000000000 Z
12
+ date: 2012-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -56,6 +56,7 @@ files:
56
56
  - lib/sass/twitter/bootstrap.rb
57
57
  - vendor/assets/images/glyphicons-halflings-white.png
58
58
  - vendor/assets/images/glyphicons-halflings.png
59
+ - vendor/assets/javascripts/twitter/bootstrap-affix.js
59
60
  - vendor/assets/javascripts/twitter/bootstrap-alert.js
60
61
  - vendor/assets/javascripts/twitter/bootstrap-button.js
61
62
  - vendor/assets/javascripts/twitter/bootstrap-carousel.js
@@ -68,13 +69,10 @@ files:
68
69
  - vendor/assets/javascripts/twitter/bootstrap-tooltip.js
69
70
  - vendor/assets/javascripts/twitter/bootstrap-transition.js
70
71
  - vendor/assets/javascripts/twitter/bootstrap-typeahead.js
71
- - vendor/assets/stylesheets/tests/buttons.html
72
+ - vendor/assets/javascripts/twitter/bootstrap.js
72
73
  - vendor/assets/stylesheets/tests/css-tests.css
73
74
  - vendor/assets/stylesheets/tests/css-tests.html
74
- - vendor/assets/stylesheets/tests/forms-responsive.html
75
75
  - vendor/assets/stylesheets/tests/forms.html
76
- - vendor/assets/stylesheets/tests/navbar-fixed-top.html
77
- - vendor/assets/stylesheets/tests/navbar-static-top.html
78
76
  - vendor/assets/stylesheets/tests/navbar.html
79
77
  - vendor/assets/stylesheets/twitter/_accordion.scss
80
78
  - vendor/assets/stylesheets/twitter/_alerts.scss
@@ -89,7 +87,7 @@ files:
89
87
  - vendor/assets/stylesheets/twitter/_forms.scss
90
88
  - vendor/assets/stylesheets/twitter/_grid.scss
91
89
  - vendor/assets/stylesheets/twitter/_hero-unit.scss
92
- - vendor/assets/stylesheets/twitter/_labels.scss
90
+ - vendor/assets/stylesheets/twitter/_labels-badges.scss
93
91
  - vendor/assets/stylesheets/twitter/_layouts.scss
94
92
  - vendor/assets/stylesheets/twitter/_mixins.scss
95
93
  - vendor/assets/stylesheets/twitter/_modals.scss
@@ -100,6 +98,11 @@ files:
100
98
  - vendor/assets/stylesheets/twitter/_popovers.scss
101
99
  - vendor/assets/stylesheets/twitter/_progress-bars.scss
102
100
  - vendor/assets/stylesheets/twitter/_reset.scss
101
+ - vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss
102
+ - vendor/assets/stylesheets/twitter/_responsive-767px-max.scss
103
+ - vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss
104
+ - vendor/assets/stylesheets/twitter/_responsive-navbar.scss
105
+ - vendor/assets/stylesheets/twitter/_responsive-utilities.scss
103
106
  - vendor/assets/stylesheets/twitter/_scaffolding.scss
104
107
  - vendor/assets/stylesheets/twitter/_sprites.scss
105
108
  - vendor/assets/stylesheets/twitter/_tables.scss