bootstrapped-rails 2.0.8.1 → 2.0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/lib/bootstrapped-rails/version.rb +1 -1
  2. metadata +7 -112
  3. data/vendor/assets/twitter/.gitignore +0 -33
  4. data/vendor/assets/twitter/LICENSE +0 -13
  5. data/vendor/assets/twitter/Makefile +0 -59
  6. data/vendor/assets/twitter/README.md +0 -94
  7. data/vendor/assets/twitter/img/glyphicons-halflings-white.png +0 -0
  8. data/vendor/assets/twitter/img/glyphicons-halflings.png +0 -0
  9. data/vendor/assets/twitter/js/README.md +0 -106
  10. data/vendor/assets/twitter/js/bootstrap-alert.js +0 -91
  11. data/vendor/assets/twitter/js/bootstrap-button.js +0 -98
  12. data/vendor/assets/twitter/js/bootstrap-carousel.js +0 -154
  13. data/vendor/assets/twitter/js/bootstrap-collapse.js +0 -136
  14. data/vendor/assets/twitter/js/bootstrap-dropdown.js +0 -92
  15. data/vendor/assets/twitter/js/bootstrap-modal.js +0 -209
  16. data/vendor/assets/twitter/js/bootstrap-popover.js +0 -95
  17. data/vendor/assets/twitter/js/bootstrap-scrollspy.js +0 -125
  18. data/vendor/assets/twitter/js/bootstrap-tab.js +0 -130
  19. data/vendor/assets/twitter/js/bootstrap-tooltip.js +0 -270
  20. data/vendor/assets/twitter/js/bootstrap-transition.js +0 -51
  21. data/vendor/assets/twitter/js/bootstrap-typeahead.js +0 -271
  22. data/vendor/assets/twitter/js/tests/index.html +0 -49
  23. data/vendor/assets/twitter/js/tests/unit/bootstrap-alert.js +0 -41
  24. data/vendor/assets/twitter/js/tests/unit/bootstrap-button.js +0 -54
  25. data/vendor/assets/twitter/js/tests/unit/bootstrap-collapse.js +0 -25
  26. data/vendor/assets/twitter/js/tests/unit/bootstrap-dropdown.js +0 -53
  27. data/vendor/assets/twitter/js/tests/unit/bootstrap-modal.js +0 -85
  28. data/vendor/assets/twitter/js/tests/unit/bootstrap-popover.js +0 -93
  29. data/vendor/assets/twitter/js/tests/unit/bootstrap-scrollspy.js +0 -31
  30. data/vendor/assets/twitter/js/tests/unit/bootstrap-tab.js +0 -45
  31. data/vendor/assets/twitter/js/tests/unit/bootstrap-tooltip.js +0 -62
  32. data/vendor/assets/twitter/js/tests/unit/bootstrap-transition.js +0 -13
  33. data/vendor/assets/twitter/js/tests/unit/bootstrap-typeahead.js +0 -128
  34. data/vendor/assets/twitter/js/tests/vendor/jquery.js +0 -9252
  35. data/vendor/assets/twitter/js/tests/vendor/qunit.css +0 -232
  36. data/vendor/assets/twitter/js/tests/vendor/qunit.js +0 -1510
  37. data/vendor/assets/twitter/scss/accordion.scss +0 -28
  38. data/vendor/assets/twitter/scss/alerts.scss +0 -70
  39. data/vendor/assets/twitter/scss/bootstrap.scss +0 -62
  40. data/vendor/assets/twitter/scss/breadcrumbs.scss +0 -22
  41. data/vendor/assets/twitter/scss/button-groups.scss +0 -147
  42. data/vendor/assets/twitter/scss/buttons.scss +0 -168
  43. data/vendor/assets/twitter/scss/carousel.scss +0 -121
  44. data/vendor/assets/twitter/scss/close.scss +0 -18
  45. data/vendor/assets/twitter/scss/code.scss +0 -44
  46. data/vendor/assets/twitter/scss/component-animations.scss +0 -18
  47. data/vendor/assets/twitter/scss/dropdowns.scss +0 -131
  48. data/vendor/assets/twitter/scss/forms.scss +0 -516
  49. data/vendor/assets/twitter/scss/grid.scss +0 -8
  50. data/vendor/assets/twitter/scss/hero-unit.scss +0 -20
  51. data/vendor/assets/twitter/scss/labels.scss +0 -16
  52. data/vendor/assets/twitter/scss/layouts.scss +0 -17
  53. data/vendor/assets/twitter/scss/mixins.scss +0 -500
  54. data/vendor/assets/twitter/scss/modals.scss +0 -72
  55. data/vendor/assets/twitter/scss/navbar.scss +0 -292
  56. data/vendor/assets/twitter/scss/navs.scss +0 -344
  57. data/vendor/assets/twitter/scss/pager.scss +0 -30
  58. data/vendor/assets/twitter/scss/pagination.scss +0 -55
  59. data/vendor/assets/twitter/scss/popovers.scss +0 -49
  60. data/vendor/assets/twitter/scss/progress-bars.scss +0 -95
  61. data/vendor/assets/twitter/scss/reset.scss +0 -126
  62. data/vendor/assets/twitter/scss/responsive.scss +0 -323
  63. data/vendor/assets/twitter/scss/scaffolding.scss +0 -29
  64. data/vendor/assets/twitter/scss/sprites.scss +0 -158
  65. data/vendor/assets/twitter/scss/tables.scss +0 -130
  66. data/vendor/assets/twitter/scss/thumbnails.scss +0 -35
  67. data/vendor/assets/twitter/scss/tooltip.scss +0 -35
  68. data/vendor/assets/twitter/scss/type.scss +0 -217
  69. data/vendor/assets/twitter/scss/utilities.scss +0 -23
  70. data/vendor/assets/twitter/scss/variables.scss +0 -99
  71. data/vendor/assets/twitter/scss/wells.scss +0 -17
  72. data/vendor/toolkit/twitter/bootstrap/accordion.less +0 -28
  73. data/vendor/toolkit/twitter/bootstrap/alerts.less +0 -70
  74. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +0 -62
  75. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +0 -22
  76. data/vendor/toolkit/twitter/bootstrap/button-groups.less +0 -148
  77. data/vendor/toolkit/twitter/bootstrap/buttons.less +0 -183
  78. data/vendor/toolkit/twitter/bootstrap/carousel.less +0 -121
  79. data/vendor/toolkit/twitter/bootstrap/close.less +0 -18
  80. data/vendor/toolkit/twitter/bootstrap/code.less +0 -57
  81. data/vendor/toolkit/twitter/bootstrap/component-animations.less +0 -18
  82. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +0 -130
  83. data/vendor/toolkit/twitter/bootstrap/forms.less +0 -522
  84. data/vendor/toolkit/twitter/bootstrap/grid.less +0 -8
  85. data/vendor/toolkit/twitter/bootstrap/hero-unit.less +0 -20
  86. data/vendor/toolkit/twitter/bootstrap/labels.less +0 -32
  87. data/vendor/toolkit/twitter/bootstrap/layouts.less +0 -17
  88. data/vendor/toolkit/twitter/bootstrap/mixins.less +0 -590
  89. data/vendor/toolkit/twitter/bootstrap/modals.less +0 -83
  90. data/vendor/toolkit/twitter/bootstrap/navbar.less +0 -299
  91. data/vendor/toolkit/twitter/bootstrap/navs.less +0 -353
  92. data/vendor/toolkit/twitter/bootstrap/pager.less +0 -30
  93. data/vendor/toolkit/twitter/bootstrap/pagination.less +0 -55
  94. data/vendor/toolkit/twitter/bootstrap/popovers.less +0 -49
  95. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +0 -95
  96. data/vendor/toolkit/twitter/bootstrap/reset.less +0 -126
  97. data/vendor/toolkit/twitter/bootstrap/responsive.less +0 -327
  98. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +0 -29
  99. data/vendor/toolkit/twitter/bootstrap/sprites.less +0 -158
  100. data/vendor/toolkit/twitter/bootstrap/tables.less +0 -150
  101. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +0 -35
  102. data/vendor/toolkit/twitter/bootstrap/tooltip.less +0 -35
  103. data/vendor/toolkit/twitter/bootstrap/type.less +0 -218
  104. data/vendor/toolkit/twitter/bootstrap/utilities.less +0 -23
  105. data/vendor/toolkit/twitter/bootstrap/variables.less +0 -107
  106. data/vendor/toolkit/twitter/bootstrap/wells.less +0 -17
  107. data/vendor/toolkit/twitter/bootstrap_base.less +0 -2
@@ -1,522 +0,0 @@
1
- // Forms.less
2
- // Base styles for various input types, form layouts, and states
3
- // -------------------------------------------------------------
4
-
5
-
6
- // GENERAL STYLES
7
- // --------------
8
-
9
- // Make all forms have space below them
10
- form {
11
- margin: 0 0 @baseLineHeight;
12
- }
13
-
14
- fieldset {
15
- padding: 0;
16
- margin: 0;
17
- border: 0;
18
- }
19
-
20
- // Groups of fields with labels on top (legends)
21
- legend {
22
- display: block;
23
- width: 100%;
24
- padding: 0;
25
- margin-bottom: @baseLineHeight * 1.5;
26
- font-size: @baseFontSize * 1.5;
27
- line-height: @baseLineHeight * 2;
28
- color: @grayDark;
29
- border: 0;
30
- border-bottom: 1px solid #eee;
31
-
32
- // Small
33
- small {
34
- font-size: @baseLineHeight * .75;
35
- color: @grayLight;
36
- }
37
- }
38
-
39
- // Set font for forms
40
- label,
41
- input,
42
- button,
43
- select,
44
- textarea {
45
- #font > .shorthand(@baseFontSize,normal,@baseLineHeight); // Set size, weight, line-height here
46
- }
47
- input,
48
- button,
49
- select,
50
- textarea {
51
- #font > #family > .sans-serif(); // And only set font-family here for those that need it (note the missing label element)
52
- }
53
-
54
- // Identify controls by their labels
55
- label {
56
- display: block;
57
- margin-bottom: 5px;
58
- color: @grayDark;
59
- }
60
-
61
- // Inputs, Textareas, Selects
62
- input,
63
- textarea,
64
- select,
65
- .uneditable-input {
66
- display: inline-block;
67
- width: 210px;
68
- height: @baseLineHeight;
69
- padding: 4px;
70
- margin-bottom: 9px;
71
- font-size: @baseFontSize;
72
- line-height: @baseLineHeight;
73
- color: @gray;
74
- border: 1px solid #ccc;
75
- .border-radius(3px);
76
- }
77
- .uneditable-textarea {
78
- width: auto;
79
- height: auto;
80
- }
81
-
82
- // Inputs within a label
83
- label input,
84
- label textarea,
85
- label select {
86
- display: block;
87
- }
88
-
89
- // Mini reset for unique input types
90
- input[type="image"],
91
- input[type="checkbox"],
92
- input[type="radio"] {
93
- width: auto;
94
- height: auto;
95
- padding: 0;
96
- margin: 3px 0;
97
- *margin-top: 0; /* IE7 */
98
- line-height: normal;
99
- cursor: pointer;
100
- .border-radius(0);
101
- border: 0 \9; /* IE9 and down */
102
- }
103
- input[type="image"] {
104
- border: 0;
105
- }
106
-
107
- // Reset the file input to browser defaults
108
- input[type="file"] {
109
- width: auto;
110
- padding: initial;
111
- line-height: initial;
112
- border: initial;
113
- background-color: @white;
114
- background-color: initial;
115
- .box-shadow(none);
116
- }
117
-
118
- // Help out input buttons
119
- input[type="button"],
120
- input[type="reset"],
121
- input[type="submit"] {
122
- width: auto;
123
- height: auto;
124
- }
125
-
126
- // Set the height of select and file controls to match text inputs
127
- select,
128
- input[type="file"] {
129
- height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
130
- *margin-top: 4px; /* For IE7, add top margin to align select with labels */
131
- line-height: 28px;
132
- }
133
-
134
- // Reset line-height for IE
135
- input[type="file"] {
136
- line-height: 18px \9;
137
- }
138
-
139
- // Chrome on Linux and Mobile Safari need background-color
140
- select {
141
- width: 220px; // default input width + 10px of padding that doesn't get applied
142
- background-color: @white;
143
- }
144
-
145
- // Make multiple select elements height not fixed
146
- select[multiple],
147
- select[size] {
148
- height: auto;
149
- }
150
-
151
- // Remove shadow from image inputs
152
- input[type="image"] {
153
- .box-shadow(none);
154
- }
155
-
156
- // Make textarea height behave
157
- textarea {
158
- height: auto;
159
- }
160
-
161
- // Hidden inputs
162
- input[type="hidden"] {
163
- display: none;
164
- }
165
-
166
-
167
-
168
- // CHECKBOXES & RADIOS
169
- // -------------------
170
-
171
- // Indent the labels to position radios/checkboxes as hanging
172
- .radio,
173
- .checkbox {
174
- padding-left: 18px;
175
- }
176
- .radio input[type="radio"],
177
- .checkbox input[type="checkbox"] {
178
- float: left;
179
- margin-left: -18px;
180
- }
181
-
182
- // Move the options list down to align with labels
183
- .controls > .radio:first-child,
184
- .controls > .checkbox:first-child {
185
- padding-top: 5px; // has to be padding because margin collaspes
186
- }
187
-
188
- // Radios and checkboxes on same line
189
- // TODO v3: Convert .inline to .control-inline
190
- .radio.inline,
191
- .checkbox.inline {
192
- display: inline-block;
193
- padding-top: 5px;
194
- margin-bottom: 0;
195
- vertical-align: middle;
196
- }
197
- .radio.inline + .radio.inline,
198
- .checkbox.inline + .checkbox.inline {
199
- margin-left: 10px; // space out consecutive inline controls
200
- }
201
-
202
-
203
-
204
- // FOCUS STATE
205
- // -----------
206
-
207
- input,
208
- textarea {
209
- .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
210
- @transition: border linear .2s, box-shadow linear .2s;
211
- .transition(@transition);
212
- }
213
- input:focus,
214
- textarea:focus {
215
- border-color: rgba(82,168,236,.8);
216
- @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
217
- .box-shadow(@shadow);
218
- outline: 0;
219
- outline: thin dotted \9; /* IE6-9 */
220
- }
221
- input[type="file"]:focus,
222
- input[type="radio"]:focus,
223
- input[type="checkbox"]:focus,
224
- select:focus {
225
- .box-shadow(none); // override for file inputs
226
- .tab-focus();
227
- }
228
-
229
-
230
-
231
- // INPUT SIZES
232
- // -----------
233
-
234
- // General classes for quick sizes
235
- .input-mini { width: 60px; }
236
- .input-small { width: 90px; }
237
- .input-medium { width: 150px; }
238
- .input-large { width: 210px; }
239
- .input-xlarge { width: 270px; }
240
- .input-xxlarge { width: 530px; }
241
-
242
- // Grid style input sizes
243
- input[class*="span"],
244
- select[class*="span"],
245
- textarea[class*="span"],
246
- .uneditable-input {
247
- float: none;
248
- margin-left: 0;
249
- }
250
-
251
-
252
-
253
- // GRID SIZING FOR INPUTS
254
- // ----------------------
255
-
256
- #inputGridSystem > .generate(@gridColumns, @gridColumnWidth, @gridGutterWidth);
257
-
258
-
259
-
260
-
261
- // DISABLED STATE
262
- // --------------
263
-
264
- // Disabled and read-only inputs
265
- input[disabled],
266
- select[disabled],
267
- textarea[disabled],
268
- input[readonly],
269
- select[readonly],
270
- textarea[readonly] {
271
- background-color: #f5f5f5;
272
- border-color: #ddd;
273
- cursor: not-allowed;
274
- }
275
-
276
-
277
-
278
-
279
- // FORM FIELD FEEDBACK STATES
280
- // --------------------------
281
-
282
- // Warning
283
- .control-group.warning {
284
- .formFieldState(@warningText, @warningText, @warningBackground);
285
- }
286
- // Error
287
- .control-group.error {
288
- .formFieldState(@errorText, @errorText, @errorBackground);
289
- }
290
- // Success
291
- .control-group.success {
292
- .formFieldState(@successText, @successText, @successBackground);
293
- }
294
-
295
- // HTML5 invalid states
296
- // Shares styles with the .control-group.error above
297
- input:focus:required:invalid,
298
- textarea:focus:required:invalid,
299
- select:focus:required:invalid {
300
- color: #b94a48;
301
- border-color: #ee5f5b;
302
- &:focus {
303
- border-color: darken(#ee5f5b, 10%);
304
- .box-shadow(0 0 6px lighten(#ee5f5b, 20%));
305
- }
306
- }
307
-
308
-
309
-
310
- // FORM ACTIONS
311
- // ------------
312
-
313
- .form-actions {
314
- padding: (@baseLineHeight - 1) 20px @baseLineHeight;
315
- margin-top: @baseLineHeight;
316
- margin-bottom: @baseLineHeight;
317
- background-color: #f5f5f5;
318
- border-top: 1px solid #ddd;
319
- }
320
-
321
- // For text that needs to appear as an input but should not be an input
322
- .uneditable-input {
323
- display: block;
324
- background-color: @white;
325
- border-color: #eee;
326
- .box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
327
- cursor: not-allowed;
328
- }
329
-
330
- // Placeholder text gets special styles; can't be bundled together though for some reason
331
- .placeholder(@grayLight);
332
-
333
-
334
-
335
- // HELP TEXT
336
- // ---------
337
-
338
- .help-block {
339
- display: block; // account for any element using help-block
340
- margin-top: 5px;
341
- margin-bottom: 0;
342
- color: @grayLight;
343
- }
344
-
345
- .help-inline {
346
- display: inline-block;
347
- .ie7-inline-block();
348
- margin-bottom: 9px;
349
- vertical-align: middle;
350
- padding-left: 5px;
351
- }
352
-
353
-
354
-
355
- // INPUT GROUPS
356
- // ------------
357
-
358
- // Allow us to put symbols and text within the input field for a cleaner look
359
- .input-prepend,
360
- .input-append {
361
- margin-bottom: 5px;
362
- .clearfix(); // Clear the float to prevent wrapping
363
- input,
364
- .uneditable-input {
365
- .border-radius(0 3px 3px 0);
366
- &:focus {
367
- position: relative;
368
- z-index: 2;
369
- }
370
- }
371
- .uneditable-input {
372
- border-left-color: #ccc;
373
- }
374
- .add-on {
375
- float: left;
376
- display: block;
377
- width: auto;
378
- min-width: 16px;
379
- height: @baseLineHeight;
380
- margin-right: -1px;
381
- padding: 4px 5px;
382
- font-weight: normal;
383
- line-height: @baseLineHeight;
384
- color: @grayLight;
385
- text-align: center;
386
- text-shadow: 0 1px 0 @white;
387
- background-color: #f5f5f5;
388
- border: 1px solid #ccc;
389
- .border-radius(3px 0 0 3px);
390
- }
391
- .active {
392
- background-color: lighten(@green, 30);
393
- border-color: @green;
394
- }
395
- }
396
- .input-prepend {
397
- .add-on {
398
- *margin-top: 1px; /* IE6-7 */
399
- }
400
- }
401
- .input-append {
402
- input,
403
- .uneditable-input {
404
- float: left;
405
- .border-radius(3px 0 0 3px);
406
- }
407
- .uneditable-input {
408
- border-left-color: #eee;
409
- border-right-color: #ccc;
410
- }
411
- .add-on {
412
- margin-right: 0;
413
- margin-left: -1px;
414
- .border-radius(0 3px 3px 0);
415
- }
416
- input:first-child {
417
- // In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input
418
- // inherit the sum of its ancestors' margins.
419
- *margin-left: -160px;
420
-
421
- &+.add-on {
422
- *margin-left: -21px;
423
- }
424
- }
425
- }
426
-
427
-
428
-
429
- // SEARCH FORM
430
- // -----------
431
-
432
- .search-query {
433
- padding-left: 14px;
434
- padding-right: 14px;
435
- margin-bottom: 0; // remove the default margin on all inputs
436
- .border-radius(14px);
437
- }
438
-
439
-
440
-
441
- // HORIZONTAL & VERTICAL FORMS
442
- // ---------------------------
443
-
444
- // Common properties
445
- // -----------------
446
-
447
- .form-search,
448
- .form-inline,
449
- .form-horizontal {
450
- input,
451
- textarea,
452
- select,
453
- .help-inline,
454
- .uneditable-input {
455
- display: inline-block;
456
- margin-bottom: 0;
457
- }
458
- // Re-hide hidden elements due to specifity
459
- .hide {
460
- display: none;
461
- }
462
- }
463
- .form-search label,
464
- .form-inline label,
465
- .form-search .input-append,
466
- .form-inline .input-append,
467
- .form-search .input-prepend,
468
- .form-inline .input-prepend {
469
- display: inline-block;
470
- }
471
- // Make the prepend and append add-on vertical-align: middle;
472
- .form-search .input-append .add-on,
473
- .form-inline .input-prepend .add-on,
474
- .form-search .input-append .add-on,
475
- .form-inline .input-prepend .add-on {
476
- vertical-align: middle;
477
- }
478
- // Inline checkbox/radio labels
479
- .form-search .radio,
480
- .form-inline .radio,
481
- .form-search .checkbox,
482
- .form-inline .checkbox {
483
- margin-bottom: 0;
484
- vertical-align: middle;
485
- }
486
-
487
- // Margin to space out fieldsets
488
- .control-group {
489
- margin-bottom: @baseLineHeight / 2;
490
- }
491
-
492
- // Legend collapses margin, so next element is responsible for spacing
493
- legend + .control-group {
494
- margin-top: @baseLineHeight;
495
- -webkit-margin-top-collapse: separate;
496
- }
497
-
498
- // Horizontal-specific styles
499
- // --------------------------
500
-
501
- .form-horizontal {
502
- // Increase spacing between groups
503
- .control-group {
504
- margin-bottom: @baseLineHeight;
505
- .clearfix();
506
- }
507
- // Float the labels left
508
- .control-label {
509
- float: left;
510
- width: 140px;
511
- padding-top: 5px;
512
- text-align: right;
513
- }
514
- // Move over all input controls and content
515
- .controls {
516
- margin-left: 160px;
517
- }
518
- // Move over buttons in .form-actions to align with .controls
519
- .form-actions {
520
- padding-left: 160px;
521
- }
522
- }