bootstrap3-wip-rails 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/bootstrap3-wip-rails.gemspec +1 -0
  3. data/lib/bootstrap3/wip/rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/bootstrap.js +2280 -0
  5. data/vendor/assets/javascripts/bootstrap.min.js +6 -0
  6. data/vendor/assets/stylesheets/bootstrap.css +5375 -0
  7. data/vendor/assets/stylesheets/bootstrap.min.css +9 -0
  8. metadata +19 -54
  9. data/lib/assets/javascripts/bootstrap.js +0 -14
  10. data/vendor/assets/javascripts/bootstrap-affix.js +0 -117
  11. data/vendor/assets/javascripts/bootstrap-alert.js +0 -99
  12. data/vendor/assets/javascripts/bootstrap-button.js +0 -105
  13. data/vendor/assets/javascripts/bootstrap-carousel.js +0 -207
  14. data/vendor/assets/javascripts/bootstrap-collapse.js +0 -167
  15. data/vendor/assets/javascripts/bootstrap-dropdown.js +0 -165
  16. data/vendor/assets/javascripts/bootstrap-modal.js +0 -251
  17. data/vendor/assets/javascripts/bootstrap-popover.js +0 -114
  18. data/vendor/assets/javascripts/bootstrap-scrollspy.js +0 -162
  19. data/vendor/assets/javascripts/bootstrap-tab.js +0 -144
  20. data/vendor/assets/javascripts/bootstrap-tooltip.js +0 -361
  21. data/vendor/assets/javascripts/bootstrap-transition.js +0 -60
  22. data/vendor/assets/javascripts/bootstrap-typeahead.js +0 -335
  23. data/vendor/assets/stylesheets/accordion.less +0 -34
  24. data/vendor/assets/stylesheets/alerts.less +0 -97
  25. data/vendor/assets/stylesheets/badges.less +0 -58
  26. data/vendor/assets/stylesheets/bootstrap.less +0 -64
  27. data/vendor/assets/stylesheets/breadcrumbs.less +0 -28
  28. data/vendor/assets/stylesheets/button-groups.less +0 -166
  29. data/vendor/assets/stylesheets/buttons.less +0 -175
  30. data/vendor/assets/stylesheets/carousel.less +0 -191
  31. data/vendor/assets/stylesheets/close.less +0 -33
  32. data/vendor/assets/stylesheets/code.less +0 -61
  33. data/vendor/assets/stylesheets/component-animations.less +0 -32
  34. data/vendor/assets/stylesheets/dropdowns.less +0 -223
  35. data/vendor/assets/stylesheets/forms.less +0 -553
  36. data/vendor/assets/stylesheets/glyphicons.less +0 -200
  37. data/vendor/assets/stylesheets/grid.less +0 -57
  38. data/vendor/assets/stylesheets/jumbotron.less +0 -32
  39. data/vendor/assets/stylesheets/labels.less +0 -46
  40. data/vendor/assets/stylesheets/list-group.less +0 -96
  41. data/vendor/assets/stylesheets/media.less +0 -54
  42. data/vendor/assets/stylesheets/mixins.less +0 -551
  43. data/vendor/assets/stylesheets/modals.less +0 -137
  44. data/vendor/assets/stylesheets/navbar.less +0 -389
  45. data/vendor/assets/stylesheets/navs.less +0 -283
  46. data/vendor/assets/stylesheets/normalize.less +0 -396
  47. data/vendor/assets/stylesheets/pager.less +0 -54
  48. data/vendor/assets/stylesheets/pagination.less +0 -100
  49. data/vendor/assets/stylesheets/panels.less +0 -86
  50. data/vendor/assets/stylesheets/popovers.less +0 -133
  51. data/vendor/assets/stylesheets/print.less +0 -74
  52. data/vendor/assets/stylesheets/progress-bars.less +0 -118
  53. data/vendor/assets/stylesheets/responsive-utilities.less +0 -59
  54. data/vendor/assets/stylesheets/scaffolding.less +0 -91
  55. data/vendor/assets/stylesheets/tables.less +0 -241
  56. data/vendor/assets/stylesheets/thumbnails.less +0 -42
  57. data/vendor/assets/stylesheets/tooltip.less +0 -71
  58. data/vendor/assets/stylesheets/type.less +0 -253
  59. data/vendor/assets/stylesheets/utilities.less +0 -42
  60. data/vendor/assets/stylesheets/variables.less +0 -354
  61. data/vendor/assets/stylesheets/wells.less +0 -29
@@ -1,283 +0,0 @@
1
- //
2
- // Navs
3
- // --------------------------------------------------
4
-
5
-
6
- // Base class
7
- // --------------------------------------------------
8
-
9
- .nav {
10
- margin-left: 0;
11
- margin-bottom: 0;
12
- padding-left: 0; // Override default ul/ol
13
- list-style: none;
14
- .clearfix();
15
- > li {
16
- display: block;
17
- > a {
18
- position: relative;
19
- display: block;
20
- padding: 10px 15px;
21
- &:hover,
22
- &:focus {
23
- text-decoration: none;
24
- background-color: @grayLighter;
25
- }
26
- }
27
-
28
- // Nav states and addons
29
- // --------------------------------------------------
30
-
31
- // Disabled state
32
- // -------------------------
33
-
34
- // Gray out text
35
- &.disabled > a {
36
- color: @grayLight;
37
- }
38
- // Nuke hover effects
39
- &.disabled > a:hover,
40
- &.disabled > a:focus {
41
- color: @grayLight;
42
- text-decoration: none;
43
- background-color: transparent;
44
- cursor: default;
45
- }
46
- // Space the headers out when they follow another list item (link)
47
- &+ .nav-header {
48
- margin-top: 9px;
49
- }
50
- }
51
-
52
- // Redeclare pull classes because of specifity
53
- // Todo: consider making these utilities !important to avoid this bullshit
54
- > .pull-right {
55
- float: right;
56
- }
57
-
58
- // Dividers (basically an hr) within the dropdown
59
- .divider {
60
- .nav-divider();
61
- }
62
- }
63
-
64
-
65
-
66
- // Nav variations
67
- // --------------------------------------------------
68
-
69
- // Tabs
70
- // -------------------------
71
-
72
- // Give the tabs something to sit on
73
- .nav-tabs {
74
- border-bottom: 1px solid #ddd;
75
- > li {
76
- float: left;
77
- // Make the list-items overlay the bottom border
78
- margin-bottom: -1px;
79
-
80
- // Actual tabs (as links)
81
- > a {
82
- margin-right: 2px;
83
- line-height: @line-height-base;
84
- border: 1px solid transparent;
85
- border-radius: @border-radius-base @border-radius-base 0 0;
86
- &:hover {
87
- border-color: @grayLighter @grayLighter #ddd;
88
- }
89
- }
90
-
91
- // Active state, and it's :hover to override normal :hover
92
- &.active > a,
93
- &.active > a:hover,
94
- &.active > a:focus {
95
- color: @gray;
96
- background-color: @body-bg;
97
- border: 1px solid #ddd;
98
- border-bottom-color: transparent;
99
- cursor: default;
100
- }
101
- }
102
- // pulling this in mainly for less shorthand
103
- &.nav-justified {
104
- .nav-justified;
105
- .nav-tabs-justified;
106
- }
107
- }
108
-
109
-
110
- // Pills
111
- // -------------------------
112
- .nav-pills {
113
- > li {
114
- float: left;
115
-
116
- // Links rendered as pills
117
- > a {
118
- border-radius: 5px;
119
- }
120
- + li {
121
- > a {
122
- margin-left: 2px;
123
- }
124
- }
125
-
126
- // Active state
127
- &.active > a,
128
- &.active > a:hover,
129
- &.active > a:focus {
130
- color: #fff;
131
- background-color: @component-active-bg;
132
- }
133
- }
134
- }
135
-
136
-
137
- // Stacked pills
138
- .nav-stacked {
139
- > li {
140
- float: none;
141
- + li {
142
- > a {
143
- margin-top: 2px;
144
- margin-left: 0; // no need for this gap between nav items
145
- }
146
- }
147
- }
148
- }
149
-
150
- // Justified nav links
151
- // -------------------------
152
-
153
- .nav-justified {
154
- width: 100%;
155
- > li {
156
- float: none;
157
- display: table-cell;
158
- width: 1%;
159
- text-align: center;
160
- }
161
- }
162
-
163
- // Move borders to anchors instead of bottom of list
164
- .nav-tabs-justified () {
165
- border-bottom: 0;
166
- > li > a {
167
- border-bottom: 1px solid #ddd;
168
-
169
- // Override margin from .nav-tabs
170
- margin-right: 0;
171
- }
172
- > .active > a {
173
- border-bottom-color: @body-bg;
174
- }
175
-
176
- }
177
-
178
-
179
-
180
- // Nav headers (for dropdowns and lists)
181
- // -------------------------
182
-
183
- .nav-header {
184
- display: block;
185
- padding: 3px 15px;
186
- font-size: 11px;
187
- font-weight: bold;
188
- line-height: @line-height-base;
189
- color: @grayLight;
190
- text-shadow: 0 1px 0 rgba(255,255,255,.5);
191
- text-transform: uppercase;
192
- }
193
-
194
-
195
-
196
- // Tabbable tabs
197
- // -------------------------
198
-
199
- // Clear any floats
200
- .tabbable {
201
- .clearfix();
202
- }
203
-
204
- // Show/hide tabbable areas
205
- .tab-content > .tab-pane,
206
- .pill-content > .pill-pane {
207
- display: none;
208
- }
209
- .tab-content > .active,
210
- .pill-content > .active {
211
- display: block;
212
- }
213
-
214
-
215
-
216
- /*
217
- // Prevent IE8 from misplacing imgs
218
- // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
219
- .nav > li > a > img {
220
- max-width: none;
221
- }
222
-
223
- // Dropdowns
224
- // -------------------------
225
-
226
- .nav-tabs .dropdown-menu {
227
- // Remove the top rounded corners here since there is a hard edge above the menu
228
- .border-top-radius(0);
229
- }
230
-
231
- // Default dropdown links
232
- // -------------------------
233
- // Make carets use linkColor to start
234
- .nav .dropdown-toggle .caret {
235
- border-top-color: @link-color;
236
- border-bottom-color: @link-color;
237
- margin-top: 8px;
238
- }
239
- .nav .dropdown-toggle:hover .caret {
240
- border-top-color: @link-hover-color;
241
- border-bottom-color: @link-hover-color;
242
- }
243
-
244
- // Active dropdown links
245
- // -------------------------
246
- .nav .active .dropdown-toggle .caret {
247
- border-top-color: #fff;
248
- border-bottom-color: #fff;
249
- }
250
- .nav-tabs .active .dropdown-toggle .caret {
251
- border-top-color: @gray;
252
- border-bottom-color: @gray;
253
- }
254
-
255
- // Active:hover dropdown links
256
- // -------------------------
257
- .nav > .dropdown.active > a:hover {
258
- cursor: pointer;
259
- }
260
-
261
- // Open dropdowns
262
- // -------------------------
263
- .nav-tabs .open .dropdown-toggle,
264
- .nav-pills .open .dropdown-toggle,
265
- .nav > li.dropdown.open.active > a:hover {
266
- color: #fff;
267
- background-color: @grayLight;
268
- border-color: @grayLight;
269
- }
270
- .nav li.dropdown.open .caret,
271
- .nav li.dropdown.open.active .caret,
272
- .nav li.dropdown.open a:hover .caret {
273
- border-top-color: #fff;
274
- border-bottom-color: #fff;
275
- .opacity(1);
276
- }
277
-
278
- // Dropdowns in stacked tabs
279
- .tabs-stacked .open > a:hover {
280
- border-color: @grayLight;
281
- }
282
-
283
- */
@@ -1,396 +0,0 @@
1
- /*! normalize.css v2.1.0 | MIT License | git.io/normalize */
2
-
3
- // ==========================================================================
4
- // HTML5 display definitions
5
- // ==========================================================================
6
-
7
- //
8
- // Correct `block` display not defined in IE 8/9.
9
- //
10
-
11
- article,
12
- aside,
13
- details,
14
- figcaption,
15
- figure,
16
- footer,
17
- header,
18
- hgroup,
19
- main,
20
- nav,
21
- section,
22
- summary {
23
- display: block;
24
- }
25
-
26
- //
27
- // Correct `inline-block` display not defined in IE 8/9.
28
- //
29
-
30
- audio,
31
- canvas,
32
- video {
33
- display: inline-block;
34
- }
35
-
36
- //
37
- // Prevent modern browsers from displaying `audio` without controls.
38
- // Remove excess height in iOS 5 devices.
39
- //
40
-
41
- audio:not([controls]) {
42
- display: none;
43
- height: 0;
44
- }
45
-
46
- //
47
- // Address styling not present in IE 8/9.
48
- //
49
-
50
- [hidden] {
51
- display: none;
52
- }
53
-
54
- // ==========================================================================
55
- // Base
56
- // ==========================================================================
57
-
58
- //
59
- // 1. Set default font family to sans-serif.
60
- // 2. Prevent iOS text size adjust after orientation change, without disabling
61
- // user zoom.
62
- //
63
-
64
- html {
65
- font-family: sans-serif; // 1
66
- -webkit-text-size-adjust: 100%; // 2
67
- -ms-text-size-adjust: 100%; // 2
68
- }
69
-
70
- //
71
- // Remove default margin.
72
- //
73
-
74
- body {
75
- margin: 0;
76
- }
77
-
78
- // ==========================================================================
79
- // Links
80
- // ==========================================================================
81
-
82
- //
83
- // Address `outline` inconsistency between Chrome and other browsers.
84
- //
85
-
86
- a:focus {
87
- outline: thin dotted;
88
- }
89
-
90
- //
91
- // Improve readability when focused and also mouse hovered in all browsers.
92
- //
93
-
94
- a:active,
95
- a:hover {
96
- outline: 0;
97
- }
98
-
99
- // ==========================================================================
100
- // Typography
101
- // ==========================================================================
102
-
103
- //
104
- // Address variable `h1` font-size and margin within `section` and `article`
105
- // contexts in Firefox 4+, Safari 5, and Chrome.
106
- //
107
-
108
- h1 {
109
- font-size: 2em;
110
- margin: 0.67em 0;
111
- }
112
-
113
- //
114
- // Address styling not present in IE 8/9, Safari 5, and Chrome.
115
- //
116
-
117
- abbr[title] {
118
- border-bottom: 1px dotted;
119
- }
120
-
121
- //
122
- // Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
123
- //
124
-
125
- b,
126
- strong {
127
- font-weight: bold;
128
- }
129
-
130
- //
131
- // Address styling not present in Safari 5 and Chrome.
132
- //
133
-
134
- dfn {
135
- font-style: italic;
136
- }
137
-
138
- //
139
- // Address differences between Firefox and other browsers.
140
- //
141
-
142
- hr {
143
- -moz-box-sizing: content-box;
144
- box-sizing: content-box;
145
- height: 0;
146
- }
147
-
148
- //
149
- // Address styling not present in IE 8/9.
150
- //
151
-
152
- mark {
153
- background: #ff0;
154
- color: #000;
155
- }
156
-
157
- //
158
- // Correct font family set oddly in Safari 5 and Chrome.
159
- //
160
-
161
- code,
162
- kbd,
163
- pre,
164
- samp {
165
- font-family: monospace, serif;
166
- font-size: 1em;
167
- }
168
-
169
- //
170
- // Improve readability of pre-formatted text in all browsers.
171
- //
172
-
173
- pre {
174
- white-space: pre-wrap;
175
- }
176
-
177
- //
178
- // Set consistent quote types.
179
- //
180
-
181
- q {
182
- quotes: "\201C" "\201D" "\2018" "\2019";
183
- }
184
-
185
- //
186
- // Address inconsistent and variable font size in all browsers.
187
- //
188
-
189
- small {
190
- font-size: 80%;
191
- }
192
-
193
- //
194
- // Prevent `sub` and `sup` affecting `line-height` in all browsers.
195
- //
196
-
197
- sub,
198
- sup {
199
- font-size: 75%;
200
- line-height: 0;
201
- position: relative;
202
- vertical-align: baseline;
203
- }
204
-
205
- sup {
206
- top: -0.5em;
207
- }
208
-
209
- sub {
210
- bottom: -0.25em;
211
- }
212
-
213
- // ==========================================================================
214
- // Embedded content
215
- // ==========================================================================
216
-
217
- //
218
- // Remove border when inside `a` element in IE 8/9.
219
- //
220
-
221
- img {
222
- border: 0;
223
- }
224
-
225
- //
226
- // Correct overflow displayed oddly in IE 9.
227
- //
228
-
229
- svg:not(:root) {
230
- overflow: hidden;
231
- }
232
-
233
- // ==========================================================================
234
- // Figures
235
- // ==========================================================================
236
-
237
- //
238
- // Address margin not present in IE 8/9 and Safari 5.
239
- //
240
-
241
- figure {
242
- margin: 0;
243
- }
244
-
245
- // ==========================================================================
246
- // Forms
247
- // ==========================================================================
248
-
249
- //
250
- // Define consistent border, margin, and padding.
251
- //
252
-
253
- fieldset {
254
- border: 1px solid #c0c0c0;
255
- margin: 0 2px;
256
- padding: 0.35em 0.625em 0.75em;
257
- }
258
-
259
- //
260
- // 1. Correct `color` not being inherited in IE 8/9.
261
- // 2. Remove padding so people aren't caught out if they zero out fieldsets.
262
- //
263
-
264
- legend {
265
- border: 0; // 1
266
- padding: 0; // 2
267
- }
268
-
269
- //
270
- // 1. Correct font family not being inherited in all browsers.
271
- // 2. Correct font size not being inherited in all browsers.
272
- // 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
273
- //
274
-
275
- button,
276
- input,
277
- select,
278
- textarea {
279
- font-family: inherit; // 1
280
- font-size: 100%; // 2
281
- margin: 0; // 3
282
- }
283
-
284
- //
285
- // Address Firefox 4+ setting `line-height` on `input` using `!important` in
286
- // the UA stylesheet.
287
- //
288
-
289
- button,
290
- input {
291
- line-height: normal;
292
- }
293
-
294
- //
295
- // Address inconsistent `text-transform` inheritance for `button` and `select`.
296
- // All other form control elements do not inherit `text-transform` values.
297
- // Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
298
- // Correct `select` style inheritance in Firefox 4+ and Opera.
299
- //
300
-
301
- button,
302
- select {
303
- text-transform: none;
304
- }
305
-
306
- //
307
- // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
308
- // and `video` controls.
309
- // 2. Correct inability to style clickable `input` types in iOS.
310
- // 3. Improve usability and consistency of cursor style between image-type
311
- // `input` and others.
312
- //
313
-
314
- button,
315
- html input[type="button"], // 1
316
- input[type="reset"],
317
- input[type="submit"] {
318
- -webkit-appearance: button; // 2
319
- cursor: pointer; // 3
320
- }
321
-
322
- //
323
- // Re-set default cursor for disabled elements.
324
- //
325
-
326
- button[disabled],
327
- html input[disabled] {
328
- cursor: default;
329
- }
330
-
331
- //
332
- // 1. Address box sizing set to `content-box` in IE 8/9.
333
- // 2. Remove excess padding in IE 8/9.
334
- //
335
-
336
- input[type="checkbox"],
337
- input[type="radio"] {
338
- box-sizing: border-box; // 1
339
- padding: 0; // 2
340
- }
341
-
342
- //
343
- // 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
344
- // 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
345
- // (include `-moz` to future-proof).
346
- //
347
-
348
- input[type="search"] {
349
- -webkit-appearance: textfield; // 1
350
- -moz-box-sizing: content-box;
351
- -webkit-box-sizing: content-box; // 2
352
- box-sizing: content-box;
353
- }
354
-
355
- //
356
- // Remove inner padding and search cancel button in Safari 5 and Chrome
357
- // on OS X.
358
- //
359
-
360
- input[type="search"]::-webkit-search-cancel-button,
361
- input[type="search"]::-webkit-search-decoration {
362
- -webkit-appearance: none;
363
- }
364
-
365
- //
366
- // Remove inner padding and border in Firefox 4+.
367
- //
368
-
369
- button::-moz-focus-inner,
370
- input::-moz-focus-inner {
371
- border: 0;
372
- padding: 0;
373
- }
374
-
375
- //
376
- // 1. Remove default vertical scrollbar in IE 8/9.
377
- // 2. Improve readability and alignment in all browsers.
378
- //
379
-
380
- textarea {
381
- overflow: auto; // 1
382
- vertical-align: top; // 2
383
- }
384
-
385
- // ==========================================================================
386
- // Tables
387
- // ==========================================================================
388
-
389
- //
390
- // Remove most spacing between table cells.
391
- //
392
-
393
- table {
394
- border-collapse: collapse;
395
- border-spacing: 0;
396
- }