anjlab-bootstrap-rails 2.3.1.2 → 3.0.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/Rakefile +42 -26
- data/lib/bootstrap-rails.rb +5 -6
- data/lib/bootstrap-rails/engine.rb +2 -9
- data/lib/bootstrap-rails/version.rb +1 -1
- data/test/test_helper.rb +2 -2
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.eot +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.otf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.svg +175 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +4 -5
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +50 -47
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +32 -35
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +37 -37
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +123 -127
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +81 -95
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +61 -81
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +146 -151
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +53 -58
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +99 -105
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +70 -81
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +246 -254
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +24 -37
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +1 -1
- data/vendor/{frameworks/twitter/bootstrap/accordion.scss → assets/stylesheets/twitter/bootstrap/_accordion.scss} +2 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +92 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_badges.scss +58 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +64 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +28 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +170 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +160 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +191 -0
- data/vendor/{frameworks/twitter/bootstrap/close.scss → assets/stylesheets/twitter/bootstrap/_close.scss} +7 -6
- data/vendor/{frameworks/twitter/bootstrap/code.scss → assets/stylesheets/twitter/bootstrap/_code.scss} +14 -14
- data/vendor/{frameworks/twitter/bootstrap/component-animations.scss → assets/stylesheets/twitter/bootstrap/_component-animations.scss} +1 -0
- data/vendor/{frameworks/twitter/bootstrap/dropdowns.scss → assets/stylesheets/twitter/bootstrap/_dropdowns.scss} +46 -57
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +464 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +200 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +65 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +32 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels.scss +70 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/media.scss → assets/stylesheets/twitter/bootstrap/_media.scss} +0 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +510 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +137 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +356 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +249 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +54 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +87 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_panels.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/popovers.scss → assets/stylesheets/twitter/bootstrap/_popovers.scss} +32 -32
- data/vendor/assets/stylesheets/twitter/bootstrap/_print.scss +74 -0
- data/vendor/{frameworks/twitter/bootstrap/progress-bars.scss → assets/stylesheets/twitter/bootstrap/_progress-bars.scss} +40 -44
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +77 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +83 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +242 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +43 -0
- data/vendor/{frameworks/twitter/bootstrap/tooltip.scss → assets/stylesheets/twitter/bootstrap/_tooltip.scss} +20 -19
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +253 -0
- data/vendor/{frameworks/twitter/bootstrap/utilities.scss → assets/stylesheets/twitter/bootstrap/_utilities.scss} +17 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +416 -0
- data/vendor/{frameworks/twitter/bootstrap/wells.scss → assets/stylesheets/twitter/bootstrap/_wells.scss} +5 -5
- metadata +49 -53
- data/lib/bootstrap-rails/ie_hex_str.rb +0 -16
- data/test/ie_hex_str_test.rb +0 -26
- data/vendor/assets/images/twitter/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +0 -335
- data/vendor/assets/stylesheets/twitter/bootstrap-responsive.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap/alerts.scss +0 -79
- data/vendor/frameworks/twitter/bootstrap/bootstrap.scss +0 -63
- data/vendor/frameworks/twitter/bootstrap/breadcrumbs.scss +0 -24
- data/vendor/frameworks/twitter/bootstrap/button-groups.scss +0 -230
- data/vendor/frameworks/twitter/bootstrap/buttons.scss +0 -228
- data/vendor/frameworks/twitter/bootstrap/carousel.scss +0 -158
- data/vendor/frameworks/twitter/bootstrap/forms.scss +0 -690
- data/vendor/frameworks/twitter/bootstrap/grid.scss +0 -21
- data/vendor/frameworks/twitter/bootstrap/hero-unit.scss +0 -25
- data/vendor/frameworks/twitter/bootstrap/labels-badges.scss +0 -83
- data/vendor/frameworks/twitter/bootstrap/layouts.scss +0 -16
- data/vendor/frameworks/twitter/bootstrap/mixins.scss +0 -704
- data/vendor/frameworks/twitter/bootstrap/modals.scss +0 -95
- data/vendor/frameworks/twitter/bootstrap/navbar.scss +0 -496
- data/vendor/frameworks/twitter/bootstrap/navs.scss +0 -409
- data/vendor/frameworks/twitter/bootstrap/pager.scss +0 -43
- data/vendor/frameworks/twitter/bootstrap/pagination.scss +0 -123
- data/vendor/frameworks/twitter/bootstrap/reset.scss +0 -216
- data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.scss +0 -28
- data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.scss +0 -19
- data/vendor/frameworks/twitter/bootstrap/responsive-navbar.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-utilities.scss +0 -59
- data/vendor/frameworks/twitter/bootstrap/responsive.scss +0 -48
- data/vendor/frameworks/twitter/bootstrap/scaffolding.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/sprites.scss +0 -197
- data/vendor/frameworks/twitter/bootstrap/tables.scss +0 -235
- data/vendor/frameworks/twitter/bootstrap/thumbnails.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/type.scss +0 -246
- data/vendor/frameworks/twitter/bootstrap/variables.scss +0 -295
@@ -1,235 +0,0 @@
|
|
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
|
-
// Nesting
|
53
|
-
.table {
|
54
|
-
background-color: $bodyBackground;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
// CONDENSED TABLE W/ HALF PADDING
|
61
|
-
// -------------------------------
|
62
|
-
|
63
|
-
.table-condensed {
|
64
|
-
th,
|
65
|
-
td {
|
66
|
-
padding: 4px 5px;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
|
71
|
-
// BORDERED VERSION
|
72
|
-
// ----------------
|
73
|
-
|
74
|
-
.table-bordered {
|
75
|
-
border: 1px solid $tableBorder;
|
76
|
-
border-collapse: separate; // Done so we can round those corners!
|
77
|
-
*border-collapse: collapse; // IE7 can't round corners anyway
|
78
|
-
border-left: 0;
|
79
|
-
@include border-radius($baseBorderRadius);
|
80
|
-
th,
|
81
|
-
td {
|
82
|
-
border-left: 1px solid $tableBorder;
|
83
|
-
}
|
84
|
-
// Prevent a double border
|
85
|
-
caption + thead tr:first-child th,
|
86
|
-
caption + tbody tr:first-child th,
|
87
|
-
caption + tbody tr:first-child td,
|
88
|
-
colgroup + thead tr:first-child th,
|
89
|
-
colgroup + tbody tr:first-child th,
|
90
|
-
colgroup + tbody tr:first-child td,
|
91
|
-
thead:first-child tr:first-child th,
|
92
|
-
tbody:first-child tr:first-child th,
|
93
|
-
tbody:first-child tr:first-child td {
|
94
|
-
border-top: 0;
|
95
|
-
}
|
96
|
-
// For first th/td in the first row in the first thead or tbody
|
97
|
-
thead:first-child tr:first-child > th:first-child,
|
98
|
-
tbody:first-child tr:first-child > td:first-child,
|
99
|
-
tbody:first-child tr:first-child > th:first-child {
|
100
|
-
@include border-top-left-radius($baseBorderRadius);
|
101
|
-
}
|
102
|
-
// For last th/td in the first row in the first thead or tbody
|
103
|
-
thead:first-child tr:first-child > th:last-child,
|
104
|
-
tbody:first-child tr:first-child > td:last-child,
|
105
|
-
tbody:first-child tr:first-child > th:last-child {
|
106
|
-
@include border-top-right-radius($baseBorderRadius);
|
107
|
-
}
|
108
|
-
// For first th/td (can be either) in the last row in the last thead, tbody, and tfoot
|
109
|
-
thead:last-child tr:last-child > th:first-child,
|
110
|
-
tbody:last-child tr:last-child > td:first-child,
|
111
|
-
tbody:last-child tr:last-child > th:first-child,
|
112
|
-
tfoot:last-child tr:last-child > td:first-child,
|
113
|
-
tfoot:last-child tr:last-child > th:first-child {
|
114
|
-
@include border-bottom-left-radius($baseBorderRadius);
|
115
|
-
}
|
116
|
-
// For last th/td (can be either) in the last row in the last thead, tbody, and tfoot
|
117
|
-
thead:last-child tr:last-child > th:last-child,
|
118
|
-
tbody:last-child tr:last-child > td:last-child,
|
119
|
-
tbody:last-child tr:last-child > th:last-child,
|
120
|
-
tfoot:last-child tr:last-child > td:last-child,
|
121
|
-
tfoot:last-child tr:last-child > th:last-child {
|
122
|
-
@include border-bottom-right-radius($baseBorderRadius);
|
123
|
-
}
|
124
|
-
|
125
|
-
// Clear border-radius for first and last td in the last row in the last tbody for table with tfoot
|
126
|
-
tfoot + tbody:last-child tr:last-child td:first-child {
|
127
|
-
@include border-bottom-left-radius(0);
|
128
|
-
}
|
129
|
-
tfoot + tbody:last-child tr:last-child td:last-child {
|
130
|
-
@include border-bottom-right-radius(0);
|
131
|
-
}
|
132
|
-
|
133
|
-
// Special fixes to round the left border on the first td/th
|
134
|
-
caption + thead tr:first-child th:first-child,
|
135
|
-
caption + tbody tr:first-child td:first-child,
|
136
|
-
colgroup + thead tr:first-child th:first-child,
|
137
|
-
colgroup + tbody tr:first-child td:first-child {
|
138
|
-
@include border-top-left-radius($baseBorderRadius);
|
139
|
-
}
|
140
|
-
caption + thead tr:first-child th:last-child,
|
141
|
-
caption + tbody tr:first-child td:last-child,
|
142
|
-
colgroup + thead tr:first-child th:last-child,
|
143
|
-
colgroup + tbody tr:first-child td:last-child {
|
144
|
-
@include border-top-right-radius($baseBorderRadius);
|
145
|
-
}
|
146
|
-
|
147
|
-
}
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
// ZEBRA-STRIPING
|
153
|
-
// --------------
|
154
|
-
|
155
|
-
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
156
|
-
.table-striped {
|
157
|
-
tbody {
|
158
|
-
> tr:nth-child(odd) > td,
|
159
|
-
> tr:nth-child(odd) > th {
|
160
|
-
background-color: $tableBackgroundAccent;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
|
166
|
-
// HOVER EFFECT
|
167
|
-
// ------------
|
168
|
-
// Placed here since it has to come after the potential zebra striping
|
169
|
-
.table-hover {
|
170
|
-
tbody {
|
171
|
-
tr:hover > td,
|
172
|
-
tr:hover > th {
|
173
|
-
background-color: $tableBackgroundHover;
|
174
|
-
}
|
175
|
-
}
|
176
|
-
}
|
177
|
-
|
178
|
-
|
179
|
-
// TABLE CELL SIZING
|
180
|
-
// -----------------
|
181
|
-
|
182
|
-
// Reset default grid behavior
|
183
|
-
table td[class*="span"],
|
184
|
-
table th[class*="span"],
|
185
|
-
.row-fluid table td[class*="span"],
|
186
|
-
.row-fluid table th[class*="span"] {
|
187
|
-
display: table-cell;
|
188
|
-
float: none; // undo default grid column styles
|
189
|
-
margin-left: 0; // undo default grid column styles
|
190
|
-
}
|
191
|
-
|
192
|
-
// Change the column widths to account for td/th padding
|
193
|
-
.table td,
|
194
|
-
.table th {
|
195
|
-
@for $i from 1 through 12 {
|
196
|
-
&.span#{$i} { @include table-columns($i); }
|
197
|
-
}
|
198
|
-
}
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
// TABLE BACKGROUNDS
|
203
|
-
// -----------------
|
204
|
-
// Exact selectors below required to override .table-striped
|
205
|
-
|
206
|
-
.table tbody tr {
|
207
|
-
&.success > td {
|
208
|
-
background-color: $successBackground;
|
209
|
-
}
|
210
|
-
&.error > td {
|
211
|
-
background-color: $errorBackground;
|
212
|
-
}
|
213
|
-
&.warning > td {
|
214
|
-
background-color: $warningBackground;
|
215
|
-
}
|
216
|
-
&.info > td {
|
217
|
-
background-color: $infoBackground;
|
218
|
-
}
|
219
|
-
}
|
220
|
-
|
221
|
-
// Hover states for .table-hover
|
222
|
-
.table-hover tbody tr {
|
223
|
-
&.success:hover > td {
|
224
|
-
background-color: darken($successBackground, 5%);
|
225
|
-
}
|
226
|
-
&.error:hover > td {
|
227
|
-
background-color: darken($errorBackground, 5%);
|
228
|
-
}
|
229
|
-
&.warning:hover > td {
|
230
|
-
background-color: darken($warningBackground, 5%);
|
231
|
-
}
|
232
|
-
&.info:hover > td {
|
233
|
-
background-color: darken($infoBackground, 5%);
|
234
|
-
}
|
235
|
-
}
|
@@ -1,53 +0,0 @@
|
|
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/focus state for linked versions only
|
37
|
-
a.thumbnail:hover,
|
38
|
-
a.thumbnail:focus {
|
39
|
-
border-color: $linkColor;
|
40
|
-
@include box-shadow(0 1px 4px rgba(0,105,214,.25));
|
41
|
-
}
|
42
|
-
|
43
|
-
// Images and captions
|
44
|
-
.thumbnail > img {
|
45
|
-
display: block;
|
46
|
-
max-width: 100%;
|
47
|
-
margin-left: auto;
|
48
|
-
margin-right: auto;
|
49
|
-
}
|
50
|
-
.thumbnail .caption {
|
51
|
-
padding: 9px;
|
52
|
-
color: $gray;
|
53
|
-
}
|
@@ -1,246 +0,0 @@
|
|
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
|
-
// Ex: 14px base font * 85% = about 12px
|
24
|
-
small { font-size: 85%; }
|
25
|
-
|
26
|
-
strong { font-weight: bold; }
|
27
|
-
em { font-style: italic; }
|
28
|
-
cite { font-style: normal; }
|
29
|
-
|
30
|
-
// Utility classes
|
31
|
-
.muted { color: $grayLight; }
|
32
|
-
a.muted:hover,
|
33
|
-
a.muted:focus { color: darken($grayLight, 10%); }
|
34
|
-
|
35
|
-
.text-warning { color: $warningText; }
|
36
|
-
a.text-warning:hover,
|
37
|
-
a.text-warning:focus { color: darken($warningText, 10%); }
|
38
|
-
|
39
|
-
.text-error { color: $errorText; }
|
40
|
-
a.text-error:hover,
|
41
|
-
a.text-error:focus { color: darken($errorText, 10%); }
|
42
|
-
|
43
|
-
.text-info { color: $infoText; }
|
44
|
-
a.text-info:hover,
|
45
|
-
a.text-info:focus { color: darken($infoText, 10%); }
|
46
|
-
|
47
|
-
.text-success { color: $successText; }
|
48
|
-
a.text-success:hover,
|
49
|
-
a.text-success:focus { color: darken($successText, 10%); }
|
50
|
-
|
51
|
-
.text-left { text-align: left; }
|
52
|
-
.text-right { text-align: right; }
|
53
|
-
.text-center { text-align: center; }
|
54
|
-
|
55
|
-
|
56
|
-
// Headings
|
57
|
-
// -------------------------
|
58
|
-
|
59
|
-
h1, h2, h3, h4, h5, h6 {
|
60
|
-
margin: ($baseLineHeight / 2) 0;
|
61
|
-
font-family: $headingsFontFamily;
|
62
|
-
font-weight: $headingsFontWeight;
|
63
|
-
line-height: $baseLineHeight;
|
64
|
-
color: $headingsColor;
|
65
|
-
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
66
|
-
small {
|
67
|
-
font-weight: normal;
|
68
|
-
line-height: 1;
|
69
|
-
color: $grayLight;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
h1,
|
74
|
-
h2,
|
75
|
-
h3 { line-height: $baseLineHeight * 2; }
|
76
|
-
|
77
|
-
h1 { font-size: $baseFontSize * 2.75; } // ~38px
|
78
|
-
h2 { font-size: $baseFontSize * 2.25; } // ~32px
|
79
|
-
h3 { font-size: $baseFontSize * 1.75; } // ~24px
|
80
|
-
h4 { font-size: $baseFontSize * 1.25; } // ~18px
|
81
|
-
h5 { font-size: $baseFontSize; }
|
82
|
-
h6 { font-size: $baseFontSize * 0.85; } // ~12px
|
83
|
-
|
84
|
-
h1 small { font-size: $baseFontSize * 1.75; } // ~24px
|
85
|
-
h2 small { font-size: $baseFontSize * 1.25; } // ~18px
|
86
|
-
h3 small { font-size: $baseFontSize; }
|
87
|
-
h4 small { font-size: $baseFontSize; }
|
88
|
-
|
89
|
-
// Page header
|
90
|
-
// -------------------------
|
91
|
-
|
92
|
-
.page-header {
|
93
|
-
padding-bottom: ($baseLineHeight / 2) - 1;
|
94
|
-
margin: $baseLineHeight 0 ($baseLineHeight * 1.5);
|
95
|
-
border-bottom: 1px solid $grayLighter;
|
96
|
-
}
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
// Lists
|
101
|
-
// --------------------------------------------------
|
102
|
-
|
103
|
-
// Unordered and Ordered lists
|
104
|
-
ul, ol {
|
105
|
-
padding: 0;
|
106
|
-
margin: 0 0 $baseLineHeight / 2 25px;
|
107
|
-
}
|
108
|
-
ul ul,
|
109
|
-
ul ol,
|
110
|
-
ol ol,
|
111
|
-
ol ul {
|
112
|
-
margin-bottom: 0;
|
113
|
-
}
|
114
|
-
li {
|
115
|
-
line-height: $baseLineHeight;
|
116
|
-
}
|
117
|
-
|
118
|
-
// Remove default list styles
|
119
|
-
ul.unstyled,
|
120
|
-
ol.unstyled {
|
121
|
-
margin-left: 0;
|
122
|
-
list-style: none;
|
123
|
-
}
|
124
|
-
|
125
|
-
// Single-line list items
|
126
|
-
ul.inline,
|
127
|
-
ol.inline {
|
128
|
-
margin-left: 0;
|
129
|
-
list-style: none;
|
130
|
-
> li {
|
131
|
-
display: inline-block;
|
132
|
-
@include ie7-inline-block();
|
133
|
-
padding-left: 5px;
|
134
|
-
padding-right: 5px;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
|
138
|
-
// Description Lists
|
139
|
-
dl {
|
140
|
-
margin-bottom: $baseLineHeight;
|
141
|
-
}
|
142
|
-
dt,
|
143
|
-
dd {
|
144
|
-
line-height: $baseLineHeight;
|
145
|
-
}
|
146
|
-
dt {
|
147
|
-
font-weight: bold;
|
148
|
-
}
|
149
|
-
dd {
|
150
|
-
margin-left: $baseLineHeight / 2;
|
151
|
-
}
|
152
|
-
// Horizontal layout (like forms)
|
153
|
-
.dl-horizontal {
|
154
|
-
@include clearfix(); // Ensure dl clears floats if empty dd elements present
|
155
|
-
dt {
|
156
|
-
float: left;
|
157
|
-
width: $horizontalComponentOffset - 20;
|
158
|
-
clear: left;
|
159
|
-
text-align: right;
|
160
|
-
@include text-overflow();
|
161
|
-
}
|
162
|
-
dd {
|
163
|
-
margin-left: $horizontalComponentOffset;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
// MISC
|
168
|
-
// ----
|
169
|
-
|
170
|
-
// Horizontal rules
|
171
|
-
hr {
|
172
|
-
margin: $baseLineHeight 0;
|
173
|
-
border: 0;
|
174
|
-
border-top: 1px solid $hrBorder;
|
175
|
-
border-bottom: 1px solid $white;
|
176
|
-
}
|
177
|
-
|
178
|
-
// Abbreviations and acronyms
|
179
|
-
abbr[title],
|
180
|
-
// Added data-* attribute to help out our tooltip plugin, per https://github.com/twitter/bootstrap/issues/5257
|
181
|
-
abbr[data-original-title] {
|
182
|
-
cursor: help;
|
183
|
-
border-bottom: 1px dotted $grayLight;
|
184
|
-
}
|
185
|
-
abbr.initialism {
|
186
|
-
font-size: 90%;
|
187
|
-
text-transform: uppercase;
|
188
|
-
}
|
189
|
-
|
190
|
-
// Blockquotes
|
191
|
-
blockquote {
|
192
|
-
padding: 0 0 0 15px;
|
193
|
-
margin: 0 0 $baseLineHeight;
|
194
|
-
border-left: 5px solid $grayLighter;
|
195
|
-
p {
|
196
|
-
margin-bottom: 0;
|
197
|
-
font-size: $baseFontSize * 1.25;
|
198
|
-
font-weight: 300;
|
199
|
-
line-height: 1.25;
|
200
|
-
}
|
201
|
-
small {
|
202
|
-
display: block;
|
203
|
-
line-height: $baseLineHeight;
|
204
|
-
color: $grayLight;
|
205
|
-
&:before {
|
206
|
-
content: '\2014 \00A0';
|
207
|
-
}
|
208
|
-
}
|
209
|
-
|
210
|
-
// Float right with text-align: right
|
211
|
-
&.pull-right {
|
212
|
-
float: right;
|
213
|
-
padding-right: 15px;
|
214
|
-
padding-left: 0;
|
215
|
-
border-right: 5px solid $grayLighter;
|
216
|
-
border-left: 0;
|
217
|
-
p,
|
218
|
-
small {
|
219
|
-
text-align: right;
|
220
|
-
}
|
221
|
-
small {
|
222
|
-
&:before {
|
223
|
-
content: '';
|
224
|
-
}
|
225
|
-
&:after {
|
226
|
-
content: '\00A0 \2014';
|
227
|
-
}
|
228
|
-
}
|
229
|
-
}
|
230
|
-
}
|
231
|
-
|
232
|
-
// Quotes
|
233
|
-
q:before,
|
234
|
-
q:after,
|
235
|
-
blockquote:before,
|
236
|
-
blockquote:after {
|
237
|
-
content: "";
|
238
|
-
}
|
239
|
-
|
240
|
-
// Addresses
|
241
|
-
address {
|
242
|
-
display: block;
|
243
|
-
margin-bottom: $baseLineHeight;
|
244
|
-
font-style: normal;
|
245
|
-
line-height: $baseLineHeight;
|
246
|
-
}
|