sass-twitter-bootstrap 0.1.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. data/lib/{sass-twitter-bootstrap.rb → sass/twitter/bootstrap.rb} +1 -1
  2. data/lib/sass/twitter/bootstrap/rails.rb +1 -5
  3. data/lib/sass/twitter/bootstrap/rails/engine.rb +12 -0
  4. data/lib/sass/twitter/bootstrap/version.rb +1 -1
  5. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  6. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  7. data/vendor/assets/javascripts/twitter/bootstrap-alert.js +32 -28
  8. data/vendor/assets/javascripts/twitter/bootstrap-button.js +33 -29
  9. data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +21 -33
  10. data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +26 -47
  11. data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +10 -18
  12. data/vendor/assets/javascripts/twitter/bootstrap-modal.js +17 -25
  13. data/vendor/assets/javascripts/twitter/bootstrap-popover.js +10 -13
  14. data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +18 -44
  15. data/vendor/assets/javascripts/twitter/bootstrap-tab.js +7 -12
  16. data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +35 -40
  17. data/vendor/assets/javascripts/twitter/bootstrap-transition.js +20 -30
  18. data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +15 -29
  19. data/vendor/assets/stylesheets/tests/buttons.html +139 -0
  20. data/vendor/assets/stylesheets/tests/css-tests.css +99 -1
  21. data/vendor/assets/stylesheets/tests/css-tests.html +519 -37
  22. data/vendor/assets/stylesheets/tests/forms-responsive.html +71 -0
  23. data/vendor/assets/stylesheets/tests/navbar-fixed-top.html +104 -0
  24. data/vendor/assets/stylesheets/tests/navbar-static-top.html +107 -0
  25. data/vendor/assets/stylesheets/tests/navbar.html +38 -39
  26. data/vendor/assets/stylesheets/twitter/_accordion.scss +0 -5
  27. data/vendor/assets/stylesheets/twitter/_alerts.scss +15 -3
  28. data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +0 -2
  29. data/vendor/assets/stylesheets/twitter/_button-groups.scss +32 -76
  30. data/vendor/assets/stylesheets/twitter/_buttons.scss +25 -33
  31. data/vendor/assets/stylesheets/twitter/_close.scss +1 -12
  32. data/vendor/assets/stylesheets/twitter/_code.scss +8 -8
  33. data/vendor/assets/stylesheets/twitter/_component-animations.scss +7 -9
  34. data/vendor/assets/stylesheets/twitter/_dropdowns.scss +45 -58
  35. data/vendor/assets/stylesheets/twitter/_forms.scss +146 -206
  36. data/vendor/assets/stylesheets/twitter/_grid.scss +5 -2
  37. data/vendor/assets/stylesheets/twitter/_hero-unit.scss +1 -3
  38. data/vendor/assets/stylesheets/twitter/_labels.scss +32 -0
  39. data/vendor/assets/stylesheets/twitter/_layouts.scss +2 -2
  40. data/vendor/assets/stylesheets/twitter/_mixins.scss +208 -273
  41. data/vendor/assets/stylesheets/twitter/_modals.scss +8 -14
  42. data/vendor/assets/stylesheets/twitter/_navbar.scss +73 -132
  43. data/vendor/assets/stylesheets/twitter/_navs.scss +43 -53
  44. data/vendor/assets/stylesheets/twitter/_pager.scss +0 -6
  45. data/vendor/assets/stylesheets/twitter/_pagination.scss +0 -1
  46. data/vendor/assets/stylesheets/twitter/_progress-bars.scss +6 -28
  47. data/vendor/assets/stylesheets/twitter/_reset.scss +4 -9
  48. data/vendor/assets/stylesheets/twitter/_scaffolding.scss +8 -4
  49. data/vendor/assets/stylesheets/twitter/_sprites.scss +7 -40
  50. data/vendor/assets/stylesheets/twitter/_tables.scss +33 -38
  51. data/vendor/assets/stylesheets/twitter/_thumbnails.scss +2 -14
  52. data/vendor/assets/stylesheets/twitter/_tooltip.scss +1 -1
  53. data/vendor/assets/stylesheets/twitter/_type.scss +14 -28
  54. data/vendor/assets/stylesheets/twitter/_variables.scss +19 -116
  55. data/vendor/assets/stylesheets/twitter/_wells.scss +0 -10
  56. data/vendor/assets/stylesheets/twitter/bootstrap.scss +7 -3
  57. data/vendor/assets/stylesheets/twitter/responsive.scss +301 -15
  58. metadata +25 -190
  59. data/.gitignore +0 -4
  60. data/Gemfile +0 -3
  61. data/Gemfile.lock +0 -14
  62. data/LICENSE +0 -176
  63. data/Makefile +0 -94
  64. data/README.md +0 -217
  65. data/Rakefile +0 -52
  66. data/bootstrap-2.0.4.css +0 -4661
  67. data/bootstrap-2.0.4.min.css +0 -9
  68. data/bootstrap-responsive-2.0.4.css +0 -932
  69. data/bootstrap-responsive-2.0.4.min.css +0 -9
  70. data/docs/assets/css/bootstrap-responsive.css +0 -932
  71. data/docs/assets/css/bootstrap.css +0 -4661
  72. data/docs/assets/css/docs.css +0 -846
  73. data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  74. data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  75. data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  76. data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  77. data/docs/assets/ico/favicon.ico +0 -0
  78. data/docs/assets/img/bird.png +0 -0
  79. data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
  80. data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
  81. data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
  82. data/docs/assets/img/browsers.png +0 -0
  83. data/docs/assets/img/example-sites/fleetio.png +0 -0
  84. data/docs/assets/img/example-sites/jshint.png +0 -0
  85. data/docs/assets/img/example-sites/kippt.png +0 -0
  86. data/docs/assets/img/example-sites/soundready.png +0 -0
  87. data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
  88. data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
  89. data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
  90. data/docs/assets/img/github-16px.png +0 -0
  91. data/docs/assets/img/glyphicons-halflings-white.png +0 -0
  92. data/docs/assets/img/glyphicons-halflings.png +0 -0
  93. data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
  94. data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
  95. data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
  96. data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
  97. data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
  98. data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
  99. data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
  100. data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
  101. data/docs/assets/img/grid-18px-masked.png +0 -0
  102. data/docs/assets/img/icon-css3.png +0 -0
  103. data/docs/assets/img/icon-github.png +0 -0
  104. data/docs/assets/img/icon-html5.png +0 -0
  105. data/docs/assets/img/icon-twitter.png +0 -0
  106. data/docs/assets/img/less-logo-large.png +0 -0
  107. data/docs/assets/img/less-small.png +0 -0
  108. data/docs/assets/img/responsive-illustrations.png +0 -0
  109. data/docs/assets/js/README.md +0 -106
  110. data/docs/assets/js/application.js +0 -184
  111. data/docs/assets/js/bootstrap-alert.js +0 -90
  112. data/docs/assets/js/bootstrap-button.js +0 -96
  113. data/docs/assets/js/bootstrap-carousel.js +0 -169
  114. data/docs/assets/js/bootstrap-collapse.js +0 -157
  115. data/docs/assets/js/bootstrap-dropdown.js +0 -100
  116. data/docs/assets/js/bootstrap-modal.js +0 -218
  117. data/docs/assets/js/bootstrap-popover.js +0 -98
  118. data/docs/assets/js/bootstrap-scrollspy.js +0 -151
  119. data/docs/assets/js/bootstrap-tab.js +0 -135
  120. data/docs/assets/js/bootstrap-tooltip.js +0 -275
  121. data/docs/assets/js/bootstrap-transition.js +0 -61
  122. data/docs/assets/js/bootstrap-typeahead.js +0 -285
  123. data/docs/assets/js/bootstrap.js +0 -1825
  124. data/docs/assets/js/bootstrap.min.js +0 -6
  125. data/docs/assets/js/google-code-prettify/prettify.css +0 -30
  126. data/docs/assets/js/google-code-prettify/prettify.js +0 -28
  127. data/docs/assets/js/jquery.js +0 -9252
  128. data/docs/base-css.html +0 -1710
  129. data/docs/build/index.js +0 -44
  130. data/docs/build/node_modules/.bin/hulk +0 -93
  131. data/docs/build/node_modules/hogan.js/.git_ignore +0 -1
  132. data/docs/build/node_modules/hogan.js/.gitmodules +0 -3
  133. data/docs/build/node_modules/hogan.js/LICENSE +0 -177
  134. data/docs/build/node_modules/hogan.js/Makefile +0 -62
  135. data/docs/build/node_modules/hogan.js/README.md +0 -93
  136. data/docs/build/node_modules/hogan.js/bin/hulk +0 -93
  137. data/docs/build/node_modules/hogan.js/lib/compiler.js +0 -348
  138. data/docs/build/node_modules/hogan.js/lib/hogan.js +0 -20
  139. data/docs/build/node_modules/hogan.js/lib/template.js +0 -233
  140. data/docs/build/node_modules/hogan.js/package.json +0 -20
  141. data/docs/build/node_modules/hogan.js/test/html/list.html +0 -8
  142. data/docs/build/node_modules/hogan.js/test/index.html +0 -13
  143. data/docs/build/node_modules/hogan.js/test/index.js +0 -848
  144. data/docs/build/node_modules/hogan.js/test/mustache.js +0 -90
  145. data/docs/build/node_modules/hogan.js/test/spec.js +0 -77
  146. data/docs/build/node_modules/hogan.js/test/spec/Changes +0 -31
  147. data/docs/build/node_modules/hogan.js/test/spec/README.md +0 -65
  148. data/docs/build/node_modules/hogan.js/test/spec/Rakefile +0 -27
  149. data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +0 -46
  150. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +0 -1
  151. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +0 -103
  152. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +0 -1
  153. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +0 -158
  154. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +0 -1
  155. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +0 -230
  156. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +0 -1
  157. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +0 -193
  158. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +0 -1
  159. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +0 -109
  160. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +0 -1
  161. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +0 -256
  162. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +0 -1
  163. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +0 -149
  164. data/docs/build/node_modules/hogan.js/test/templates/list.mustache +0 -8
  165. data/docs/build/node_modules/hogan.js/tools/release.js +0 -74
  166. data/docs/build/node_modules/hogan.js/tools/web_templates.js +0 -32
  167. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +0 -500
  168. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +0 -14
  169. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +0 -500
  170. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +0 -14
  171. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +0 -545
  172. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +0 -5
  173. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +0 -576
  174. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +0 -576
  175. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +0 -572
  176. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +0 -5
  177. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +0 -5
  178. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +0 -5
  179. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +0 -5
  180. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +0 -619
  181. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +0 -233
  182. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +0 -5
  183. data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
  184. data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
  185. data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
  186. data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
  187. data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
  188. data/docs/build/node_modules/hogan.js/web/index.html.mustache +0 -139
  189. data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +0 -206
  190. data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +0 -236
  191. data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +0 -21
  192. data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +0 -21
  193. data/docs/build/node_modules/hogan.js/wrappers/js.mustache +0 -17
  194. data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +0 -64
  195. data/docs/build/package.json +0 -6
  196. data/docs/components.html +0 -1931
  197. data/docs/download.html +0 -454
  198. data/docs/examples.html +0 -147
  199. data/docs/examples/fluid.html +0 -162
  200. data/docs/examples/hero.html +0 -109
  201. data/docs/examples/starter-template.html +0 -79
  202. data/docs/index.html +0 -259
  203. data/docs/javascript.html +0 -1520
  204. data/docs/less.html +0 -1060
  205. data/docs/scaffolding.html +0 -671
  206. data/docs/templates/layout.mustache +0 -146
  207. data/docs/templates/pages/base-css.mustache +0 -1594
  208. data/docs/templates/pages/components.mustache +0 -1815
  209. data/docs/templates/pages/download.mustache +0 -338
  210. data/docs/templates/pages/examples.mustache +0 -31
  211. data/docs/templates/pages/index.mustache +0 -144
  212. data/docs/templates/pages/javascript.mustache +0 -1405
  213. data/docs/templates/pages/less.mustache +0 -944
  214. data/docs/templates/pages/scaffolding.mustache +0 -555
  215. data/docs/templates/pages/upgrading.mustache +0 -194
  216. data/docs/upgrading.html +0 -310
  217. data/js/tests/index.html +0 -54
  218. data/js/tests/phantom.js +0 -63
  219. data/js/tests/server.js +0 -14
  220. data/js/tests/unit/bootstrap-alert.js +0 -56
  221. data/js/tests/unit/bootstrap-button.js +0 -77
  222. data/js/tests/unit/bootstrap-carousel.js +0 -28
  223. data/js/tests/unit/bootstrap-collapse.js +0 -54
  224. data/js/tests/unit/bootstrap-dropdown.js +0 -87
  225. data/js/tests/unit/bootstrap-modal.js +0 -114
  226. data/js/tests/unit/bootstrap-phantom.js +0 -21
  227. data/js/tests/unit/bootstrap-popover.js +0 -93
  228. data/js/tests/unit/bootstrap-scrollspy.js +0 -31
  229. data/js/tests/unit/bootstrap-tab.js +0 -61
  230. data/js/tests/unit/bootstrap-tooltip.js +0 -155
  231. data/js/tests/unit/bootstrap-transition.js +0 -13
  232. data/js/tests/unit/bootstrap-typeahead.js +0 -148
  233. data/js/tests/vendor/jquery.js +0 -9252
  234. data/js/tests/vendor/qunit.css +0 -232
  235. data/js/tests/vendor/qunit.js +0 -1510
  236. data/package.json +0 -25
  237. data/sass-twitter-bootstrap.gemspec +0 -19
  238. data/vendor/assets/javascripts/README.md +0 -112
  239. data/vendor/assets/javascripts/twitter/bootstrap.js +0 -12
  240. data/vendor/assets/stylesheets/twitter/_labels-badges.scss +0 -52
  241. data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +0 -26
  242. data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +0 -149
  243. data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +0 -17
  244. data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +0 -153
  245. data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +0 -41
@@ -28,9 +28,3 @@
28
28
  .pager .previous a {
29
29
  float: left;
30
30
  }
31
- .pager .disabled a,
32
- .pager .disabled a:hover {
33
- color: $grayLight;
34
- background-color: #fff;
35
- cursor: default;
36
- }
@@ -32,7 +32,6 @@
32
32
  color: $grayLight;
33
33
  cursor: default;
34
34
  }
35
- .pagination .disabled span,
36
35
  .pagination .disabled a,
37
36
  .pagination .disabled a:hover {
38
37
  color: $grayLight;
@@ -7,32 +7,20 @@
7
7
 
8
8
  // Webkit
9
9
  @-webkit-keyframes progress-bar-stripes {
10
- from { background-position: 40px 0; }
11
- to { background-position: 0 0; }
10
+ from { background-position: 0 0; }
11
+ to { background-position: 40px 0; }
12
12
  }
13
13
 
14
14
  // Firefox
15
15
  @-moz-keyframes progress-bar-stripes {
16
- from { background-position: 40px 0; }
17
- to { background-position: 0 0; }
18
- }
19
-
20
- // IE9
21
- @-ms-keyframes progress-bar-stripes {
22
- from { background-position: 40px 0; }
23
- to { background-position: 0 0; }
24
- }
25
-
26
- // Opera
27
- @-o-keyframes progress-bar-stripes {
28
16
  from { background-position: 0 0; }
29
17
  to { background-position: 40px 0; }
30
18
  }
31
19
 
32
20
  // Spec
33
21
  @keyframes progress-bar-stripes {
34
- from { background-position: 40px 0; }
35
- to { background-position: 0 0; }
22
+ from { background-position: 0 0; }
23
+ to { background-position: 40px 0; }
36
24
  }
37
25
 
38
26
 
@@ -66,7 +54,7 @@
66
54
 
67
55
  // Striped bars
68
56
  .progress-striped .bar {
69
- @include gradient-striped(#149bdf);
57
+ @include gradient-striped(#62c462);
70
58
  @include background-size(40px 40px);
71
59
  }
72
60
 
@@ -74,8 +62,6 @@
74
62
  .progress.active .bar {
75
63
  -webkit-animation: progress-bar-stripes 2s linear infinite;
76
64
  -moz-animation: progress-bar-stripes 2s linear infinite;
77
- -ms-animation: progress-bar-stripes 2s linear infinite;
78
- -o-animation: progress-bar-stripes 2s linear infinite;
79
65
  animation: progress-bar-stripes 2s linear infinite;
80
66
  }
81
67
 
@@ -101,17 +87,9 @@
101
87
  }
102
88
 
103
89
  // Info (teal)
104
- .progress-info .bar {
90
+ .progress.info .bar {
105
91
  @include gradient-vertical(#5bc0de, #339bb9);
106
92
  }
107
93
  .progress-info.progress-striped .bar {
108
94
  @include gradient-striped(#5bc0de);
109
95
  }
110
-
111
- // Warning (orange)
112
- .progress-warning .bar {
113
- @include gradient-vertical(lighten($orange, 15%), $orange);
114
- }
115
- .progress-warning.progress-striped .bar {
116
- @include gradient-striped(lighten($orange, 15%));
117
- }
@@ -1,4 +1,4 @@
1
- // Reset
1
+ // Reset.scss
2
2
  // Adapted from Normalize.css http://github.com/necolas/normalize.css
3
3
  // ------------------------------------------------------------------------
4
4
 
@@ -75,17 +75,12 @@ sub {
75
75
  // -------------------------
76
76
 
77
77
  img {
78
- max-width: 100%; // Make images inherently responsive
79
- vertical-align: middle;
78
+ max-width: 100%;
79
+ height: auto;
80
80
  border: 0;
81
81
  -ms-interpolation-mode: bicubic;
82
82
  }
83
83
 
84
- // Prevent max-width from affecting Google Maps
85
- #map_canvas img {
86
- max-width: none;
87
- }
88
-
89
84
  // Forms
90
85
  // -------------------------
91
86
 
@@ -116,10 +111,10 @@ input[type="submit"] {
116
111
  -webkit-appearance: button; // Style clickable inputs in iOS
117
112
  }
118
113
  input[type="search"] { // Appearance in Safari/Chrome
114
+ -webkit-appearance: textfield;
119
115
  -webkit-box-sizing: content-box;
120
116
  -moz-box-sizing: content-box;
121
117
  box-sizing: content-box;
122
- -webkit-appearance: textfield;
123
118
  }
124
119
  input[type="search"]::-webkit-search-decoration,
125
120
  input[type="search"]::-webkit-search-cancel-button {
@@ -3,8 +3,12 @@
3
3
  // -------------------------------------------------------------------------------------------
4
4
 
5
5
 
6
- // Body reset
7
- // ----------
6
+ // STRUCTURAL LAYOUT
7
+ // -----------------
8
+
9
+ .clearfix {
10
+ @include clearfix();
11
+ }
8
12
 
9
13
  body {
10
14
  margin: 0;
@@ -12,11 +16,11 @@ body {
12
16
  font-size: $baseFontSize;
13
17
  line-height: $baseLineHeight;
14
18
  color: $textColor;
15
- background-color: $bodyBackground;
19
+ background-color: $white;
16
20
  }
17
21
 
18
22
 
19
- // Links
23
+ // LINKS
20
24
  // -----
21
25
 
22
26
  a {
@@ -6,12 +6,12 @@
6
6
  // ICONS
7
7
  // -----
8
8
 
9
- // All icons receive the styles of the <i> tag with a base class
10
- // of .i and are then given a unique class to add width, height,
9
+ // All icons receive the styles of the <i> tag with a base class
10
+ // of .i and are then given a unique class to add width, height,
11
11
  // and background-position. Your resulting HTML will look like
12
12
  // <i class="icon-inbox"></i>.
13
13
 
14
- // For the white version of the icons, just add the .icon-white class:
14
+ // For the white version of the icons, just add the .icon-white class:
15
15
  // <i class="icon-inbox icon-white"></i>
16
16
 
17
17
  [class^="icon-"],
@@ -19,13 +19,13 @@
19
19
  display: inline-block;
20
20
  width: 14px;
21
21
  height: 14px;
22
- @include ie7-restore-right-whitespace();
23
22
  line-height: 14px;
24
23
  vertical-align: text-top;
25
24
  background-image: url($iconSpritePath);
26
25
  background-position: 14px 14px;
27
26
  background-repeat: no-repeat;
28
27
 
28
+ @include ie7-restore-right-whitespace();
29
29
  }
30
30
  .icon-white {
31
31
  background-image: url($iconWhiteSpritePath);
@@ -149,43 +149,10 @@
149
149
  .icon-comment { background-position: -240px -120px; }
150
150
  .icon-magnet { background-position: -264px -120px; }
151
151
  .icon-chevron-up { background-position: -288px -120px; }
152
- .icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
152
+ .icon-chevron-down { background-position: -313px -119px; } // 1px off
153
153
  .icon-retweet { background-position: -336px -120px; }
154
154
  .icon-shopping-cart { background-position: -360px -120px; }
155
155
  .icon-folder-close { background-position: -384px -120px; }
156
156
  .icon-folder-open { background-position: -408px -120px; }
157
- .icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
158
- .icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
159
-
160
- .icon-hdd { background-position: 0 -144px; }
161
- .icon-bullhorn { background-position: -24px -144px; }
162
- .icon-bell { background-position: -48px -144px; }
163
- .icon-certificate { background-position: -72px -144px; }
164
- .icon-thumbs-up { background-position: -96px -144px; }
165
- .icon-thumbs-down { background-position: -120px -144px; }
166
- .icon-hand-right { background-position: -144px -144px; }
167
- .icon-hand-left { background-position: -168px -144px; }
168
- .icon-hand-up { background-position: -192px -144px; }
169
- .icon-hand-down { background-position: -216px -144px; }
170
- .icon-circle-arrow-right { background-position: -240px -144px; }
171
- .icon-circle-arrow-left { background-position: -264px -144px; }
172
- .icon-circle-arrow-up { background-position: -288px -144px; }
173
- .icon-circle-arrow-down { background-position: -312px -144px; }
174
- .icon-globe { background-position: -336px -144px; }
175
- .icon-wrench { background-position: -360px -144px; }
176
- .icon-tasks { background-position: -384px -144px; }
177
- .icon-filter { background-position: -408px -144px; }
178
- .icon-briefcase { background-position: -432px -144px; }
179
- .icon-fullscreen { background-position: -456px -144px; }
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
157
+ .icon-resize-vertical { background-position: -432px -119px; }
158
+ .icon-resize-horizontal { background-position: -456px -118px; }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Tables
2
+ // Tables.scss
3
3
  // Tables for, you guessed it, tabular data
4
4
  // ----------------------------------------
5
5
 
@@ -9,7 +9,6 @@
9
9
 
10
10
  table {
11
11
  max-width: 100%;
12
- background-color: $tableBackground;
13
12
  border-collapse: collapse;
14
13
  border-spacing: 0;
15
14
  }
@@ -27,7 +26,7 @@ table {
27
26
  line-height: $baseLineHeight;
28
27
  text-align: left;
29
28
  vertical-align: top;
30
- border-top: 1px solid $tableBorder;
29
+ border-top: 1px solid #ddd;
31
30
  }
32
31
  th {
33
32
  font-weight: bold;
@@ -37,17 +36,13 @@ table {
37
36
  vertical-align: bottom;
38
37
  }
39
38
  // Remove top border from thead by default
40
- caption + thead tr:first-child th,
41
- caption + thead tr:first-child td,
42
- colgroup + thead tr:first-child th,
43
- colgroup + thead tr:first-child td,
44
- thead:first-child tr:first-child th,
45
- thead:first-child tr:first-child td {
39
+ thead:first-child tr th,
40
+ thead:first-child tr td {
46
41
  border-top: 0;
47
42
  }
48
43
  // Account for multiple tbody instances
49
44
  tbody + tbody {
50
- border-top: 2px solid $tableBorder;
45
+ border-top: 2px solid #ddd;
51
46
  }
52
47
  }
53
48
 
@@ -68,22 +63,17 @@ table {
68
63
  // ----------------
69
64
 
70
65
  .table-bordered {
71
- border: 1px solid $tableBorder;
66
+ border: 1px solid #ddd;
72
67
  border-collapse: separate; // Done so we can round those corners!
73
68
  *border-collapse: collapsed; // IE7 can't round corners anyway
74
- border-left: 0;
75
69
  @include border-radius(4px);
76
- th,
77
- td {
78
- border-left: 1px solid $tableBorder;
70
+ th + th,
71
+ td + td,
72
+ th + td,
73
+ td + th {
74
+ border-left: 1px solid #ddd;
79
75
  }
80
76
  // Prevent a double border
81
- caption + thead tr:first-child th,
82
- caption + tbody tr:first-child th,
83
- caption + tbody tr:first-child td,
84
- colgroup + thead tr:first-child th,
85
- colgroup + tbody tr:first-child th,
86
- colgroup + tbody tr:first-child td,
87
77
  thead:first-child tr:first-child th,
88
78
  tbody:first-child tr:first-child th,
89
79
  tbody:first-child tr:first-child td {
@@ -92,29 +82,20 @@ table {
92
82
  // For first th or td in the first row in the first thead or tbody
93
83
  thead:first-child tr:first-child th:first-child,
94
84
  tbody:first-child tr:first-child td:first-child {
95
- -webkit-border-top-left-radius: 4px;
96
- border-top-left-radius: 4px;
97
- -moz-border-radius-topleft: 4px;
85
+ @include border-radius(4px 0 0 0);
98
86
  }
99
87
  thead:first-child tr:first-child th:last-child,
100
88
  tbody:first-child tr:first-child td:last-child {
101
- -webkit-border-top-right-radius: 4px;
102
- border-top-right-radius: 4px;
103
- -moz-border-radius-topright: 4px;
89
+ @include border-radius(0 4px 0 0);
104
90
  }
105
91
  // For first th or td in the first row in the first thead or tbody
106
92
  thead:last-child tr:last-child th:first-child,
107
93
  tbody:last-child tr:last-child td:first-child {
108
94
  @include border-radius(0 0 0 4px);
109
- -webkit-border-bottom-left-radius: 4px;
110
- border-bottom-left-radius: 4px;
111
- -moz-border-radius-bottomleft: 4px;
112
95
  }
113
96
  thead:last-child tr:last-child th:last-child,
114
97
  tbody:last-child tr:last-child td:last-child {
115
- -webkit-border-bottom-right-radius: 4px;
116
- border-bottom-right-radius: 4px;
117
- -moz-border-radius-bottomright: 4px;
98
+ @include border-radius(0 0 4px 0);
118
99
  }
119
100
  }
120
101
 
@@ -127,7 +108,7 @@ table {
127
108
  tbody {
128
109
  tr:nth-child(odd) td,
129
110
  tr:nth-child(odd) th {
130
- background-color: $tableBackgroundAccent;
111
+ background-color: #f9f9f9;
131
112
  }
132
113
  }
133
114
  }
@@ -139,7 +120,7 @@ table {
139
120
  .table {
140
121
  tbody tr:hover td,
141
122
  tbody tr:hover th {
142
- background-color: $tableBackgroundHover;
123
+ background-color: #f5f5f5;
143
124
  }
144
125
  }
145
126
 
@@ -148,8 +129,22 @@ table {
148
129
  // -----------------
149
130
 
150
131
  // Change the columns
132
+ @mixin tableColumns($columnSpan: 1) {
133
+ float: none;
134
+ width: (($gridColumnWidth) * $columnSpan) + ($gridGutterWidth * ($columnSpan - 1)) - 16;
135
+ margin-left: 0;
136
+ }
151
137
  table {
152
- @for $i from 1 through 24 {
153
- .span#{$i} { @include tableColumns($i); }
154
- }
138
+ .span1 { @include tableColumns(1); }
139
+ .span2 { @include tableColumns(2); }
140
+ .span3 { @include tableColumns(3); }
141
+ .span4 { @include tableColumns(4); }
142
+ .span5 { @include tableColumns(5); }
143
+ .span6 { @include tableColumns(6); }
144
+ .span7 { @include tableColumns(7); }
145
+ .span8 { @include tableColumns(8); }
146
+ .span9 { @include tableColumns(9); }
147
+ .span10 { @include tableColumns(10); }
148
+ .span11 { @include tableColumns(11); }
149
+ .span12 { @include tableColumns(12); }
155
150
  }
@@ -1,26 +1,15 @@
1
1
  // THUMBNAILS
2
2
  // ----------
3
- // Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
4
3
 
5
- // Make wrapper ul behave like the grid
6
4
  .thumbnails {
7
5
  margin-left: -$gridGutterWidth;
8
6
  list-style: none;
9
7
  @include clearfix();
10
8
  }
11
- // Fluid rows have no left margin
12
- .row-fluid .thumbnails {
13
- margin-left: 0;
14
- }
15
-
16
- // Float li to make thumbnails appear in a row
17
9
  .thumbnails > li {
18
- float: left; // Explicity set the float since we don't require .span* classes
19
- margin-bottom: $baseLineHeight;
20
- margin-left: $gridGutterWidth;
10
+ float: left;
11
+ margin: 0 0 $baseLineHeight $gridGutterWidth;
21
12
  }
22
-
23
- // The actual thumbnail (can be `a` or `div`)
24
13
  .thumbnail {
25
14
  display: block;
26
15
  padding: 4px;
@@ -34,7 +23,6 @@ a.thumbnail:hover {
34
23
  border-color: $linkColor;
35
24
  @include box-shadow(0 1px 4px rgba(0,105,214,.25));
36
25
  }
37
-
38
26
  // Images and captions
39
27
  .thumbnail > img {
40
28
  display: block;
@@ -1,5 +1,5 @@
1
1
  // TOOLTIP
2
- // ------=
2
+ // -------
3
3
 
4
4
  .tooltip {
5
5
  position: absolute;
@@ -1,4 +1,4 @@
1
- // Typography
1
+ // Typography.scss
2
2
  // Headings, body text, lists, code, and more for a versatile and durable typography system
3
3
  // ----------------------------------------------------------------------------------------
4
4
 
@@ -8,6 +8,9 @@
8
8
 
9
9
  p {
10
10
  margin: 0 0 $baseLineHeight / 2;
11
+ font-family: $baseFontFamily;
12
+ font-size: $baseFontSize;
13
+ line-height: $baseLineHeight;
11
14
  small {
12
15
  font-size: $baseFontSize - 2;
13
16
  color: $grayLight;
@@ -25,9 +28,8 @@ p {
25
28
 
26
29
  h1, h2, h3, h4, h5, h6 {
27
30
  margin: 0;
28
- font-family: $headingsFontFamily;
29
- font-weight: $headingsFontWeight;
30
- color: $headingsColor;
31
+ font-weight: bold;
32
+ color: $grayDark;
31
33
  text-rendering: optimizelegibility; // Fix the character spacing for headings
32
34
  small {
33
35
  font-weight: normal;
@@ -49,8 +51,8 @@ h2 {
49
51
  }
50
52
  }
51
53
  h3 {
52
- font-size: 18px;
53
54
  line-height: $baseLineHeight * 1.5;
55
+ font-size: 18px;
54
56
  small {
55
57
  font-size: 14px;
56
58
  }
@@ -124,24 +126,10 @@ dd {
124
126
  }
125
127
  dt {
126
128
  font-weight: bold;
127
- line-height: $baseLineHeight - 1; // fix jank Helvetica Neue font bug
128
129
  }
129
130
  dd {
130
131
  margin-left: $baseLineHeight / 2;
131
132
  }
132
- // Horizontal layout (like forms)
133
- .dl-horizontal {
134
- dt {
135
- float: left;
136
- width: 120px;
137
- clear: left;
138
- text-align: right;
139
- @include text-overflow();
140
- }
141
- dd {
142
- margin-left: 130px;
143
- }
144
- }
145
133
 
146
134
  // MISC
147
135
  // ----
@@ -166,13 +154,11 @@ em {
166
154
  }
167
155
 
168
156
  // Abbreviations and acronyms
169
- abbr[title] {
170
- cursor: help;
171
- border-bottom: 1px dotted $grayLight;
172
- }
173
- abbr.initialism {
157
+ abbr {
174
158
  font-size: 90%;
175
159
  text-transform: uppercase;
160
+ border-bottom: 1px dotted #ddd;
161
+ cursor: help;
176
162
  }
177
163
 
178
164
  // Blockquotes
@@ -196,10 +182,10 @@ blockquote {
196
182
  // Float right with text-align: right
197
183
  &.pull-right {
198
184
  float: right;
199
- padding-right: 15px;
200
185
  padding-left: 0;
201
- border-right: 5px solid $grayLighter;
186
+ padding-right: 15px;
202
187
  border-left: 0;
188
+ border-right: 5px solid $grayLighter;
203
189
  p,
204
190
  small {
205
191
  text-align: right;
@@ -210,7 +196,7 @@ blockquote {
210
196
  // Quotes
211
197
  q:before,
212
198
  q:after,
213
- blockquote:before,
199
+ blockquote:before,
214
200
  blockquote:after {
215
201
  content: "";
216
202
  }
@@ -219,8 +205,8 @@ blockquote:after {
219
205
  address {
220
206
  display: block;
221
207
  margin-bottom: $baseLineHeight;
222
- font-style: normal;
223
208
  line-height: $baseLineHeight;
209
+ font-style: normal;
224
210
  }
225
211
 
226
212
  // Misc