webgen-sass_twitter_bootstrap-bundle 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/ChangeLog +3 -0
- data/LICENSE +20 -0
- data/README.md +61 -0
- data/VERSION +1 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_accordion.scss +34 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_alerts.scss +65 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_breadcrumbs.scss +24 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_button-groups.scss +242 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_buttons.scss +232 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_carousel.scss +131 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_close.scss +31 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_code.scss +58 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_component-animations.scss +22 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_dropdowns.scss +237 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_forms.scss +682 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_grid.scss +21 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_hero-unit.scss +25 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_labels-badges.scss +71 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_layouts.scss +16 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_media.scss +55 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_mixins.scss +684 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_modals.scss +95 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_navbar.scss +472 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_navs.scss +385 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_pager.scss +41 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_pagination.scss +121 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_popovers.scss +117 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_progress-bars.scss +122 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_reset.scss +138 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-1200px-min.scss +28 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-767px-max.scss +193 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-768px-979px.scss +19 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-navbar.scss +185 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-utilities.scss +58 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_scaffolding.scss +52 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_sprites.scss +195 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tables.scss +227 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_thumbnails.scss +52 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tooltip.scss +70 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_type.scss +227 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_utilities.scss +45 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_variables.scss +301 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_wells.scss +29 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/bootstrap.scss +63 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/responsive.scss +48 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/img/glyphicons-halflings-white.png +0 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/img/glyphicons-halflings.png +0 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-affix.js +106 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-alert.js +88 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-button.js +94 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-carousel.js +176 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-collapse.js +156 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-dropdown.js +148 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-modal.js +234 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-popover.js +103 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-scrollspy.js +151 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-tab.js +133 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-tooltip.js +276 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-transition.js +60 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-typeahead.js +310 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/info.yaml +9 -0
- data/lib/webgen/bundle/sass_twitter_bootstrap/init.rb +3 -0
- metadata +126 -0
@@ -0,0 +1,227 @@
|
|
1
|
+
//
|
2
|
+
// Tables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// BASE TABLES
|
7
|
+
// -----------------
|
8
|
+
|
9
|
+
table {
|
10
|
+
max-width: 100%;
|
11
|
+
background-color: $tableBackground;
|
12
|
+
border-collapse: collapse;
|
13
|
+
border-spacing: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
// BASELINE STYLES
|
17
|
+
// ---------------
|
18
|
+
|
19
|
+
.table {
|
20
|
+
width: 100%;
|
21
|
+
margin-bottom: $baseLineHeight;
|
22
|
+
// Cells
|
23
|
+
th,
|
24
|
+
td {
|
25
|
+
padding: 8px;
|
26
|
+
line-height: $baseLineHeight;
|
27
|
+
text-align: left;
|
28
|
+
vertical-align: top;
|
29
|
+
border-top: 1px solid $tableBorder;
|
30
|
+
}
|
31
|
+
th {
|
32
|
+
font-weight: bold;
|
33
|
+
}
|
34
|
+
// Bottom align for column headings
|
35
|
+
thead th {
|
36
|
+
vertical-align: bottom;
|
37
|
+
}
|
38
|
+
// Remove top border from thead by default
|
39
|
+
caption + thead tr:first-child th,
|
40
|
+
caption + thead tr:first-child td,
|
41
|
+
colgroup + thead tr:first-child th,
|
42
|
+
colgroup + thead tr:first-child td,
|
43
|
+
thead:first-child tr:first-child th,
|
44
|
+
thead:first-child tr:first-child td {
|
45
|
+
border-top: 0;
|
46
|
+
}
|
47
|
+
// Account for multiple tbody instances
|
48
|
+
tbody + tbody {
|
49
|
+
border-top: 2px solid $tableBorder;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
// CONDENSED TABLE W/ HALF PADDING
|
56
|
+
// -------------------------------
|
57
|
+
|
58
|
+
.table-condensed {
|
59
|
+
th,
|
60
|
+
td {
|
61
|
+
padding: 4px 5px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
// BORDERED VERSION
|
67
|
+
// ----------------
|
68
|
+
|
69
|
+
.table-bordered {
|
70
|
+
border: 1px solid $tableBorder;
|
71
|
+
border-collapse: separate; // Done so we can round those corners!
|
72
|
+
*border-collapse: collapse; // IE7 can't round corners anyway
|
73
|
+
border-left: 0;
|
74
|
+
@include border-radius($baseBorderRadius);
|
75
|
+
th,
|
76
|
+
td {
|
77
|
+
border-left: 1px solid $tableBorder;
|
78
|
+
}
|
79
|
+
// Prevent a double border
|
80
|
+
caption + thead tr:first-child th,
|
81
|
+
caption + tbody tr:first-child th,
|
82
|
+
caption + tbody tr:first-child td,
|
83
|
+
colgroup + thead tr:first-child th,
|
84
|
+
colgroup + tbody tr:first-child th,
|
85
|
+
colgroup + tbody tr:first-child td,
|
86
|
+
thead:first-child tr:first-child th,
|
87
|
+
tbody:first-child tr:first-child th,
|
88
|
+
tbody:first-child tr:first-child td {
|
89
|
+
border-top: 0;
|
90
|
+
}
|
91
|
+
// For first th or td in the first row in the first thead or tbody
|
92
|
+
thead:first-child tr:first-child th:first-child,
|
93
|
+
tbody:first-child tr:first-child td:first-child {
|
94
|
+
-webkit-border-top-left-radius: 4px;
|
95
|
+
border-top-left-radius: 4px;
|
96
|
+
-moz-border-radius-topleft: 4px;
|
97
|
+
}
|
98
|
+
thead:first-child tr:first-child th:last-child,
|
99
|
+
tbody:first-child tr:first-child td:last-child {
|
100
|
+
-webkit-border-top-right-radius: 4px;
|
101
|
+
border-top-right-radius: 4px;
|
102
|
+
-moz-border-radius-topright: 4px;
|
103
|
+
}
|
104
|
+
// For first th or td in the first row in the first thead or tbody
|
105
|
+
thead:last-child tr:last-child th:first-child,
|
106
|
+
tbody:last-child tr:last-child td:first-child,
|
107
|
+
tfoot:last-child tr:last-child td:first-child {
|
108
|
+
@include border-radius(0 0 0 4px);
|
109
|
+
-webkit-border-bottom-left-radius: 4px;
|
110
|
+
border-bottom-left-radius: 4px;
|
111
|
+
-moz-border-radius-bottomleft: 4px;
|
112
|
+
}
|
113
|
+
thead:last-child tr:last-child th:last-child,
|
114
|
+
tbody:last-child tr:last-child td:last-child,
|
115
|
+
tfoot:last-child tr:last-child td:last-child {
|
116
|
+
-webkit-border-bottom-right-radius: 4px;
|
117
|
+
border-bottom-right-radius: 4px;
|
118
|
+
-moz-border-radius-bottomright: 4px;
|
119
|
+
}
|
120
|
+
|
121
|
+
// Special fixes to round the left border on the first td/th
|
122
|
+
caption + thead tr:first-child th:first-child,
|
123
|
+
caption + tbody tr:first-child td:first-child,
|
124
|
+
colgroup + thead tr:first-child th:first-child,
|
125
|
+
colgroup + tbody tr:first-child td:first-child {
|
126
|
+
-webkit-border-top-left-radius: 4px;
|
127
|
+
border-top-left-radius: 4px;
|
128
|
+
-moz-border-radius-topleft: 4px;
|
129
|
+
}
|
130
|
+
caption + thead tr:first-child th:last-child,
|
131
|
+
caption + tbody tr:first-child td:last-child,
|
132
|
+
colgroup + thead tr:first-child th:last-child,
|
133
|
+
colgroup + tbody tr:first-child td:last-child {
|
134
|
+
-webkit-border-top-right-radius: 4px;
|
135
|
+
border-top-right-radius: 4px;
|
136
|
+
-moz-border-radius-topright: 4px;
|
137
|
+
}
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
// ZEBRA-STRIPING
|
145
|
+
// --------------
|
146
|
+
|
147
|
+
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
148
|
+
.table-striped {
|
149
|
+
tbody {
|
150
|
+
tr:nth-child(odd) td,
|
151
|
+
tr:nth-child(odd) th {
|
152
|
+
background-color: $tableBackgroundAccent;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
|
158
|
+
// HOVER EFFECT
|
159
|
+
// ------------
|
160
|
+
// Placed here since it has to come after the potential zebra striping
|
161
|
+
.table-hover {
|
162
|
+
tbody {
|
163
|
+
tr:hover td,
|
164
|
+
tr:hover th {
|
165
|
+
background-color: $tableBackgroundHover;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
|
171
|
+
// TABLE CELL SIZING
|
172
|
+
// -----------------
|
173
|
+
|
174
|
+
// Reset default grid behavior
|
175
|
+
table td[class*="span"],
|
176
|
+
table th[class*="span"],
|
177
|
+
.row-fluid table td[class*="span"],
|
178
|
+
.row-fluid table th[class*="span"] {
|
179
|
+
display: table-cell;
|
180
|
+
float: none; // undo default grid column styles
|
181
|
+
margin-left: 0; // undo default grid column styles
|
182
|
+
}
|
183
|
+
|
184
|
+
// Change the column widths to account for td/th padding
|
185
|
+
.table td,
|
186
|
+
.table th {
|
187
|
+
@for $i from 1 through 12 {
|
188
|
+
&.span#{$i} { @include tableColumns($i); }
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
// TABLE BACKGROUNDS
|
195
|
+
// -----------------
|
196
|
+
// Exact selectors below required to override .table-striped
|
197
|
+
|
198
|
+
.table tbody tr {
|
199
|
+
&.success td {
|
200
|
+
background-color: $successBackground;
|
201
|
+
}
|
202
|
+
&.error td {
|
203
|
+
background-color: $errorBackground;
|
204
|
+
}
|
205
|
+
&.warning td {
|
206
|
+
background-color: $warningBackground;
|
207
|
+
}
|
208
|
+
&.info td {
|
209
|
+
background-color: $infoBackground;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
// Hover states for .table-hover
|
214
|
+
.table-hover tbody tr {
|
215
|
+
&.success:hover td {
|
216
|
+
background-color: darken($successBackground, 5%);
|
217
|
+
}
|
218
|
+
&.error:hover td {
|
219
|
+
background-color: darken($errorBackground, 5%);
|
220
|
+
}
|
221
|
+
&.warning:hover td {
|
222
|
+
background-color: darken($warningBackground, 5%);
|
223
|
+
}
|
224
|
+
&.info:hover td {
|
225
|
+
background-color: darken($infoBackground, 5%);
|
226
|
+
}
|
227
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
//
|
2
|
+
// Thumbnails
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
7
|
+
|
8
|
+
// Make wrapper ul behave like the grid
|
9
|
+
.thumbnails {
|
10
|
+
margin-left: -$gridGutterWidth;
|
11
|
+
list-style: none;
|
12
|
+
@include clearfix();
|
13
|
+
}
|
14
|
+
// Fluid rows have no left margin
|
15
|
+
.row-fluid .thumbnails {
|
16
|
+
margin-left: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
// Float li to make thumbnails appear in a row
|
20
|
+
.thumbnails > li {
|
21
|
+
float: left; // Explicity set the float since we don't require .span* classes
|
22
|
+
margin-bottom: $baseLineHeight;
|
23
|
+
margin-left: $gridGutterWidth;
|
24
|
+
}
|
25
|
+
|
26
|
+
// The actual thumbnail (can be `a` or `div`)
|
27
|
+
.thumbnail {
|
28
|
+
display: block;
|
29
|
+
padding: 4px;
|
30
|
+
line-height: $baseLineHeight;
|
31
|
+
border: 1px solid #ddd;
|
32
|
+
@include border-radius($baseBorderRadius);
|
33
|
+
@include box-shadow(0 1px 3px rgba(0,0,0,.055));
|
34
|
+
@include transition(all .2s ease-in-out);
|
35
|
+
}
|
36
|
+
// Add a hover state for linked versions only
|
37
|
+
a.thumbnail:hover {
|
38
|
+
border-color: $linkColor;
|
39
|
+
@include box-shadow(0 1px 4px rgba(0,105,214,.25));
|
40
|
+
}
|
41
|
+
|
42
|
+
// Images and captions
|
43
|
+
.thumbnail > img {
|
44
|
+
display: block;
|
45
|
+
max-width: 100%;
|
46
|
+
margin-left: auto;
|
47
|
+
margin-right: auto;
|
48
|
+
}
|
49
|
+
.thumbnail .caption {
|
50
|
+
padding: 9px;
|
51
|
+
color: $gray;
|
52
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
//
|
2
|
+
// Tooltips
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
.tooltip {
|
8
|
+
position: absolute;
|
9
|
+
z-index: $zindexTooltip;
|
10
|
+
display: block;
|
11
|
+
visibility: visible;
|
12
|
+
padding: 5px;
|
13
|
+
font-size: 11px;
|
14
|
+
@include opacity(0);
|
15
|
+
&.in { @include opacity(80); }
|
16
|
+
&.top { margin-top: -3px; }
|
17
|
+
&.right { margin-left: 3px; }
|
18
|
+
&.bottom { margin-top: 3px; }
|
19
|
+
&.left { margin-left: -3px; }
|
20
|
+
}
|
21
|
+
|
22
|
+
// Wrapper for the tooltip content
|
23
|
+
.tooltip-inner {
|
24
|
+
max-width: 200px;
|
25
|
+
padding: 3px 8px;
|
26
|
+
color: $tooltipColor;
|
27
|
+
text-align: center;
|
28
|
+
text-decoration: none;
|
29
|
+
background-color: $tooltipBackground;
|
30
|
+
@include border-radius($baseBorderRadius);
|
31
|
+
}
|
32
|
+
|
33
|
+
// Arrows
|
34
|
+
.tooltip-arrow {
|
35
|
+
position: absolute;
|
36
|
+
width: 0;
|
37
|
+
height: 0;
|
38
|
+
border-color: transparent;
|
39
|
+
border-style: solid;
|
40
|
+
}
|
41
|
+
.tooltip {
|
42
|
+
&.top .tooltip-arrow {
|
43
|
+
bottom: 0;
|
44
|
+
left: 50%;
|
45
|
+
margin-left: -$tooltipArrowWidth;
|
46
|
+
border-width: $tooltipArrowWidth $tooltipArrowWidth 0;
|
47
|
+
border-top-color: $tooltipArrowColor;
|
48
|
+
}
|
49
|
+
&.right .tooltip-arrow {
|
50
|
+
top: 50%;
|
51
|
+
left: 0;
|
52
|
+
margin-top: -$tooltipArrowWidth;
|
53
|
+
border-width: $tooltipArrowWidth $tooltipArrowWidth $tooltipArrowWidth 0;
|
54
|
+
border-right-color: $tooltipArrowColor;
|
55
|
+
}
|
56
|
+
&.left .tooltip-arrow {
|
57
|
+
top: 50%;
|
58
|
+
right: 0;
|
59
|
+
margin-top: -$tooltipArrowWidth;
|
60
|
+
border-width: $tooltipArrowWidth 0 $tooltipArrowWidth $tooltipArrowWidth;
|
61
|
+
border-left-color: $tooltipArrowColor;
|
62
|
+
}
|
63
|
+
&.bottom .tooltip-arrow {
|
64
|
+
top: 0;
|
65
|
+
left: 50%;
|
66
|
+
margin-left: -$tooltipArrowWidth;
|
67
|
+
border-width: 0 $tooltipArrowWidth $tooltipArrowWidth;
|
68
|
+
border-bottom-color: $tooltipArrowColor;
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,227 @@
|
|
1
|
+
//
|
2
|
+
// Typography
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Body text
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
p {
|
10
|
+
margin: 0 0 $baseLineHeight / 2;
|
11
|
+
}
|
12
|
+
.lead {
|
13
|
+
margin-bottom: $baseLineHeight;
|
14
|
+
font-size: $baseFontSize * 1.5;;
|
15
|
+
font-weight: 200;
|
16
|
+
line-height: $baseLineHeight * 1.5;
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
// Emphasis & misc
|
21
|
+
// -------------------------
|
22
|
+
|
23
|
+
small {
|
24
|
+
font-size: 85%; // Ex: 14px base font * 85% = about 12px
|
25
|
+
}
|
26
|
+
strong {
|
27
|
+
font-weight: bold;
|
28
|
+
}
|
29
|
+
em {
|
30
|
+
font-style: italic;
|
31
|
+
}
|
32
|
+
cite {
|
33
|
+
font-style: normal;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Utility classes
|
37
|
+
.muted {
|
38
|
+
color: $grayLight;
|
39
|
+
}
|
40
|
+
.text-warning { color: $warningText; }
|
41
|
+
a.text-warning:hover { color: darken($warningText, 10%); }
|
42
|
+
|
43
|
+
.text-error { color: $errorText; }
|
44
|
+
a.text-error:hover { color: darken($errorText, 10%); }
|
45
|
+
|
46
|
+
.text-info { color: $infoText; }
|
47
|
+
a.text-info:hover { color: darken($infoText, 10%); }
|
48
|
+
|
49
|
+
.text-success { color: $successText; }
|
50
|
+
a.text-success:hover { color: darken($successText, 10%); }
|
51
|
+
|
52
|
+
|
53
|
+
// Headings
|
54
|
+
// -------------------------
|
55
|
+
|
56
|
+
h1, h2, h3, h4, h5, h6 {
|
57
|
+
margin: ($baseLineHeight / 2) 0;
|
58
|
+
font-family: $headingsFontFamily;
|
59
|
+
font-weight: $headingsFontWeight;
|
60
|
+
line-height: $baseLineHeight;
|
61
|
+
color: $headingsColor;
|
62
|
+
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
63
|
+
small {
|
64
|
+
font-weight: normal;
|
65
|
+
line-height: 1;
|
66
|
+
color: $grayLight;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
h1,
|
71
|
+
h2,
|
72
|
+
h3 { line-height: $baseLineHeight * 2; }
|
73
|
+
|
74
|
+
h1 { font-size: $baseFontSize * 2.75; } // ~38px
|
75
|
+
h2 { font-size: $baseFontSize * 2.25; } // ~32px
|
76
|
+
h3 { font-size: $baseFontSize * 1.75; } // ~24px
|
77
|
+
h4 { font-size: $baseFontSize * 1.25; } // ~18px
|
78
|
+
h5 { font-size: $baseFontSize; }
|
79
|
+
h6 { font-size: $baseFontSize * 0.85; } // ~12px
|
80
|
+
|
81
|
+
h1 small { font-size: $baseFontSize * 1.75; } // ~24px
|
82
|
+
h2 small { font-size: $baseFontSize * 1.25; } // ~18px
|
83
|
+
h3 small { font-size: $baseFontSize; }
|
84
|
+
h4 small { font-size: $baseFontSize; }
|
85
|
+
|
86
|
+
|
87
|
+
// Page header
|
88
|
+
// -------------------------
|
89
|
+
|
90
|
+
.page-header {
|
91
|
+
padding-bottom: ($baseLineHeight / 2) - 1;
|
92
|
+
margin: $baseLineHeight 0 ($baseLineHeight * 1.5);
|
93
|
+
border-bottom: 1px solid $grayLighter;
|
94
|
+
}
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
// Lists
|
99
|
+
// --------------------------------------------------
|
100
|
+
|
101
|
+
// Unordered and Ordered lists
|
102
|
+
ul, ol {
|
103
|
+
padding: 0;
|
104
|
+
margin: 0 0 $baseLineHeight / 2 25px;
|
105
|
+
}
|
106
|
+
ul ul,
|
107
|
+
ul ol,
|
108
|
+
ol ol,
|
109
|
+
ol ul {
|
110
|
+
margin-bottom: 0;
|
111
|
+
}
|
112
|
+
li {
|
113
|
+
line-height: $baseLineHeight;
|
114
|
+
}
|
115
|
+
ul.unstyled,
|
116
|
+
ol.unstyled {
|
117
|
+
margin-left: 0;
|
118
|
+
list-style: none;
|
119
|
+
}
|
120
|
+
|
121
|
+
// Description Lists
|
122
|
+
dl {
|
123
|
+
margin-bottom: $baseLineHeight;
|
124
|
+
}
|
125
|
+
dt,
|
126
|
+
dd {
|
127
|
+
line-height: $baseLineHeight;
|
128
|
+
}
|
129
|
+
dt {
|
130
|
+
font-weight: bold;
|
131
|
+
}
|
132
|
+
dd {
|
133
|
+
margin-left: $baseLineHeight / 2;
|
134
|
+
}
|
135
|
+
// Horizontal layout (like forms)
|
136
|
+
.dl-horizontal {
|
137
|
+
@include clearfix(); // Ensure dl clears floats if empty dd elements present
|
138
|
+
dt {
|
139
|
+
float: left;
|
140
|
+
width: $horizontalComponentOffset - 20;
|
141
|
+
clear: left;
|
142
|
+
text-align: right;
|
143
|
+
@include text-overflow();
|
144
|
+
}
|
145
|
+
dd {
|
146
|
+
margin-left: $horizontalComponentOffset;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
// MISC
|
151
|
+
// ----
|
152
|
+
|
153
|
+
// Horizontal rules
|
154
|
+
hr {
|
155
|
+
margin: $baseLineHeight 0;
|
156
|
+
border: 0;
|
157
|
+
border-top: 1px solid $hrBorder;
|
158
|
+
border-bottom: 1px solid $white;
|
159
|
+
}
|
160
|
+
|
161
|
+
// Abbreviations and acronyms
|
162
|
+
abbr[title],
|
163
|
+
// Added data-* attribute to help out our tooltip plugin, per https://github.com/twitter/bootstrap/issues/5257
|
164
|
+
abbr[data-original-title] {
|
165
|
+
cursor: help;
|
166
|
+
border-bottom: 1px dotted $grayLight;
|
167
|
+
}
|
168
|
+
abbr.initialism {
|
169
|
+
font-size: 90%;
|
170
|
+
text-transform: uppercase;
|
171
|
+
}
|
172
|
+
|
173
|
+
// Blockquotes
|
174
|
+
blockquote {
|
175
|
+
padding: 0 0 0 15px;
|
176
|
+
margin: 0 0 $baseLineHeight;
|
177
|
+
border-left: 5px solid $grayLighter;
|
178
|
+
p {
|
179
|
+
margin-bottom: 0;
|
180
|
+
@include font-shorthand(16px,300,$baseLineHeight * 1.25);
|
181
|
+
}
|
182
|
+
small {
|
183
|
+
display: block;
|
184
|
+
line-height: $baseLineHeight;
|
185
|
+
color: $grayLight;
|
186
|
+
&:before {
|
187
|
+
content: '\2014 \00A0';
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
// Float right with text-align: right
|
192
|
+
&.pull-right {
|
193
|
+
float: right;
|
194
|
+
padding-right: 15px;
|
195
|
+
padding-left: 0;
|
196
|
+
border-right: 5px solid $grayLighter;
|
197
|
+
border-left: 0;
|
198
|
+
p,
|
199
|
+
small {
|
200
|
+
text-align: right;
|
201
|
+
}
|
202
|
+
small {
|
203
|
+
&:before {
|
204
|
+
content: '';
|
205
|
+
}
|
206
|
+
&:after {
|
207
|
+
content: '\00A0 \2014';
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
// Quotes
|
214
|
+
q:before,
|
215
|
+
q:after,
|
216
|
+
blockquote:before,
|
217
|
+
blockquote:after {
|
218
|
+
content: "";
|
219
|
+
}
|
220
|
+
|
221
|
+
// Addresses
|
222
|
+
address {
|
223
|
+
display: block;
|
224
|
+
margin-bottom: $baseLineHeight;
|
225
|
+
font-style: normal;
|
226
|
+
line-height: $baseLineHeight;
|
227
|
+
}
|