bootstrap-sass 2.0.2 → 2.0.3
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.
Potentially problematic release.
This version of bootstrap-sass might be problematic. Click here for more details.
- data/README.md +26 -10
- data/lib/bootstrap-sass.rb +24 -13
- data/lib/bootstrap-sass/{compass_extensions.rb → compass_functions.rb} +0 -0
- data/lib/bootstrap-sass/engine.rb +0 -2
- data/lib/bootstrap-sass/{config/sass_extentions.rb → rails_functions.rb} +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
- data/vendor/assets/javascripts/bootstrap-button.js +29 -33
- data/vendor/assets/javascripts/bootstrap-carousel.js +27 -19
- data/vendor/assets/javascripts/bootstrap-collapse.js +45 -26
- data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
- data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +43 -17
- data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
- data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
- data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
- data/vendor/assets/javascripts/bootstrap-typeahead.js +24 -10
- data/vendor/assets/stylesheets/_bootstrap-responsive.scss +100 -68
- data/vendor/assets/stylesheets/_bootstrap.scss +11 -2
- data/vendor/assets/stylesheets/bootstrap/_accordion.scss +5 -0
- data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +51 -31
- data/vendor/assets/stylesheets/bootstrap/_buttons.scss +15 -11
- data/vendor/assets/stylesheets/bootstrap/_close.scss +12 -1
- data/vendor/assets/stylesheets/bootstrap/_code.scss +4 -4
- data/vendor/assets/stylesheets/bootstrap/_component-animations.scss +4 -4
- data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +16 -22
- data/vendor/assets/stylesheets/bootstrap/_forms.scss +58 -37
- data/vendor/assets/stylesheets/bootstrap/_labels-badges.scss +50 -0
- data/vendor/assets/stylesheets/bootstrap/_layouts.scss +1 -1
- data/vendor/assets/stylesheets/bootstrap/_mixins.scss +99 -73
- data/vendor/assets/stylesheets/bootstrap/_navbar.scss +61 -40
- data/vendor/assets/stylesheets/bootstrap/_navs.scss +27 -26
- data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +15 -6
- data/vendor/assets/stylesheets/bootstrap/_reset.scss +3 -3
- data/vendor/assets/stylesheets/bootstrap/_sprites.scss +25 -5
- data/vendor/assets/stylesheets/bootstrap/_tables.scss +17 -6
- data/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +14 -0
- data/vendor/assets/stylesheets/bootstrap/_type.scss +7 -6
- data/vendor/assets/stylesheets/bootstrap/_variables.scss +52 -9
- metadata +10 -22
- data/vendor/assets/stylesheets/bootstrap/_badges.scss +0 -36
- data/vendor/assets/stylesheets/bootstrap/_labels.scss +0 -38
@@ -21,6 +21,11 @@
|
|
21
21
|
background-color: $grayLighter;
|
22
22
|
}
|
23
23
|
|
24
|
+
// Redeclare pull classes because of specifity
|
25
|
+
.nav > .pull-right {
|
26
|
+
float: right;
|
27
|
+
}
|
28
|
+
|
24
29
|
// Nav headers (for dropdowns and lists)
|
25
30
|
.nav .nav-header {
|
26
31
|
display: block;
|
@@ -93,12 +98,10 @@
|
|
93
98
|
.nav-tabs {
|
94
99
|
border-bottom: 1px solid #ddd;
|
95
100
|
}
|
96
|
-
|
97
101
|
// Make the list-items overlay the bottom border
|
98
102
|
.nav-tabs > li {
|
99
103
|
margin-bottom: -1px;
|
100
104
|
}
|
101
|
-
|
102
105
|
// Actual tabs (as links)
|
103
106
|
.nav-tabs > li > a {
|
104
107
|
padding-top: 8px;
|
@@ -119,6 +122,7 @@
|
|
119
122
|
cursor: default;
|
120
123
|
}
|
121
124
|
|
125
|
+
|
122
126
|
// PILLS
|
123
127
|
// -----
|
124
128
|
|
@@ -182,13 +186,11 @@
|
|
182
186
|
// DROPDOWNS
|
183
187
|
// ---------
|
184
188
|
|
185
|
-
|
186
|
-
|
187
|
-
margin-top: 1px;
|
188
|
-
border-width: 1px;
|
189
|
+
.nav-tabs .dropdown-menu {
|
190
|
+
@include border-radius(0 0 5px 5px); // remove the top rounded corners here since there is a hard edge above the menu
|
189
191
|
}
|
190
192
|
.nav-pills .dropdown-menu {
|
191
|
-
@include border-radius(4px);
|
193
|
+
@include border-radius(4px); // make rounded corners match the pills
|
192
194
|
}
|
193
195
|
|
194
196
|
// Default dropdown links
|
@@ -220,12 +222,12 @@
|
|
220
222
|
|
221
223
|
// Open dropdowns
|
222
224
|
// -------------------------
|
223
|
-
.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > .open.active > a:hover {
|
225
|
+
.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > li.dropdown.open.active > a:hover {
|
224
226
|
color: $white;
|
225
227
|
background-color: $grayLight;
|
226
228
|
border-color: $grayLight;
|
227
229
|
}
|
228
|
-
.nav .open .caret, .nav .open.active .caret, .nav .open a:hover .caret {
|
230
|
+
.nav li.dropdown.open .caret, .nav li.dropdown.open.active .caret, .nav li.dropdown.open a:hover .caret {
|
229
231
|
border-top-color: $white;
|
230
232
|
border-bottom-color: $white;
|
231
233
|
@include opacity(1);
|
@@ -250,12 +252,11 @@
|
|
250
252
|
@include clearfix();
|
251
253
|
}
|
252
254
|
.tab-content {
|
253
|
-
|
254
|
-
width: 100%;
|
255
|
+
overflow: auto; // prevent content from running below tabs
|
255
256
|
}
|
256
257
|
|
257
258
|
// Remove border on bottom, left, right
|
258
|
-
.tabs-below .nav-tabs, .tabs-right .nav-tabs, .tabs-left .nav-tabs {
|
259
|
+
.tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs {
|
259
260
|
border-bottom: 0;
|
260
261
|
}
|
261
262
|
|
@@ -271,21 +272,21 @@
|
|
271
272
|
// BOTTOM
|
272
273
|
// ------
|
273
274
|
|
274
|
-
.tabs-below .nav-tabs {
|
275
|
+
.tabs-below > .nav-tabs {
|
275
276
|
border-top: 1px solid #ddd;
|
276
277
|
}
|
277
|
-
.tabs-below .nav-tabs > li {
|
278
|
+
.tabs-below > .nav-tabs > li {
|
278
279
|
margin-top: -1px;
|
279
280
|
margin-bottom: 0;
|
280
281
|
}
|
281
|
-
.tabs-below .nav-tabs > li > a {
|
282
|
+
.tabs-below > .nav-tabs > li > a {
|
282
283
|
@include border-radius(0 0 4px 4px);
|
283
284
|
&:hover {
|
284
285
|
border-bottom-color: transparent;
|
285
286
|
border-top-color: #ddd;
|
286
287
|
}
|
287
288
|
}
|
288
|
-
.tabs-below .nav-tabs .active > a, .tabs-below .nav-tabs .active > a:hover {
|
289
|
+
.tabs-below > .nav-tabs > .active > a, .tabs-below > .nav-tabs > .active > a:hover {
|
289
290
|
border-color: transparent #ddd #ddd #ddd;
|
290
291
|
}
|
291
292
|
|
@@ -293,47 +294,47 @@
|
|
293
294
|
// ------------
|
294
295
|
|
295
296
|
// Common styles
|
296
|
-
.tabs-left .nav-tabs > li, .tabs-right .nav-tabs > li {
|
297
|
+
.tabs-left > .nav-tabs > li, .tabs-right > .nav-tabs > li {
|
297
298
|
float: none;
|
298
299
|
}
|
299
|
-
.tabs-left .nav-tabs > li > a, .tabs-right .nav-tabs > li > a {
|
300
|
+
.tabs-left > .nav-tabs > li > a, .tabs-right > .nav-tabs > li > a {
|
300
301
|
min-width: 74px;
|
301
302
|
margin-right: 0;
|
302
303
|
margin-bottom: 3px;
|
303
304
|
}
|
304
305
|
|
305
306
|
// Tabs on the left
|
306
|
-
.tabs-left .nav-tabs {
|
307
|
+
.tabs-left > .nav-tabs {
|
307
308
|
float: left;
|
308
309
|
margin-right: 19px;
|
309
310
|
border-right: 1px solid #ddd;
|
310
311
|
}
|
311
|
-
.tabs-left .nav-tabs > li > a {
|
312
|
+
.tabs-left > .nav-tabs > li > a {
|
312
313
|
margin-right: -1px;
|
313
314
|
@include border-radius(4px 0 0 4px);
|
314
315
|
}
|
315
|
-
.tabs-left .nav-tabs > li > a:hover {
|
316
|
+
.tabs-left > .nav-tabs > li > a:hover {
|
316
317
|
border-color: $grayLighter #ddd $grayLighter $grayLighter;
|
317
318
|
}
|
318
|
-
.tabs-left .nav-tabs .active > a, .tabs-left .nav-tabs .active > a:hover {
|
319
|
+
.tabs-left > .nav-tabs .active > a, .tabs-left > .nav-tabs .active > a:hover {
|
319
320
|
border-color: #ddd transparent #ddd #ddd;
|
320
321
|
*border-right-color: $white;
|
321
322
|
}
|
322
323
|
|
323
324
|
// Tabs on the right
|
324
|
-
.tabs-right .nav-tabs {
|
325
|
+
.tabs-right > .nav-tabs {
|
325
326
|
float: right;
|
326
327
|
margin-left: 19px;
|
327
328
|
border-left: 1px solid #ddd;
|
328
329
|
}
|
329
|
-
.tabs-right .nav-tabs > li > a {
|
330
|
+
.tabs-right > .nav-tabs > li > a {
|
330
331
|
margin-left: -1px;
|
331
332
|
@include border-radius(0 4px 4px 0);
|
332
333
|
}
|
333
|
-
.tabs-right .nav-tabs > li > a:hover {
|
334
|
+
.tabs-right > .nav-tabs > li > a:hover {
|
334
335
|
border-color: $grayLighter $grayLighter $grayLighter #ddd;
|
335
336
|
}
|
336
|
-
.tabs-right .nav-tabs .active > a, .tabs-right .nav-tabs .active > a:hover {
|
337
|
+
.tabs-right > .nav-tabs .active > a, .tabs-right > .nav-tabs .active > a:hover {
|
337
338
|
border-color: #ddd #ddd #ddd transparent;
|
338
339
|
*border-left-color: $white;
|
339
340
|
}
|
@@ -7,25 +7,32 @@
|
|
7
7
|
|
8
8
|
// Webkit
|
9
9
|
@-webkit-keyframes progress-bar-stripes {
|
10
|
-
from { background-position:
|
11
|
-
to { background-position:
|
10
|
+
from { background-position: 40px 0; }
|
11
|
+
to { background-position: 0 0 }
|
12
12
|
}
|
13
13
|
|
14
14
|
// Firefox
|
15
15
|
@-moz-keyframes progress-bar-stripes {
|
16
|
-
from { background-position:
|
17
|
-
to { background-position:
|
16
|
+
from { background-position: 40px 0; }
|
17
|
+
to { background-position: 0 0; }
|
18
18
|
}
|
19
19
|
|
20
|
+
// IE9
|
20
21
|
@-ms-keyframes progress-bar-stripes {
|
22
|
+
from { background-position: 40px 0; }
|
23
|
+
to { background-position: 0 0; }
|
24
|
+
}
|
25
|
+
|
26
|
+
// Opera
|
27
|
+
@-o-keyframes progress-bar-stripes {
|
21
28
|
from { background-position: 0 0; }
|
22
29
|
to { background-position: 40px 0; }
|
23
30
|
}
|
24
31
|
|
25
32
|
// Spec
|
26
33
|
@keyframes progress-bar-stripes {
|
27
|
-
from { background-position:
|
28
|
-
to { background-position:
|
34
|
+
from { background-position: 40px 0; }
|
35
|
+
to { background-position: 0 0; }
|
29
36
|
}
|
30
37
|
|
31
38
|
|
@@ -67,6 +74,8 @@
|
|
67
74
|
.progress.active .bar {
|
68
75
|
-webkit-animation: progress-bar-stripes 2s linear infinite;
|
69
76
|
-moz-animation: progress-bar-stripes 2s linear infinite;
|
77
|
+
-ms-animation: progress-bar-stripes 2s linear infinite;
|
78
|
+
-o-animation: progress-bar-stripes 2s linear infinite;
|
70
79
|
animation: progress-bar-stripes 2s linear infinite;
|
71
80
|
}
|
72
81
|
|
@@ -62,10 +62,10 @@ sub {
|
|
62
62
|
// -------------------------
|
63
63
|
|
64
64
|
img {
|
65
|
-
|
65
|
+
max-width: 100%; // Make images inherently responsive
|
66
|
+
vertical-align: middle;
|
66
67
|
border: 0;
|
67
68
|
-ms-interpolation-mode: bicubic;
|
68
|
-
vertical-align: middle;
|
69
69
|
}
|
70
70
|
|
71
71
|
// Forms
|
@@ -90,10 +90,10 @@ button, input[type="button"], input[type="reset"], input[type="submit"] {
|
|
90
90
|
-webkit-appearance: button; // Style clickable inputs in iOS
|
91
91
|
}
|
92
92
|
input[type="search"] { // Appearance in Safari/Chrome
|
93
|
-
-webkit-appearance: textfield;
|
94
93
|
-webkit-box-sizing: content-box;
|
95
94
|
-moz-box-sizing: content-box;
|
96
95
|
box-sizing: content-box;
|
96
|
+
-webkit-appearance: textfield;
|
97
97
|
}
|
98
98
|
input[type="search"]::-webkit-search-decoration,
|
99
99
|
input[type="search"]::-webkit-search-cancel-button {
|
@@ -18,13 +18,12 @@
|
|
18
18
|
display: inline-block;
|
19
19
|
width: 14px;
|
20
20
|
height: 14px;
|
21
|
+
@include ie7-restore-right-whitespace();
|
21
22
|
line-height: 14px;
|
22
23
|
vertical-align: text-top;
|
23
24
|
background-image: $iconSpritePath;
|
24
25
|
background-position: 14px 14px;
|
25
26
|
background-repeat: no-repeat;
|
26
|
-
|
27
|
-
@include ie7-restore-right-whitespace();
|
28
27
|
}
|
29
28
|
.icon-white {
|
30
29
|
background-image: $iconWhiteSpritePath;
|
@@ -148,10 +147,31 @@
|
|
148
147
|
.icon-comment { background-position: -240px -120px; }
|
149
148
|
.icon-magnet { background-position: -264px -120px; }
|
150
149
|
.icon-chevron-up { background-position: -288px -120px; }
|
151
|
-
.icon-chevron-down { background-position: -313px -119px; } // 1px off
|
150
|
+
.icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
|
152
151
|
.icon-retweet { background-position: -336px -120px; }
|
153
152
|
.icon-shopping-cart { background-position: -360px -120px; }
|
154
153
|
.icon-folder-close { background-position: -384px -120px; }
|
155
154
|
.icon-folder-open { background-position: -408px -120px; }
|
156
|
-
.icon-resize-vertical { background-position: -432px -119px; }
|
157
|
-
.icon-resize-horizontal { background-position: -456px -118px; }
|
155
|
+
.icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
|
156
|
+
.icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
|
157
|
+
|
158
|
+
.icon-hdd { background-position: 0 -144px; }
|
159
|
+
.icon-bullhorn { background-position: -24px -144px; }
|
160
|
+
.icon-bell { background-position: -48px -144px; }
|
161
|
+
.icon-certificate { background-position: -72px -144px; }
|
162
|
+
.icon-thumbs-up { background-position: -96px -144px; }
|
163
|
+
.icon-thumbs-down { background-position: -120px -144px; }
|
164
|
+
.icon-hand-right { background-position: -144px -144px; }
|
165
|
+
.icon-hand-left { background-position: -168px -144px; }
|
166
|
+
.icon-hand-up { background-position: -192px -144px; }
|
167
|
+
.icon-hand-down { background-position: -216px -144px; }
|
168
|
+
.icon-circle-arrow-right { background-position: -240px -144px; }
|
169
|
+
.icon-circle-arrow-left { background-position: -264px -144px; }
|
170
|
+
.icon-circle-arrow-up { background-position: -288px -144px; }
|
171
|
+
.icon-circle-arrow-down { background-position: -312px -144px; }
|
172
|
+
.icon-globe { background-position: -336px -144px; }
|
173
|
+
.icon-wrench { background-position: -360px -144px; }
|
174
|
+
.icon-tasks { background-position: -384px -144px; }
|
175
|
+
.icon-filter { background-position: -408px -144px; }
|
176
|
+
.icon-briefcase { background-position: -432px -144px; }
|
177
|
+
.icon-fullscreen { background-position: -456px -144px; }
|
@@ -9,9 +9,9 @@
|
|
9
9
|
|
10
10
|
table {
|
11
11
|
max-width: 100%;
|
12
|
+
background-color: $tableBackground;
|
12
13
|
border-collapse: collapse;
|
13
14
|
border-spacing: 0;
|
14
|
-
background-color: $tableBackground;
|
15
15
|
}
|
16
16
|
|
17
17
|
// BASELINE STYLES
|
@@ -36,6 +36,7 @@ table {
|
|
36
36
|
vertical-align: bottom;
|
37
37
|
}
|
38
38
|
// Remove top border from thead by default
|
39
|
+
caption + thead tr:first-child th, caption + thead tr:first-child td,
|
39
40
|
colgroup + thead tr:first-child th, colgroup + thead tr:first-child td,
|
40
41
|
thead:first-child tr:first-child th, thead:first-child tr:first-child td {
|
41
42
|
border-top: 0;
|
@@ -63,30 +64,40 @@ table {
|
|
63
64
|
|
64
65
|
.table-bordered {
|
65
66
|
border: 1px solid $tableBorder;
|
66
|
-
border-left: 0;
|
67
67
|
border-collapse: separate; // Done so we can round those corners!
|
68
68
|
*border-collapse: collapsed; // IE7 can't round corners anyway
|
69
|
+
border-left: 0;
|
69
70
|
@include border-radius(4px);
|
70
71
|
th, td {
|
71
72
|
border-left: 1px solid $tableBorder;
|
72
73
|
}
|
73
74
|
// Prevent a double border
|
75
|
+
caption + thead tr:first-child th, caption + tbody tr:first-child th, caption + tbody tr:first-child td,
|
76
|
+
colgroup + thead tr:first-child th, colgroup + tbody tr:first-child th, colgroup + tbody tr:first-child td,
|
74
77
|
thead:first-child tr:first-child th, tbody:first-child tr:first-child th, tbody:first-child tr:first-child td {
|
75
78
|
border-top: 0;
|
76
79
|
}
|
77
80
|
// For first th or td in the first row in the first thead or tbody
|
78
81
|
thead:first-child tr:first-child th:first-child, tbody:first-child tr:first-child td:first-child {
|
79
|
-
|
82
|
+
-webkit-border-top-left-radius: 4px;
|
83
|
+
border-top-left-radius: 4px;
|
84
|
+
-moz-border-radius-topleft: 4px;
|
80
85
|
}
|
81
86
|
thead:first-child tr:first-child th:last-child, tbody:first-child tr:first-child td:last-child {
|
82
|
-
|
87
|
+
-webkit-border-top-right-radius: 4px;
|
88
|
+
border-top-right-radius: 4px;
|
89
|
+
-moz-border-radius-topright: 4px;
|
83
90
|
}
|
84
91
|
// For first th or td in the first row in the first thead or tbody
|
85
92
|
thead:last-child tr:last-child th:first-child, tbody:last-child tr:last-child td:first-child {
|
86
|
-
|
93
|
+
-webkit-border-bottom-left-radius: 4px;
|
94
|
+
border-bottom-left-radius: 4px;
|
95
|
+
-moz-border-radius-bottomleft: 4px;
|
87
96
|
}
|
88
97
|
thead:last-child tr:last-child th:last-child, tbody:last-child tr:last-child td:last-child {
|
89
|
-
|
98
|
+
-webkit-border-bottom-right-radius: 4px;
|
99
|
+
border-bottom-right-radius: 4px;
|
100
|
+
-moz-border-radius-bottomright: 4px;
|
90
101
|
}
|
91
102
|
}
|
92
103
|
|
@@ -1,15 +1,28 @@
|
|
1
1
|
// THUMBNAILS
|
2
2
|
// ----------
|
3
|
+
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
3
4
|
|
5
|
+
// Make wrapper ul behave like the grid
|
4
6
|
.thumbnails {
|
5
7
|
margin-left: -$gridGutterWidth;
|
6
8
|
list-style: none;
|
7
9
|
@include clearfix();
|
8
10
|
}
|
11
|
+
// Fluid rows have no left margin
|
12
|
+
.row-fluid .thumbnails {
|
13
|
+
margin-left: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Float li to make thumbnails appear in a row
|
9
17
|
.thumbnails > li {
|
10
18
|
float: left;
|
11
19
|
margin: 0 0 $baseLineHeight $gridGutterWidth;
|
20
|
+
float: left; // Explicity set the float since we don't require .span* classes
|
21
|
+
margin-bottom: $baseLineHeight;
|
22
|
+
margin-left: $gridGutterWidth;
|
12
23
|
}
|
24
|
+
|
25
|
+
// The actual thumbnail (can be `a` or `div`)
|
13
26
|
.thumbnail {
|
14
27
|
display: block;
|
15
28
|
padding: 4px;
|
@@ -18,6 +31,7 @@
|
|
18
31
|
@include border-radius(4px);
|
19
32
|
@include box-shadow(0 1px 1px rgba(0,0,0,.075));
|
20
33
|
}
|
34
|
+
|
21
35
|
// Add a hover state for linked versions only
|
22
36
|
a.thumbnail:hover {
|
23
37
|
border-color: $linkColor;
|
@@ -52,8 +52,8 @@ h2 {
|
|
52
52
|
}
|
53
53
|
}
|
54
54
|
h3 {
|
55
|
-
line-height: $baseLineHeight * 1.5;
|
56
55
|
font-size: 18px;
|
56
|
+
line-height: $baseLineHeight * 1.5;
|
57
57
|
small {
|
58
58
|
font-size: 14px;
|
59
59
|
}
|
@@ -131,9 +131,10 @@ dd {
|
|
131
131
|
.dl-horizontal {
|
132
132
|
dt {
|
133
133
|
float: left;
|
134
|
-
clear: left;
|
135
134
|
width: 120px;
|
135
|
+
clear: left;
|
136
136
|
text-align: right;
|
137
|
+
@include text-overflow();
|
137
138
|
}
|
138
139
|
dd {
|
139
140
|
margin-left: 130px;
|
@@ -164,8 +165,8 @@ em {
|
|
164
165
|
|
165
166
|
// Abbreviations and acronyms
|
166
167
|
abbr[title] {
|
167
|
-
border-bottom: 1px dotted #ddd;
|
168
168
|
cursor: help;
|
169
|
+
border-bottom: 1px dotted #ddd;
|
169
170
|
}
|
170
171
|
|
171
172
|
abbr.initialism {
|
@@ -194,10 +195,10 @@ blockquote {
|
|
194
195
|
// Float right with text-align: right
|
195
196
|
&.pull-right {
|
196
197
|
float: right;
|
197
|
-
padding-left: 0;
|
198
198
|
padding-right: 15px;
|
199
|
-
|
199
|
+
padding-left: 0;
|
200
200
|
border-right: 5px solid $grayLighter;
|
201
|
+
border-left: 0;
|
201
202
|
p, small {
|
202
203
|
text-align: right;
|
203
204
|
}
|
@@ -213,8 +214,8 @@ q:before, q:after, blockquote:before, blockquote:after {
|
|
213
214
|
address {
|
214
215
|
display: block;
|
215
216
|
margin-bottom: $baseLineHeight;
|
216
|
-
line-height: $baseLineHeight;
|
217
217
|
font-style: normal;
|
218
|
+
line-height: $baseLineHeight;
|
218
219
|
}
|
219
220
|
|
220
221
|
// Misc
|
@@ -41,15 +41,20 @@ $linkColorHover: darken($linkColor, 15%) !default;
|
|
41
41
|
|
42
42
|
// Typography
|
43
43
|
// -------------------------
|
44
|
+
$sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
45
|
+
$serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
|
46
|
+
$monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
47
|
+
|
44
48
|
$baseFontSize: 13px !default;
|
45
|
-
$baseFontFamily:
|
49
|
+
$baseFontFamily: $sansFontFamily !default;
|
46
50
|
$baseLineHeight: 18px !default;
|
47
|
-
$altFontFamily:
|
51
|
+
$altFontFamily: $serifFontFamily !default;
|
48
52
|
|
49
53
|
$headingsFontFamily: inherit !default; // empty to use BS default, @baseFontFamily
|
50
54
|
$headingsFontWeight: bold !default; // instead of browser default, bold
|
51
55
|
$headingsColor: inherit !default; // empty to use BS default, @textColor
|
52
56
|
|
57
|
+
|
53
58
|
// Tables
|
54
59
|
// -------------------------
|
55
60
|
$tableBackground: transparent !default; // overall background-color
|
@@ -61,7 +66,7 @@ $tableBorder: #ddd !default; // table and cell border
|
|
61
66
|
// -------------------------
|
62
67
|
$btnBackground: $white !default;
|
63
68
|
$btnBackgroundHighlight: darken($white, 10%) !default;
|
64
|
-
$btnBorder:
|
69
|
+
$btnBorder: #ccc !default;
|
65
70
|
|
66
71
|
$btnPrimaryBackground: $linkColor !default;
|
67
72
|
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%) !default;
|
@@ -85,7 +90,9 @@ $btnInverseBackgroundHighlight: $grayDarker !default;
|
|
85
90
|
// -------------------------
|
86
91
|
$inputBackground: $white !default;
|
87
92
|
$inputBorder: #ccc !default;
|
93
|
+
$inputBorderRadius: 3px !default;
|
88
94
|
$inputDisabledBackground: $grayLighter !default;
|
95
|
+
$formActionsBackground: #f5f5f5 !default;
|
89
96
|
|
90
97
|
|
91
98
|
// Dropdowns
|
@@ -145,6 +152,7 @@ $navbarSearchBackground: lighten($navbarBackground, 25%) !default;
|
|
145
152
|
$navbarSearchBackgroundFocus: $white !default;
|
146
153
|
$navbarSearchBorder: darken($navbarSearchBackground, 30%) !default;
|
147
154
|
$navbarSearchPlaceholderColor: #ccc !default;
|
155
|
+
$navbarBrandColor: $navbarLinkColor !default;
|
148
156
|
|
149
157
|
|
150
158
|
// Hero unit
|
@@ -173,19 +181,54 @@ $infoBackground: #d9edf7 !default;
|
|
173
181
|
$infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
|
174
182
|
|
175
183
|
|
176
|
-
|
177
|
-
// GRID
|
184
|
+
// FIXED GRID
|
178
185
|
// --------------------------------------------------
|
179
186
|
|
180
|
-
// Default 940px
|
187
|
+
// Default, 940px
|
181
188
|
// -------------------------
|
182
189
|
$gridColumns: 12 !default;
|
183
190
|
$gridColumnWidth: 60px !default;
|
184
191
|
$gridGutterWidth: 20px !default;
|
185
192
|
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
|
186
193
|
|
194
|
+
// Portrait tablet to default desktop
|
195
|
+
// -------------------------
|
196
|
+
$gridColumnWidthTablet: 42px !default;
|
197
|
+
$gridGutterWidthTablet: 20px !default;
|
198
|
+
|
199
|
+
// Large desktop and up
|
200
|
+
// -------------------------
|
201
|
+
$gridColumnWidthLarge: 70px !default;
|
202
|
+
$gridGutterWidthLarge: 30px !default;
|
203
|
+
|
204
|
+
|
205
|
+
// FLUID GRID
|
206
|
+
// --------------------------------------------------
|
207
|
+
|
208
|
+
// Default
|
209
|
+
// -------------------------
|
210
|
+
$fluidGridColumnWidth: 6.382978723% !default;
|
211
|
+
$fluidGridGutterWidth: 2.127659574% !default;
|
212
|
+
|
213
|
+
// Portrait tablet to default desktop
|
214
|
+
// -------------------------
|
215
|
+
$fluidGridColumnWidthTablet: 5.801104972% !default;
|
216
|
+
$fluidGridGutterWidthTablet: 2.762430939% !default;
|
217
|
+
|
218
|
+
// Large desktop and up
|
219
|
+
// -------------------------
|
220
|
+
$fluidGridColumnWidthLarge: 5.982905983% !default;
|
221
|
+
$fluidGridGutterWidthLarge: 2.564102564% !default;
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
// RESPONSIVE DESIGN
|
226
|
+
// --------------------------------------------------
|
187
227
|
|
188
|
-
//
|
228
|
+
// Media widths
|
189
229
|
// -------------------------
|
190
|
-
|
191
|
-
$
|
230
|
+
// Not supported Sass < 3.2 :(
|
231
|
+
// $mediaPhone: 480px !default;
|
232
|
+
// $mediaTablet: 768px !default;
|
233
|
+
// $mediaDesktop: 980px !default;
|
234
|
+
// $mediaLarge: 1200px !default; // and upper
|