bootstrap-sass-rails 2.0.1.2 → 2.0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/bootstrap/sass/rails/version.rb +1 -1
- data/test/cases/usage_css_spec.rb +1 -0
- data/test/dummy/log/test.log +76 -0
- data/test/dummy/tmp/cache/assets/C29/E80/sprockets%2F8f076727207424919c7170c7157bbe37 +0 -0
- data/test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f +0 -0
- data/test/dummy/tmp/cache/assets/D7C/3E0/sprockets%2F53c81ab87ec56a748428a59da9a5d5de +0 -0
- data/test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857 +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_badges.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_close.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_code.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_hero-unit.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_layouts.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_reset.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_responsive.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_sprites.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_type.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/sass/766526f7d87ffdf0401dde0ec8d49f976470392d/bootstrap.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/95eca8acb76bbb914a4c6988012b73e61e9bcc23/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/95eca8acb76bbb914a4c6988012b73e61e9bcc23/individual.css.scssc +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +4 -2
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +7 -3
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +4 -2
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +7 -7
- data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +2 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +2 -13
- data/vendor/assets/stylesheets/twitter/bootstrap/_badges.scss +36 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +2 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +31 -8
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +17 -13
- data/vendor/assets/stylesheets/twitter/bootstrap/_code.scss +3 -3
- data/vendor/assets/stylesheets/twitter/bootstrap/_component-animations.scss +3 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +45 -28
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +76 -43
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +2 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_hero-unit.scss +3 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels.scss +8 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +162 -158
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +12 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +76 -34
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +19 -9
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +6 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +1 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +16 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +1 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive.scss +72 -28
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +3 -3
- data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.scss +1 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +26 -17
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +21 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +98 -6
- data/vendor/assets/stylesheets/twitter/bootstrap/_wells.scss +10 -0
- metadata +14 -11
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
// -------------
|
|
7
7
|
|
|
8
8
|
.navbar {
|
|
9
|
+
// Fix for IE7's bad z-indexing so dropdowns don't appear below content that follows the navbar
|
|
10
|
+
*position: relative;
|
|
11
|
+
*z-index: 2;
|
|
12
|
+
|
|
9
13
|
overflow: visible;
|
|
10
14
|
margin-bottom: $baseLineHeight;
|
|
11
15
|
}
|
|
@@ -20,6 +24,12 @@
|
|
|
20
24
|
@include box-shadow($shadow);
|
|
21
25
|
}
|
|
22
26
|
|
|
27
|
+
// Set width to auto for default container
|
|
28
|
+
// We then reset it for fixed navbars in the #gridSystem mixin
|
|
29
|
+
.navbar .container {
|
|
30
|
+
width: auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
23
33
|
// Navbar button for toggling navbar items in responsive layouts
|
|
24
34
|
.btn-navbar {
|
|
25
35
|
display: none;
|
|
@@ -50,6 +60,7 @@
|
|
|
50
60
|
|
|
51
61
|
// Brand, links, text, and buttons
|
|
52
62
|
.navbar {
|
|
63
|
+
color: $navbarText;
|
|
53
64
|
// Hover and active states
|
|
54
65
|
.brand:hover {
|
|
55
66
|
text-decoration: none;
|
|
@@ -68,17 +79,12 @@
|
|
|
68
79
|
// Plain text in topbar
|
|
69
80
|
.navbar-text {
|
|
70
81
|
margin-bottom: 0;
|
|
71
|
-
line-height:
|
|
72
|
-
color: $navbarText;
|
|
73
|
-
a:hover {
|
|
74
|
-
color: $white;
|
|
75
|
-
background-color: transparent;
|
|
76
|
-
}
|
|
82
|
+
line-height: $navbarHeight;
|
|
77
83
|
}
|
|
78
84
|
// Buttons in navbar
|
|
79
85
|
.btn,
|
|
80
86
|
.btn-group {
|
|
81
|
-
|
|
87
|
+
@include navbarVerticalAlign(30px); // Vertically center in navbar
|
|
82
88
|
}
|
|
83
89
|
.btn-group .btn {
|
|
84
90
|
margin-top: 0; // then undo the margin here so we don't accidentally double it
|
|
@@ -90,15 +96,16 @@
|
|
|
90
96
|
margin-bottom: 0; // remove default bottom margin
|
|
91
97
|
@include clearfix();
|
|
92
98
|
input,
|
|
99
|
+
select,
|
|
100
|
+
.radio,
|
|
101
|
+
.checkbox {
|
|
102
|
+
@include navbarVerticalAlign(30px); // Vertically center in navbar
|
|
103
|
+
}
|
|
104
|
+
input,
|
|
93
105
|
select {
|
|
94
106
|
display: inline-block;
|
|
95
|
-
margin-top: 5px;
|
|
96
107
|
margin-bottom: 0;
|
|
97
108
|
}
|
|
98
|
-
.radio,
|
|
99
|
-
.checkbox {
|
|
100
|
-
margin-top: 5px;
|
|
101
|
-
}
|
|
102
109
|
input[type="image"],
|
|
103
110
|
input[type="checkbox"],
|
|
104
111
|
input[type="radio"] {
|
|
@@ -118,36 +125,33 @@
|
|
|
118
125
|
.navbar-search {
|
|
119
126
|
position: relative;
|
|
120
127
|
float: left;
|
|
121
|
-
|
|
128
|
+
@include navbarVerticalAlign(28px); // Vertically center in navbar
|
|
122
129
|
margin-bottom: 0;
|
|
123
130
|
.search-query {
|
|
124
131
|
padding: 4px 9px;
|
|
125
132
|
@include font-sans-serif(13px, normal, 1);
|
|
126
133
|
color: $white;
|
|
127
|
-
color:
|
|
128
|
-
|
|
129
|
-
background: rgba(255,255,255,.3);
|
|
130
|
-
border: 1px solid #111;
|
|
134
|
+
background-color: $navbarSearchBackground;
|
|
135
|
+
border: 1px solit $navbarSearchBorder;
|
|
131
136
|
$shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0px rgba(255,255,255,.15);
|
|
132
137
|
@include box-shadow($shadow);
|
|
133
138
|
@include transition(none);
|
|
134
139
|
|
|
135
|
-
// Placeholder text gets special styles; can't be
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
// Hover states
|
|
139
|
-
&:hover {
|
|
140
|
-
color: $white;
|
|
141
|
-
background-color: $grayLight;
|
|
142
|
-
background-color: rgba(255,255,255,.5);
|
|
140
|
+
// Placeholder text gets special styles; can't be a grouped selector
|
|
141
|
+
&:-moz-placeholder {
|
|
142
|
+
color: $navbarSearchPlaceholderColor;
|
|
143
143
|
}
|
|
144
|
+
&::-webkit-input-placeholder {
|
|
145
|
+
color: $navbarSearchPlaceholderColor;
|
|
146
|
+
}
|
|
147
|
+
|
|
144
148
|
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
|
|
145
149
|
&:focus,
|
|
146
150
|
&.focused {
|
|
147
151
|
padding: 5px 10px;
|
|
148
152
|
color: $grayDark;
|
|
149
153
|
text-shadow: 0 1px 0 $white;
|
|
150
|
-
background-color: $
|
|
154
|
+
background-color: $navbarSearchBackgroundFocus;
|
|
151
155
|
border: 0;
|
|
152
156
|
@include box-shadow(0 0 3px rgba(0,0,0,.15));
|
|
153
157
|
outline: 0;
|
|
@@ -159,19 +163,38 @@
|
|
|
159
163
|
// FIXED NAVBAR
|
|
160
164
|
// ------------
|
|
161
165
|
|
|
162
|
-
|
|
166
|
+
// Shared (top/bottom) styles
|
|
167
|
+
.navbar-fixed-top,
|
|
168
|
+
.navbar-fixed-bottom {
|
|
163
169
|
position: fixed;
|
|
164
|
-
top: 0;
|
|
165
170
|
right: 0;
|
|
166
171
|
left: 0;
|
|
167
172
|
z-index: $zindexFixedNavbar;
|
|
173
|
+
margin-bottom: 0; // remove 18px margin from static navbar
|
|
168
174
|
}
|
|
169
|
-
.navbar-fixed-top .navbar-inner
|
|
175
|
+
.navbar-fixed-top .navbar-inner,
|
|
176
|
+
.navbar-fixed-bottom .navbar-inner {
|
|
170
177
|
padding-left: 0;
|
|
171
178
|
padding-right: 0;
|
|
172
179
|
@include border-radius(0);
|
|
173
180
|
}
|
|
174
181
|
|
|
182
|
+
.navbar-fixed-top .container,
|
|
183
|
+
.navbar-fixed-bottom .container {
|
|
184
|
+
@include grid-core-span($gridColumns);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Fixed to top
|
|
188
|
+
.navbar-fixed-top {
|
|
189
|
+
top: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// Fixed to bottom
|
|
193
|
+
.navbar-fixed-bottom {
|
|
194
|
+
bottom: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
175
198
|
|
|
176
199
|
// NAVIGATION
|
|
177
200
|
// ----------
|
|
@@ -210,9 +233,9 @@
|
|
|
210
233
|
// Active nav items
|
|
211
234
|
.navbar .nav .active > a,
|
|
212
235
|
.navbar .nav .active > a:hover {
|
|
213
|
-
color: $
|
|
236
|
+
color: $navbarLinkColorActive;
|
|
214
237
|
text-decoration: none;
|
|
215
|
-
background-color: $
|
|
238
|
+
background-color: $navbarLinkBackgroundActive;
|
|
216
239
|
}
|
|
217
240
|
|
|
218
241
|
// Dividers (basically a vertical hr)
|
|
@@ -246,7 +269,7 @@
|
|
|
246
269
|
border-left: 7px solid transparent;
|
|
247
270
|
border-right: 7px solid transparent;
|
|
248
271
|
border-bottom: 7px solid #ccc;
|
|
249
|
-
border-bottom-color:
|
|
272
|
+
border-bottom-color: $dropdownBorder;
|
|
250
273
|
position: absolute;
|
|
251
274
|
top: -7px;
|
|
252
275
|
left: 9px;
|
|
@@ -256,17 +279,34 @@
|
|
|
256
279
|
display: inline-block;
|
|
257
280
|
border-left: 6px solid transparent;
|
|
258
281
|
border-right: 6px solid transparent;
|
|
259
|
-
border-bottom: 6px solid $
|
|
282
|
+
border-bottom: 6px solid $dropdownBackground;
|
|
260
283
|
position: absolute;
|
|
261
284
|
top: -6px;
|
|
262
285
|
left: 10px;
|
|
263
286
|
}
|
|
264
287
|
}
|
|
288
|
+
// Menu position and menu caret support for dropups via extra dropup class
|
|
289
|
+
.navbar-fixed-bottom .dropdown-menu {
|
|
290
|
+
&:before {
|
|
291
|
+
border-top: 7px solid #ccc;
|
|
292
|
+
border-top-color: $dropdownBorder;
|
|
293
|
+
border-bottom: 0;
|
|
294
|
+
bottom: -7px;
|
|
295
|
+
top: auto;
|
|
296
|
+
}
|
|
297
|
+
&:after {
|
|
298
|
+
border-top: 6px solid $dropdownBackground;
|
|
299
|
+
border-bottom: 0;
|
|
300
|
+
bottom: -6px;
|
|
301
|
+
top: auto;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
265
304
|
|
|
266
305
|
// Dropdown toggle caret
|
|
267
306
|
.navbar .nav .dropdown-toggle .caret,
|
|
268
307
|
.navbar .nav .open.dropdown .caret {
|
|
269
308
|
border-top-color: $white;
|
|
309
|
+
border-bottom-color: $white;
|
|
270
310
|
}
|
|
271
311
|
.navbar .nav .active .caret {
|
|
272
312
|
@include opacity(100);
|
|
@@ -285,7 +325,9 @@
|
|
|
285
325
|
}
|
|
286
326
|
|
|
287
327
|
// Right aligned menus need alt position
|
|
288
|
-
|
|
328
|
+
// TODO: rejigger this at some point to simplify the selectors
|
|
329
|
+
.navbar .nav.pull-right .dropdown-menu,
|
|
330
|
+
.navbar .nav .dropdown-menu.pull-right {
|
|
289
331
|
left: auto;
|
|
290
332
|
right: 0;
|
|
291
333
|
&:before {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
// --------
|
|
43
43
|
|
|
44
44
|
.nav-list {
|
|
45
|
-
padding-left:
|
|
46
|
-
padding-right:
|
|
45
|
+
padding-left: 15px;
|
|
46
|
+
padding-right: 15px;
|
|
47
47
|
margin-bottom: 0;
|
|
48
48
|
}
|
|
49
49
|
.nav-list > li > a,
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
.nav-list > li > a {
|
|
56
56
|
padding: 3px 15px;
|
|
57
57
|
}
|
|
58
|
-
.nav-list .active > a,
|
|
59
|
-
.nav-list .active > a:hover {
|
|
58
|
+
.nav-list > .active > a,
|
|
59
|
+
.nav-list > .active > a:hover {
|
|
60
60
|
color: $white;
|
|
61
61
|
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
|
62
62
|
background-color: $linkColor;
|
|
@@ -64,6 +64,10 @@
|
|
|
64
64
|
.nav-list [class^="icon-"] {
|
|
65
65
|
margin-right: 2px;
|
|
66
66
|
}
|
|
67
|
+
// Dividers (basically an hr) within the dropdown
|
|
68
|
+
.nav-list .divider {
|
|
69
|
+
@include nav-divider();
|
|
70
|
+
}
|
|
67
71
|
|
|
68
72
|
|
|
69
73
|
|
|
@@ -102,8 +106,9 @@
|
|
|
102
106
|
|
|
103
107
|
// Actual tabs (as links)
|
|
104
108
|
.nav-tabs > li > a {
|
|
105
|
-
padding-top:
|
|
106
|
-
padding-bottom:
|
|
109
|
+
padding-top: 8px;
|
|
110
|
+
padding-bottom: 8px;
|
|
111
|
+
line-height: $baseLineHeight;
|
|
107
112
|
border: 1px solid transparent;
|
|
108
113
|
@include border-radius(4px 4px 0 0);
|
|
109
114
|
&:hover {
|
|
@@ -133,8 +138,8 @@
|
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
// Active state
|
|
136
|
-
.nav-pills .active > a,
|
|
137
|
-
.nav-pills .active > a:hover {
|
|
141
|
+
.nav-pills > .active > a,
|
|
142
|
+
.nav-pills > .active > a:hover {
|
|
138
143
|
color: $white;
|
|
139
144
|
background-color: $linkColor;
|
|
140
145
|
}
|
|
@@ -200,11 +205,13 @@
|
|
|
200
205
|
.nav-tabs .dropdown-toggle .caret,
|
|
201
206
|
.nav-pills .dropdown-toggle .caret {
|
|
202
207
|
border-top-color: $linkColor;
|
|
208
|
+
border-bottom-color: $linkColor;
|
|
203
209
|
margin-top: 6px;
|
|
204
210
|
}
|
|
205
211
|
.nav-tabs .dropdown-toggle:hover .caret,
|
|
206
212
|
.nav-pills .dropdown-toggle:hover .caret {
|
|
207
213
|
border-top-color: $linkColorHover;
|
|
214
|
+
border-bottom-color: $linkColorHover;
|
|
208
215
|
}
|
|
209
216
|
|
|
210
217
|
// Active dropdown links
|
|
@@ -212,6 +219,7 @@
|
|
|
212
219
|
.nav-tabs .active .dropdown-toggle .caret,
|
|
213
220
|
.nav-pills .active .dropdown-toggle .caret {
|
|
214
221
|
border-top-color: $grayDark;
|
|
222
|
+
border-bottom-color: $grayDark;
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
// Active:hover dropdown links
|
|
@@ -234,6 +242,7 @@
|
|
|
234
242
|
.nav .open.active .caret,
|
|
235
243
|
.nav .open a:hover .caret {
|
|
236
244
|
border-top-color: $white;
|
|
245
|
+
border-bottom-color: $white;
|
|
237
246
|
@include opacity(100);
|
|
238
247
|
}
|
|
239
248
|
|
|
@@ -256,7 +265,8 @@
|
|
|
256
265
|
@include clearfix();
|
|
257
266
|
}
|
|
258
267
|
.tab-content {
|
|
259
|
-
|
|
268
|
+
display: table; // prevent content from running below tabs
|
|
269
|
+
width: 100%;
|
|
260
270
|
}
|
|
261
271
|
|
|
262
272
|
// Remove border on bottom, left, right
|
|
@@ -17,6 +17,12 @@
|
|
|
17
17
|
to { background-position: 40px 0; }
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
// IE9
|
|
21
|
+
@-ms-keyframes progress-bar-stripes {
|
|
22
|
+
from { background-position: 0 0; }
|
|
23
|
+
to { background-position: 40px 0; }
|
|
24
|
+
}
|
|
25
|
+
|
|
20
26
|
// Spec
|
|
21
27
|
@keyframes progress-bar-stripes {
|
|
22
28
|
from { background-position: 0 0; }
|
|
@@ -54,7 +60,7 @@
|
|
|
54
60
|
|
|
55
61
|
// Striped bars
|
|
56
62
|
.progress-striped .bar {
|
|
57
|
-
@include gradient-striped(#
|
|
63
|
+
@include gradient-striped(#149bdf);
|
|
58
64
|
@include background-size(40px 40px);
|
|
59
65
|
}
|
|
60
66
|
|
|
@@ -93,3 +99,12 @@
|
|
|
93
99
|
.progress-info.progress-striped .bar {
|
|
94
100
|
@include gradient-striped(#5bc0de);
|
|
95
101
|
}
|
|
102
|
+
|
|
103
|
+
// Warning (orange)
|
|
104
|
+
.progress-warning .bar {
|
|
105
|
+
@include gradient-vertical(lighten($orange, 15%), $orange);
|
|
106
|
+
}
|
|
107
|
+
.progress-warning.progress-striped .bar {
|
|
108
|
+
@include gradient-striped(lighten($orange, 15%));
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Bootstrap Responsive v2.0.
|
|
2
|
+
* Bootstrap Responsive v2.0.2
|
|
3
3
|
*
|
|
4
4
|
* Copyright 2012 Twitter, Inc
|
|
5
5
|
* Licensed under the Apache License v2.0
|
|
@@ -31,6 +31,37 @@
|
|
|
31
31
|
visibility: hidden;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
// Visibility utilities
|
|
35
|
+
|
|
36
|
+
// For desktops
|
|
37
|
+
.visible-phone { display: none; }
|
|
38
|
+
.visible-tablet { display: none; }
|
|
39
|
+
.visible-desktop { display: block; }
|
|
40
|
+
.hidden-phone { display: block; }
|
|
41
|
+
.hidden-tablet { display: block; }
|
|
42
|
+
.hidden-desktop { display: none; }
|
|
43
|
+
|
|
44
|
+
// Phones only
|
|
45
|
+
@media (max-width: 767px) {
|
|
46
|
+
// Show
|
|
47
|
+
.visible-phone { display: block; }
|
|
48
|
+
// Hide
|
|
49
|
+
.hidden-phone { display: none; }
|
|
50
|
+
// Hide everything else
|
|
51
|
+
.hidden-desktop { display: block; }
|
|
52
|
+
.visible-desktop { display: none; }
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Tablets & small desktops only
|
|
56
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
|
57
|
+
// Show
|
|
58
|
+
.visible-tablet { display: block; }
|
|
59
|
+
// Hide
|
|
60
|
+
.hidden-tablet { display: none; }
|
|
61
|
+
// Hide everything else
|
|
62
|
+
.hidden-desktop { display: block; }
|
|
63
|
+
.visible-desktop { display: none; }
|
|
64
|
+
}
|
|
34
65
|
|
|
35
66
|
|
|
36
67
|
// UP TO LANDSCAPE PHONE
|
|
@@ -49,26 +80,6 @@
|
|
|
49
80
|
line-height: $baseLineHeight;
|
|
50
81
|
}
|
|
51
82
|
|
|
52
|
-
// Make span* classes full width
|
|
53
|
-
input[class*="span"],
|
|
54
|
-
select[class*="span"],
|
|
55
|
-
textarea[class*="span"],
|
|
56
|
-
.uneditable-input {
|
|
57
|
-
display: block;
|
|
58
|
-
width: 100%;
|
|
59
|
-
min-height: 28px; /* Make inputs at least the height of their button counterpart */
|
|
60
|
-
/* Makes inputs behave like true block-level elements */
|
|
61
|
-
-webkit-box-sizing: border-box; /* Older Webkit */
|
|
62
|
-
-moz-box-sizing: border-box; /* Older FF */
|
|
63
|
-
-ms-box-sizing: border-box; /* IE8 */
|
|
64
|
-
box-sizing: border-box; /* CSS3 spec*/
|
|
65
|
-
}
|
|
66
|
-
// But don't let it screw up prepend/append inputs
|
|
67
|
-
.input-prepend input[class*="span"],
|
|
68
|
-
.input-append input[class*="span"] {
|
|
69
|
-
width: auto;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
83
|
// Update checkboxes for iOS
|
|
73
84
|
input[type="checkbox"],
|
|
74
85
|
input[type="radio"] {
|
|
@@ -124,12 +135,22 @@
|
|
|
124
135
|
// --------------------------------------------------
|
|
125
136
|
|
|
126
137
|
@media (max-width: 767px) {
|
|
138
|
+
|
|
139
|
+
// Padding to set content in a bit
|
|
140
|
+
body {
|
|
141
|
+
padding-left: 20px;
|
|
142
|
+
padding-right: 20px;
|
|
143
|
+
}
|
|
144
|
+
.navbar-fixed-top {
|
|
145
|
+
margin-left: -20px;
|
|
146
|
+
margin-right: -20px;
|
|
147
|
+
}
|
|
148
|
+
|
|
127
149
|
// GRID & CONTAINERS
|
|
128
150
|
// -----------------
|
|
129
151
|
// Remove width from containers
|
|
130
152
|
.container {
|
|
131
153
|
width: auto;
|
|
132
|
-
padding: 0 20px;
|
|
133
154
|
}
|
|
134
155
|
// Fluid rows
|
|
135
156
|
.row-fluid {
|
|
@@ -147,6 +168,28 @@
|
|
|
147
168
|
width: auto;
|
|
148
169
|
margin: 0;
|
|
149
170
|
}
|
|
171
|
+
|
|
172
|
+
// THUMBNAILS
|
|
173
|
+
// ----------
|
|
174
|
+
.thumbnails [class*="span"] {
|
|
175
|
+
width: auto;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// FORM FIELDS
|
|
179
|
+
// -----------
|
|
180
|
+
// Make span* classes full width
|
|
181
|
+
input[class*="span"],
|
|
182
|
+
select[class*="span"],
|
|
183
|
+
textarea[class*="span"],
|
|
184
|
+
.uneditable-input {
|
|
185
|
+
@include input-block-level();
|
|
186
|
+
}
|
|
187
|
+
// But don't let it screw up prepend/append inputs
|
|
188
|
+
.input-prepend input[class*="span"],
|
|
189
|
+
.input-append input[class*="span"] {
|
|
190
|
+
width: auto;
|
|
191
|
+
}
|
|
192
|
+
|
|
150
193
|
}
|
|
151
194
|
|
|
152
195
|
|
|
@@ -157,13 +200,13 @@
|
|
|
157
200
|
@media (min-width: 768px) and (max-width: 979px) {
|
|
158
201
|
|
|
159
202
|
// Fixed grid
|
|
160
|
-
@include
|
|
203
|
+
@include grid-core(42px, 20px);
|
|
161
204
|
|
|
162
205
|
// Fluid grid
|
|
163
|
-
@include
|
|
206
|
+
@include grid-fluid(5.801104972%, 2.762430939%);
|
|
164
207
|
|
|
165
208
|
// Input grid
|
|
166
|
-
@include
|
|
209
|
+
@include grid-input(42px, 20px);
|
|
167
210
|
|
|
168
211
|
}
|
|
169
212
|
|
|
@@ -297,6 +340,7 @@
|
|
|
297
340
|
@media (min-width: 980px) {
|
|
298
341
|
.nav-collapse.collapse {
|
|
299
342
|
height: auto !important;
|
|
343
|
+
overflow: visible !important;
|
|
300
344
|
}
|
|
301
345
|
}
|
|
302
346
|
|
|
@@ -308,13 +352,13 @@
|
|
|
308
352
|
@media (min-width: 1200px) {
|
|
309
353
|
|
|
310
354
|
// Fixed grid
|
|
311
|
-
@include
|
|
355
|
+
@include grid-core(70px, 30px);
|
|
312
356
|
|
|
313
357
|
// Fluid grid
|
|
314
|
-
@include
|
|
358
|
+
@include grid-fluid(5.982905983%, 2.564102564%);
|
|
315
359
|
|
|
316
360
|
// Input grid
|
|
317
|
-
@include
|
|
361
|
+
@include grid-input(70px, 30px);
|
|
318
362
|
|
|
319
363
|
// Thumbnails
|
|
320
364
|
.thumbnails {
|