bootstrap-generators 3.0.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/Rakefile +3 -7
- data/lib/bootstrap/generators/version.rb +1 -1
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +57 -40
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +57 -40
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.erb +1 -1
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.haml +1 -1
- data/readme-template.md.erb +1 -1
- data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.svg +200 -199
- data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/javascripts/bootstrap.js +5 -5
- data/vendor/assets/javascripts/bootstrap/affix.js +4 -4
- data/vendor/assets/javascripts/bootstrap/alert.js +3 -3
- data/vendor/assets/javascripts/bootstrap/button.js +3 -3
- data/vendor/assets/javascripts/bootstrap/carousel.js +4 -4
- data/vendor/assets/javascripts/bootstrap/collapse.js +4 -4
- data/vendor/assets/javascripts/bootstrap/dropdown.js +4 -4
- data/vendor/assets/javascripts/bootstrap/modal.js +4 -4
- data/vendor/assets/javascripts/bootstrap/popover.js +4 -4
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +4 -4
- data/vendor/assets/javascripts/bootstrap/tab.js +5 -5
- data/vendor/assets/javascripts/bootstrap/tooltip.js +4 -4
- data/vendor/assets/javascripts/bootstrap/transition.js +3 -3
- data/vendor/assets/stylesheets/bootstrap.css +1039 -746
- data/vendor/twitter/bootstrap/less/alerts.less +1 -1
- data/vendor/twitter/bootstrap/less/bootstrap.less +0 -10
- data/vendor/twitter/bootstrap/less/breadcrumbs.less +2 -2
- data/vendor/twitter/bootstrap/less/button-groups.less +6 -1
- data/vendor/twitter/bootstrap/less/buttons.less +2 -4
- data/vendor/twitter/bootstrap/less/carousel.less +32 -10
- data/vendor/twitter/bootstrap/less/code.less +5 -8
- data/vendor/twitter/bootstrap/less/dropdowns.less +1 -2
- data/vendor/twitter/bootstrap/less/forms.less +21 -10
- data/vendor/twitter/bootstrap/less/glyphicons.less +20 -15
- data/vendor/twitter/bootstrap/less/grid.less +32 -285
- data/vendor/twitter/bootstrap/less/input-groups.less +9 -0
- data/vendor/twitter/bootstrap/less/jumbotron.less +2 -2
- data/vendor/twitter/bootstrap/less/list-group.less +12 -12
- data/vendor/twitter/bootstrap/less/mixins.less +164 -29
- data/vendor/twitter/bootstrap/less/modals.less +2 -11
- data/vendor/twitter/bootstrap/less/navbar.less +10 -7
- data/vendor/twitter/bootstrap/less/navs.less +53 -20
- data/vendor/twitter/bootstrap/less/normalize.less +16 -6
- data/vendor/twitter/bootstrap/less/pagination.less +2 -0
- data/vendor/twitter/bootstrap/less/panels.less +31 -7
- data/vendor/twitter/bootstrap/less/print.less +6 -1
- data/vendor/twitter/bootstrap/less/progress-bars.less +4 -7
- data/vendor/twitter/bootstrap/less/responsive-utilities.less +57 -68
- data/vendor/twitter/bootstrap/less/scaffolding.less +1 -12
- data/vendor/twitter/bootstrap/less/tables.less +40 -40
- data/vendor/twitter/bootstrap/less/theme.less +32 -17
- data/vendor/twitter/bootstrap/less/thumbnails.less +14 -15
- data/vendor/twitter/bootstrap/less/tooltip.less +8 -8
- data/vendor/twitter/bootstrap/less/type.less +71 -30
- data/vendor/twitter/bootstrap/less/utilities.less +15 -1
- data/vendor/twitter/bootstrap/less/variables.less +56 -39
- data/vendor/twitter/bootstrap/sass/_alerts.scss +1 -1
- data/vendor/twitter/bootstrap/sass/_breadcrumbs.scss +2 -2
- data/vendor/twitter/bootstrap/sass/_button-groups.scss +6 -1
- data/vendor/twitter/bootstrap/sass/_buttons.scss +2 -4
- data/vendor/twitter/bootstrap/sass/_carousel.scss +32 -10
- data/vendor/twitter/bootstrap/sass/_close.scss +2 -0
- data/vendor/twitter/bootstrap/sass/_code.scss +5 -8
- data/vendor/twitter/bootstrap/sass/_dropdowns.scss +1 -2
- data/vendor/twitter/bootstrap/sass/_forms.scss +23 -10
- data/vendor/twitter/bootstrap/sass/_glyphicons.scss +20 -15
- data/vendor/twitter/bootstrap/sass/_grid.scss +32 -285
- data/vendor/twitter/bootstrap/sass/_input-groups.scss +9 -0
- data/vendor/twitter/bootstrap/sass/_jumbotron.scss +2 -2
- data/vendor/twitter/bootstrap/sass/_list-group.scss +16 -16
- data/vendor/twitter/bootstrap/sass/_mixins.scss +167 -34
- data/vendor/twitter/bootstrap/sass/_modals.scss +2 -15
- data/vendor/twitter/bootstrap/sass/_navbar.scss +10 -7
- data/vendor/twitter/bootstrap/sass/_navs.scss +53 -20
- data/vendor/twitter/bootstrap/sass/_normalize.scss +16 -6
- data/vendor/twitter/bootstrap/sass/_pagination.scss +2 -0
- data/vendor/twitter/bootstrap/sass/_panels.scss +31 -7
- data/vendor/twitter/bootstrap/sass/_print.scss +6 -1
- data/vendor/twitter/bootstrap/sass/_progress-bars.scss +4 -7
- data/vendor/twitter/bootstrap/sass/_responsive-utilities.scss +37 -48
- data/vendor/twitter/bootstrap/sass/_scaffolding.scss +1 -12
- data/vendor/twitter/bootstrap/sass/_tables.scss +52 -44
- data/vendor/twitter/bootstrap/sass/_theme.scss +26 -11
- data/vendor/twitter/bootstrap/sass/_thumbnails.scss +13 -12
- data/vendor/twitter/bootstrap/sass/_tooltip.scss +8 -8
- data/vendor/twitter/bootstrap/sass/_type.scss +71 -30
- data/vendor/twitter/bootstrap/sass/_utilities.scss +15 -1
- data/vendor/twitter/bootstrap/sass/_variables.scss +56 -39
- data/vendor/twitter/bootstrap/sass/bootstrap.scss +0 -10
- metadata +2 -5
- data/vendor/assets/javascripts/bootstrap-ie.js +0 -2
- data/vendor/assets/javascripts/bootstrap-ie/html5shiv.js +0 -8
- data/vendor/assets/javascripts/bootstrap-ie/respond.min.js +0 -6
@@ -10,14 +10,6 @@
|
|
10
10
|
// Kill the scroll on the body
|
11
11
|
.modal-open {
|
12
12
|
overflow: hidden;
|
13
|
-
|
14
|
-
|
15
|
-
// Account for hiding of scrollbar
|
16
|
-
body&,
|
17
|
-
.navbar-fixed-top,
|
18
|
-
.navbar-fixed-bottom {
|
19
|
-
margin-right: 15px
|
20
|
-
}
|
21
13
|
}
|
22
14
|
|
23
15
|
// Container that the modal scrolls within
|
@@ -42,6 +34,7 @@
|
|
42
34
|
|
43
35
|
// Shell div to position the modal with bottom padding
|
44
36
|
.modal-dialog {
|
37
|
+
position: relative;
|
45
38
|
margin-left: auto;
|
46
39
|
margin-right: auto;
|
47
40
|
width: auto;
|
@@ -125,11 +118,9 @@
|
|
125
118
|
}
|
126
119
|
|
127
120
|
// Scale up the modal
|
128
|
-
@media screen and (min-width: @screen-
|
121
|
+
@media screen and (min-width: @screen-sm-min) {
|
129
122
|
|
130
123
|
.modal-dialog {
|
131
|
-
left: 50%;
|
132
|
-
right: auto;
|
133
124
|
width: 600px;
|
134
125
|
padding-top: 30px;
|
135
126
|
padding-bottom: 30px;
|
@@ -10,7 +10,6 @@
|
|
10
10
|
|
11
11
|
.navbar {
|
12
12
|
position: relative;
|
13
|
-
z-index: @zindex-navbar;
|
14
13
|
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
15
14
|
margin-bottom: @navbar-margin-bottom;
|
16
15
|
border: 1px solid transparent;
|
@@ -75,7 +74,7 @@
|
|
75
74
|
}
|
76
75
|
|
77
76
|
&.in {
|
78
|
-
overflow-y:
|
77
|
+
overflow-y: auto;
|
79
78
|
}
|
80
79
|
|
81
80
|
// Account for first and last children spacing
|
@@ -111,12 +110,14 @@
|
|
111
110
|
//
|
112
111
|
// Navbar alignment options
|
113
112
|
//
|
114
|
-
// Display the navbar across the
|
113
|
+
// Display the navbar across the entirety of the page or fixed it to the top or
|
115
114
|
// bottom of the page.
|
116
115
|
|
117
116
|
// Static top (unfixed, but 100% wide) navbar
|
118
117
|
.navbar-static-top {
|
118
|
+
z-index: @zindex-navbar;
|
119
119
|
border-width: 0 0 1px;
|
120
|
+
|
120
121
|
@media (min-width: @grid-float-breakpoint) {
|
121
122
|
border-radius: 0;
|
122
123
|
}
|
@@ -128,7 +129,7 @@
|
|
128
129
|
position: fixed;
|
129
130
|
right: 0;
|
130
131
|
left: 0;
|
131
|
-
|
132
|
+
z-index: @zindex-navbar-fixed;
|
132
133
|
|
133
134
|
// Undo the rounded corners
|
134
135
|
@media (min-width: @grid-float-breakpoint) {
|
@@ -136,12 +137,13 @@
|
|
136
137
|
}
|
137
138
|
}
|
138
139
|
.navbar-fixed-top {
|
139
|
-
z-index: @zindex-navbar-fixed;
|
140
140
|
top: 0;
|
141
|
+
border-width: 0 0 1px;
|
141
142
|
}
|
142
143
|
.navbar-fixed-bottom {
|
143
144
|
bottom: 0;
|
144
145
|
margin-bottom: 0; // override .navbar defaults
|
146
|
+
border-width: 1px 0 0;
|
145
147
|
}
|
146
148
|
|
147
149
|
|
@@ -152,6 +154,7 @@
|
|
152
154
|
padding: @navbar-padding-vertical @navbar-padding-horizontal;
|
153
155
|
font-size: @font-size-large;
|
154
156
|
line-height: @line-height-computed;
|
157
|
+
|
155
158
|
&:hover,
|
156
159
|
&:focus {
|
157
160
|
text-decoration: none;
|
@@ -254,7 +257,7 @@
|
|
254
257
|
|
255
258
|
// Component alignment
|
256
259
|
//
|
257
|
-
// Repurpose the pull utilities as their own navbar utilities to avoid
|
260
|
+
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
258
261
|
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
259
262
|
// though so that navbar contents properly stack and align in mobile.
|
260
263
|
|
@@ -408,7 +411,7 @@
|
|
408
411
|
|
409
412
|
.navbar-collapse,
|
410
413
|
.navbar-form {
|
411
|
-
border-color:
|
414
|
+
border-color: @navbar-default-border;
|
412
415
|
}
|
413
416
|
|
414
417
|
// Dropdown menu items and carets
|
@@ -48,15 +48,25 @@
|
|
48
48
|
&:focus {
|
49
49
|
background-color: @nav-link-hover-bg;
|
50
50
|
border-color: @link-color;
|
51
|
+
|
52
|
+
.caret {
|
53
|
+
border-top-color: @link-hover-color;
|
54
|
+
border-bottom-color: @link-hover-color;
|
55
|
+
}
|
51
56
|
}
|
52
57
|
}
|
53
58
|
|
54
|
-
//
|
59
|
+
// Nav dividers (deprecated with v3.0.1)
|
60
|
+
//
|
61
|
+
// This should have been removed in v3 with the dropping of `.nav-list`, but
|
62
|
+
// we missed it. We don't currently support this anywhere, but in the interest
|
63
|
+
// of maintaining backward compatibility in case you use it, it's deprecated.
|
55
64
|
.nav-divider {
|
56
65
|
.nav-divider();
|
57
66
|
}
|
58
67
|
|
59
68
|
// Prevent IE8 from misplacing imgs
|
69
|
+
//
|
60
70
|
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
61
71
|
> li > a > img {
|
62
72
|
max-width: none;
|
@@ -115,7 +125,7 @@
|
|
115
125
|
|
116
126
|
// Links rendered as pills
|
117
127
|
> a {
|
118
|
-
border-radius:
|
128
|
+
border-radius: @nav-pills-border-radius;
|
119
129
|
}
|
120
130
|
+ li {
|
121
131
|
margin-left: 2px;
|
@@ -128,6 +138,11 @@
|
|
128
138
|
&:focus {
|
129
139
|
color: @nav-pills-active-link-hover-color;
|
130
140
|
background-color: @nav-pills-active-link-hover-bg;
|
141
|
+
|
142
|
+
.caret {
|
143
|
+
border-top-color: @nav-pills-active-link-hover-color;
|
144
|
+
border-bottom-color: @nav-pills-active-link-hover-color;
|
145
|
+
}
|
131
146
|
}
|
132
147
|
}
|
133
148
|
}
|
@@ -159,28 +174,54 @@
|
|
159
174
|
float: none;
|
160
175
|
> a {
|
161
176
|
text-align: center;
|
177
|
+
margin-bottom: 5px;
|
162
178
|
}
|
163
179
|
}
|
164
180
|
|
165
|
-
|
181
|
+
> .dropdown .dropdown-menu {
|
182
|
+
top: auto;
|
183
|
+
left: auto;
|
184
|
+
}
|
185
|
+
|
186
|
+
@media (min-width: @screen-sm-min) {
|
166
187
|
> li {
|
167
188
|
display: table-cell;
|
168
189
|
width: 1%;
|
190
|
+
> a {
|
191
|
+
margin-bottom: 0;
|
192
|
+
}
|
169
193
|
}
|
170
194
|
}
|
171
195
|
}
|
172
196
|
|
173
197
|
// Move borders to anchors instead of bottom of list
|
198
|
+
//
|
199
|
+
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
174
200
|
.nav-tabs-justified {
|
175
201
|
border-bottom: 0;
|
176
|
-
> li > a {
|
177
|
-
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
|
178
202
|
|
203
|
+
> li > a {
|
179
204
|
// Override margin from .nav-tabs
|
180
205
|
margin-right: 0;
|
206
|
+
border-radius: @border-radius-base;
|
181
207
|
}
|
182
|
-
|
183
|
-
|
208
|
+
|
209
|
+
> .active > a,
|
210
|
+
> .active > a:hover,
|
211
|
+
> .active > a:focus {
|
212
|
+
border: 1px solid @nav-tabs-justified-link-border-color;
|
213
|
+
}
|
214
|
+
|
215
|
+
@media (min-width: @screen-sm-min) {
|
216
|
+
> li > a {
|
217
|
+
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
|
218
|
+
border-radius: @border-radius-base @border-radius-base 0 0;
|
219
|
+
}
|
220
|
+
> .active > a,
|
221
|
+
> .active > a:hover,
|
222
|
+
> .active > a:focus {
|
223
|
+
border-bottom-color: @nav-tabs-justified-active-link-border-color;
|
224
|
+
}
|
184
225
|
}
|
185
226
|
}
|
186
227
|
|
@@ -188,25 +229,17 @@
|
|
188
229
|
// Tabbable tabs
|
189
230
|
// -------------------------
|
190
231
|
|
191
|
-
//
|
192
|
-
.
|
193
|
-
.
|
194
|
-
|
195
|
-
|
196
|
-
// Show/hide tabbable areas
|
197
|
-
.tab-content > .tab-pane,
|
198
|
-
.pill-content > .pill-pane {
|
199
|
-
display: none;
|
200
|
-
}
|
201
|
-
.tab-content,
|
202
|
-
.pill-content {
|
232
|
+
// Hide tabbable panes to start, show them when `.active`
|
233
|
+
.tab-content {
|
234
|
+
> .tab-pane {
|
235
|
+
display: none;
|
236
|
+
}
|
203
237
|
> .active {
|
204
238
|
display: block;
|
205
239
|
}
|
206
240
|
}
|
207
241
|
|
208
242
|
|
209
|
-
|
210
243
|
// Dropdowns
|
211
244
|
// -------------------------
|
212
245
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! normalize.css v2.1.
|
1
|
+
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
|
2
2
|
|
3
3
|
// ==========================================================================
|
4
4
|
// HTML5 display definitions
|
@@ -44,10 +44,12 @@ audio:not([controls]) {
|
|
44
44
|
}
|
45
45
|
|
46
46
|
//
|
47
|
-
// Address styling not present in IE 8/9.
|
47
|
+
// Address `[hidden]` styling not present in IE 8/9.
|
48
|
+
// Hide the `template` element in IE, Safari, and Firefox < 22.
|
48
49
|
//
|
49
50
|
|
50
|
-
[hidden]
|
51
|
+
[hidden],
|
52
|
+
template {
|
51
53
|
display: none;
|
52
54
|
}
|
53
55
|
|
@@ -63,8 +65,8 @@ audio:not([controls]) {
|
|
63
65
|
|
64
66
|
html {
|
65
67
|
font-family: sans-serif; // 1
|
66
|
-
-webkit-text-size-adjust: 100%; // 2
|
67
68
|
-ms-text-size-adjust: 100%; // 2
|
69
|
+
-webkit-text-size-adjust: 100%; // 2
|
68
70
|
}
|
69
71
|
|
70
72
|
//
|
@@ -79,6 +81,14 @@ body {
|
|
79
81
|
// Links
|
80
82
|
// ==========================================================================
|
81
83
|
|
84
|
+
//
|
85
|
+
// Remove the gray background color from active links in IE 10.
|
86
|
+
//
|
87
|
+
|
88
|
+
a {
|
89
|
+
background: transparent;
|
90
|
+
}
|
91
|
+
|
82
92
|
//
|
83
93
|
// Address `outline` inconsistency between Chrome and other browsers.
|
84
94
|
//
|
@@ -329,8 +339,8 @@ html input[disabled] {
|
|
329
339
|
}
|
330
340
|
|
331
341
|
//
|
332
|
-
// 1. Address box sizing set to `content-box` in IE 8/9.
|
333
|
-
// 2. Remove excess padding in IE 8/9.
|
342
|
+
// 1. Address box sizing set to `content-box` in IE 8/9/10.
|
343
|
+
// 2. Remove excess padding in IE 8/9/10.
|
334
344
|
//
|
335
345
|
|
336
346
|
input[type="checkbox"],
|
@@ -56,12 +56,37 @@
|
|
56
56
|
// watch it go full width.
|
57
57
|
|
58
58
|
.panel {
|
59
|
-
> .table
|
59
|
+
> .table,
|
60
|
+
> .table-responsive {
|
60
61
|
margin-bottom: 0;
|
61
62
|
}
|
62
|
-
> .panel-body + .table
|
63
|
+
> .panel-body + .table,
|
64
|
+
> .panel-body + .table-responsive {
|
63
65
|
border-top: 1px solid @table-border-color;
|
64
66
|
}
|
67
|
+
> .table-bordered,
|
68
|
+
> .table-responsive > .table-bordered {
|
69
|
+
border: 0;
|
70
|
+
> thead,
|
71
|
+
> tbody,
|
72
|
+
> tfoot {
|
73
|
+
> tr {
|
74
|
+
> th:first-child,
|
75
|
+
> td:first-child {
|
76
|
+
border-left: 0;
|
77
|
+
}
|
78
|
+
> th:last-child,
|
79
|
+
> td:last-child {
|
80
|
+
border-right: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
&:last-child > th,
|
84
|
+
&:last-child > td {
|
85
|
+
border-bottom: 0;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
65
90
|
}
|
66
91
|
|
67
92
|
|
@@ -70,6 +95,10 @@
|
|
70
95
|
padding: 10px 15px;
|
71
96
|
border-bottom: 1px solid transparent;
|
72
97
|
.border-top-radius(@panel-border-radius - 1);
|
98
|
+
|
99
|
+
> .dropdown .dropdown-toggle {
|
100
|
+
color: inherit;
|
101
|
+
}
|
73
102
|
}
|
74
103
|
|
75
104
|
// Within heading, strip any `h*` tag of it's default margins for spacing.
|
@@ -119,11 +148,6 @@
|
|
119
148
|
border-bottom: 1px solid @panel-inner-border;
|
120
149
|
}
|
121
150
|
}
|
122
|
-
|
123
|
-
// New subcomponent for wrapping collapsable content for proper animations
|
124
|
-
.panel-collapse {
|
125
|
-
|
126
|
-
}
|
127
151
|
}
|
128
152
|
|
129
153
|
|
@@ -26,7 +26,6 @@
|
|
26
26
|
}
|
27
27
|
|
28
28
|
// Don't show links for images, or javascript/internal links
|
29
|
-
.ir a:after,
|
30
29
|
a[href^="javascript:"]:after,
|
31
30
|
a[href^="#"]:after {
|
32
31
|
content: "";
|
@@ -67,6 +66,12 @@
|
|
67
66
|
page-break-after: avoid;
|
68
67
|
}
|
69
68
|
|
69
|
+
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
70
|
+
// Once fixed, we can just straight up remove this.
|
71
|
+
select {
|
72
|
+
background: #fff !important;
|
73
|
+
}
|
74
|
+
|
70
75
|
// Bootstrap components
|
71
76
|
.navbar {
|
72
77
|
display: none;
|
@@ -6,7 +6,7 @@
|
|
6
6
|
// Bar animations
|
7
7
|
// -------------------------
|
8
8
|
|
9
|
-
//
|
9
|
+
// WebKit
|
10
10
|
@-webkit-keyframes progress-bar-stripes {
|
11
11
|
from { background-position: 40px 0; }
|
12
12
|
to { background-position: 0 0; }
|
@@ -51,6 +51,7 @@
|
|
51
51
|
width: 0%;
|
52
52
|
height: 100%;
|
53
53
|
font-size: @font-size-small;
|
54
|
+
line-height: @line-height-computed;
|
54
55
|
color: @progress-bar-color;
|
55
56
|
text-align: center;
|
56
57
|
background-color: @progress-bar-bg;
|
@@ -60,17 +61,13 @@
|
|
60
61
|
|
61
62
|
// Striped bars
|
62
63
|
.progress-striped .progress-bar {
|
63
|
-
#gradient > .striped(
|
64
|
+
#gradient > .striped();
|
64
65
|
background-size: 40px 40px;
|
65
66
|
}
|
66
67
|
|
67
68
|
// Call animation for the active one
|
68
69
|
.progress.active .progress-bar {
|
69
|
-
|
70
|
-
-moz-animation: progress-bar-stripes 2s linear infinite;
|
71
|
-
-ms-animation: progress-bar-stripes 2s linear infinite;
|
72
|
-
-o-animation: progress-bar-stripes 2s linear infinite;
|
73
|
-
animation: progress-bar-stripes 2s linear infinite;
|
70
|
+
.animation(progress-bar-stripes 2s linear infinite);
|
74
71
|
}
|
75
72
|
|
76
73
|
|
@@ -3,36 +3,25 @@
|
|
3
3
|
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
|
-
// IE10
|
7
|
-
// Required for Windows 8 Metro split-screen snapping with IE10
|
6
|
+
// IE10 in Windows (Phone) 8
|
8
7
|
//
|
9
|
-
//
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
// IE10 on Windows Phone 8
|
15
|
-
// IE10 on WP8 doesn't report CSS pixels, but actual device pixels. In
|
16
|
-
// other words, say on a Lumia, you'll get 768px as the device width,
|
17
|
-
// meaning users will see the tablet styles and not phone styles.
|
8
|
+
// Support for responsive views via media queries is kind of borked in IE10, for
|
9
|
+
// Surface/desktop in split view and for Windows Phone 8. This particular fix
|
10
|
+
// must be accompanied by a snippet of JavaScript to sniff the user agent and
|
11
|
+
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
|
12
|
+
// our Getting Started page for more information on this bug.
|
18
13
|
//
|
19
|
-
//
|
20
|
-
// we won't be doing that here given our limited scope.
|
14
|
+
// For more information, see the following:
|
21
15
|
//
|
22
|
-
//
|
23
|
-
|
24
|
-
|
25
|
-
width: 320px;
|
26
|
-
}
|
27
|
-
}
|
16
|
+
// Issue: https://github.com/twbs/bootstrap/issues/10497
|
17
|
+
// Docs: http://getbootstrap.com/getting-started/#browsers
|
18
|
+
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
28
19
|
|
29
|
-
|
30
|
-
|
31
|
-
.hidden {
|
32
|
-
display: none !important;
|
33
|
-
visibility: hidden !important;
|
20
|
+
@-ms-viewport {
|
21
|
+
width: device-width;
|
34
22
|
}
|
35
23
|
|
24
|
+
|
36
25
|
// Visibility utilities
|
37
26
|
|
38
27
|
.visible-xs {
|
@@ -41,19 +30,19 @@
|
|
41
30
|
.responsive-visibility();
|
42
31
|
}
|
43
32
|
&.visible-sm {
|
44
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
33
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
45
34
|
.responsive-visibility();
|
46
35
|
}
|
47
36
|
}
|
48
37
|
&.visible-md {
|
49
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
38
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
50
39
|
.responsive-visibility();
|
51
|
-
}
|
40
|
+
}
|
52
41
|
}
|
53
42
|
&.visible-lg {
|
54
|
-
@media (min-width: @screen-lg) {
|
43
|
+
@media (min-width: @screen-lg-min) {
|
55
44
|
.responsive-visibility();
|
56
|
-
}
|
45
|
+
}
|
57
46
|
}
|
58
47
|
}
|
59
48
|
.visible-sm {
|
@@ -61,20 +50,20 @@
|
|
61
50
|
&.visible-xs {
|
62
51
|
@media (max-width: @screen-xs-max) {
|
63
52
|
.responsive-visibility();
|
64
|
-
}
|
53
|
+
}
|
65
54
|
}
|
66
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
55
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
67
56
|
.responsive-visibility();
|
68
57
|
}
|
69
58
|
&.visible-md {
|
70
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
59
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
71
60
|
.responsive-visibility();
|
72
|
-
}
|
61
|
+
}
|
73
62
|
}
|
74
63
|
&.visible-lg {
|
75
|
-
@media (min-width: @screen-lg) {
|
64
|
+
@media (min-width: @screen-lg-min) {
|
76
65
|
.responsive-visibility();
|
77
|
-
}
|
66
|
+
}
|
78
67
|
}
|
79
68
|
}
|
80
69
|
.visible-md {
|
@@ -82,20 +71,20 @@
|
|
82
71
|
&.visible-xs {
|
83
72
|
@media (max-width: @screen-xs-max) {
|
84
73
|
.responsive-visibility();
|
85
|
-
}
|
74
|
+
}
|
86
75
|
}
|
87
76
|
&.visible-sm {
|
88
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
77
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
89
78
|
.responsive-visibility();
|
90
79
|
}
|
91
80
|
}
|
92
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
81
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
93
82
|
.responsive-visibility();
|
94
83
|
}
|
95
84
|
&.visible-lg {
|
96
|
-
@media (min-width: @screen-lg) {
|
85
|
+
@media (min-width: @screen-lg-min) {
|
97
86
|
.responsive-visibility();
|
98
|
-
}
|
87
|
+
}
|
99
88
|
}
|
100
89
|
}
|
101
90
|
.visible-lg {
|
@@ -103,19 +92,19 @@
|
|
103
92
|
&.visible-xs {
|
104
93
|
@media (max-width: @screen-xs-max) {
|
105
94
|
.responsive-visibility();
|
106
|
-
}
|
95
|
+
}
|
107
96
|
}
|
108
97
|
&.visible-sm {
|
109
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
98
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
110
99
|
.responsive-visibility();
|
111
100
|
}
|
112
101
|
}
|
113
102
|
&.visible-md {
|
114
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
103
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
115
104
|
.responsive-visibility();
|
116
|
-
}
|
105
|
+
}
|
117
106
|
}
|
118
|
-
@media (min-width: @screen-lg) {
|
107
|
+
@media (min-width: @screen-lg-min) {
|
119
108
|
.responsive-visibility();
|
120
109
|
}
|
121
110
|
}
|
@@ -126,19 +115,19 @@
|
|
126
115
|
.responsive-invisibility();
|
127
116
|
}
|
128
117
|
&.hidden-sm {
|
129
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
118
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
130
119
|
.responsive-invisibility();
|
131
|
-
}
|
120
|
+
}
|
132
121
|
}
|
133
122
|
&.hidden-md {
|
134
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
123
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
135
124
|
.responsive-invisibility();
|
136
|
-
}
|
125
|
+
}
|
137
126
|
}
|
138
127
|
&.hidden-lg {
|
139
|
-
@media (min-width: @screen-lg) {
|
128
|
+
@media (min-width: @screen-lg-min) {
|
140
129
|
.responsive-invisibility();
|
141
|
-
}
|
130
|
+
}
|
142
131
|
}
|
143
132
|
}
|
144
133
|
.hidden-sm {
|
@@ -148,18 +137,18 @@
|
|
148
137
|
.responsive-invisibility();
|
149
138
|
}
|
150
139
|
}
|
151
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
140
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
152
141
|
.responsive-invisibility();
|
153
142
|
}
|
154
143
|
&.hidden-md {
|
155
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
144
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
156
145
|
.responsive-invisibility();
|
157
|
-
}
|
146
|
+
}
|
158
147
|
}
|
159
148
|
&.hidden-lg {
|
160
|
-
@media (min-width: @screen-lg) {
|
149
|
+
@media (min-width: @screen-lg-min) {
|
161
150
|
.responsive-invisibility();
|
162
|
-
}
|
151
|
+
}
|
163
152
|
}
|
164
153
|
}
|
165
154
|
.hidden-md {
|
@@ -167,20 +156,20 @@
|
|
167
156
|
&.hidden-xs {
|
168
157
|
@media (max-width: @screen-xs-max) {
|
169
158
|
.responsive-invisibility();
|
170
|
-
}
|
159
|
+
}
|
171
160
|
}
|
172
161
|
&.hidden-sm {
|
173
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
162
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
174
163
|
.responsive-invisibility();
|
175
|
-
}
|
164
|
+
}
|
176
165
|
}
|
177
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
166
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
178
167
|
.responsive-invisibility();
|
179
168
|
}
|
180
169
|
&.hidden-lg {
|
181
|
-
@media (min-width: @screen-lg) {
|
170
|
+
@media (min-width: @screen-lg-min) {
|
182
171
|
.responsive-invisibility();
|
183
|
-
}
|
172
|
+
}
|
184
173
|
}
|
185
174
|
}
|
186
175
|
.hidden-lg {
|
@@ -188,19 +177,19 @@
|
|
188
177
|
&.hidden-xs {
|
189
178
|
@media (max-width: @screen-xs-max) {
|
190
179
|
.responsive-invisibility();
|
191
|
-
}
|
180
|
+
}
|
192
181
|
}
|
193
182
|
&.hidden-sm {
|
194
|
-
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
|
183
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
195
184
|
.responsive-invisibility();
|
196
|
-
}
|
185
|
+
}
|
197
186
|
}
|
198
187
|
&.hidden-md {
|
199
|
-
@media (min-width: @screen-md) and (max-width: @screen-md-max) {
|
188
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
200
189
|
.responsive-invisibility();
|
201
|
-
}
|
190
|
+
}
|
202
191
|
}
|
203
|
-
@media (min-width: @screen-lg) {
|
192
|
+
@media (min-width: @screen-lg-min) {
|
204
193
|
.responsive-invisibility();
|
205
194
|
}
|
206
195
|
}
|