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
@@ -1,4 +1,4 @@
1
- // Variables
1
+ // Variables.scss
2
2
  // Variables to customize the look and feel of Bootstrap
3
3
  // -----------------------------------------------------
4
4
 
@@ -7,9 +7,11 @@
7
7
  // GLOBAL VALUES
8
8
  // --------------------------------------------------
9
9
 
10
+ // Links
11
+ $linkColor: #08c !default;
12
+ $linkColorHover: darken($linkColor, 15) !default;
10
13
 
11
14
  // Grays
12
- // -------------------------
13
15
  $black: #000 !default;
14
16
  $grayDarker: #222 !default;
15
17
  $grayDark: #333 !default;
@@ -18,9 +20,7 @@ $grayLight: #999 !default;
18
20
  $grayLighter: #eee !default;
19
21
  $white: #fff !default;
20
22
 
21
-
22
23
  // Accent colors
23
- // -------------------------
24
24
  $blue: #049cdb !default;
25
25
  $blueDark: #0064cd !default;
26
26
  $green: #46a546 !default;
@@ -30,83 +30,14 @@ $orange: #f89406 !default;
30
30
  $pink: #c3325f !default;
31
31
  $purple: #7a43b6 !default;
32
32
 
33
-
34
- // Scaffolding
35
- // -------------------------
36
- $bodyBackground: $white !default;
37
- $textColor: $grayDark !default;
38
-
39
-
40
- // Links
41
- // -------------------------
42
- $linkColor: #08c !default;
43
- $linkColorHover: darken($linkColor, 15%) !default;
44
-
45
-
46
33
  // Typography
47
- // -------------------------
48
- $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
49
- $serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
50
- $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
51
-
52
34
  $baseFontSize: 13px !default;
53
- $baseFontFamily: $sansFontFamily !default;
35
+ $baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
54
36
  $baseLineHeight: 18px !default;
55
- $altFontFamily: $serifFontFamily !default;
56
-
57
- $headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
58
- $headingsFontWeight: bold !default; // instead of browser default, bold
59
- $headingsColor: inherit !default; // empty to use BS default, $textColor
60
-
61
-
62
- // Tables
63
- // -------------------------
64
- $tableBackground: transparent !default; // overall background-color
65
- $tableBackgroundAccent: #f9f9f9 !default; // for striping
66
- $tableBackgroundHover: #f5f5f5 !default; // for hover
67
- $tableBorder: #ddd !default; // table and cell border
68
-
37
+ $textColor: $grayDark !default;
69
38
 
70
39
  // Buttons
71
- // -------------------------
72
- $btnBackground: $white !default;
73
- $btnBackgroundHighlight: darken($white, 10%) !default;
74
- $btnBorder: #ccc !default;
75
-
76
- $btnPrimaryBackground: $linkColor !default;
77
- $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%) !default;
78
-
79
- $btnInfoBackground: #5bc0de !default;
80
- $btnInfoBackgroundHighlight: #2f96b4 !default;
81
-
82
- $btnSuccessBackground: #62c462 !default;
83
- $btnSuccessBackgroundHighlight: #51a351 !default;
84
-
85
- $btnWarningBackground: lighten($orange, 15%) !default;
86
- $btnWarningBackgroundHighlight: $orange !default;
87
-
88
- $btnDangerBackground: #ee5f5b !default;
89
- $btnDangerBackgroundHighlight: #bd362f !default;
90
-
91
- $btnInverseBackground: $gray !default;
92
- $btnInverseBackgroundHighlight: $grayDarker !default;
93
-
94
-
95
- // Forms
96
- // -------------------------
97
- $inputBackground: $white !default;
98
- $inputBorder: #ccc !default;
99
- $inputBorderRadius: 3px !default;
100
- $inputDisabledBackground: $grayLighter !default;
101
- $formActionsBackground: #f5f5f5 !default;
102
-
103
- // Dropdowns
104
- // -------------------------
105
- $dropdownBackground: $white !default;
106
- $dropdownBorder: rgba(0,0,0,.2) !default;
107
- $dropdownLinkColor: $grayDark !default;
108
- $dropdownLinkColorHover: $white !default;
109
- $dropdownLinkBackgroundHover: $linkColor !default;
40
+ $primaryButtonBackground: $linkColor !default;
110
41
 
111
42
 
112
43
 
@@ -114,62 +45,36 @@ $dropdownLinkBackgroundHover: $linkColor !default;
114
45
  // --------------------------------------------------
115
46
 
116
47
  // Z-index master list
117
- // -------------------------
118
48
  // Used for a bird's eye view of components dependent on the z-axis
119
49
  // Try to avoid customizing these :)
120
- $zindexDropdown: 1000 !default;
121
- $zindexPopover: 1010 !default;
122
- $zindexTooltip: 1020 !default;
123
- $zindexFixedNavbar: 1030 !default;
124
- $zindexModalBackdrop: 1040 !default;
125
- $zindexModal: 1050 !default;
126
-
50
+ $zindexDropdown: 1000 !default;
51
+ $zindexPopover: 1010 !default;
52
+ $zindexTooltip: 1020 !default;
53
+ $zindexFixedNavbar: 1030 !default;
54
+ $zindexModalBackdrop: 1040 !default;
55
+ $zindexModal: 1050 !default;
127
56
 
128
57
  // Sprite icons path
129
- // -------------------------
130
- $iconSpritePath: "../img/glyphicons-halflings.png" !default;
131
- $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
132
-
58
+ $iconSpritePath: "../img/glyphicons-halflings.png";
59
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
133
60
 
134
61
  // Input placeholder text color
135
- // -------------------------
136
- $placeholderText: $grayLight !default;
137
-
62
+ $placeholderText: $grayLight !default;
138
63
 
139
64
  // Hr border color
140
- // -------------------------
141
- $hrBorder: $grayLighter !default;
142
-
65
+ $hrBorder: $grayLighter !default;
143
66
 
144
67
  // Navbar
145
- // -------------------------
146
68
  $navbarHeight: 40px !default;
147
69
  $navbarBackground: $grayDarker !default;
148
70
  $navbarBackgroundHighlight: $grayDark !default;
71
+ $navbarLinkBackgroundHover: transparent !default;
149
72
 
150
73
  $navbarText: $grayLight !default;
151
74
  $navbarLinkColor: $grayLight !default;
152
75
  $navbarLinkColorHover: $white !default;
153
- $navbarLinkColorActive: $navbarLinkColorHover !default;
154
- $navbarLinkBackgroundHover: transparent !default;
155
- $navbarLinkBackgroundActive: $navbarBackground !default;
156
-
157
- $navbarSearchBackground: lighten($navbarBackground, 25%) !default;
158
- $navbarSearchBackgroundFocus: $white !default;
159
- $navbarSearchBorder: darken($navbarSearchBackground, 30%) !default;
160
- $navbarSearchPlaceholderColor: #ccc !default;
161
- $navbarBrandColor: $navbarLinkColor !default;
162
-
163
-
164
- // Hero unit
165
- // -------------------------
166
- $heroUnitBackground: $grayLighter !default;
167
- $heroUnitHeadingColor: inherit !default;
168
- $heroUnitLeadColor: inherit !default;
169
-
170
76
 
171
77
  // Form states and alerts
172
- // -------------------------
173
78
  $warningText: #c09853 !default;
174
79
  $warningBackground: #fcf8e3 !default;
175
80
  $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
@@ -192,13 +97,11 @@ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
192
97
  // --------------------------------------------------
193
98
 
194
99
  // Default 940px grid
195
- // -------------------------
196
100
  $gridColumns: 12 !default;
197
101
  $gridColumnWidth: 60px !default;
198
102
  $gridGutterWidth: 20px !default;
199
- $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
103
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
200
104
 
201
105
  // Fluid grid
202
- // -------------------------
203
106
  $fluidGridColumnWidth: 6.382978723% !default;
204
107
  $fluidGridGutterWidth: 2.127659574% !default;
@@ -15,13 +15,3 @@
15
15
  border-color: rgba(0,0,0,.15);
16
16
  }
17
17
  }
18
-
19
- // Sizes
20
- .well-large {
21
- padding: 24px;
22
- @include border-radius(6px);
23
- }
24
- .well-small {
25
- padding: 9px;
26
- @include border-radius(3px);
27
- }
@@ -1,11 +1,15 @@
1
1
  /*!
2
- * Bootstrap v2.0.4
2
+ * Bootstrap v2.0.1
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
9
13
  */
10
14
 
11
15
  // Core variables and mixins
@@ -36,7 +40,7 @@
36
40
  // Components: Buttons & Alerts
37
41
  @import "buttons";
38
42
  @import "button-groups";
39
- @import "alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons
43
+ @import "alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons.scss
40
44
 
41
45
  // Components: Nav
42
46
  @import "navs";
@@ -52,7 +56,7 @@
52
56
 
53
57
  // Components: Misc
54
58
  @import "thumbnails";
55
- @import "labels-badges";
59
+ @import "labels";
56
60
  @import "progress-bars";
57
61
  @import "accordion";
58
62
  @import "carousel";
@@ -1,15 +1,18 @@
1
1
  /*!
2
- * Bootstrap Responsive v2.0.4
2
+ * Bootstrap Responsive v2.0.1
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
9
13
  */
10
14
 
11
-
12
- // Responsive
15
+ // Responsive.scss
13
16
  // For phone and tablet devices
14
17
  // -------------------------------------------------------------
15
18
 
@@ -21,28 +24,311 @@
21
24
  @import "variables"; // Modify this for custom colors, font-sizes, etc
22
25
  @import "mixins";
23
26
 
27
+ .clearfix {
28
+ @include clearfix();
29
+ }
24
30
 
25
31
  // RESPONSIVE CLASSES
26
32
  // ------------------
27
33
 
28
- @import "responsive-utilities";
34
+ // Hide from screenreaders and browsers
35
+ // Credit: HTML5 Boilerplate
36
+ .hidden {
37
+ display: none;
38
+ visibility: hidden;
39
+ }
29
40
 
30
41
 
31
- // MEDIA QUERIES
32
- // ------------------
33
42
 
34
- // Phones to portrait tablets and narrow desktops
35
- @import "responsive-767px-max";
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
+ }
158
+
159
+
36
160
 
37
- // Tablets to regular desktops
38
- @import "responsive-768px-979px";
161
+ // PORTRAIT TABLET TO DEFAULT DESKTOP
162
+ // ----------------------------------
39
163
 
40
- // Large desktops
41
- @import "responsive-1200px-min";
164
+ @media (min-width: 768px) and (max-width: 979px) {
42
165
 
166
+ // Fixed grid
167
+ @include gridSystem-generate(12, 42px, 20px);
43
168
 
44
- // RESPONSIVE NAVBAR
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
45
313
  // ------------------
46
314
 
47
- // From 979px and below, show a button to toggle navbar contents
48
- @import "responsive-navbar";
315
+ @media (min-width: 1200px) {
316
+
317
+ // Fixed grid
318
+ @include gridSystem-generate(12, 70px, 30px);
319
+
320
+ // Fluid grid
321
+ @include fluidGridSystem-generate(12, 5.982905983%, 2.564102564%);
322
+
323
+ // Input grid
324
+ @include inputGridSystem-generate(12, 70px, 30px);
325
+
326
+ // Thumbnails
327
+ .thumbnails {
328
+ margin-left: -30px;
329
+ }
330
+ .thumbnails > li {
331
+ margin-left: 30px;
332
+ }
333
+
334
+ }