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,137 +0,0 @@
1
- //
2
- // Modals
3
- // --------------------------------------------------
4
-
5
- // .modal-open - body class for killing the scroll
6
- // .modal - container to scroll within
7
- // .modal-dialog - positioning shell for the actual modal
8
- // .modal-content - actual modal w/ bg and corners and shit
9
-
10
- // Kill the scroll on the body
11
- .modal-open {
12
- overflow: hidden;
13
- }
14
-
15
- // Container that the modal scrolls within
16
- .modal {
17
- display: none;
18
- overflow: auto;
19
- overflow-y: scroll;
20
- position: fixed;
21
- top: 0;
22
- right: 0;
23
- bottom: 0;
24
- left: 0;
25
- z-index: @zindex-modal-background;
26
- -webkit-overflow-scrolling: touch;
27
-
28
- // When fading in the modal, animate it to slide down
29
- &.fade {
30
- top: -25%;
31
- .transition(~"opacity 0.3s linear, top 0.3s ease-out");
32
- }
33
- &.fade.in { top: 0; }
34
- }
35
-
36
- // Shell div to position the modal with bottom padding
37
- .modal-dialog {
38
- position: relative;
39
- top: 0;
40
- left: 0;
41
- right: 0;
42
- width: auto;
43
- padding: 10px;
44
- z-index: (@zindex-modal-background + 10);
45
- }
46
-
47
- // Actual modal
48
- .modal-content {
49
- position: relative;
50
- background-color: #fff;
51
- border: 1px solid #999;
52
- border: 1px solid rgba(0,0,0,.2);
53
- border-radius: 6px;
54
- .box-shadow(0 3px 9px rgba(0,0,0,.5));
55
- .background-clip(padding-box);
56
- // Remove focus outline from opened modal
57
- outline: none;
58
- }
59
-
60
- // Modal background
61
- .modal-backdrop {
62
- position: fixed;
63
- top: 0;
64
- right: 0;
65
- bottom: 0;
66
- left: 0;
67
- z-index: (@zindex-modal-background - 10);
68
- background-color: #000;
69
- // Fade for backdrop
70
- &.fade { .opacity(0); }
71
- &.fade.in { .opacity(.5); }
72
- }
73
-
74
- // Modal header
75
- // Top section of the modal w/ title and dismiss
76
- .modal-header {
77
- padding: @modal-title-padding;
78
- border-bottom: 1px solid #e5e5e5;
79
- min-height: (@modal-title-padding + @modal-title-line-height);
80
- }
81
- // Close icon
82
- .modal-header .close {
83
- margin-top: -2px;
84
- }
85
-
86
- // Title text within header
87
- .modal-title {
88
- margin: 0;
89
- line-height: @modal-title-line-height;
90
- }
91
-
92
- // Modal body
93
- // Where all modal content resides (sibling of .modal-header and .modal-footer)
94
- .modal-body {
95
- position: relative;
96
- padding: @modal-inner-padding;
97
- }
98
-
99
- // Footer (for actions)
100
- .modal-footer {
101
- margin-top: 15px;
102
- padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
103
- text-align: right; // right align buttons
104
- border-top: 1px solid #e5e5e5;
105
- .clearfix(); // clear it in case folks use .pull-* classes on buttons
106
-
107
- // Properly space out buttons
108
- .btn + .btn {
109
- margin-left: 5px;
110
- margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
111
- }
112
- // but override that for button groups
113
- .btn-group .btn + .btn {
114
- margin-left: -1px;
115
- }
116
- // and override it for block buttons as well
117
- .btn-block + .btn-block {
118
- margin-left: 0;
119
- }
120
- }
121
-
122
- // Scale up the modal
123
- @media screen and (min-width: 768px) {
124
-
125
- .modal-dialog {
126
- left: 50%;
127
- right: auto;
128
- width: 560px;
129
- margin-left: -280px;
130
- padding-top: 30px;
131
- padding-bottom: 30px;
132
- }
133
- .modal-content {
134
- .box-shadow(0 5px 15px rgba(0,0,0,.5));
135
- }
136
-
137
- }
@@ -1,389 +0,0 @@
1
- //
2
- // Navbars
3
- // --------------------------------------------------
4
-
5
- // Wrapper and base class
6
- .navbar {
7
- position: relative;
8
- padding: 10px 15px;
9
- background-color: @navbar-bg;
10
- border-radius: @border-radius-base;
11
- // Prevent floats from breaking the navbar
12
- .clearfix();
13
- }
14
-
15
- // Navbar nav links
16
- // -------------------------
17
-
18
- .navbar {
19
- .nav {
20
- // space out from .navbar .brand and .btn-navbar
21
- margin-top: 15px;
22
- }
23
- .nav > li > a {
24
- padding-top: ((@navbar-height - @line-height-base) / 2);
25
- padding-bottom: ((@navbar-height - @line-height-base) / 2);
26
- color: @navbar-link-color;
27
- line-height: 20px;
28
- }
29
- .nav > li > a:hover,
30
- .nav > li > a:focus {
31
- color: @navbar-link-hover-color;
32
- background-color: @navbar-link-hover-bg;
33
- }
34
- .nav > .active > a,
35
- .nav > .active > a:hover,
36
- .nav > .active > a:focus {
37
- color: @navbar-link-active-color;
38
- background-color: @navbar-link-active-bg;
39
- }
40
- .nav > .disabled > a,
41
- .nav > .disabled > a:hover,
42
- .nav > .disabled > a:focus {
43
- color: @navbar-link-disabled-color;
44
- background-color: @navbar-link-disabled-bg;
45
- }
46
- }
47
-
48
-
49
-
50
- //
51
- // Navbar alignment options
52
- // --------------------------------------------------
53
-
54
- // Static navbar
55
- .navbar-static-top {
56
- border-radius: 0;
57
- }
58
-
59
- // Fix the top/bottom navbars when screen real estate supports it
60
- .navbar-fixed-top,
61
- .navbar-fixed-bottom {
62
- position: fixed;
63
- right: 0;
64
- left: 0;
65
- z-index: @zindex-navbar-fixed;
66
- border-radius: 0;
67
- }
68
- .navbar-fixed-top { top: 0; }
69
- .navbar-fixed-bottom { bottom: 0; }
70
-
71
-
72
-
73
- //
74
- // Navbar optional components
75
- // --------------------------------------------------
76
-
77
- // Brand/project name
78
- .navbar-brand {
79
- display: block;
80
- max-width: 200px;
81
- margin-left: auto;
82
- margin-right: auto;
83
- padding: 7px 15px;
84
- font-size: 18px;
85
- font-weight: 500;
86
- line-height: @line-height-base;
87
- color: @navbar-brand-color;
88
- text-align: center;
89
- &:hover,
90
- &:focus {
91
- color: @navbar-brand-hover-color;
92
- text-decoration: none;
93
- background-color: @navbar-brand-hover-bg;
94
- }
95
- }
96
-
97
- // Collapsible navbar toggle
98
- .navbar-toggle {
99
- position: absolute;
100
- top: 10px;
101
- right: 10px;
102
- padding: 8px 12px;
103
- background-color: transparent;
104
- border: 1px solid #ddd;
105
- border-radius: 4px;
106
-
107
- &:hover,
108
- &:focus {
109
- background-color: #ddd;
110
- }
111
-
112
- // Bars
113
- .icon-bar {
114
- display: block;
115
- width: 22px;
116
- height: 2px;
117
- background-color: #ccc;
118
- border-radius: 1px;
119
- }
120
- .icon-bar + .icon-bar {
121
- margin-top: 4px;
122
- }
123
- }
124
-
125
- // Dividers in navbar
126
- .navbar .nav > .divider {
127
- .nav-divider(darken(@navbar-bg, 5%), lighten(@navbar-bg, 5%));
128
- }
129
-
130
- // Navbar form
131
- .navbar-form {
132
- .navbar-vertical-align(34px); // Vertically center in navbar
133
- }
134
-
135
- // Dropdown menus
136
-
137
- // Menu position and menu carets
138
- .navbar .nav > li > .dropdown-menu {
139
- margin-top: 0;
140
- border-top-left-radius: 0;
141
- border-top-right-radius: 0;
142
- }
143
- // Menu position and menu caret support for dropups via extra dropup class
144
- .navbar-fixed-bottom .nav > li > .dropdown-menu {
145
- border-bottom-left-radius: 0;
146
- border-bottom-right-radius: 0;
147
- }
148
-
149
- // Dropdown menu items and carets
150
- .navbar .nav {
151
- // Caret should match text color on hover
152
- li.dropdown > a:hover .caret,
153
- li.dropdown > a:focus .caret {
154
- border-top-color: @navbar-link-hover-color;
155
- border-bottom-color: @navbar-link-hover-color;
156
- }
157
-
158
- // Remove background color from open dropdown
159
- li.dropdown.open > .dropdown-toggle,
160
- li.dropdown.active > .dropdown-toggle,
161
- li.dropdown.open.active > .dropdown-toggle {
162
- background-color: @navbar-link-active-bg;
163
- color: @navbar-link-active-color;
164
- }
165
- li.dropdown > .dropdown-toggle .caret {
166
- border-top-color: @navbar-link-color;
167
- border-bottom-color: @navbar-link-color;
168
- }
169
- li.dropdown.open > .dropdown-toggle .caret,
170
- li.dropdown.active > .dropdown-toggle .caret,
171
- li.dropdown.open.active > .dropdown-toggle .caret {
172
- border-top-color: @navbar-link-active-color;
173
- border-bottom-color: @navbar-link-active-color;
174
- }
175
- }
176
-
177
- // Right aligned menus need alt position
178
- .navbar .pull-right > li > .dropdown-menu,
179
- .navbar .nav > li > .dropdown-menu.pull-right {
180
- left: auto;
181
- right: 0;
182
- }
183
-
184
-
185
-
186
- // Inverse navbar
187
- // --------------------------------------------------
188
-
189
- .navbar-inverse {
190
- background-color: @navbar-inverse-bg;
191
-
192
- .navbar-brand {
193
- color: @navbar-inverse-brand-color;
194
- &:hover,
195
- &:focus {
196
- color: @navbar-inverse-brand-hover-color;
197
- background-color: @navbar-inverse-brand-hover-bg;
198
- }
199
- }
200
-
201
- .navbar-text {
202
- color: @navbar-inverse-text;
203
- }
204
-
205
- .nav > li > a {
206
- color: @navbar-inverse-link-color;
207
- }
208
- .nav > li > a:hover,
209
- .nav > li > a:focus {
210
- color: @navbar-inverse-link-hover-color;
211
- background-color: @navbar-inverse-link-hover-bg;
212
- }
213
- .nav > .active > a,
214
- .nav > .active > a:hover,
215
- .nav > .active > a:focus {
216
- color: @navbar-inverse-link-active-color;
217
- background-color: @navbar-inverse-link-active-bg;
218
- }
219
- .nav > .disabled > a,
220
- .nav > .disabled > a:hover,
221
- .nav > .disabled > a:focus {
222
- color: @navbar-inverse-link-disabled-color;
223
- background-color: @navbar-inverse-link-disabled-bg;
224
- }
225
-
226
- // Darken the responsive nav toggle
227
- .navbar-toggle {
228
- border-color: #333;
229
- &:hover,
230
- &:focus {
231
- background-color: #333;
232
- }
233
- .icon-bar {
234
- background-color: #fff;
235
- }
236
- }
237
-
238
- // Darken dividers
239
- .nav > .divider {
240
- background-color: darken(@navbar-inverse-bg, 5%);
241
- border-bottom-color: lighten(@navbar-inverse-bg, 5%);
242
- }
243
-
244
- // Dropdowns
245
- .nav li.dropdown.open > .dropdown-toggle,
246
- .nav li.dropdown.active > .dropdown-toggle,
247
- .nav li.dropdown.open.active > .dropdown-toggle {
248
- background-color: @navbar-inverse-link-active-bg;
249
- color: @navbar-inverse-link-active-color;
250
- }
251
- .nav li.dropdown > a:hover .caret {
252
- border-top-color: @navbar-inverse-link-hover-color;
253
- border-bottom-color: @navbar-inverse-link-hover-color;
254
- }
255
- .nav li.dropdown > .dropdown-toggle .caret {
256
- border-top-color: @navbar-inverse-link-color;
257
- border-bottom-color: @navbar-inverse-link-color;
258
- }
259
- .nav li.dropdown.open > .dropdown-toggle .caret,
260
- .nav li.dropdown.active > .dropdown-toggle .caret,
261
- .nav li.dropdown.open.active > .dropdown-toggle .caret {
262
- border-top-color: @navbar-inverse-link-active-color;
263
- border-bottom-color: @navbar-inverse-link-active-color;
264
- }
265
- }
266
-
267
-
268
-
269
- // Inverse navbar
270
- // --------------------------------------------------
271
-
272
- @media screen and (min-width: 768px) {
273
- .navbar {
274
- padding-top: 0;
275
- padding-bottom: 0;
276
- }
277
- .navbar-brand {
278
- float: left;
279
- padding-top: ((@navbar-height - @line-height-base) / 2);
280
- padding-bottom: ((@navbar-height - @line-height-base) / 2);
281
- margin-left: -10px;
282
- }
283
- .navbar .nav {
284
- float: left;
285
- margin-top: 0; // undo top margin to make nav extend full height of navbar
286
- .clearfix();
287
-
288
- &.pull-right {
289
- float: right;
290
- }
291
- }
292
- .navbar .nav > li {
293
- float: left;
294
- }
295
-
296
- // Dividers go vertical
297
- // Change the height and height, disable bottom border, then add right border
298
- .navbar .nav > .divider {
299
- width: 1px;
300
- height: (@navbar-height * .6);
301
- margin: (@navbar-height * .2) 9px;
302
- border-bottom: 0;
303
- border-right: 1px solid lighten(@navbar-bg, 5%);
304
- }
305
- // Since we override the border, we need to specify it again for inverted navbars
306
- .navbar-inverse .nav > .divider {
307
- border-right-color: lighten(@navbar-inverse-bg, 5%);
308
- }
309
-
310
- .navbar-fixed-left {
311
- padding-left: 0;
312
- padding-right: 0;
313
- }
314
- .navbar-fixed-left .navbar-brand,
315
- .navbar-fixed-left .nav,
316
- .navbar-fixed-left .nav > li {
317
- float: none;
318
- }
319
-
320
- // Required to make the collapsing navbar work on regular desktops
321
- .navbar-toggle {
322
- position: relative;
323
- top: auto;
324
- left: auto;
325
- display: none;
326
- }
327
- .nav-collapse.collapse {
328
- height: auto !important;
329
- overflow: visible !important;
330
- }
331
-
332
- }
333
-
334
- /*
335
-
336
- // Janky solution for now to account for links outside the .nav
337
- // -------------------------
338
- .navbar-link {
339
- color: @navbar-link-color;
340
- &:hover {
341
- color: @navbar-link-hover-color;
342
- }
343
- }
344
-
345
- // Buttons in navbar
346
- // -------------------------
347
- .navbar .btn,
348
- .navbar .btn-group {
349
- .navbarVerticalAlign(30px); // Vertically center in navbar
350
- }
351
- .navbar .btn-group .btn,
352
- .navbar .input-prepend .btn,
353
- .navbar .input-append .btn {
354
- margin-top: 0; // then undo the margin here so we don't accidentally double it
355
- }
356
-
357
- // Navbar forms
358
- // -------------------------
359
- .navbar-form {
360
- margin-bottom: 0; // remove default bottom margin
361
- .clearfix();
362
- input,
363
- select,
364
- .radio,
365
- .checkbox {
366
- .navbarVerticalAlign(30px); // Vertically center in navbar
367
- }
368
- input,
369
- select,
370
- .btn {
371
- display: inline-block;
372
- margin-bottom: 0;
373
- }
374
- input[type="image"],
375
- input[type="checkbox"],
376
- input[type="radio"] {
377
- margin-top: 3px;
378
- }
379
- .input-append,
380
- .input-prepend {
381
- margin-top: 5px;
382
- white-space: nowrap; // preven two items from separating within a .navbar-form that has .pull-left
383
- input {
384
- margin-top: 0; // remove the margin on top since it's on the parent
385
- }
386
- }
387
- }
388
-
389
- */