sass-twitter-bootstrap 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +14 -0
  4. data/LICENSE +176 -0
  5. data/Makefile +94 -0
  6. data/README.md +217 -0
  7. data/Rakefile +52 -0
  8. data/bootstrap-2.0.4.css +4661 -0
  9. data/bootstrap-2.0.4.min.css +9 -0
  10. data/bootstrap-responsive-2.0.4.css +932 -0
  11. data/bootstrap-responsive-2.0.4.min.css +9 -0
  12. data/docs/assets/css/bootstrap-responsive.css +932 -0
  13. data/docs/assets/css/bootstrap.css +4661 -0
  14. data/docs/assets/css/docs.css +846 -0
  15. data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  16. data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  17. data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  18. data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  19. data/docs/assets/ico/favicon.ico +0 -0
  20. data/docs/assets/img/bird.png +0 -0
  21. data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
  22. data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
  23. data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
  24. data/docs/assets/img/browsers.png +0 -0
  25. data/docs/assets/img/example-sites/fleetio.png +0 -0
  26. data/docs/assets/img/example-sites/jshint.png +0 -0
  27. data/docs/assets/img/example-sites/kippt.png +0 -0
  28. data/docs/assets/img/example-sites/soundready.png +0 -0
  29. data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
  30. data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
  31. data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
  32. data/docs/assets/img/github-16px.png +0 -0
  33. data/docs/assets/img/glyphicons-halflings-white.png +0 -0
  34. data/docs/assets/img/glyphicons-halflings.png +0 -0
  35. data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
  36. data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
  37. data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
  38. data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
  39. data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
  40. data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
  41. data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
  42. data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
  43. data/docs/assets/img/grid-18px-masked.png +0 -0
  44. data/docs/assets/img/icon-css3.png +0 -0
  45. data/docs/assets/img/icon-github.png +0 -0
  46. data/docs/assets/img/icon-html5.png +0 -0
  47. data/docs/assets/img/icon-twitter.png +0 -0
  48. data/docs/assets/img/less-logo-large.png +0 -0
  49. data/docs/assets/img/less-small.png +0 -0
  50. data/docs/assets/img/responsive-illustrations.png +0 -0
  51. data/docs/assets/js/README.md +106 -0
  52. data/docs/assets/js/application.js +184 -0
  53. data/docs/assets/js/bootstrap-alert.js +90 -0
  54. data/docs/assets/js/bootstrap-button.js +96 -0
  55. data/docs/assets/js/bootstrap-carousel.js +169 -0
  56. data/docs/assets/js/bootstrap-collapse.js +157 -0
  57. data/docs/assets/js/bootstrap-dropdown.js +100 -0
  58. data/docs/assets/js/bootstrap-modal.js +218 -0
  59. data/docs/assets/js/bootstrap-popover.js +98 -0
  60. data/docs/assets/js/bootstrap-scrollspy.js +151 -0
  61. data/docs/assets/js/bootstrap-tab.js +135 -0
  62. data/docs/assets/js/bootstrap-tooltip.js +275 -0
  63. data/docs/assets/js/bootstrap-transition.js +61 -0
  64. data/docs/assets/js/bootstrap-typeahead.js +285 -0
  65. data/docs/assets/js/bootstrap.js +1825 -0
  66. data/docs/assets/js/bootstrap.min.js +6 -0
  67. data/docs/assets/js/google-code-prettify/prettify.css +30 -0
  68. data/docs/assets/js/google-code-prettify/prettify.js +28 -0
  69. data/docs/assets/js/jquery.js +9252 -0
  70. data/docs/base-css.html +1710 -0
  71. data/docs/build/index.js +44 -0
  72. data/docs/build/node_modules/.bin/hulk +93 -0
  73. data/docs/build/node_modules/hogan.js/.git_ignore +1 -0
  74. data/docs/build/node_modules/hogan.js/.gitmodules +3 -0
  75. data/docs/build/node_modules/hogan.js/LICENSE +177 -0
  76. data/docs/build/node_modules/hogan.js/Makefile +62 -0
  77. data/docs/build/node_modules/hogan.js/README.md +93 -0
  78. data/docs/build/node_modules/hogan.js/bin/hulk +93 -0
  79. data/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
  80. data/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
  81. data/docs/build/node_modules/hogan.js/lib/template.js +233 -0
  82. data/docs/build/node_modules/hogan.js/package.json +20 -0
  83. data/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
  84. data/docs/build/node_modules/hogan.js/test/index.html +13 -0
  85. data/docs/build/node_modules/hogan.js/test/index.js +848 -0
  86. data/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
  87. data/docs/build/node_modules/hogan.js/test/spec.js +77 -0
  88. data/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
  89. data/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
  90. data/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
  91. data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
  92. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
  93. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
  94. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
  95. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
  96. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
  97. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
  98. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
  99. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
  100. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
  101. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
  102. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
  103. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
  104. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
  105. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
  106. data/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
  107. data/docs/build/node_modules/hogan.js/tools/release.js +74 -0
  108. data/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
  109. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
  110. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
  111. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
  112. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
  113. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
  114. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
  115. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
  116. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
  117. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
  118. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
  119. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
  120. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
  121. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
  122. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
  123. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
  124. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
  125. data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
  126. data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
  127. data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
  128. data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
  129. data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
  130. data/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
  131. data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
  132. data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
  133. data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
  134. data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
  135. data/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
  136. data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
  137. data/docs/build/package.json +6 -0
  138. data/docs/components.html +1931 -0
  139. data/docs/download.html +454 -0
  140. data/docs/examples.html +147 -0
  141. data/docs/examples/fluid.html +162 -0
  142. data/docs/examples/hero.html +109 -0
  143. data/docs/examples/starter-template.html +79 -0
  144. data/docs/index.html +259 -0
  145. data/docs/javascript.html +1520 -0
  146. data/docs/less.html +1060 -0
  147. data/docs/scaffolding.html +671 -0
  148. data/docs/templates/layout.mustache +146 -0
  149. data/docs/templates/pages/base-css.mustache +1594 -0
  150. data/docs/templates/pages/components.mustache +1815 -0
  151. data/docs/templates/pages/download.mustache +338 -0
  152. data/docs/templates/pages/examples.mustache +31 -0
  153. data/docs/templates/pages/index.mustache +144 -0
  154. data/docs/templates/pages/javascript.mustache +1405 -0
  155. data/docs/templates/pages/less.mustache +944 -0
  156. data/docs/templates/pages/scaffolding.mustache +555 -0
  157. data/docs/templates/pages/upgrading.mustache +194 -0
  158. data/docs/upgrading.html +310 -0
  159. data/js/tests/index.html +54 -0
  160. data/js/tests/phantom.js +63 -0
  161. data/js/tests/server.js +14 -0
  162. data/js/tests/unit/bootstrap-alert.js +56 -0
  163. data/js/tests/unit/bootstrap-button.js +77 -0
  164. data/js/tests/unit/bootstrap-carousel.js +28 -0
  165. data/js/tests/unit/bootstrap-collapse.js +54 -0
  166. data/js/tests/unit/bootstrap-dropdown.js +87 -0
  167. data/js/tests/unit/bootstrap-modal.js +114 -0
  168. data/js/tests/unit/bootstrap-phantom.js +21 -0
  169. data/js/tests/unit/bootstrap-popover.js +93 -0
  170. data/js/tests/unit/bootstrap-scrollspy.js +31 -0
  171. data/js/tests/unit/bootstrap-tab.js +61 -0
  172. data/js/tests/unit/bootstrap-tooltip.js +155 -0
  173. data/js/tests/unit/bootstrap-transition.js +13 -0
  174. data/js/tests/unit/bootstrap-typeahead.js +148 -0
  175. data/js/tests/vendor/jquery.js +9252 -0
  176. data/js/tests/vendor/qunit.css +232 -0
  177. data/js/tests/vendor/qunit.js +1510 -0
  178. data/lib/sass-twitter-bootstrap.rb +9 -0
  179. data/lib/sass/twitter/bootstrap/rails.rb +14 -0
  180. data/lib/sass/twitter/bootstrap/version.rb +7 -0
  181. data/package.json +25 -0
  182. data/sass-twitter-bootstrap.gemspec +19 -0
  183. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  184. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  185. data/vendor/assets/javascripts/README.md +112 -0
  186. data/vendor/assets/javascripts/twitter/bootstrap-alert.js +90 -0
  187. data/vendor/assets/javascripts/twitter/bootstrap-button.js +96 -0
  188. data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +169 -0
  189. data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +157 -0
  190. data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +100 -0
  191. data/vendor/assets/javascripts/twitter/bootstrap-modal.js +218 -0
  192. data/vendor/assets/javascripts/twitter/bootstrap-popover.js +98 -0
  193. data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +151 -0
  194. data/vendor/assets/javascripts/twitter/bootstrap-tab.js +135 -0
  195. data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +275 -0
  196. data/vendor/assets/javascripts/twitter/bootstrap-transition.js +61 -0
  197. data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +285 -0
  198. data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
  199. data/vendor/assets/stylesheets/tests/css-tests.css +52 -0
  200. data/vendor/assets/stylesheets/tests/css-tests.html +917 -0
  201. data/vendor/assets/stylesheets/tests/forms.html +179 -0
  202. data/vendor/assets/stylesheets/tests/navbar.html +108 -0
  203. data/vendor/assets/stylesheets/twitter/_accordion.scss +33 -0
  204. data/vendor/assets/stylesheets/twitter/_alerts.scss +58 -0
  205. data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +24 -0
  206. data/vendor/assets/stylesheets/twitter/_button-groups.scss +191 -0
  207. data/vendor/assets/stylesheets/twitter/_buttons.scss +191 -0
  208. data/vendor/assets/stylesheets/twitter/_carousel.scss +121 -0
  209. data/vendor/assets/stylesheets/twitter/_close.scss +29 -0
  210. data/vendor/assets/stylesheets/twitter/_code.scss +57 -0
  211. data/vendor/assets/stylesheets/twitter/_component-animations.scss +20 -0
  212. data/vendor/assets/stylesheets/twitter/_dropdowns.scss +143 -0
  213. data/vendor/assets/stylesheets/twitter/_forms.scss +582 -0
  214. data/vendor/assets/stylesheets/twitter/_grid.scss +5 -0
  215. data/vendor/assets/stylesheets/twitter/_hero-unit.scss +22 -0
  216. data/vendor/assets/stylesheets/twitter/_labels-badges.scss +52 -0
  217. data/vendor/assets/stylesheets/twitter/_layouts.scss +17 -0
  218. data/vendor/assets/stylesheets/twitter/_mixins.scss +643 -0
  219. data/vendor/assets/stylesheets/twitter/_modals.scss +90 -0
  220. data/vendor/assets/stylesheets/twitter/_navbar.scss +358 -0
  221. data/vendor/assets/stylesheets/twitter/_navs.scss +363 -0
  222. data/vendor/assets/stylesheets/twitter/_pager.scss +36 -0
  223. data/vendor/assets/stylesheets/twitter/_pagination.scss +56 -0
  224. data/vendor/assets/stylesheets/twitter/_popovers.scss +49 -0
  225. data/vendor/assets/stylesheets/twitter/_progress-bars.scss +117 -0
  226. data/vendor/assets/stylesheets/twitter/_reset.scss +131 -0
  227. data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +26 -0
  228. data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +149 -0
  229. data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +17 -0
  230. data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +153 -0
  231. data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +41 -0
  232. data/vendor/assets/stylesheets/twitter/_scaffolding.scss +29 -0
  233. data/vendor/assets/stylesheets/twitter/_sprites.scss +191 -0
  234. data/vendor/assets/stylesheets/twitter/_tables.scss +155 -0
  235. data/vendor/assets/stylesheets/twitter/_thumbnails.scss +47 -0
  236. data/vendor/assets/stylesheets/twitter/_tooltip.scss +35 -0
  237. data/vendor/assets/stylesheets/twitter/_type.scss +232 -0
  238. data/vendor/assets/stylesheets/twitter/_utilities.scss +23 -0
  239. data/vendor/assets/stylesheets/twitter/_variables.scss +204 -0
  240. data/vendor/assets/stylesheets/twitter/_wells.scss +27 -0
  241. data/vendor/assets/stylesheets/twitter/bootstrap.scss +62 -0
  242. data/vendor/assets/stylesheets/twitter/responsive.scss +48 -0
  243. metadata +304 -0
@@ -0,0 +1,47 @@
1
+ // THUMBNAILS
2
+ // ----------
3
+ // Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
4
+
5
+ // Make wrapper ul behave like the grid
6
+ .thumbnails {
7
+ margin-left: -$gridGutterWidth;
8
+ list-style: none;
9
+ @include clearfix();
10
+ }
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
+ .thumbnails > li {
18
+ float: left; // Explicity set the float since we don't require .span* classes
19
+ margin-bottom: $baseLineHeight;
20
+ margin-left: $gridGutterWidth;
21
+ }
22
+
23
+ // The actual thumbnail (can be `a` or `div`)
24
+ .thumbnail {
25
+ display: block;
26
+ padding: 4px;
27
+ line-height: 1;
28
+ border: 1px solid #ddd;
29
+ @include border-radius(4px);
30
+ @include box-shadow(0 1px 1px rgba(0,0,0,.075));
31
+ }
32
+ // Add a hover state for linked versions only
33
+ a.thumbnail:hover {
34
+ border-color: $linkColor;
35
+ @include box-shadow(0 1px 4px rgba(0,105,214,.25));
36
+ }
37
+
38
+ // Images and captions
39
+ .thumbnail > img {
40
+ display: block;
41
+ max-width: 100%;
42
+ margin-left: auto;
43
+ margin-right: auto;
44
+ }
45
+ .thumbnail .caption {
46
+ padding: 9px;
47
+ }
@@ -0,0 +1,35 @@
1
+ // TOOLTIP
2
+ // ------=
3
+
4
+ .tooltip {
5
+ position: absolute;
6
+ z-index: $zindexTooltip;
7
+ display: block;
8
+ visibility: visible;
9
+ padding: 5px;
10
+ font-size: 11px;
11
+ @include opacity(0);
12
+ &.in { @include opacity(80); }
13
+ &.top { margin-top: -2px; }
14
+ &.right { margin-left: 2px; }
15
+ &.bottom { margin-top: 2px; }
16
+ &.left { margin-left: -2px; }
17
+ &.top .tooltip-arrow { @include popoverArrow-top(); }
18
+ &.left .tooltip-arrow { @include popoverArrow-left(); }
19
+ &.bottom .tooltip-arrow { @include popoverArrow-bottom(); }
20
+ &.right .tooltip-arrow { @include popoverArrow-right(); }
21
+ }
22
+ .tooltip-inner {
23
+ max-width: 200px;
24
+ padding: 3px 8px;
25
+ color: $white;
26
+ text-align: center;
27
+ text-decoration: none;
28
+ background-color: $black;
29
+ @include border-radius(4px);
30
+ }
31
+ .tooltip-arrow {
32
+ position: absolute;
33
+ width: 0;
34
+ height: 0;
35
+ }
@@ -0,0 +1,232 @@
1
+ // Typography
2
+ // Headings, body text, lists, code, and more for a versatile and durable typography system
3
+ // ----------------------------------------------------------------------------------------
4
+
5
+
6
+ // BODY TEXT
7
+ // ---------
8
+
9
+ p {
10
+ margin: 0 0 $baseLineHeight / 2;
11
+ small {
12
+ font-size: $baseFontSize - 2;
13
+ color: $grayLight;
14
+ }
15
+ }
16
+ .lead {
17
+ margin-bottom: $baseLineHeight;
18
+ font-size: 20px;
19
+ font-weight: 200;
20
+ line-height: $baseLineHeight * 1.5;
21
+ }
22
+
23
+ // HEADINGS
24
+ // --------
25
+
26
+ h1, h2, h3, h4, h5, h6 {
27
+ margin: 0;
28
+ font-family: $headingsFontFamily;
29
+ font-weight: $headingsFontWeight;
30
+ color: $headingsColor;
31
+ text-rendering: optimizelegibility; // Fix the character spacing for headings
32
+ small {
33
+ font-weight: normal;
34
+ color: $grayLight;
35
+ }
36
+ }
37
+ h1 {
38
+ font-size: 30px;
39
+ line-height: $baseLineHeight * 2;
40
+ small {
41
+ font-size: 18px;
42
+ }
43
+ }
44
+ h2 {
45
+ font-size: 24px;
46
+ line-height: $baseLineHeight * 2;
47
+ small {
48
+ font-size: 18px;
49
+ }
50
+ }
51
+ h3 {
52
+ font-size: 18px;
53
+ line-height: $baseLineHeight * 1.5;
54
+ small {
55
+ font-size: 14px;
56
+ }
57
+ }
58
+ h4, h5, h6 {
59
+ line-height: $baseLineHeight;
60
+ }
61
+ h4 {
62
+ font-size: 14px;
63
+ small {
64
+ font-size: 12px;
65
+ }
66
+ }
67
+ h5 {
68
+ font-size: 12px;
69
+ }
70
+ h6 {
71
+ font-size: 11px;
72
+ color: $grayLight;
73
+ text-transform: uppercase;
74
+ }
75
+
76
+ // Page header
77
+ .page-header {
78
+ padding-bottom: $baseLineHeight - 1;
79
+ margin: $baseLineHeight 0;
80
+ border-bottom: 1px solid $grayLighter;
81
+ }
82
+ .page-header h1 {
83
+ line-height: 1;
84
+ }
85
+
86
+
87
+
88
+ // LISTS
89
+ // -----
90
+
91
+ // Unordered and Ordered lists
92
+ ul, ol {
93
+ padding: 0;
94
+ margin: 0 0 $baseLineHeight / 2 25px;
95
+ }
96
+ ul ul,
97
+ ul ol,
98
+ ol ol,
99
+ ol ul {
100
+ margin-bottom: 0;
101
+ }
102
+ ul {
103
+ list-style: disc;
104
+ }
105
+ ol {
106
+ list-style: decimal;
107
+ }
108
+ li {
109
+ line-height: $baseLineHeight;
110
+ }
111
+ ul.unstyled,
112
+ ol.unstyled {
113
+ margin-left: 0;
114
+ list-style: none;
115
+ }
116
+
117
+ // Description Lists
118
+ dl {
119
+ margin-bottom: $baseLineHeight;
120
+ }
121
+ dt,
122
+ dd {
123
+ line-height: $baseLineHeight;
124
+ }
125
+ dt {
126
+ font-weight: bold;
127
+ line-height: $baseLineHeight - 1; // fix jank Helvetica Neue font bug
128
+ }
129
+ dd {
130
+ margin-left: $baseLineHeight / 2;
131
+ }
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
+
146
+ // MISC
147
+ // ----
148
+
149
+ // Horizontal rules
150
+ hr {
151
+ margin: $baseLineHeight 0;
152
+ border: 0;
153
+ border-top: 1px solid $hrBorder;
154
+ border-bottom: 1px solid $white;
155
+ }
156
+
157
+ // Emphasis
158
+ strong {
159
+ font-weight: bold;
160
+ }
161
+ em {
162
+ font-style: italic;
163
+ }
164
+ .muted {
165
+ color: $grayLight;
166
+ }
167
+
168
+ // Abbreviations and acronyms
169
+ abbr[title] {
170
+ cursor: help;
171
+ border-bottom: 1px dotted $grayLight;
172
+ }
173
+ abbr.initialism {
174
+ font-size: 90%;
175
+ text-transform: uppercase;
176
+ }
177
+
178
+ // Blockquotes
179
+ blockquote {
180
+ padding: 0 0 0 15px;
181
+ margin: 0 0 $baseLineHeight;
182
+ border-left: 5px solid $grayLighter;
183
+ p {
184
+ margin-bottom: 0;
185
+ @include font-shorthand(16px,300,$baseLineHeight * 1.25);
186
+ }
187
+ small {
188
+ display: block;
189
+ line-height: $baseLineHeight;
190
+ color: $grayLight;
191
+ &:before {
192
+ content: '\2014 \00A0';
193
+ }
194
+ }
195
+
196
+ // Float right with text-align: right
197
+ &.pull-right {
198
+ float: right;
199
+ padding-right: 15px;
200
+ padding-left: 0;
201
+ border-right: 5px solid $grayLighter;
202
+ border-left: 0;
203
+ p,
204
+ small {
205
+ text-align: right;
206
+ }
207
+ }
208
+ }
209
+
210
+ // Quotes
211
+ q:before,
212
+ q:after,
213
+ blockquote:before,
214
+ blockquote:after {
215
+ content: "";
216
+ }
217
+
218
+ // Addresses
219
+ address {
220
+ display: block;
221
+ margin-bottom: $baseLineHeight;
222
+ font-style: normal;
223
+ line-height: $baseLineHeight;
224
+ }
225
+
226
+ // Misc
227
+ small {
228
+ font-size: 100%;
229
+ }
230
+ cite {
231
+ font-style: normal;
232
+ }
@@ -0,0 +1,23 @@
1
+ // UTILITY CLASSES
2
+ // ---------------
3
+
4
+ // Quick floats
5
+ .pull-right {
6
+ float: right;
7
+ }
8
+ .pull-left {
9
+ float: left;
10
+ }
11
+
12
+ // Toggling content
13
+ .hide {
14
+ display: none;
15
+ }
16
+ .show {
17
+ display: block;
18
+ }
19
+
20
+ // Visibility
21
+ .invisible {
22
+ visibility: hidden;
23
+ }
@@ -0,0 +1,204 @@
1
+ // Variables
2
+ // Variables to customize the look and feel of Bootstrap
3
+ // -----------------------------------------------------
4
+
5
+
6
+
7
+ // GLOBAL VALUES
8
+ // --------------------------------------------------
9
+
10
+
11
+ // Grays
12
+ // -------------------------
13
+ $black: #000 !default;
14
+ $grayDarker: #222 !default;
15
+ $grayDark: #333 !default;
16
+ $gray: #555 !default;
17
+ $grayLight: #999 !default;
18
+ $grayLighter: #eee !default;
19
+ $white: #fff !default;
20
+
21
+
22
+ // Accent colors
23
+ // -------------------------
24
+ $blue: #049cdb !default;
25
+ $blueDark: #0064cd !default;
26
+ $green: #46a546 !default;
27
+ $red: #9d261d !default;
28
+ $yellow: #ffc40d !default;
29
+ $orange: #f89406 !default;
30
+ $pink: #c3325f !default;
31
+ $purple: #7a43b6 !default;
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
+ // 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
+ $baseFontSize: 13px !default;
53
+ $baseFontFamily: $sansFontFamily !default;
54
+ $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
+
69
+
70
+ // 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;
110
+
111
+
112
+
113
+ // COMPONENT VARIABLES
114
+ // --------------------------------------------------
115
+
116
+ // Z-index master list
117
+ // -------------------------
118
+ // Used for a bird's eye view of components dependent on the z-axis
119
+ // 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
+
127
+
128
+ // Sprite icons path
129
+ // -------------------------
130
+ $iconSpritePath: "../img/glyphicons-halflings.png" !default;
131
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
132
+
133
+
134
+ // Input placeholder text color
135
+ // -------------------------
136
+ $placeholderText: $grayLight !default;
137
+
138
+
139
+ // Hr border color
140
+ // -------------------------
141
+ $hrBorder: $grayLighter !default;
142
+
143
+
144
+ // Navbar
145
+ // -------------------------
146
+ $navbarHeight: 40px !default;
147
+ $navbarBackground: $grayDarker !default;
148
+ $navbarBackgroundHighlight: $grayDark !default;
149
+
150
+ $navbarText: $grayLight !default;
151
+ $navbarLinkColor: $grayLight !default;
152
+ $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
+
171
+ // Form states and alerts
172
+ // -------------------------
173
+ $warningText: #c09853 !default;
174
+ $warningBackground: #fcf8e3 !default;
175
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
176
+
177
+ $errorText: #b94a48 !default;
178
+ $errorBackground: #f2dede !default;
179
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
180
+
181
+ $successText: #468847 !default;
182
+ $successBackground: #dff0d8 !default;
183
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
184
+
185
+ $infoText: #3a87ad !default;
186
+ $infoBackground: #d9edf7 !default;
187
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
188
+
189
+
190
+
191
+ // GRID
192
+ // --------------------------------------------------
193
+
194
+ // Default 940px grid
195
+ // -------------------------
196
+ $gridColumns: 12 !default;
197
+ $gridColumnWidth: 60px !default;
198
+ $gridGutterWidth: 20px !default;
199
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
200
+
201
+ // Fluid grid
202
+ // -------------------------
203
+ $fluidGridColumnWidth: 6.382978723% !default;
204
+ $fluidGridGutterWidth: 2.127659574% !default;