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,118 +0,0 @@
1
- //
2
- // Progress bars
3
- // --------------------------------------------------
4
-
5
-
6
- // Bar animations
7
- // -------------------------
8
-
9
- // Webkit
10
- @-webkit-keyframes progress-bar-stripes {
11
- from { background-position: 40px 0; }
12
- to { background-position: 0 0; }
13
- }
14
-
15
- // Firefox
16
- @-moz-keyframes progress-bar-stripes {
17
- from { background-position: 40px 0; }
18
- to { background-position: 0 0; }
19
- }
20
-
21
- // IE9
22
- @-ms-keyframes progress-bar-stripes {
23
- from { background-position: 40px 0; }
24
- to { background-position: 0 0; }
25
- }
26
-
27
- // Opera
28
- @-o-keyframes progress-bar-stripes {
29
- from { background-position: 0 0; }
30
- to { background-position: 40px 0; }
31
- }
32
-
33
- // Spec
34
- @keyframes progress-bar-stripes {
35
- from { background-position: 40px 0; }
36
- to { background-position: 0 0; }
37
- }
38
-
39
-
40
-
41
- // Bar itself
42
- // -------------------------
43
-
44
- // Outer container
45
- .progress {
46
- overflow: hidden;
47
- height: @line-height-base;
48
- margin-bottom: @line-height-base;
49
- background-color: @progress-bg;
50
- border-radius: @border-radius-base;
51
- .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
52
- }
53
-
54
- // Bar of progress
55
- .progress-bar {
56
- float: left;
57
- width: 0%;
58
- height: 100%;
59
- font-size: 12px;
60
- color: #fff;
61
- text-align: center;
62
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
63
- background-color: @progress-bar-bg;
64
- .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
65
- .transition(width .6s ease);
66
- }
67
-
68
- // Striped bars
69
- .progress-striped .progress-bar {
70
- #gradient > .striped(@progress-bar-bg);
71
- .background-size(40px 40px);
72
- }
73
-
74
- // Call animation for the active one
75
- .progress.active .progress-bar {
76
- -webkit-animation: progress-bar-stripes 2s linear infinite;
77
- -moz-animation: progress-bar-stripes 2s linear infinite;
78
- -ms-animation: progress-bar-stripes 2s linear infinite;
79
- -o-animation: progress-bar-stripes 2s linear infinite;
80
- animation: progress-bar-stripes 2s linear infinite;
81
- }
82
-
83
-
84
-
85
- // Variations
86
- // -------------------------
87
-
88
- // Danger (red)
89
- .progress-bar-danger {
90
- background-color: @progress-bar-danger-bg;
91
- .progress-striped & {
92
- #gradient > .striped(@progress-bar-danger-bg);
93
- }
94
- }
95
-
96
- // Success (green)
97
- .progress-bar-success {
98
- background-color: @progress-bar-success-bg;
99
- .progress-striped & {
100
- #gradient > .striped(@progress-bar-success-bg);
101
- }
102
- }
103
-
104
- // Warning (orange)
105
- .progress-bar-warning {
106
- background-color: @progress-bar-warning-bg;
107
- .progress-striped & {
108
- #gradient > .striped(@progress-bar-warning-bg);
109
- }
110
- }
111
-
112
- // Info (teal)
113
- .progress-bar-info {
114
- background-color: @progress-bar-info-bg;
115
- .progress-striped & {
116
- #gradient > .striped(@progress-bar-info-bg);
117
- }
118
- }
@@ -1,59 +0,0 @@
1
- //
2
- // Responsive: Utility classes
3
- // --------------------------------------------------
4
-
5
-
6
- // IE10 Metro responsive
7
- // Required for Windows 8 Metro split-screen snapping with IE10
8
- // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
9
- @-ms-viewport{
10
- width: device-width;
11
- }
12
-
13
- // Hide from screenreaders and browsers
14
- // Credit: HTML5 Boilerplate
15
- .hidden {
16
- display: none;
17
- visibility: hidden;
18
- }
19
-
20
- // Visibility utilities
21
-
22
- // For desktops
23
- .visible-phone { display: none !important; }
24
- .visible-tablet { display: none !important; }
25
- .hidden-phone { }
26
- .hidden-tablet { }
27
- .hidden-desktop { display: none !important; }
28
- .visible-desktop { display: inherit !important; }
29
-
30
- // Tablets & small desktops only
31
- @media (min-width: 768px) and (max-width: 979px) {
32
- // Hide everything else
33
- .hidden-desktop { display: inherit !important; }
34
- .visible-desktop { display: none !important ; }
35
- // Show
36
- .visible-tablet { display: inherit !important; }
37
- // Hide
38
- .hidden-tablet { display: none !important; }
39
- }
40
-
41
- // Phones only
42
- @media (max-width: 767px) {
43
- // Hide everything else
44
- .hidden-desktop { display: inherit !important; }
45
- .visible-desktop { display: none !important; }
46
- // Show
47
- .visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
48
- // Hide
49
- .hidden-phone { display: none !important; }
50
- }
51
-
52
- // Print utilities
53
- .visible-print { display: none !important; }
54
- .hidden-print { }
55
-
56
- @media print {
57
- .visible-print { display: inherit !important; }
58
- .hidden-print { display: none !important; }
59
- }
@@ -1,91 +0,0 @@
1
- //
2
- // Scaffolding
3
- // --------------------------------------------------
4
-
5
-
6
- // Reset the box-sizing
7
- // -------------------------
8
-
9
- * {
10
- .box-sizing(border-box);
11
- }
12
-
13
-
14
- // Body reset
15
- // -------------------------
16
-
17
- html {
18
- font-size: 62.5%;
19
- // Touch the Mobile Magic™
20
- -webkit-overflow-scrolling: touch;
21
- -webkit-tap-highlight-color: rgba(0,0,0,0);
22
- }
23
-
24
- // Disable iOS/WinMobile font size changes
25
- @media screen and (max-device-width: 480px) {
26
- html {
27
- -webkit-text-size-adjust: 100%;
28
- -ms-text-size-adjust: 100%;
29
- }
30
- }
31
-
32
- body {
33
- font-family: @font-family-base;
34
- font-size: @font-size-base;
35
- line-height: @line-height-base;
36
- color: @text-color;
37
- background-color: @body-bg;
38
- }
39
-
40
- // Reset fonts for revelant elements
41
- input,
42
- button,
43
- select,
44
- textarea {
45
- font-family: inherit;
46
- font-size: inherit;
47
- line-height: inherit;
48
- }
49
-
50
-
51
- // Links
52
- // -------------------------
53
-
54
- a {
55
- color: @link-color;
56
- text-decoration: none;
57
- }
58
- a:hover,
59
- a:focus {
60
- color: @link-hover-color;
61
- text-decoration: underline;
62
- }
63
- a:focus {
64
- .tab-focus();
65
- }
66
-
67
-
68
- // Images
69
- // -------------------------
70
-
71
- img {
72
- // Responsive images (ensure images don't scale beyond their parents)
73
- max-width: 100%; // Part 1: Set a maxium relative to the parent
74
- height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
75
-
76
- // Match vertical alignment with other comment elements
77
- vertical-align: middle;
78
- }
79
-
80
- // Rounded corners
81
- .img-rounded {
82
- border-radius: 6px;
83
- }
84
-
85
- // Image thumbnails
86
- // See thumbnails.less for `.img-thumbnail`
87
-
88
- // Perfect circle
89
- .img-circle {
90
- border-radius: 500px; // crank the border-radius so it works with most reasonably sized images
91
- }
@@ -1,241 +0,0 @@
1
- //
2
- // Tables
3
- // --------------------------------------------------
4
-
5
-
6
- table {
7
- max-width: 100%;
8
- background-color: @table-bg;
9
- }
10
- th {
11
- text-align: left;
12
- }
13
-
14
-
15
- // BASELINE STYLES
16
- // ---------------
17
-
18
- .table {
19
- width: 100%;
20
- margin-bottom: @line-height-base;
21
- // Cells
22
- thead > tr > th,
23
- tbody > tr > th,
24
- thead > tr > td,
25
- tbody > tr > td {
26
- padding: 8px;
27
- line-height: @line-height-base;
28
- vertical-align: top;
29
- border-top: 1px solid @table-border-color;
30
- }
31
- // Bottom align for column headings
32
- thead > tr > th {
33
- vertical-align: bottom;
34
- }
35
- // Remove top border from thead by default
36
- caption + thead tr:first-child th,
37
- caption + thead tr:first-child td,
38
- colgroup + thead tr:first-child th,
39
- colgroup + thead tr:first-child td,
40
- thead:first-child tr:first-child th,
41
- thead:first-child tr:first-child td {
42
- border-top: 0;
43
- }
44
- // Account for multiple tbody instances
45
- tbody + tbody {
46
- border-top: 2px solid @table-border-color;
47
- }
48
-
49
- // Nesting
50
- .table {
51
- background-color: @body-bg;
52
- }
53
- }
54
-
55
-
56
-
57
- // CONDENSED TABLE W/ HALF PADDING
58
- // -------------------------------
59
-
60
- .table-condensed {
61
- thead > tr > th,
62
- tbody > tr > th,
63
- thead > tr > td,
64
- tbody > tr > td {
65
- padding: 4px 5px;
66
- }
67
- }
68
-
69
-
70
-
71
- // BORDERED VERSION
72
- // ----------------
73
-
74
- .table-bordered {
75
- border: 1px solid @table-border-color;
76
- border-collapse: separate; // Done so we can round those corners!
77
- border-left: 0;
78
- border-radius: @border-radius-base;
79
- thead > tr > th,
80
- tbody > tr > th,
81
- thead > tr > td,
82
- tbody > tr > td {
83
- border-left: 1px solid @table-border-color;
84
- }
85
- // Prevent a double border
86
- caption + thead > tr:first-child th,
87
- caption + tbody > tr:first-child th,
88
- caption + tbody > tr:first-child td,
89
- colgroup + thead > tr:first-child th,
90
- colgroup + tbody > tr:first-child th,
91
- colgroup + tbody > tr:first-child td,
92
- thead:first-child > tr:first-child th,
93
- tbody:first-child > tr:first-child th,
94
- tbody:first-child > tr:first-child td {
95
- border-top: 0;
96
- }
97
- // For first th/td in the first row in the first thead or tbody
98
- thead:first-child > tr:first-child > th:first-child,
99
- tbody:first-child > tr:first-child > td:first-child,
100
- tbody:first-child > tr:first-child > th:first-child {
101
- border-top-left-radius: @border-radius-base;
102
- }
103
- // For last th/td in the first row in the first thead or tbody
104
- thead:first-child > tr:first-child > th:last-child,
105
- tbody:first-child > tr:first-child > td:last-child,
106
- tbody:first-child > tr:first-child > th:last-child {
107
- border-top-right-radius: @border-radius-base;
108
- }
109
- // For first th/td (can be either) in the last row in the last thead, tbody, and tfoot
110
- thead:last-child > tr:last-child > th:first-child,
111
- tbody:last-child > tr:last-child > td:first-child,
112
- tbody:last-child > tr:last-child > th:first-child,
113
- tfoot:last-child > tr:last-child > td:first-child,
114
- tfoot:last-child > tr:last-child > th:first-child {
115
- border-bottom-left-radius: @border-radius-base;
116
- }
117
- // For last th/td (can be either) in the last row in the last thead, tbody, and tfoot
118
- thead:last-child > tr:last-child > th:last-child,
119
- tbody:last-child > tr:last-child > td:last-child,
120
- tbody:last-child > tr:last-child > th:last-child,
121
- tfoot:last-child > tr:last-child > td:last-child,
122
- tfoot:last-child > tr:last-child > th:last-child {
123
- border-bottom-right-radius: @border-radius-base;
124
- }
125
-
126
- // Clear border-radius for first and last td in the last row in the last tbody for table with tfoot
127
- tfoot + tbody:last-child > tr:last-child > td:first-child {
128
- border-bottom-left-radius: 0;
129
- }
130
- tfoot + tbody:last-child > tr:last-child > td:last-child {
131
- border-bottom-right-radius: 0;
132
- }
133
-
134
- // Special fixes to round the left border on the first td/th
135
- caption + thead > tr:first-child > th:first-child,
136
- caption + tbody > tr:first-child > td:first-child,
137
- colgroup + thead > tr:first-child > th:first-child,
138
- colgroup + tbody > tr:first-child > td:first-child {
139
- border-top-left-radius: @border-radius-base;
140
- }
141
- caption + thead > tr:first-child > th:last-child,
142
- caption + tbody > tr:first-child > td:last-child,
143
- colgroup + thead > tr:first-child > th:last-child,
144
- colgroup + tbody > tr:first-child > td:last-child {
145
- border-top-right-radius: @border-radius-base;
146
- }
147
-
148
- }
149
-
150
-
151
-
152
- // ZEBRA-STRIPING
153
- // --------------
154
-
155
- // Default zebra-stripe styles (alternating gray and transparent backgrounds)
156
- .table-striped {
157
- > tbody {
158
- > tr:nth-child(odd) > td,
159
- > tr:nth-child(odd) > th {
160
- background-color: @table-bg-accent;
161
- }
162
- }
163
- }
164
-
165
-
166
-
167
- // HOVER EFFECT
168
- // ------------
169
-
170
- // Placed here since it has to come after the potential zebra striping
171
- .table-hover {
172
- > tbody {
173
- > tr:hover > td,
174
- > tr:hover > th {
175
- background-color: @table-bg-hover;
176
- }
177
- }
178
- }
179
-
180
-
181
-
182
- // TABLE CELL SIZING
183
- // -----------------
184
-
185
- // Reset default table behavior
186
- table col[class*="col-span-"] {
187
- float: none;
188
- display: table-column;
189
- }
190
- table td[class*="col-span-"],
191
- table th[class*="col-span-"] {
192
- float: none;
193
- display: table-cell;
194
- }
195
-
196
- // TABLE BACKGROUNDS
197
- // -----------------
198
- // Exact selectors below required to override .table-striped
199
-
200
- .table > tbody > tr {
201
- > td.success,
202
- > th.success,
203
- &.success > td {
204
- background-color: @state-success-bg;
205
- border-color: @state-success-border;
206
- }
207
- > td.danger,
208
- > th.danger,
209
- &.danger > td {
210
- background-color: @state-danger-bg;
211
- border-color: @state-danger-border;
212
- }
213
- > td.warning,
214
- > th.warning,
215
- &.warning > td {
216
- background-color: @state-warning-bg;
217
- border-color: @state-warning-border;
218
- }
219
- }
220
-
221
- // Hover states for .table-hover
222
- .table-hover > tbody > tr {
223
- > td.success:hover,
224
- > th.success:hover,
225
- &.success:hover > td {
226
- background-color: darken(@state-success-bg, 5%);
227
- border-color: darken(@state-success-border, 5%);
228
- }
229
- > td.danger:hover,
230
- > th.danger:hover,
231
- &.danger:hover > td {
232
- background-color: darken(@state-danger-bg, 5%);
233
- border-color: darken(@state-danger-border, 5%);
234
- }
235
- > td.warning:hover,
236
- > th.warning:hover,
237
- &.warning:hover > td {
238
- background-color: darken(@state-warning-bg, 5%);
239
- border-color: darken(@state-warning-border, 5%);
240
- }
241
- }