twitter-bootswatch-rails 3.0.0.2 → 3.0.1.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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
  3. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +200 -199
  4. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  5. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
  6. data/app/assets/javascripts/twitter/bootstrap/affix.js +2 -2
  7. data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -1
  8. data/app/assets/javascripts/twitter/bootstrap/button.js +1 -1
  9. data/app/assets/javascripts/twitter/bootstrap/carousel.js +2 -2
  10. data/app/assets/javascripts/twitter/bootstrap/collapse.js +2 -2
  11. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +2 -2
  12. data/app/assets/javascripts/twitter/bootstrap/modal.js +2 -2
  13. data/app/assets/javascripts/twitter/bootstrap/popover.js +2 -2
  14. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  15. data/app/assets/javascripts/twitter/bootstrap/tab.js +3 -3
  16. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +2 -2
  17. data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  18. data/lib/generators/bootswatch/install/templates/bootstrap.less +0 -10
  19. data/lib/generators/bootswatch/install/templates/mixins.less.tt +164 -29
  20. data/lib/generators/bootswatch/install/templates/variables.less.tt +56 -39
  21. data/lib/twitter/bootswatch/rails/version.rb +1 -1
  22. data/vendor/toolkit/twitter/bootstrap/alerts.less +1 -1
  23. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +0 -10
  24. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +2 -2
  25. data/vendor/toolkit/twitter/bootstrap/button-groups.less +6 -1
  26. data/vendor/toolkit/twitter/bootstrap/buttons.less +2 -4
  27. data/vendor/toolkit/twitter/bootstrap/carousel.less +32 -10
  28. data/vendor/toolkit/twitter/bootstrap/code.less +5 -8
  29. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +1 -2
  30. data/vendor/toolkit/twitter/bootstrap/forms.less +16 -3
  31. data/vendor/toolkit/twitter/bootstrap/glyphicons.less +16 -11
  32. data/vendor/toolkit/twitter/bootstrap/grid.less +32 -285
  33. data/vendor/toolkit/twitter/bootstrap/input-groups.less +9 -0
  34. data/vendor/toolkit/twitter/bootstrap/jumbotron.less +2 -2
  35. data/vendor/toolkit/twitter/bootstrap/list-group.less +12 -12
  36. data/vendor/toolkit/twitter/bootstrap/mixins.less +164 -29
  37. data/vendor/toolkit/twitter/bootstrap/modals.less +2 -11
  38. data/vendor/toolkit/twitter/bootstrap/navbar.less +10 -7
  39. data/vendor/toolkit/twitter/bootstrap/navs.less +53 -20
  40. data/vendor/toolkit/twitter/bootstrap/normalize.less +16 -6
  41. data/vendor/toolkit/twitter/bootstrap/pagination.less +2 -0
  42. data/vendor/toolkit/twitter/bootstrap/panels.less +31 -7
  43. data/vendor/toolkit/twitter/bootstrap/print.less +6 -1
  44. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +4 -7
  45. data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +57 -68
  46. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +1 -12
  47. data/vendor/toolkit/twitter/bootstrap/tables.less +40 -40
  48. data/vendor/toolkit/twitter/bootstrap/theme.less +32 -17
  49. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +6 -6
  50. data/vendor/toolkit/twitter/bootstrap/tooltip.less +8 -8
  51. data/vendor/toolkit/twitter/bootstrap/type.less +71 -30
  52. data/vendor/toolkit/twitter/bootstrap/utilities.less +15 -1
  53. data/vendor/toolkit/twitter/bootstrap/variables.less +56 -39
  54. metadata +3 -3
@@ -9,6 +9,9 @@
9
9
  .clearfix {
10
10
  .clearfix();
11
11
  }
12
+ .center-block {
13
+ .center-block();
14
+ }
12
15
  .pull-right {
13
16
  float: right !important;
14
17
  }
@@ -20,6 +23,7 @@
20
23
  // Toggling content
21
24
  // -------------------------
22
25
 
26
+ // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
23
27
  .hide {
24
28
  display: none !important;
25
29
  }
@@ -30,7 +34,17 @@
30
34
  visibility: hidden;
31
35
  }
32
36
  .text-hide {
33
- .hide-text();
37
+ .text-hide();
38
+ }
39
+
40
+
41
+ // Hide from screenreaders and browsers
42
+ //
43
+ // Credit: HTML5 Boilerplate
44
+
45
+ .hidden {
46
+ display: none !important;
47
+ visibility: hidden !important;
34
48
  }
35
49
 
36
50
 
@@ -48,12 +48,21 @@
48
48
  @font-size-large: ceil(@font-size-base * 1.25); // ~18px
49
49
  @font-size-small: ceil(@font-size-base * 0.85); // ~12px
50
50
 
51
+ @font-size-h1: floor(@font-size-base * 2.6); // ~36px
52
+ @font-size-h2: floor(@font-size-base * 2.15); // ~30px
53
+ @font-size-h3: ceil(@font-size-base * 1.7); // ~24px
54
+ @font-size-h4: ceil(@font-size-base * 1.25); // ~18px
55
+ @font-size-h5: @font-size-base;
56
+ @font-size-h6: ceil(@font-size-base * 0.85); // ~12px
57
+
51
58
  @line-height-base: 1.428571429; // 20/14
52
59
  @line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
53
60
 
54
61
  @headings-font-family: @font-family-base;
55
62
  @headings-font-weight: 500;
56
63
  @headings-line-height: 1.1;
64
+ @headings-color: inherit;
65
+
57
66
 
58
67
  // Iconography
59
68
  // -------------------------
@@ -82,6 +91,7 @@
82
91
  @border-radius-large: 6px;
83
92
  @border-radius-small: 3px;
84
93
 
94
+ @component-active-color: #fff;
85
95
  @component-active-bg: @brand-primary;
86
96
 
87
97
  @caret-width-base: 4px;
@@ -165,12 +175,12 @@
165
175
  @dropdown-fallback-border: #ccc;
166
176
  @dropdown-divider-bg: #e5e5e5;
167
177
 
168
- @dropdown-link-active-color: #fff;
169
- @dropdown-link-active-bg: @component-active-bg;
170
-
171
178
  @dropdown-link-color: @gray-dark;
172
- @dropdown-link-hover-color: #fff;
173
- @dropdown-link-hover-bg: @dropdown-link-active-bg;
179
+ @dropdown-link-hover-color: darken(@gray-dark, 5%);
180
+ @dropdown-link-hover-bg: #f5f5f5;
181
+
182
+ @dropdown-link-active-color: @component-active-color;
183
+ @dropdown-link-active-bg: @component-active-bg;
174
184
 
175
185
  @dropdown-link-disabled-color: @gray-light;
176
186
 
@@ -200,25 +210,33 @@
200
210
  // --------------------------------------------------
201
211
 
202
212
  // Extra small screen / phone
213
+ // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
203
214
  @screen-xs: 480px;
204
- @screen-phone: @screen-xs;
215
+ @screen-xs-min: @screen-xs;
216
+ @screen-phone: @screen-xs-min;
205
217
 
206
218
  // Small screen / tablet
219
+ // Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
207
220
  @screen-sm: 768px;
208
- @screen-tablet: @screen-sm;
221
+ @screen-sm-min: @screen-sm;
222
+ @screen-tablet: @screen-sm-min;
209
223
 
210
224
  // Medium screen / desktop
225
+ // Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
211
226
  @screen-md: 992px;
212
- @screen-desktop: @screen-md;
227
+ @screen-md-min: @screen-md;
228
+ @screen-desktop: @screen-md-min;
213
229
 
214
230
  // Large screen / wide desktop
231
+ // Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
215
232
  @screen-lg: 1200px;
216
- @screen-lg-desktop: @screen-lg;
233
+ @screen-lg-min: @screen-lg;
234
+ @screen-lg-desktop: @screen-lg-min;
217
235
 
218
236
  // So media queries don't overlap when required, provide a maximum
219
- @screen-xs-max: (@screen-sm - 1);
220
- @screen-sm-max: (@screen-md - 1);
221
- @screen-md-max: (@screen-lg - 1);
237
+ @screen-xs-max: (@screen-sm-min - 1);
238
+ @screen-sm-max: (@screen-md-min - 1);
239
+ @screen-md-max: (@screen-lg-min - 1);
222
240
 
223
241
 
224
242
  // Grid system
@@ -229,7 +247,7 @@
229
247
  // Padding, to be divided by two and applied to the left and right of all columns
230
248
  @grid-gutter-width: 30px;
231
249
  // Point at which the navbar stops collapsing
232
- @grid-float-breakpoint: @screen-tablet;
250
+ @grid-float-breakpoint: @screen-sm-min;
233
251
 
234
252
 
235
253
  // Navbar
@@ -238,13 +256,14 @@
238
256
  // Basics of a navbar
239
257
  @navbar-height: 50px;
240
258
  @navbar-margin-bottom: @line-height-computed;
241
- @navbar-default-color: #777;
242
- @navbar-default-bg: #f8f8f8;
243
- @navbar-default-border: darken(@navbar-default-bg, 6.5%);
244
259
  @navbar-border-radius: @border-radius-base;
245
260
  @navbar-padding-horizontal: floor(@grid-gutter-width / 2);
246
261
  @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
247
262
 
263
+ @navbar-default-color: #777;
264
+ @navbar-default-bg: #f8f8f8;
265
+ @navbar-default-border: darken(@navbar-default-bg, 6.5%);
266
+
248
267
  // Navbar links
249
268
  @navbar-default-link-color: #777;
250
269
  @navbar-default-link-hover-color: #333;
@@ -256,7 +275,7 @@
256
275
 
257
276
  // Navbar brand label
258
277
  @navbar-default-brand-color: @navbar-default-link-color;
259
- @navbar-default-brand-hover-color: darken(@navbar-default-link-color, 10%);
278
+ @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
260
279
  @navbar-default-brand-hover-bg: transparent;
261
280
 
262
281
  // Navbar toggle
@@ -286,13 +305,6 @@
286
305
  @navbar-inverse-brand-hover-color: #fff;
287
306
  @navbar-inverse-brand-hover-bg: transparent;
288
307
 
289
- // Inverted navbar search
290
- // Normal navbar needs no special styles or vars
291
- @navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);
292
- @navbar-inverse-search-bg-focus: #fff;
293
- @navbar-inverse-search-border: @navbar-inverse-bg;
294
- @navbar-inverse-search-placeholder-color: #ccc;
295
-
296
308
  // Inverted navbar toggle
297
309
  @navbar-inverse-toggle-hover-bg: #333;
298
310
  @navbar-inverse-toggle-icon-bar-bg: #fff;
@@ -324,8 +336,9 @@
324
336
  @nav-tabs-justified-active-link-border-color: @body-bg;
325
337
 
326
338
  // Pills
339
+ @nav-pills-border-radius: @border-radius-base;
327
340
  @nav-pills-active-link-hover-bg: @component-active-bg;
328
- @nav-pills-active-link-hover-color: #fff;
341
+ @nav-pills-active-link-hover-color: @component-active-color;
329
342
 
330
343
 
331
344
  // Pagination
@@ -355,21 +368,13 @@
355
368
  @jumbotron-padding: 30px;
356
369
  @jumbotron-color: inherit;
357
370
  @jumbotron-bg: @gray-lighter;
358
-
359
371
  @jumbotron-heading-color: inherit;
372
+ @jumbotron-font-size: ceil(@font-size-base * 1.5);
360
373
 
361
374
 
362
375
  // Form states and alerts
363
376
  // -------------------------
364
377
 
365
- @state-warning-text: #c09853;
366
- @state-warning-bg: #fcf8e3;
367
- @state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
368
-
369
- @state-danger-text: #b94a48;
370
- @state-danger-bg: #f2dede;
371
- @state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
372
-
373
378
  @state-success-text: #468847;
374
379
  @state-success-bg: #dff0d8;
375
380
  @state-success-border: darken(spin(@state-success-bg, -10), 5%);
@@ -378,6 +383,14 @@
378
383
  @state-info-bg: #d9edf7;
379
384
  @state-info-border: darken(spin(@state-info-bg, -10), 7%);
380
385
 
386
+ @state-warning-text: #c09853;
387
+ @state-warning-bg: #fcf8e3;
388
+ @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
389
+
390
+ @state-danger-text: #b94a48;
391
+ @state-danger-bg: #f2dede;
392
+ @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
393
+
381
394
 
382
395
  // Tooltips
383
396
  // -------------------------
@@ -478,7 +491,7 @@
478
491
  @list-group-border-radius: @border-radius-base;
479
492
 
480
493
  @list-group-hover-bg: #f5f5f5;
481
- @list-group-active-color: #fff;
494
+ @list-group-active-color: @component-active-color;
482
495
  @list-group-active-bg: @component-active-bg;
483
496
  @list-group-active-border: @list-group-active-bg;
484
497
 
@@ -553,6 +566,7 @@
553
566
  @breadcrumb-bg: #f5f5f5;
554
567
  @breadcrumb-color: #ccc;
555
568
  @breadcrumb-active-color: @gray-light;
569
+ @breadcrumb-separator: "/";
556
570
 
557
571
 
558
572
  // Carousel
@@ -573,8 +587,8 @@
573
587
 
574
588
  // Close
575
589
  // ------------------------
576
- @close-color: #000;
577
590
  @close-font-weight: bold;
591
+ @close-color: #000;
578
592
  @close-text-shadow: 0 1px 0 #fff;
579
593
 
580
594
 
@@ -611,10 +625,13 @@
611
625
  // --------------------------------------------------
612
626
 
613
627
  // Small screen / tablet
614
- @container-tablet: ((720px + @grid-gutter-width));
628
+ @container-tablet: ((720px + @grid-gutter-width));
629
+ @container-sm: @container-tablet;
615
630
 
616
631
  // Medium screen / desktop
617
- @container-desktop: ((940px + @grid-gutter-width));
632
+ @container-desktop: ((940px + @grid-gutter-width));
633
+ @container-md: @container-desktop;
618
634
 
619
635
  // Large screen / wide desktop
620
- @container-lg-desktop: ((1140px + @grid-gutter-width));
636
+ @container-large-desktop: ((1140px + @grid-gutter-width));
637
+ @container-lg: @container-large-desktop;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.2
4
+ version: 3.0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott V. Rosenthal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-30 00:00:00.000000000 Z
11
+ date: 2013-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  version: 1.8.11
207
207
  requirements: []
208
208
  rubyforge_project:
209
- rubygems_version: 2.0.6
209
+ rubygems_version: 2.1.5
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: Bootstrap toolkit for Rails Asset Pipeline with less-rails