webgen-sass_twitter_bootstrap-bundle 1.0.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.
- 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,385 @@
|
|
1
|
+
//
|
2
|
+
// Navs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// BASE CLASS
|
7
|
+
// ----------
|
8
|
+
|
9
|
+
.nav {
|
10
|
+
margin-left: 0;
|
11
|
+
margin-bottom: $baseLineHeight;
|
12
|
+
list-style: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Make links block level
|
16
|
+
.nav > li > a {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
.nav > li > a:hover {
|
20
|
+
text-decoration: none;
|
21
|
+
background-color: $grayLighter;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Redeclare pull classes because of specifity
|
25
|
+
.nav > .pull-right {
|
26
|
+
float: right;
|
27
|
+
}
|
28
|
+
|
29
|
+
// Nav headers (for dropdowns and lists)
|
30
|
+
.nav-header {
|
31
|
+
display: block;
|
32
|
+
padding: 3px 15px;
|
33
|
+
font-size: 11px;
|
34
|
+
font-weight: bold;
|
35
|
+
line-height: $baseLineHeight;
|
36
|
+
color: $grayLight;
|
37
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
38
|
+
text-transform: uppercase;
|
39
|
+
}
|
40
|
+
// Space them out when they follow another list item (link)
|
41
|
+
.nav li + .nav-header {
|
42
|
+
margin-top: 9px;
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
// NAV LIST
|
48
|
+
// --------
|
49
|
+
|
50
|
+
.nav-list {
|
51
|
+
padding-left: 15px;
|
52
|
+
padding-right: 15px;
|
53
|
+
margin-bottom: 0;
|
54
|
+
}
|
55
|
+
.nav-list > li > a,
|
56
|
+
.nav-list .nav-header {
|
57
|
+
margin-left: -15px;
|
58
|
+
margin-right: -15px;
|
59
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
60
|
+
}
|
61
|
+
.nav-list > li > a {
|
62
|
+
padding: 3px 15px;
|
63
|
+
}
|
64
|
+
.nav-list > .active > a,
|
65
|
+
.nav-list > .active > a:hover {
|
66
|
+
color: $white;
|
67
|
+
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
68
|
+
background-color: $linkColor;
|
69
|
+
}
|
70
|
+
.nav-list [class^="icon-"],
|
71
|
+
.nav-list [class*=" icon-"] {
|
72
|
+
margin-right: 2px;
|
73
|
+
}
|
74
|
+
// Dividers (basically an hr) within the dropdown
|
75
|
+
.nav-list .divider {
|
76
|
+
@include nav-divider();
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
// TABS AND PILLS
|
82
|
+
// -------------
|
83
|
+
|
84
|
+
// Common styles
|
85
|
+
.nav-tabs,
|
86
|
+
.nav-pills {
|
87
|
+
@include clearfix();
|
88
|
+
}
|
89
|
+
.nav-tabs > li,
|
90
|
+
.nav-pills > li {
|
91
|
+
float: left;
|
92
|
+
}
|
93
|
+
.nav-tabs > li > a,
|
94
|
+
.nav-pills > li > a {
|
95
|
+
padding-right: 12px;
|
96
|
+
padding-left: 12px;
|
97
|
+
margin-right: 2px;
|
98
|
+
line-height: 14px; // keeps the overall height an even number
|
99
|
+
}
|
100
|
+
|
101
|
+
// TABS
|
102
|
+
// ----
|
103
|
+
|
104
|
+
// Give the tabs something to sit on
|
105
|
+
.nav-tabs {
|
106
|
+
border-bottom: 1px solid #ddd;
|
107
|
+
}
|
108
|
+
// Make the list-items overlay the bottom border
|
109
|
+
.nav-tabs > li {
|
110
|
+
margin-bottom: -1px;
|
111
|
+
}
|
112
|
+
// Actual tabs (as links)
|
113
|
+
.nav-tabs > li > a {
|
114
|
+
padding-top: 8px;
|
115
|
+
padding-bottom: 8px;
|
116
|
+
line-height: $baseLineHeight;
|
117
|
+
border: 1px solid transparent;
|
118
|
+
@include border-radius(4px 4px 0 0);
|
119
|
+
&:hover {
|
120
|
+
border-color: $grayLighter $grayLighter #ddd;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
// Active state, and it's :hover to override normal :hover
|
124
|
+
.nav-tabs > .active > a,
|
125
|
+
.nav-tabs > .active > a:hover {
|
126
|
+
color: $gray;
|
127
|
+
background-color: $bodyBackground;
|
128
|
+
border: 1px solid #ddd;
|
129
|
+
border-bottom-color: transparent;
|
130
|
+
cursor: default;
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
// PILLS
|
135
|
+
// -----
|
136
|
+
|
137
|
+
// Links rendered as pills
|
138
|
+
.nav-pills > li > a {
|
139
|
+
padding-top: 8px;
|
140
|
+
padding-bottom: 8px;
|
141
|
+
margin-top: 2px;
|
142
|
+
margin-bottom: 2px;
|
143
|
+
@include border-radius(5px);
|
144
|
+
}
|
145
|
+
|
146
|
+
// Active state
|
147
|
+
.nav-pills > .active > a,
|
148
|
+
.nav-pills > .active > a:hover {
|
149
|
+
color: $white;
|
150
|
+
background-color: $linkColor;
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
// STACKED NAV
|
156
|
+
// -----------
|
157
|
+
|
158
|
+
// Stacked tabs and pills
|
159
|
+
.nav-stacked > li {
|
160
|
+
float: none;
|
161
|
+
}
|
162
|
+
.nav-stacked > li > a {
|
163
|
+
margin-right: 0; // no need for the gap between nav items
|
164
|
+
}
|
165
|
+
|
166
|
+
// Tabs
|
167
|
+
.nav-tabs.nav-stacked {
|
168
|
+
border-bottom: 0;
|
169
|
+
}
|
170
|
+
.nav-tabs.nav-stacked > li > a {
|
171
|
+
border: 1px solid #ddd;
|
172
|
+
@include border-radius(0);
|
173
|
+
}
|
174
|
+
.nav-tabs.nav-stacked > li:first-child > a {
|
175
|
+
@include border-top-radius(4px);
|
176
|
+
}
|
177
|
+
.nav-tabs.nav-stacked > li:last-child > a {
|
178
|
+
@include border-bottom-radius(4px);
|
179
|
+
}
|
180
|
+
.nav-tabs.nav-stacked > li > a:hover {
|
181
|
+
border-color: #ddd;
|
182
|
+
z-index: 2;
|
183
|
+
}
|
184
|
+
|
185
|
+
// Pills
|
186
|
+
.nav-pills.nav-stacked > li > a {
|
187
|
+
margin-bottom: 3px;
|
188
|
+
}
|
189
|
+
.nav-pills.nav-stacked > li:last-child > a {
|
190
|
+
margin-bottom: 1px; // decrease margin to match sizing of stacked tabs
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
// DROPDOWNS
|
196
|
+
// ---------
|
197
|
+
|
198
|
+
.nav-tabs .dropdown-menu {
|
199
|
+
@include border-radius(0 0 6px 6px); // remove the top rounded corners here since there is a hard edge above the menu
|
200
|
+
}
|
201
|
+
.nav-pills .dropdown-menu {
|
202
|
+
@include border-radius(6px); // make rounded corners match the pills
|
203
|
+
}
|
204
|
+
|
205
|
+
// Default dropdown links
|
206
|
+
// -------------------------
|
207
|
+
// Make carets use linkColor to start
|
208
|
+
.nav .dropdown-toggle .caret {
|
209
|
+
border-top-color: $linkColor;
|
210
|
+
border-bottom-color: $linkColor;
|
211
|
+
margin-top: 6px;
|
212
|
+
}
|
213
|
+
.nav .dropdown-toggle:hover .caret {
|
214
|
+
border-top-color: $linkColorHover;
|
215
|
+
border-bottom-color: $linkColorHover;
|
216
|
+
}
|
217
|
+
/* move down carets for tabs */
|
218
|
+
.nav-tabs .dropdown-toggle .caret {
|
219
|
+
margin-top: 8px;
|
220
|
+
}
|
221
|
+
|
222
|
+
// Active dropdown links
|
223
|
+
// -------------------------
|
224
|
+
.nav .active .dropdown-toggle .caret {
|
225
|
+
border-top-color: #fff;
|
226
|
+
border-bottom-color: #fff;
|
227
|
+
}
|
228
|
+
.nav-tabs .active .dropdown-toggle .caret {
|
229
|
+
border-top-color: $gray;
|
230
|
+
border-bottom-color: $gray;
|
231
|
+
}
|
232
|
+
|
233
|
+
// Active:hover dropdown links
|
234
|
+
// -------------------------
|
235
|
+
.nav > .dropdown.active > a:hover {
|
236
|
+
cursor: pointer;
|
237
|
+
}
|
238
|
+
|
239
|
+
// Open dropdowns
|
240
|
+
// -------------------------
|
241
|
+
.nav-tabs .open .dropdown-toggle,
|
242
|
+
.nav-pills .open .dropdown-toggle,
|
243
|
+
.nav > li.dropdown.open.active > a:hover {
|
244
|
+
color: $white;
|
245
|
+
background-color: $grayLight;
|
246
|
+
border-color: $grayLight;
|
247
|
+
}
|
248
|
+
.nav li.dropdown.open .caret,
|
249
|
+
.nav li.dropdown.open.active .caret,
|
250
|
+
.nav li.dropdown.open a:hover .caret {
|
251
|
+
border-top-color: $white;
|
252
|
+
border-bottom-color: $white;
|
253
|
+
@include opacity(100);
|
254
|
+
}
|
255
|
+
|
256
|
+
// Dropdowns in stacked tabs
|
257
|
+
.tabs-stacked .open > a:hover {
|
258
|
+
border-color: $grayLight;
|
259
|
+
}
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
// TABBABLE
|
264
|
+
// --------
|
265
|
+
|
266
|
+
|
267
|
+
// COMMON STYLES
|
268
|
+
// -------------
|
269
|
+
|
270
|
+
// Clear any floats
|
271
|
+
.tabbable {
|
272
|
+
@include clearfix();
|
273
|
+
}
|
274
|
+
.tab-content {
|
275
|
+
overflow: auto; // prevent content from running below tabs
|
276
|
+
}
|
277
|
+
|
278
|
+
// Remove border on bottom, left, right
|
279
|
+
.tabs-below > .nav-tabs,
|
280
|
+
.tabs-right > .nav-tabs,
|
281
|
+
.tabs-left > .nav-tabs {
|
282
|
+
border-bottom: 0;
|
283
|
+
}
|
284
|
+
|
285
|
+
// Show/hide tabbable areas
|
286
|
+
.tab-content > .tab-pane,
|
287
|
+
.pill-content > .pill-pane {
|
288
|
+
display: none;
|
289
|
+
}
|
290
|
+
.tab-content > .active,
|
291
|
+
.pill-content > .active {
|
292
|
+
display: block;
|
293
|
+
}
|
294
|
+
|
295
|
+
|
296
|
+
// BOTTOM
|
297
|
+
// ------
|
298
|
+
|
299
|
+
.tabs-below > .nav-tabs {
|
300
|
+
border-top: 1px solid #ddd;
|
301
|
+
}
|
302
|
+
.tabs-below > .nav-tabs > li {
|
303
|
+
margin-top: -1px;
|
304
|
+
margin-bottom: 0;
|
305
|
+
}
|
306
|
+
.tabs-below > .nav-tabs > li > a {
|
307
|
+
@include border-radius(0 0 4px 4px);
|
308
|
+
&:hover {
|
309
|
+
border-bottom-color: transparent;
|
310
|
+
border-top-color: #ddd;
|
311
|
+
}
|
312
|
+
}
|
313
|
+
.tabs-below > .nav-tabs > .active > a,
|
314
|
+
.tabs-below > .nav-tabs > .active > a:hover {
|
315
|
+
border-color: transparent #ddd #ddd #ddd;
|
316
|
+
}
|
317
|
+
|
318
|
+
// LEFT & RIGHT
|
319
|
+
// ------------
|
320
|
+
|
321
|
+
// Common styles
|
322
|
+
.tabs-left > .nav-tabs > li,
|
323
|
+
.tabs-right > .nav-tabs > li {
|
324
|
+
float: none;
|
325
|
+
}
|
326
|
+
.tabs-left > .nav-tabs > li > a,
|
327
|
+
.tabs-right > .nav-tabs > li > a {
|
328
|
+
min-width: 74px;
|
329
|
+
margin-right: 0;
|
330
|
+
margin-bottom: 3px;
|
331
|
+
}
|
332
|
+
|
333
|
+
// Tabs on the left
|
334
|
+
.tabs-left > .nav-tabs {
|
335
|
+
float: left;
|
336
|
+
margin-right: 19px;
|
337
|
+
border-right: 1px solid #ddd;
|
338
|
+
}
|
339
|
+
.tabs-left > .nav-tabs > li > a {
|
340
|
+
margin-right: -1px;
|
341
|
+
@include border-radius(4px 0 0 4px);
|
342
|
+
}
|
343
|
+
.tabs-left > .nav-tabs > li > a:hover {
|
344
|
+
border-color: $grayLighter #ddd $grayLighter $grayLighter;
|
345
|
+
}
|
346
|
+
.tabs-left > .nav-tabs .active > a,
|
347
|
+
.tabs-left > .nav-tabs .active > a:hover {
|
348
|
+
border-color: #ddd transparent #ddd #ddd;
|
349
|
+
*border-right-color: $white;
|
350
|
+
}
|
351
|
+
|
352
|
+
// Tabs on the right
|
353
|
+
.tabs-right > .nav-tabs {
|
354
|
+
float: right;
|
355
|
+
margin-left: 19px;
|
356
|
+
border-left: 1px solid #ddd;
|
357
|
+
}
|
358
|
+
.tabs-right > .nav-tabs > li > a {
|
359
|
+
margin-left: -1px;
|
360
|
+
@include border-radius(0 4px 4px 0);
|
361
|
+
}
|
362
|
+
.tabs-right > .nav-tabs > li > a:hover {
|
363
|
+
border-color: $grayLighter $grayLighter $grayLighter #ddd;
|
364
|
+
}
|
365
|
+
.tabs-right > .nav-tabs .active > a,
|
366
|
+
.tabs-right > .nav-tabs .active > a:hover {
|
367
|
+
border-color: #ddd #ddd #ddd transparent;
|
368
|
+
*border-left-color: $white;
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
// DISABLED STATES
|
374
|
+
// ---------------
|
375
|
+
|
376
|
+
// Gray out text
|
377
|
+
.nav > .disabled > a {
|
378
|
+
color: $grayLight;
|
379
|
+
}
|
380
|
+
// Nuke hover effects
|
381
|
+
.nav > .disabled > a:hover {
|
382
|
+
text-decoration: none;
|
383
|
+
background-color: transparent;
|
384
|
+
cursor: default;
|
385
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
//
|
2
|
+
// Pager pagination
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.pager {
|
7
|
+
margin: $baseLineHeight 0;
|
8
|
+
list-style: none;
|
9
|
+
text-align: center;
|
10
|
+
@include clearfix();
|
11
|
+
}
|
12
|
+
.pager li {
|
13
|
+
display: inline;
|
14
|
+
}
|
15
|
+
.pager li > a,
|
16
|
+
.pager li > span {
|
17
|
+
display: inline-block;
|
18
|
+
padding: 5px 14px;
|
19
|
+
background-color: #fff;
|
20
|
+
border: 1px solid #ddd;
|
21
|
+
@include border-radius(15px);
|
22
|
+
}
|
23
|
+
.pager li > a:hover {
|
24
|
+
text-decoration: none;
|
25
|
+
background-color: #f5f5f5;
|
26
|
+
}
|
27
|
+
.pager .next > a,
|
28
|
+
.pager .next > span {
|
29
|
+
float: right;
|
30
|
+
}
|
31
|
+
.pager .previous > a,
|
32
|
+
.pager .previous > span {
|
33
|
+
float: left;
|
34
|
+
}
|
35
|
+
.pager .disabled > a,
|
36
|
+
.pager .disabled > a:hover,
|
37
|
+
.pager .disabled > span {
|
38
|
+
color: $grayLight;
|
39
|
+
background-color: #fff;
|
40
|
+
cursor: default;
|
41
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
//
|
2
|
+
// Pagination (multiple pages)
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Space out pagination from surrounding content
|
6
|
+
.pagination {
|
7
|
+
margin: $baseLineHeight 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
.pagination ul {
|
11
|
+
// Allow for text-based alignment
|
12
|
+
display: inline-block;
|
13
|
+
@include ie7-inline-block();
|
14
|
+
// Reset default ul styles
|
15
|
+
margin-left: 0;
|
16
|
+
margin-bottom: 0;
|
17
|
+
// Visuals
|
18
|
+
@include border-radius($baseBorderRadius);
|
19
|
+
@include box-shadow(0 1px 2px rgba(0,0,0,.05));
|
20
|
+
}
|
21
|
+
.pagination ul > li {
|
22
|
+
display: inline; // Remove list-style and block-level defaults
|
23
|
+
}
|
24
|
+
.pagination ul > li > a,
|
25
|
+
.pagination ul > li > span {
|
26
|
+
float: left; // Collapse white-space
|
27
|
+
padding: 4px 12px;
|
28
|
+
line-height: $baseLineHeight;
|
29
|
+
text-decoration: none;
|
30
|
+
background-color: $paginationBackground;
|
31
|
+
border: 1px solid $paginationBorder;
|
32
|
+
border-left-width: 0;
|
33
|
+
}
|
34
|
+
.pagination ul > li > a:hover,
|
35
|
+
.pagination ul > .active > a,
|
36
|
+
.pagination ul > .active > span {
|
37
|
+
background-color: $paginationActiveBackground;
|
38
|
+
}
|
39
|
+
.pagination ul > .active > a,
|
40
|
+
.pagination ul > .active > span {
|
41
|
+
color: $grayLight;
|
42
|
+
cursor: default;
|
43
|
+
}
|
44
|
+
.pagination ul > .disabled > span,
|
45
|
+
.pagination ul > .disabled > a,
|
46
|
+
.pagination ul > .disabled > a:hover {
|
47
|
+
color: $grayLight;
|
48
|
+
background-color: transparent;
|
49
|
+
cursor: default;
|
50
|
+
}
|
51
|
+
.pagination ul > li:first-child > a,
|
52
|
+
.pagination ul > li:first-child > span {
|
53
|
+
border-left-width: 1px;
|
54
|
+
@include border-left-radius($baseBorderRadius);
|
55
|
+
}
|
56
|
+
.pagination ul > li:last-child > a,
|
57
|
+
.pagination ul > li:last-child > span {
|
58
|
+
@include border-right-radius($baseBorderRadius);
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
// Alignment
|
63
|
+
// --------------------------------------------------
|
64
|
+
|
65
|
+
.pagination-centered {
|
66
|
+
text-align: center;
|
67
|
+
}
|
68
|
+
.pagination-right {
|
69
|
+
text-align: right;
|
70
|
+
}
|
71
|
+
|
72
|
+
|
73
|
+
// Sizing
|
74
|
+
// --------------------------------------------------
|
75
|
+
|
76
|
+
// Large
|
77
|
+
.pagination-large {
|
78
|
+
ul > li > a,
|
79
|
+
ul > li > span {
|
80
|
+
padding: $paddingLarge;
|
81
|
+
font-size: $fontSizeLarge;
|
82
|
+
}
|
83
|
+
ul > li:first-child > a,
|
84
|
+
ul > li:first-child > span {
|
85
|
+
@include border-left-radius($borderRadiusLarge);
|
86
|
+
}
|
87
|
+
ul > li:last-child > a,
|
88
|
+
ul > li:last-child > span {
|
89
|
+
@include border-right-radius($borderRadiusLarge);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// Small and mini
|
94
|
+
.pagination-mini,
|
95
|
+
.pagination-small {
|
96
|
+
ul > li:first-child > a,
|
97
|
+
ul > li:first-child > span {
|
98
|
+
@include border-left-radius($borderRadiusSmall);
|
99
|
+
}
|
100
|
+
ul > li:last-child > a,
|
101
|
+
ul > li:last-child > span {
|
102
|
+
@include border-right-radius($borderRadiusSmall);
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Small
|
107
|
+
.pagination-small {
|
108
|
+
ul > li > a,
|
109
|
+
ul > li > span {
|
110
|
+
padding: $paddingSmall;
|
111
|
+
font-size: $fontSizeSmall;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
// Mini
|
115
|
+
.pagination-mini {
|
116
|
+
ul > li > a,
|
117
|
+
ul > li > span {
|
118
|
+
padding: $paddingMini;
|
119
|
+
font-size: $fontSizeMini;
|
120
|
+
}
|
121
|
+
}
|