anjlab-bootstrap-rails 2.3.1.2 → 3.0.0.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +3 -0
  3. data/Rakefile +42 -26
  4. data/lib/bootstrap-rails.rb +5 -6
  5. data/lib/bootstrap-rails/engine.rb +2 -9
  6. data/lib/bootstrap-rails/version.rb +1 -1
  7. data/test/test_helper.rb +2 -2
  8. data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.eot +0 -0
  9. data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.otf +0 -0
  10. data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.svg +175 -0
  11. data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
  12. data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
  13. data/vendor/assets/javascripts/twitter/bootstrap.js +4 -5
  14. data/vendor/assets/javascripts/twitter/bootstrap/affix.js +50 -47
  15. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +32 -35
  16. data/vendor/assets/javascripts/twitter/bootstrap/button.js +37 -37
  17. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +123 -127
  18. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +81 -95
  19. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +61 -81
  20. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +146 -151
  21. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +53 -58
  22. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +99 -105
  23. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +70 -81
  24. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +246 -254
  25. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +24 -37
  26. data/vendor/assets/stylesheets/twitter/bootstrap.scss +1 -1
  27. data/vendor/{frameworks/twitter/bootstrap/accordion.scss → assets/stylesheets/twitter/bootstrap/_accordion.scss} +2 -2
  28. data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +92 -0
  29. data/vendor/assets/stylesheets/twitter/bootstrap/_badges.scss +58 -0
  30. data/vendor/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +64 -0
  31. data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +28 -0
  32. data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +170 -0
  33. data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +160 -0
  34. data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +191 -0
  35. data/vendor/{frameworks/twitter/bootstrap/close.scss → assets/stylesheets/twitter/bootstrap/_close.scss} +7 -6
  36. data/vendor/{frameworks/twitter/bootstrap/code.scss → assets/stylesheets/twitter/bootstrap/_code.scss} +14 -14
  37. data/vendor/{frameworks/twitter/bootstrap/component-animations.scss → assets/stylesheets/twitter/bootstrap/_component-animations.scss} +1 -0
  38. data/vendor/{frameworks/twitter/bootstrap/dropdowns.scss → assets/stylesheets/twitter/bootstrap/_dropdowns.scss} +46 -57
  39. data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +464 -0
  40. data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +200 -0
  41. data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +65 -0
  42. data/vendor/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +32 -0
  43. data/vendor/assets/stylesheets/twitter/bootstrap/_labels.scss +70 -0
  44. data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +96 -0
  45. data/vendor/{frameworks/twitter/bootstrap/media.scss → assets/stylesheets/twitter/bootstrap/_media.scss} +0 -1
  46. data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +510 -0
  47. data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +137 -0
  48. data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +356 -0
  49. data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +249 -0
  50. data/vendor/assets/stylesheets/twitter/bootstrap/_normalize.scss +396 -0
  51. data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +54 -0
  52. data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +87 -0
  53. data/vendor/assets/stylesheets/twitter/bootstrap/_panels.scss +96 -0
  54. data/vendor/{frameworks/twitter/bootstrap/popovers.scss → assets/stylesheets/twitter/bootstrap/_popovers.scss} +32 -32
  55. data/vendor/assets/stylesheets/twitter/bootstrap/_print.scss +74 -0
  56. data/vendor/{frameworks/twitter/bootstrap/progress-bars.scss → assets/stylesheets/twitter/bootstrap/_progress-bars.scss} +40 -44
  57. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +77 -0
  58. data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +83 -0
  59. data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +242 -0
  60. data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +43 -0
  61. data/vendor/{frameworks/twitter/bootstrap/tooltip.scss → assets/stylesheets/twitter/bootstrap/_tooltip.scss} +20 -19
  62. data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +253 -0
  63. data/vendor/{frameworks/twitter/bootstrap/utilities.scss → assets/stylesheets/twitter/bootstrap/_utilities.scss} +17 -5
  64. data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +416 -0
  65. data/vendor/{frameworks/twitter/bootstrap/wells.scss → assets/stylesheets/twitter/bootstrap/_wells.scss} +5 -5
  66. metadata +49 -53
  67. data/lib/bootstrap-rails/ie_hex_str.rb +0 -16
  68. data/test/ie_hex_str_test.rb +0 -26
  69. data/vendor/assets/images/twitter/glyphicons-halflings-white.png +0 -0
  70. data/vendor/assets/images/twitter/glyphicons-halflings.png +0 -0
  71. data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +0 -335
  72. data/vendor/assets/stylesheets/twitter/bootstrap-responsive.scss +0 -1
  73. data/vendor/frameworks/twitter/bootstrap.scss +0 -1
  74. data/vendor/frameworks/twitter/bootstrap/alerts.scss +0 -79
  75. data/vendor/frameworks/twitter/bootstrap/bootstrap.scss +0 -63
  76. data/vendor/frameworks/twitter/bootstrap/breadcrumbs.scss +0 -24
  77. data/vendor/frameworks/twitter/bootstrap/button-groups.scss +0 -230
  78. data/vendor/frameworks/twitter/bootstrap/buttons.scss +0 -228
  79. data/vendor/frameworks/twitter/bootstrap/carousel.scss +0 -158
  80. data/vendor/frameworks/twitter/bootstrap/forms.scss +0 -690
  81. data/vendor/frameworks/twitter/bootstrap/grid.scss +0 -21
  82. data/vendor/frameworks/twitter/bootstrap/hero-unit.scss +0 -25
  83. data/vendor/frameworks/twitter/bootstrap/labels-badges.scss +0 -83
  84. data/vendor/frameworks/twitter/bootstrap/layouts.scss +0 -16
  85. data/vendor/frameworks/twitter/bootstrap/mixins.scss +0 -704
  86. data/vendor/frameworks/twitter/bootstrap/modals.scss +0 -95
  87. data/vendor/frameworks/twitter/bootstrap/navbar.scss +0 -496
  88. data/vendor/frameworks/twitter/bootstrap/navs.scss +0 -409
  89. data/vendor/frameworks/twitter/bootstrap/pager.scss +0 -43
  90. data/vendor/frameworks/twitter/bootstrap/pagination.scss +0 -123
  91. data/vendor/frameworks/twitter/bootstrap/reset.scss +0 -216
  92. data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.scss +0 -28
  93. data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.scss +0 -189
  94. data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.scss +0 -19
  95. data/vendor/frameworks/twitter/bootstrap/responsive-navbar.scss +0 -189
  96. data/vendor/frameworks/twitter/bootstrap/responsive-utilities.scss +0 -59
  97. data/vendor/frameworks/twitter/bootstrap/responsive.scss +0 -48
  98. data/vendor/frameworks/twitter/bootstrap/scaffolding.scss +0 -53
  99. data/vendor/frameworks/twitter/bootstrap/sprites.scss +0 -197
  100. data/vendor/frameworks/twitter/bootstrap/tables.scss +0 -235
  101. data/vendor/frameworks/twitter/bootstrap/thumbnails.scss +0 -53
  102. data/vendor/frameworks/twitter/bootstrap/type.scss +0 -246
  103. data/vendor/frameworks/twitter/bootstrap/variables.scss +0 -295
@@ -1,295 +0,0 @@
1
- //
2
- // Variables
3
- // --------------------------------------------------
4
-
5
-
6
- // Global values
7
- // --------------------------------------------------
8
-
9
-
10
- // Grays
11
- // -------------------------
12
- $black: #000 !default;
13
- $grayDarker: #222 !default;
14
- $grayDark: #333 !default;
15
- $gray: #555 !default;
16
- $grayLight: #999 !default;
17
- $grayLighter: #eee !default;
18
- $white: #fff !default;
19
-
20
-
21
- // Accent colors
22
- // -------------------------
23
- $blue: #049cdb !default;
24
- $blueDark: #0064cd !default;
25
- $green: #46a546 !default;
26
- $red: #9d261d !default;
27
- $yellow: #ffc40d !default;
28
- $orange: #f89406 !default;
29
- $pink: #c3325f !default;
30
- $purple: #7a43b6 !default;
31
-
32
-
33
- // Scaffolding
34
- // -------------------------
35
- $bodyBackground: $white !default;
36
- $textColor: $grayDark !default;
37
-
38
-
39
- // Links
40
- // -------------------------
41
- $linkColor: #08c !default;
42
- $linkColorHover: darken($linkColor, 15%) !default;
43
-
44
-
45
- // Typography
46
- // -------------------------
47
- $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
48
- $serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
49
- $monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace !default;
50
-
51
- $baseFontSize: 14px !default;
52
- $baseFontFamily: $sansFontFamily !default;
53
- $baseLineHeight: 20px !default;
54
- $altFontFamily: $serifFontFamily !default;
55
-
56
- $headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
57
- $headingsFontWeight: bold !default; // instead of browser default, bold
58
- $headingsColor: inherit !default; // empty to use BS default, $textColor
59
-
60
-
61
- // Component sizing
62
- // -------------------------
63
- // Based on 14px font-size and 20px line-height
64
-
65
- $fontSizeLarge: $baseFontSize * 1.25 !default; // ~18px
66
- $fontSizeSmall: $baseFontSize * 0.85 !default; // ~12px
67
- $fontSizeMini: $baseFontSize * 0.75 !default; // ~11px
68
-
69
- $paddingLarge: 11px 19px !default; // 44px
70
- $paddingSmall: 2px 10px !default; // 26px
71
- $paddingMini: 0 6px !default; // 22px
72
-
73
- $baseBorderRadius: 4px !default;
74
- $borderRadiusLarge: 6px !default;
75
- $borderRadiusSmall: 3px !default;
76
-
77
-
78
- // Tables
79
- // -------------------------
80
- $tableBackground: transparent !default; // overall background-color
81
- $tableBackgroundAccent: #f9f9f9 !default; // for striping
82
- $tableBackgroundHover: #f5f5f5 !default; // for hover
83
- $tableBorder: #ddd !default; // table and cell border
84
-
85
- // Buttons
86
- // -------------------------
87
- $btnBackground: $white !default;
88
- $btnBackgroundHighlight: darken($white, 10%) !default;
89
- $btnBorder: #ccc !default;
90
-
91
- $btnPrimaryBackground: $linkColor !default;
92
- $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 20%) !default;
93
-
94
- $btnInfoBackground: #5bc0de !default;
95
- $btnInfoBackgroundHighlight: #2f96b4 !default;
96
-
97
- $btnSuccessBackground: #62c462 !default;
98
- $btnSuccessBackgroundHighlight: #51a351 !default;
99
-
100
- $btnWarningBackground: lighten($orange, 15%) !default;
101
- $btnWarningBackgroundHighlight: $orange !default;
102
-
103
- $btnDangerBackground: #ee5f5b !default;
104
- $btnDangerBackgroundHighlight: #bd362f !default;
105
-
106
- $btnInverseBackground: #444 !default;
107
- $btnInverseBackgroundHighlight: $grayDarker !default;
108
-
109
-
110
- // Forms
111
- // -------------------------
112
- $inputBackground: $white !default;
113
- $inputBorder: #ccc;
114
- $inputBorderRadius: $baseBorderRadius !default;
115
- $inputDisabledBackground: $grayLighter !default;
116
- $formActionsBackground: #f5f5f5 !default;
117
- $inputHeight: $baseLineHeight + 10px !default; // base line-height + 8px vertical padding + 2px top/bottom border
118
-
119
-
120
- // Dropdowns
121
- // -------------------------
122
- $dropdownBackground: $white !default;
123
- $dropdownBorder: rgba(0,0,0,.2) !default;
124
- $dropdownDividerTop: #e5e5e5 !default;
125
- $dropdownDividerBottom: $white !default;
126
-
127
- $dropdownLinkColor: $grayDark !default;
128
- $dropdownLinkColorHover: $white !default;
129
- $dropdownLinkColorActive: $white !default;
130
-
131
- $dropdownLinkBackgroundActive: $linkColor !default;
132
- $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive !default;
133
-
134
-
135
-
136
- // COMPONENT VARIABLES
137
- // --------------------------------------------------
138
-
139
-
140
- // Z-index master list
141
- // -------------------------
142
- // Used for a bird's eye view of components dependent on the z-axis
143
- // Try to avoid customizing these :)
144
- $zindexDropdown: 1000 !default;
145
- $zindexPopover: 1010 !default;
146
- $zindexTooltip: 1030 !default;
147
- $zindexFixedNavbar: 1030 !default;
148
- $zindexModalBackdrop: 1040 !default;
149
- $zindexModal: 1050 !default;
150
-
151
-
152
- // Sprite icons path
153
- $iconSpritePath: image-path("twitter/glyphicons-halflings.png") !default;
154
- $iconWhiteSpritePath: image-path("twitter/glyphicons-halflings-white.png") !default;
155
-
156
- // Input placeholder text color
157
- $placeholderText: $grayLight !default;
158
-
159
- // Hr border color
160
- $hrBorder: $grayLighter !default;
161
-
162
- // Horizontal forms & lists
163
- // -------------------------
164
- $horizontalComponentOffset: 180px;
165
-
166
-
167
- // Wells
168
- // -------------------------
169
- $wellBackground: #f5f5f5 !default;
170
-
171
-
172
- // Navbar
173
- // -------------------------
174
- $navbarCollapseWidth: 979px !default;
175
- $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1 !default;
176
-
177
- $navbarHeight: 40px !default;
178
- $navbarBackgroundHighlight: #ffffff !default;
179
- $navbarBackground: darken($navbarBackgroundHighlight, 5%) !default;
180
- $navbarBorder: darken($navbarBackground, 12%) !default;
181
-
182
- $navbarText: #777 !default;
183
- $navbarLinkColor: #777 !default;
184
- $navbarLinkColorHover: $grayDark !default;
185
- $navbarLinkColorActive: $gray !default;
186
- $navbarLinkBackgroundHover: transparent !default;
187
- $navbarLinkBackgroundActive: darken($navbarBackground, 5%) !default;
188
-
189
- $navbarBrandColor: $navbarLinkColor !default;
190
-
191
- // Inverted navbar
192
- $navbarInverseBackground: #111111 !default;
193
- $navbarInverseBackgroundHighlight: #222222 !default;
194
- $navbarInverseBorder: #252525 !default;
195
-
196
- $navbarInverseText: $grayLight !default;
197
- $navbarInverseLinkColor: $grayLight !default;
198
- $navbarInverseLinkColorHover: $white !default;
199
- $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
200
- $navbarInverseLinkBackgroundHover: transparent !default;
201
- $navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
202
-
203
- $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
204
- $navbarInverseSearchBackgroundFocus: $white !default;
205
- $navbarInverseSearchBorder: $navbarInverseBackground !default;
206
- $navbarInverseSearchPlaceholderColor: #ccc !default;
207
-
208
- $navbarInverseBrandColor: $navbarInverseLinkColor !default;
209
-
210
-
211
- // Pagination
212
- // -------------------------
213
- $paginationBackground: #fff !default;
214
- $paginationBorder: #ddd !default;
215
- $paginationActiveBackground: #f5f5f5 !default;
216
-
217
-
218
- // Hero unit
219
- // -------------------------
220
- $heroUnitBackground: $grayLighter !default;
221
- $heroUnitHeadingColor: inherit !default;
222
- $heroUnitLeadColor: inherit !default;
223
-
224
-
225
- // Form states and alerts
226
- // -------------------------
227
- $warningText: #c09853 !default;
228
- $warningBackground: #fcf8e3 !default;
229
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
230
-
231
- $errorText: #b94a48 !default;
232
- $errorBackground: #f2dede !default;
233
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
234
-
235
- $successText: #468847 !default;
236
- $successBackground: #dff0d8 !default;
237
- $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
238
-
239
- $infoText: #3a87ad !default;
240
- $infoBackground: #d9edf7 !default;
241
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
242
-
243
-
244
- // Tooltips and popovers
245
- // -------------------------
246
- $tooltipColor: #fff !default;
247
- $tooltipBackground: #000 !default;
248
- $tooltipArrowWidth: 5px !default;
249
- $tooltipArrowColor: $tooltipBackground !default;
250
-
251
- $popoverBackground: #fff !default;
252
- $popoverArrowWidth: 10px !default;
253
- $popoverArrowColor: #fff !default;
254
- $popoverTitleBackground: darken($popoverBackground, 3%) !default;
255
-
256
- // Special enhancement for popovers
257
- $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
258
- $popoverArrowOuterColor: rgba(0,0,0,.25) !default;
259
-
260
-
261
-
262
- // GRID
263
- // --------------------------------------------------
264
-
265
-
266
- // Default 940px grid
267
- // -------------------------
268
- $gridColumns: 12 !default;
269
- $gridColumnWidth: 60px !default;
270
- $gridGutterWidth: 20px !default;
271
- $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
272
-
273
- // 1200px min
274
- $gridColumnWidth1200: 70px !default;
275
- $gridGutterWidth1200: 30px !default;
276
- $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
277
-
278
- // 768px-979px
279
- $gridColumnWidth768: 42px !default;
280
- $gridGutterWidth768: 20px !default;
281
- $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
282
-
283
-
284
- // Fluid grid
285
- // -------------------------
286
- $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
287
- $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
288
-
289
- // 1200px min
290
- $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
291
- $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
292
-
293
- // 768px-979px
294
- $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
295
- $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;