bootstrap-sass-rails 2.2.2.1 → 2.3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. data/README.md +25 -0
  2. data/lib/bootstrap/sass/rails/version.rb +1 -1
  3. data/test/dummy/log/test.log +0 -142
  4. data/test/dummy/tmp/cache/assets/C6F/370/sprockets%2F966879d6ff8742dc619724287f4a5150 +0 -0
  5. data/test/dummy/tmp/cache/assets/C73/6D0/sprockets%2F1960b4507c3aaa988180fb04093d1427 +0 -0
  6. data/test/dummy/tmp/cache/assets/C83/870/sprockets%2F508e55e1444b44d0187677a51893acf2 +0 -0
  7. data/test/dummy/tmp/cache/assets/C94/270/sprockets%2F40520eb6297b2908496e752e588f2f7d +0 -0
  8. data/test/dummy/tmp/cache/assets/CA6/110/sprockets%2F272615ec4af76b10339048ca6da44284 +0 -0
  9. data/test/dummy/tmp/cache/assets/CAD/040/sprockets%2F915d29a78a13fbbb606d47840634d703 +0 -0
  10. data/test/dummy/tmp/cache/assets/CB0/110/sprockets%2F057089195001bff3a770cec267e0877b +0 -0
  11. data/test/dummy/tmp/cache/assets/CB4/BD0/sprockets%2Fe0c39183ec49530b6c0758c1e945d274 +0 -0
  12. data/test/dummy/tmp/cache/assets/CB5/410/sprockets%2Ff2d804e78b14c4005d86653e2e957a35 +0 -0
  13. data/test/dummy/tmp/cache/assets/CCE/280/sprockets%2F59565d2ec707a1eb10c0b2302d58f920 +0 -0
  14. data/test/dummy/tmp/cache/assets/CD1/580/sprockets%2F7e48514e772b39d8878a8181798eaea6 +0 -0
  15. data/test/dummy/tmp/cache/assets/CDD/E80/sprockets%2Fa7248f6c140e4c834d8a4b5b0703f189 +0 -0
  16. data/test/dummy/tmp/cache/assets/CE2/910/sprockets%2Fee1ae05707da2d0176094849e35099ce +0 -0
  17. data/test/dummy/tmp/cache/assets/CE5/650/sprockets%2F8ab512c9b33ac90e699b73469d71f061 +0 -0
  18. data/test/dummy/tmp/cache/assets/CE9/4E0/sprockets%2F1c1f6d1579d9ad26654219f30c46f95c +0 -0
  19. data/test/dummy/tmp/cache/assets/CE9/E40/sprockets%2F47f8666418cd38da2ff7625f02422b5e +0 -0
  20. data/test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3 +0 -0
  21. data/test/dummy/tmp/cache/assets/D22/C90/sprockets%2Fe1a46318a188f29186cbe4f9d97792bb +0 -0
  22. data/test/dummy/tmp/cache/assets/D25/E70/sprockets%2Fb39f1d7ace7781584f2b27397c4d298d +0 -0
  23. data/test/dummy/tmp/cache/assets/D2D/410/sprockets%2F19d37b85ac2b8498758bdf8d08099e8b +0 -0
  24. data/test/dummy/tmp/cache/assets/D2D/8A0/sprockets%2F16702b2d73e90a918e2a03d40dd0fb6e +0 -0
  25. data/test/dummy/tmp/cache/assets/D34/0D0/sprockets%2F2e0e0061bc75f35b8665ee31f0af343f +0 -0
  26. data/test/dummy/tmp/cache/assets/D36/7D0/sprockets%2Ffc5ea6a588c4b2791581fdb35a30031d +0 -0
  27. data/test/dummy/tmp/cache/assets/D39/3D0/sprockets%2F744241c89d9c401d40d4ee5ad44a2f3f +0 -0
  28. data/test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f +0 -0
  29. data/test/dummy/tmp/cache/assets/D44/700/sprockets%2Fd328468f953946d2e2bef62c4cb7cb01 +0 -0
  30. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  31. data/test/dummy/tmp/cache/assets/D5A/560/sprockets%2Fad87bf89db0c636d2899f3d47eb70838 +0 -0
  32. data/test/dummy/tmp/cache/assets/D5C/3F0/sprockets%2F67d5fd7ae45e04fd786ee67812769cb5 +0 -0
  33. data/test/dummy/tmp/cache/assets/D63/540/sprockets%2F40806eccd4be04b3c3fa44d23576e18d +0 -0
  34. data/test/dummy/tmp/cache/assets/D63/C70/sprockets%2F382f45c06aa1f72aea7048fd474bbc33 +0 -0
  35. data/test/dummy/tmp/cache/assets/D70/0D0/sprockets%2F75765d3bfee9346a60198cbb8cdad102 +0 -0
  36. data/test/dummy/tmp/cache/assets/D73/760/sprockets%2F4e1d706de9dc13479c028238faea6ff2 +0 -0
  37. data/test/dummy/tmp/cache/assets/D74/A80/sprockets%2F89c4c5e2f034b736d5e839adfe7012db +0 -0
  38. data/test/dummy/tmp/cache/assets/D91/080/sprockets%2Fbcca522c6302f184f12fe0e8a7d7e71a +0 -0
  39. data/test/dummy/tmp/cache/assets/D9F/300/sprockets%2Fc13fc73ceafa45876a901b3e775b83ae +0 -0
  40. data/test/dummy/tmp/cache/assets/DB6/FE0/sprockets%2F1446b4accb510daee592aa8f34b03d2e +0 -0
  41. data/test/dummy/tmp/cache/assets/DB9/250/sprockets%2F15de37cf628d966fd377f94afbffe244 +0 -0
  42. data/test/dummy/tmp/cache/assets/DC1/D20/sprockets%2Fd6edb12fc70021e8ada656d316e0cd8d +0 -0
  43. data/test/dummy/tmp/cache/assets/DC7/8B0/sprockets%2Fc57aff8fcaace116023b4ae45c88138c +0 -0
  44. data/test/dummy/tmp/cache/assets/DCD/540/sprockets%2F81dd0cb0661e7e9725d4cecb2ea2e9d5 +0 -0
  45. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  46. data/test/dummy/tmp/cache/assets/DFC/550/sprockets%2Fc63af852c0f9cc4aa6a7dd59d74ab0a9 +0 -0
  47. data/test/dummy/tmp/cache/assets/DFF/EA0/sprockets%2Fc05f92ff4e2fa5eadcfe9d3d151047f3 +0 -0
  48. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  49. data/test/dummy/tmp/cache/assets/E2A/B40/sprockets%2F591e8bae8cab045e0af3ce80e3fa7ad9 +0 -0
  50. data/test/dummy/tmp/cache/assets/E30/FF0/sprockets%2F33f27cfaa7bec6fcb98ce5163c2d5c5d +0 -0
  51. data/test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857 +0 -0
  52. data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/application.css.scssc +0 -0
  53. data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/individual.css.scssc +0 -0
  54. data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/no-sprites.css.scssc +0 -0
  55. data/test/dummy/tmp/cache/sass/97a2fe4b4206536e366a73e1378c8e4d6acfc29d/bootstrap-no-sprites.css.scssc +0 -0
  56. data/test/dummy/tmp/cache/sass/97a2fe4b4206536e366a73e1378c8e4d6acfc29d/bootstrap.css.scssc +0 -0
  57. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_accordion.scssc +0 -0
  58. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_alerts.scssc +0 -0
  59. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_breadcrumbs.scssc +0 -0
  60. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_button-groups.scssc +0 -0
  61. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_buttons.scssc +0 -0
  62. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_carousel.scssc +0 -0
  63. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_close.scssc +0 -0
  64. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_code.scssc +0 -0
  65. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_component-animations.scssc +0 -0
  66. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_dropdowns.scssc +0 -0
  67. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_forms.scssc +0 -0
  68. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_grid.scssc +0 -0
  69. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_hero-unit.scssc +0 -0
  70. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_labels-badges.scssc +0 -0
  71. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_layouts.scssc +0 -0
  72. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_media.scssc +0 -0
  73. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_mixins.scssc +0 -0
  74. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_modals.scssc +0 -0
  75. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_navbar.scssc +0 -0
  76. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_navs.scssc +0 -0
  77. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_pager.scssc +0 -0
  78. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_pagination.scssc +0 -0
  79. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_popovers.scssc +0 -0
  80. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_progress-bars.scssc +0 -0
  81. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_reset.scssc +0 -0
  82. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-1200px-min.scssc +0 -0
  83. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-767px-max.scssc +0 -0
  84. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-768px-979px.scssc +0 -0
  85. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-navbar.scssc +0 -0
  86. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-utilities.scssc +0 -0
  87. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive.scssc +0 -0
  88. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_scaffolding.scssc +0 -0
  89. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_sprites.scssc +0 -0
  90. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_tables.scssc +0 -0
  91. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_thumbnails.scssc +0 -0
  92. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_tooltip.scssc +0 -0
  93. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_type.scssc +0 -0
  94. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_utilities.scssc +0 -0
  95. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_variables.scssc +0 -0
  96. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_wells.scssc +0 -0
  97. data/vendor/assets/javascripts/twitter/bootstrap/affix.js +1 -1
  98. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
  99. data/vendor/assets/javascripts/twitter/bootstrap/button.js +1 -1
  100. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +31 -9
  101. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +4 -4
  102. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +14 -10
  103. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +13 -11
  104. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +5 -5
  105. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  106. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
  107. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +95 -29
  108. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  109. data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +16 -4
  110. data/vendor/assets/stylesheets/twitter/bootstrap-no-sprites.css.scss +1 -1
  111. data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +1 -1
  112. data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +4 -2
  113. data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +8 -10
  114. data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +34 -7
  115. data/vendor/assets/stylesheets/twitter/bootstrap/_close.scss +2 -1
  116. data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +16 -12
  117. data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +5 -9
  118. data/vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.scss +4 -2
  119. data/vendor/assets/stylesheets/twitter/bootstrap/_media.scss +2 -2
  120. data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +17 -4
  121. data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +20 -13
  122. data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +33 -18
  123. data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +3 -1
  124. data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +3 -1
  125. data/vendor/assets/stylesheets/twitter/bootstrap/_popovers.scss +5 -1
  126. data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +0 -1
  127. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.scss +0 -1
  128. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +6 -2
  129. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +17 -0
  130. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive.scss +1 -10
  131. data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +2 -1
  132. data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.scss +7 -3
  133. data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +26 -19
  134. data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +3 -2
  135. data/vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss +6 -6
  136. data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +19 -7
  137. data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +1 -1
  138. metadata +4 -6
  139. data/test/cases/less_to_sass_spec.rb +0 -31
@@ -21,7 +21,8 @@
21
21
  border: 1px solid #ddd;
22
22
  @include border-radius(15px);
23
23
  }
24
- .pager li > a:hover {
24
+ .pager li > a:hover,
25
+ .pager li > a:focus {
25
26
  text-decoration: none;
26
27
  background-color: #f5f5f5;
27
28
  }
@@ -35,6 +36,7 @@
35
36
  }
36
37
  .pager .disabled > a,
37
38
  .pager .disabled > a:hover,
39
+ .pager .disabled > a:focus,
38
40
  .pager .disabled > span {
39
41
  color: $grayLight;
40
42
  background-color: #fff;
@@ -32,6 +32,7 @@
32
32
  border-left-width: 0;
33
33
  }
34
34
  .pagination ul > li > a:hover,
35
+ .pagination ul > li > a:focus,
35
36
  .pagination ul > .active > a,
36
37
  .pagination ul > .active > span {
37
38
  background-color: $paginationActiveBackground;
@@ -43,7 +44,8 @@
43
44
  }
44
45
  .pagination ul > .disabled > span,
45
46
  .pagination ul > .disabled > a,
46
- .pagination ul > .disabled > a:hover {
47
+ .pagination ul > .disabled > a:hover,
48
+ .pagination ul > .disabled > a:focus {
47
49
  color: $grayLight;
48
50
  background-color: transparent;
49
51
  cursor: default;
@@ -10,7 +10,7 @@
10
10
  left: 0;
11
11
  z-index: $zindexPopover;
12
12
  display: none;
13
- width: 236px;
13
+ max-width: 276px;
14
14
  padding: 1px;
15
15
  text-align: left; // Reset given new insertion method
16
16
  background-color: $popoverBackground;
@@ -42,6 +42,10 @@
42
42
  background-color: $popoverTitleBackground;
43
43
  border-bottom: 1px solid darken($popoverTitleBackground, 5%);
44
44
  @include border-radius(5px 5px 0 0);
45
+
46
+ &:empty {
47
+ display: none;
48
+ }
45
49
  }
46
50
 
47
51
  .popover-content {
@@ -214,4 +214,3 @@ textarea {
214
214
  page-break-after: avoid;
215
215
  }
216
216
  }
217
-
@@ -75,7 +75,6 @@
75
75
  margin-left: 0;
76
76
  }
77
77
 
78
-
79
78
  // FORM FIELDS
80
79
  // -----------
81
80
  // Make span* classes full width
@@ -82,7 +82,9 @@
82
82
  margin-bottom: 2px;
83
83
  }
84
84
  .nav-collapse .nav > li > a:hover,
85
- .nav-collapse .dropdown-menu a:hover {
85
+ .nav-collapse .nav > li > a:focus,
86
+ .nav-collapse .dropdown-menu a:hover,
87
+ .nav-collapse .dropdown-menu a:focus {
86
88
  background-color: $navbarBackground;
87
89
  }
88
90
  .navbar-inverse .nav-collapse .nav > li > a,
@@ -90,7 +92,9 @@
90
92
  color: $navbarInverseLinkColor;
91
93
  }
92
94
  .navbar-inverse .nav-collapse .nav > li > a:hover,
93
- .navbar-inverse .nav-collapse .dropdown-menu a:hover {
95
+ .navbar-inverse .nav-collapse .nav > li > a:focus,
96
+ .navbar-inverse .nav-collapse .dropdown-menu a:hover,
97
+ .navbar-inverse .nav-collapse .dropdown-menu a:focus {
94
98
  background-color: $navbarInverseBackground;
95
99
  }
96
100
  // Buttons in the navbar
@@ -2,6 +2,14 @@
2
2
  // RESPONSIVE CLASSES
3
3
  // ------------------
4
4
 
5
+
6
+ // IE10 Metro responsive
7
+ // Required for Windows 8 Metro split-screen snapping with IE10
8
+ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
9
+ @-ms-viewport{
10
+ width: device-width;
11
+ }
12
+
5
13
  // Hide from screenreaders and browsers
6
14
  // Credit: HTML5 Boilerplate
7
15
  .hidden {
@@ -40,3 +48,12 @@
40
48
  // Hide
41
49
  .hidden-phone { display: none !important; }
42
50
  }
51
+
52
+ // Print utilities
53
+ .visible-print { display: none !important; }
54
+ .hidden-print { }
55
+
56
+ @media print {
57
+ .visible-print { display: inherit !important; }
58
+ .hidden-print { display: none !important; }
59
+ }
@@ -1,6 +1,6 @@
1
1
  /* Partial: twitter/bootstrap/_responsive.scss */
2
2
  /*!
3
- * Bootstrap Responsive v2.2.2
3
+ * Bootstrap Responsive v2.3.0
4
4
  *
5
5
  * Copyright 2012 Twitter, Inc
6
6
  * Licensed under the Apache License v2.0
@@ -15,15 +15,6 @@
15
15
  // -------------------------------------------------------------
16
16
 
17
17
 
18
- // IE10 Metro responsive
19
- // Required for Windows 8 Metro split-screen snapping with IE10
20
- // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
21
-
22
- @-ms-viewport{
23
- width: device-width;
24
- }
25
-
26
-
27
18
  // REPEAT VARIABLES & MIXINS
28
19
  // -------------------------
29
20
  // Required since we compile the responsive stuff separately
@@ -25,7 +25,8 @@ a {
25
25
  color: $linkColor;
26
26
  text-decoration: none;
27
27
  }
28
- a:hover {
28
+ a:hover,
29
+ a:focus {
29
30
  color: $linkColorHover;
30
31
  text-decoration: underline;
31
32
  }
@@ -30,7 +30,7 @@
30
30
  margin-top: 1px;
31
31
  }
32
32
 
33
- /* White icons with optional class, or on hover/active states of certain elements */
33
+ /* White icons with optional class, or on hover/focus/active states of certain elements */
34
34
  .icon-white,
35
35
  .nav-pills > .active > a > [class^="icon-"],
36
36
  .nav-pills > .active > a > [class*=" icon-"],
@@ -39,11 +39,15 @@
39
39
  .navbar-inverse .nav > .active > a > [class^="icon-"],
40
40
  .navbar-inverse .nav > .active > a > [class*=" icon-"],
41
41
  .dropdown-menu > li > a:hover > [class^="icon-"],
42
+ .dropdown-menu > li > a:focus > [class^="icon-"],
42
43
  .dropdown-menu > li > a:hover > [class*=" icon-"],
44
+ .dropdown-menu > li > a:focus > [class*=" icon-"],
43
45
  .dropdown-menu > .active > a > [class^="icon-"],
44
46
  .dropdown-menu > .active > a > [class*=" icon-"],
45
47
  .dropdown-submenu:hover > a > [class^="icon-"],
46
- .dropdown-submenu:hover > a > [class*=" icon-"] {
48
+ .dropdown-submenu:focus > a > [class^="icon-"],
49
+ .dropdown-submenu:hover > a > [class*=" icon-"],
50
+ .dropdown-submenu:focus > a > [class*=" icon-"] {
47
51
  background-image: image-url($iconWhiteSpritePath);
48
52
  }
49
53
 
@@ -168,7 +172,7 @@
168
172
  .icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
169
173
  .icon-retweet { background-position: -336px -120px; }
170
174
  .icon-shopping-cart { background-position: -360px -120px; }
171
- .icon-folder-close { background-position: -384px -120px; }
175
+ .icon-folder-close { background-position: -384px -120px; width: 16px; }
172
176
  .icon-folder-open { background-position: -408px -120px; width: 16px; }
173
177
  .icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
174
178
  .icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
@@ -94,24 +94,32 @@ table {
94
94
  tbody:first-child tr:first-child td {
95
95
  border-top: 0;
96
96
  }
97
- // For first th or td in the first row in the first thead or tbody
97
+ // For first th/td in the first row in the first thead or tbody
98
98
  thead:first-child tr:first-child > th:first-child,
99
- tbody:first-child tr:first-child > td:first-child {
100
- @include border-top-left-radius($baseBorderRadius);
99
+ tbody:first-child tr:first-child > td:first-child,
100
+ tbody:first-child tr:first-child > th:first-child {
101
+ @include border-top-left-radius($baseBorderRadius);
101
102
  }
103
+ // For last th/td in the first row in the first thead or tbody
102
104
  thead:first-child tr:first-child > th:last-child,
103
- tbody:first-child tr:first-child > td:last-child {
104
- @include border-top-right-radius($baseBorderRadius);
105
+ tbody:first-child tr:first-child > td:last-child,
106
+ tbody:first-child tr:first-child > th:last-child {
107
+ @include border-top-right-radius($baseBorderRadius);
105
108
  }
106
- // For first th or td in the last row in the last thead or tbody
109
+ // For first th/td (can be either) in the last row in the last thead, tbody, and tfoot
107
110
  thead:last-child tr:last-child > th:first-child,
108
111
  tbody:last-child tr:last-child > td:first-child,
109
- tfoot:last-child tr:last-child > td:first-child {
112
+ tbody:last-child tr:last-child > th:first-child,
113
+ tfoot:last-child tr:last-child > td:first-child,
114
+ tfoot:last-child tr:last-child > th:first-child {
110
115
  @include border-bottom-left-radius($baseBorderRadius);
111
116
  }
117
+ // For last th/td (can be either) in the last row in the last thead, tbody, and tfoot
112
118
  thead:last-child tr:last-child > th:last-child,
113
119
  tbody:last-child tr:last-child > td:last-child,
114
- tfoot:last-child tr:last-child > td:last-child {
120
+ tbody:last-child tr:last-child > th:last-child,
121
+ tfoot:last-child tr:last-child > td:last-child,
122
+ tfoot:last-child tr:last-child > th:last-child {
115
123
  @include border-bottom-right-radius($baseBorderRadius);
116
124
  }
117
125
 
@@ -123,7 +131,6 @@ table {
123
131
  @include border-bottom-right-radius(0);
124
132
  }
125
133
 
126
-
127
134
  // Special fixes to round the left border on the first td/th
128
135
  caption + thead tr:first-child th:first-child,
129
136
  caption + tbody tr:first-child td:first-child,
@@ -162,8 +169,8 @@ table {
162
169
  // Placed here since it has to come after the potential zebra striping
163
170
  .table-hover {
164
171
  tbody {
165
- tr:hover td,
166
- tr:hover th {
172
+ tr:hover > td,
173
+ tr:hover > th {
167
174
  background-color: $tableBackgroundHover;
168
175
  }
169
176
  }
@@ -219,32 +226,32 @@ table th[class*="span"],
219
226
  // Exact selectors below required to override .table-striped
220
227
 
221
228
  .table tbody tr {
222
- &.success td {
229
+ &.success > td {
223
230
  background-color: $successBackground;
224
231
  }
225
- &.error td {
232
+ &.error > td {
226
233
  background-color: $errorBackground;
227
234
  }
228
- &.warning td {
235
+ &.warning > td {
229
236
  background-color: $warningBackground;
230
237
  }
231
- &.info td {
238
+ &.info > td {
232
239
  background-color: $infoBackground;
233
240
  }
234
241
  }
235
242
 
236
243
  // Hover states for .table-hover
237
244
  .table-hover tbody tr {
238
- &.success:hover td {
245
+ &.success:hover > td {
239
246
  background-color: darken($successBackground, 5%);
240
247
  }
241
- &.error:hover td {
248
+ &.error:hover > td {
242
249
  background-color: darken($errorBackground, 5%);
243
250
  }
244
- &.warning:hover td {
251
+ &.warning:hover > td {
245
252
  background-color: darken($warningBackground, 5%);
246
253
  }
247
- &.info:hover td {
254
+ &.info:hover > td {
248
255
  background-color: darken($infoBackground, 5%);
249
256
  }
250
257
  }
@@ -34,8 +34,9 @@
34
34
  @include box-shadow(0 1px 3px rgba(0,0,0,.055));
35
35
  @include transition(all .2s ease-in-out);
36
36
  }
37
- // Add a hover state for linked versions only
38
- a.thumbnail:hover {
37
+ // Add a hover/focus state for linked versions only
38
+ a.thumbnail:hover,
39
+ a.thumbnail:focus {
39
40
  border-color: $linkColor;
40
41
  @include box-shadow(0 1px 4px rgba(0,105,214,.25));
41
42
  }
@@ -10,20 +10,20 @@
10
10
  z-index: $zindexTooltip;
11
11
  display: block;
12
12
  visibility: visible;
13
- padding: 5px;
14
13
  font-size: 11px;
14
+ line-height: 1.4;
15
15
  @include opacity(0);
16
16
  &.in { @include opacity(80); }
17
- &.top { margin-top: -3px; }
18
- &.right { margin-left: 3px; }
19
- &.bottom { margin-top: 3px; }
20
- &.left { margin-left: -3px; }
17
+ &.top { margin-top: -3px; padding: 5px 0; }
18
+ &.right { margin-left: 3px; padding: 0 5px; }
19
+ &.bottom { margin-top: 3px; padding: 5px 0; }
20
+ &.left { margin-left: -3px; padding: 0 5px; }
21
21
  }
22
22
 
23
23
  // Wrapper for the tooltip content
24
24
  .tooltip-inner {
25
25
  max-width: 200px;
26
- padding: 3px 8px;
26
+ padding: 8px;
27
27
  color: $tooltipColor;
28
28
  text-align: center;
29
29
  text-decoration: none;
@@ -30,19 +30,28 @@ cite { font-style: normal; }
30
30
 
31
31
  // Utility classes
32
32
  .muted { color: $grayLight; }
33
- a.muted:hover { color: darken($grayLight, 10%); }
33
+ a.muted:hover,
34
+ a.muted:focus { color: darken($grayLight, 10%); }
34
35
 
35
36
  .text-warning { color: $warningText; }
36
- a.text-warning:hover { color: darken($warningText, 10%); }
37
+ a.text-warning:hover,
38
+ a.text-warning:focus { color: darken($warningText, 10%); }
37
39
 
38
40
  .text-error { color: $errorText; }
39
- a.text-error:hover { color: darken($errorText, 10%); }
41
+ a.text-error:hover,
42
+ a.text-error:focus { color: darken($errorText, 10%); }
40
43
 
41
44
  .text-info { color: $infoText; }
42
- a.text-info:hover { color: darken($infoText, 10%); }
45
+ a.text-info:hover,
46
+ a.text-info:focus { color: darken($infoText, 10%); }
43
47
 
44
48
  .text-success { color: $successText; }
45
- a.text-success:hover { color: darken($successText, 10%); }
49
+ a.text-success:hover,
50
+ a.text-success:focus { color: darken($successText, 10%); }
51
+
52
+ .text-left { text-align: left; }
53
+ .text-right { text-align: right; }
54
+ .text-center { text-align: center; }
46
55
 
47
56
 
48
57
  // Headings
@@ -118,8 +127,9 @@ ul.inline,
118
127
  ol.inline {
119
128
  margin-left: 0;
120
129
  list-style: none;
121
- & > li {
130
+ > li {
122
131
  display: inline-block;
132
+ @include ie7-inline-block();
123
133
  padding-left: 5px;
124
134
  padding-right: 5px;
125
135
  }
@@ -184,7 +194,9 @@ blockquote {
184
194
  border-left: 5px solid $grayLighter;
185
195
  p {
186
196
  margin-bottom: 0;
187
- @include font-shorthand(16px,300,$baseLineHeight * 1.25);
197
+ font-size: $baseFontSize * 1.25;
198
+ font-weight: 300;
199
+ line-height: 1.25;
188
200
  }
189
201
  small {
190
202
  display: block;
@@ -86,7 +86,7 @@ $tableBorder: #ddd !default; // table and cell border
86
86
  // -------------------------
87
87
  $btnBackground: $white !default;
88
88
  $btnBackgroundHighlight: darken($white, 10%) !default;
89
- $btnBorder: #bbb !default;
89
+ $btnBorder: #ccc !default;
90
90
 
91
91
  $btnPrimaryBackground: $linkColor !default;
92
92
  $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 20%) !default;
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: 2.2.2.1
4
+ version: 2.3.0.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: 2013-03-26 00:00:00.000000000 Z
12
+ date: 2013-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -167,7 +167,6 @@ files:
167
167
  - LICENSE
168
168
  - Rakefile
169
169
  - README.md
170
- - test/cases/less_to_sass_spec.rb
171
170
  - test/cases/usage_css_spec.rb
172
171
  - test/cases/usage_js_spec.rb
173
172
  - test/dummy/app/assets/javascripts/application.js
@@ -414,7 +413,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
414
413
  version: '0'
415
414
  segments:
416
415
  - 0
417
- hash: -154329338702551292
416
+ hash: 1072281963737304381
418
417
  required_rubygems_version: !ruby/object:Gem::Requirement
419
418
  none: false
420
419
  requirements:
@@ -423,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
423
422
  version: '0'
424
423
  segments:
425
424
  - 0
426
- hash: -154329338702551292
425
+ hash: 1072281963737304381
427
426
  requirements: []
428
427
  rubyforge_project:
429
428
  rubygems_version: 1.8.23
@@ -432,7 +431,6 @@ specification_version: 3
432
431
  summary: HTML, CSS, and JS toolkit from Twitter converted to Sasss and the Rails asset
433
432
  pipeline
434
433
  test_files:
435
- - test/cases/less_to_sass_spec.rb
436
434
  - test/cases/usage_css_spec.rb
437
435
  - test/cases/usage_js_spec.rb
438
436
  - test/dummy/app/assets/javascripts/application.js