compass_twitter_bootstrap 2.0.3 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/README.md +41 -7
- data/build/convert.rb +27 -11
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +2 -1
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +1 -1
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +1 -1
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +4 -3
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +31 -10
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +14 -14
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +91 -55
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +126 -84
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +33 -23
- data/stylesheets/compass_twitter_bootstrap/_close.scss +7 -5
- data/stylesheets/compass_twitter_bootstrap/_code.scss +12 -8
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +9 -7
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +112 -22
- data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +258 -196
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +262 -161
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +18 -2
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +11 -8
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +42 -26
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -4
- data/stylesheets/compass_twitter_bootstrap/_media.scss +55 -0
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +243 -189
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +28 -23
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +269 -143
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +59 -46
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +17 -12
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +92 -27
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +116 -36
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +35 -30
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +101 -11
- data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +9 -7
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +115 -71
- data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +8 -6
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +53 -14
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +17 -15
- data/stylesheets/compass_twitter_bootstrap/_responsive.scss +48 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +27 -4
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +24 -22
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +122 -61
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +12 -7
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +50 -15
- data/stylesheets/compass_twitter_bootstrap/_type.scss +93 -93
- data/stylesheets/compass_twitter_bootstrap/_utilities.scss +9 -2
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +134 -38
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +11 -10
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -1
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +1 -1
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +1 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +27 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +12 -13
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +93 -55
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +113 -88
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +31 -23
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +5 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +12 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +7 -6
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +105 -21
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +228 -31
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +255 -155
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +16 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +10 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +38 -31
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_media.sass +48 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +215 -174
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +25 -26
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +229 -134
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +53 -46
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +16 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +78 -23
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +106 -40
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +35 -30
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +80 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +8 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +89 -54
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +7 -6
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +38 -13
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +18 -17
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive.sass +44 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +24 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +25 -8
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +110 -83
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +11 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +43 -19
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +123 -75
- data/stylesheets_sass/compass_twitter_bootstrap/_utilities.sass +7 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +141 -37
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +10 -9
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +247 -167
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +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-affix.js +117 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +13 -4
- data/vendor/assets/javascripts/bootstrap-all.js +2 -1
- data/vendor/assets/javascripts/bootstrap-button.js +17 -8
- data/vendor/assets/javascripts/bootstrap-carousel.js +30 -14
- data/vendor/assets/javascripts/bootstrap-collapse.js +24 -14
- data/vendor/assets/javascripts/bootstrap-dropdown.js +80 -19
- data/vendor/assets/javascripts/bootstrap-modal.js +111 -84
- data/vendor/assets/javascripts/bootstrap-popover.js +21 -5
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +21 -10
- data/vendor/assets/javascripts/bootstrap-tab.js +17 -8
- data/vendor/assets/javascripts/bootstrap-tooltip.js +36 -24
- data/vendor/assets/javascripts/bootstrap-transition.js +6 -7
- data/vendor/assets/javascripts/bootstrap-typeahead.js +87 -49
- metadata +17 -7
@@ -1,6 +1,6 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
|
1
|
+
//
|
2
|
+
// Navs
|
3
|
+
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
6
|
// BASE CLASS
|
@@ -21,28 +21,19 @@
|
|
21
21
|
background-color: $grayLighter;
|
22
22
|
}
|
23
23
|
|
24
|
+
// Prevent IE8 from misplacing imgs
|
25
|
+
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
26
|
+
.nav > li > a > img {
|
27
|
+
max-width: none;
|
28
|
+
}
|
29
|
+
|
24
30
|
// Redeclare pull classes because of specifity
|
25
31
|
.nav > .pull-right {
|
26
32
|
float: right;
|
27
33
|
}
|
28
34
|
|
29
35
|
// Nav headers (for dropdowns and lists)
|
30
|
-
.nav
|
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
|
-
// Nav headers (for dropdowns and lists)
|
45
|
-
.nav .nav-header {
|
36
|
+
.nav-header {
|
46
37
|
display: block;
|
47
38
|
padding: 3px 15px;
|
48
39
|
font-size: 11px;
|
@@ -58,6 +49,7 @@
|
|
58
49
|
}
|
59
50
|
|
60
51
|
|
52
|
+
|
61
53
|
// NAV LIST
|
62
54
|
// --------
|
63
55
|
|
@@ -81,12 +73,13 @@
|
|
81
73
|
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
82
74
|
background-color: $linkColor;
|
83
75
|
}
|
84
|
-
.nav-list [class^="icon-"]
|
76
|
+
.nav-list [class^="icon-"],
|
77
|
+
.nav-list [class*=" icon-"] {
|
85
78
|
margin-right: 2px;
|
86
79
|
}
|
87
80
|
// Dividers (basically an hr) within the dropdown
|
88
81
|
.nav-list .divider {
|
89
|
-
@include
|
82
|
+
@include ctb-nav-divider();
|
90
83
|
}
|
91
84
|
|
92
85
|
|
@@ -97,7 +90,7 @@
|
|
97
90
|
// Common styles
|
98
91
|
.nav-tabs,
|
99
92
|
.nav-pills {
|
100
|
-
@include
|
93
|
+
@include ctb-clearfix();
|
101
94
|
}
|
102
95
|
.nav-tabs > li,
|
103
96
|
.nav-pills > li {
|
@@ -124,11 +117,11 @@
|
|
124
117
|
}
|
125
118
|
// Actual tabs (as links)
|
126
119
|
.nav-tabs > li > a {
|
127
|
-
padding-top:
|
128
|
-
padding-bottom:
|
120
|
+
padding-top: 8px;
|
121
|
+
padding-bottom: 8px;
|
129
122
|
line-height: $baseLineHeight;
|
130
123
|
border: 1px solid transparent;
|
131
|
-
@include
|
124
|
+
@include ctb-border-radius(4px 4px 0 0);
|
132
125
|
&:hover {
|
133
126
|
border-color: $grayLighter $grayLighter #ddd;
|
134
127
|
}
|
@@ -137,7 +130,7 @@
|
|
137
130
|
.nav-tabs > .active > a,
|
138
131
|
.nav-tabs > .active > a:hover {
|
139
132
|
color: $gray;
|
140
|
-
background-color: $
|
133
|
+
background-color: $bodyBackground;
|
141
134
|
border: 1px solid #ddd;
|
142
135
|
border-bottom-color: transparent;
|
143
136
|
cursor: default;
|
@@ -153,7 +146,7 @@
|
|
153
146
|
padding-bottom: 8px;
|
154
147
|
margin-top: 2px;
|
155
148
|
margin-bottom: 2px;
|
156
|
-
@include
|
149
|
+
@include ctb-border-radius(5px);
|
157
150
|
}
|
158
151
|
|
159
152
|
// Active state
|
@@ -182,13 +175,13 @@
|
|
182
175
|
}
|
183
176
|
.nav-tabs.nav-stacked > li > a {
|
184
177
|
border: 1px solid #ddd;
|
185
|
-
@include
|
178
|
+
@include ctb-border-radius(0);
|
186
179
|
}
|
187
180
|
.nav-tabs.nav-stacked > li:first-child > a {
|
188
|
-
@include
|
181
|
+
@include ctb-border-top-radius(4px);
|
189
182
|
}
|
190
183
|
.nav-tabs.nav-stacked > li:last-child > a {
|
191
|
-
@include
|
184
|
+
@include ctb-border-bottom-radius(4px);
|
192
185
|
}
|
193
186
|
.nav-tabs.nav-stacked > li > a:hover {
|
194
187
|
border-color: #ddd;
|
@@ -209,39 +202,43 @@
|
|
209
202
|
// ---------
|
210
203
|
|
211
204
|
.nav-tabs .dropdown-menu {
|
212
|
-
@include
|
205
|
+
@include ctb-border-radius(0 0 6px 6px); // remove the top rounded corners here since there is a hard edge above the menu
|
213
206
|
}
|
214
207
|
.nav-pills .dropdown-menu {
|
215
|
-
@include
|
208
|
+
@include ctb-border-radius(6px); // make rounded corners match the pills
|
216
209
|
}
|
217
210
|
|
218
211
|
// Default dropdown links
|
219
212
|
// -------------------------
|
220
213
|
// Make carets use linkColor to start
|
221
|
-
.nav
|
222
|
-
.nav-pills .dropdown-toggle .caret {
|
214
|
+
.nav .dropdown-toggle .caret {
|
223
215
|
border-top-color: $linkColor;
|
224
216
|
border-bottom-color: $linkColor;
|
225
217
|
margin-top: 6px;
|
226
218
|
}
|
227
|
-
.nav
|
228
|
-
.nav-pills .dropdown-toggle:hover .caret {
|
219
|
+
.nav .dropdown-toggle:hover .caret {
|
229
220
|
border-top-color: $linkColorHover;
|
230
221
|
border-bottom-color: $linkColorHover;
|
231
222
|
}
|
223
|
+
/* move down carets for tabs */
|
224
|
+
.nav-tabs .dropdown-toggle .caret {
|
225
|
+
margin-top: 8px;
|
226
|
+
}
|
232
227
|
|
233
228
|
// Active dropdown links
|
234
229
|
// -------------------------
|
235
|
-
.nav
|
236
|
-
|
237
|
-
border-
|
238
|
-
|
230
|
+
.nav .active .dropdown-toggle .caret {
|
231
|
+
border-top-color: #fff;
|
232
|
+
border-bottom-color: #fff;
|
233
|
+
}
|
234
|
+
.nav-tabs .active .dropdown-toggle .caret {
|
235
|
+
border-top-color: $gray;
|
236
|
+
border-bottom-color: $gray;
|
239
237
|
}
|
240
238
|
|
241
239
|
// Active:hover dropdown links
|
242
240
|
// -------------------------
|
243
241
|
.nav > .dropdown.active > a:hover {
|
244
|
-
color: $black;
|
245
242
|
cursor: pointer;
|
246
243
|
}
|
247
244
|
|
@@ -259,7 +256,7 @@
|
|
259
256
|
.nav li.dropdown.open a:hover .caret {
|
260
257
|
border-top-color: $white;
|
261
258
|
border-bottom-color: $white;
|
262
|
-
@include
|
259
|
+
@include ctb-opacity(1);
|
263
260
|
}
|
264
261
|
|
265
262
|
// Dropdowns in stacked tabs
|
@@ -278,7 +275,7 @@
|
|
278
275
|
|
279
276
|
// Clear any floats
|
280
277
|
.tabbable {
|
281
|
-
@include
|
278
|
+
@include ctb-clearfix();
|
282
279
|
}
|
283
280
|
.tab-content {
|
284
281
|
overflow: auto; // prevent content from running below tabs
|
@@ -313,7 +310,7 @@
|
|
313
310
|
margin-bottom: 0;
|
314
311
|
}
|
315
312
|
.tabs-below > .nav-tabs > li > a {
|
316
|
-
@include
|
313
|
+
@include ctb-border-radius(0 0 4px 4px);
|
317
314
|
&:hover {
|
318
315
|
border-bottom-color: transparent;
|
319
316
|
border-top-color: #ddd;
|
@@ -347,7 +344,7 @@
|
|
347
344
|
}
|
348
345
|
.tabs-left > .nav-tabs > li > a {
|
349
346
|
margin-right: -1px;
|
350
|
-
@include
|
347
|
+
@include ctb-border-radius(4px 0 0 4px);
|
351
348
|
}
|
352
349
|
.tabs-left > .nav-tabs > li > a:hover {
|
353
350
|
border-color: $grayLighter #ddd $grayLighter $grayLighter;
|
@@ -366,7 +363,7 @@
|
|
366
363
|
}
|
367
364
|
.tabs-right > .nav-tabs > li > a {
|
368
365
|
margin-left: -1px;
|
369
|
-
@include
|
366
|
+
@include ctb-border-radius(0 4px 4px 0);
|
370
367
|
}
|
371
368
|
.tabs-right > .nav-tabs > li > a:hover {
|
372
369
|
border-color: $grayLighter $grayLighter $grayLighter #ddd;
|
@@ -376,3 +373,19 @@
|
|
376
373
|
border-color: #ddd #ddd #ddd transparent;
|
377
374
|
*border-left-color: $white;
|
378
375
|
}
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
// DISABLED STATES
|
380
|
+
// ---------------
|
381
|
+
|
382
|
+
// Gray out text
|
383
|
+
.nav > .disabled > a {
|
384
|
+
color: $grayLight;
|
385
|
+
}
|
386
|
+
// Nuke hover effects
|
387
|
+
.nav > .disabled > a:hover {
|
388
|
+
text-decoration: none;
|
389
|
+
background-color: transparent;
|
390
|
+
cursor: default;
|
391
|
+
}
|
@@ -1,35 +1,40 @@
|
|
1
|
-
//
|
2
|
-
//
|
1
|
+
//
|
2
|
+
// Pager pagination
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
3
5
|
|
4
6
|
.pager {
|
5
|
-
margin
|
6
|
-
margin-bottom: $baseLineHeight;
|
7
|
+
margin: $baseLineHeight 0;
|
7
8
|
list-style: none;
|
8
9
|
text-align: center;
|
9
|
-
@include
|
10
|
+
@include ctb-clearfix();
|
10
11
|
}
|
11
12
|
.pager li {
|
12
13
|
display: inline;
|
13
14
|
}
|
14
|
-
.pager a
|
15
|
+
.pager li > a,
|
16
|
+
.pager li > span {
|
15
17
|
display: inline-block;
|
16
18
|
padding: 5px 14px;
|
17
19
|
background-color: #fff;
|
18
20
|
border: 1px solid #ddd;
|
19
|
-
@include
|
21
|
+
@include ctb-border-radius(15px);
|
20
22
|
}
|
21
|
-
.pager a:hover {
|
23
|
+
.pager li > a:hover {
|
22
24
|
text-decoration: none;
|
23
25
|
background-color: #f5f5f5;
|
24
26
|
}
|
25
|
-
.pager .next a
|
27
|
+
.pager .next > a,
|
28
|
+
.pager .next > span {
|
26
29
|
float: right;
|
27
30
|
}
|
28
|
-
.pager .previous a
|
31
|
+
.pager .previous > a,
|
32
|
+
.pager .previous > span {
|
29
33
|
float: left;
|
30
34
|
}
|
31
|
-
.pager .disabled a,
|
32
|
-
.pager .disabled a:hover
|
35
|
+
.pager .disabled > a,
|
36
|
+
.pager .disabled > a:hover,
|
37
|
+
.pager .disabled > span {
|
33
38
|
color: $grayLight;
|
34
39
|
background-color: #fff;
|
35
40
|
cursor: default;
|
@@ -1,56 +1,121 @@
|
|
1
|
-
//
|
2
|
-
//
|
1
|
+
//
|
2
|
+
// Pagination (multiple pages)
|
3
|
+
// --------------------------------------------------
|
3
4
|
|
5
|
+
// Space out pagination from surrounding content
|
4
6
|
.pagination {
|
5
|
-
height: $baseLineHeight * 2;
|
6
7
|
margin: $baseLineHeight 0;
|
7
|
-
|
8
|
+
}
|
9
|
+
|
8
10
|
.pagination ul {
|
11
|
+
// Allow for text-based alignment
|
9
12
|
display: inline-block;
|
10
|
-
@include
|
13
|
+
@include ctb-ie7-inline-block();
|
14
|
+
// Reset default ul styles
|
11
15
|
margin-left: 0;
|
12
16
|
margin-bottom: 0;
|
13
|
-
|
14
|
-
@include
|
17
|
+
// Visuals
|
18
|
+
@include ctb-border-radius($baseBorderRadius);
|
19
|
+
@include ctb-box-shadow(0 1px 2px rgba(0,0,0,.05));
|
15
20
|
}
|
16
|
-
.pagination li {
|
17
|
-
|
18
|
-
|
19
|
-
.pagination a
|
20
|
-
|
21
|
-
|
22
|
-
|
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;
|
23
29
|
text-decoration: none;
|
24
|
-
|
30
|
+
background-color: $paginationBackground;
|
31
|
+
border: 1px solid $paginationBorder;
|
25
32
|
border-left-width: 0;
|
26
33
|
}
|
27
|
-
.pagination a:hover,
|
28
|
-
.pagination .active a
|
29
|
-
|
34
|
+
.pagination ul > li > a:hover,
|
35
|
+
.pagination ul > .active > a,
|
36
|
+
.pagination ul > .active > span {
|
37
|
+
background-color: $paginationActiveBackground;
|
30
38
|
}
|
31
|
-
.pagination .active a
|
39
|
+
.pagination ul > .active > a,
|
40
|
+
.pagination ul > .active > span {
|
32
41
|
color: $grayLight;
|
33
42
|
cursor: default;
|
34
43
|
}
|
35
|
-
.pagination .disabled span,
|
36
|
-
.pagination .disabled a,
|
37
|
-
.pagination .disabled a:hover {
|
44
|
+
.pagination ul > .disabled > span,
|
45
|
+
.pagination ul > .disabled > a,
|
46
|
+
.pagination ul > .disabled > a:hover {
|
38
47
|
color: $grayLight;
|
39
48
|
background-color: transparent;
|
40
49
|
cursor: default;
|
41
50
|
}
|
42
|
-
.pagination li:first-child a
|
51
|
+
.pagination ul > li:first-child > a,
|
52
|
+
.pagination ul > li:first-child > span {
|
43
53
|
border-left-width: 1px;
|
44
|
-
@include
|
54
|
+
@include ctb-border-left-radius($baseBorderRadius);
|
45
55
|
}
|
46
|
-
.pagination li:last-child a
|
47
|
-
|
56
|
+
.pagination ul > li:last-child > a,
|
57
|
+
.pagination ul > li:last-child > span {
|
58
|
+
@include ctb-border-right-radius($baseBorderRadius);
|
48
59
|
}
|
49
60
|
|
50
|
-
|
61
|
+
|
62
|
+
// Alignment
|
63
|
+
// --------------------------------------------------
|
64
|
+
|
51
65
|
.pagination-centered {
|
52
66
|
text-align: center;
|
53
67
|
}
|
54
68
|
.pagination-right {
|
55
69
|
text-align: right;
|
56
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 ctb-border-left-radius($borderRadiusLarge);
|
86
|
+
}
|
87
|
+
ul > li:last-child > a,
|
88
|
+
ul > li:last-child > span {
|
89
|
+
@include ctb-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 ctb-border-left-radius($borderRadiusSmall);
|
99
|
+
}
|
100
|
+
ul > li:last-child > a,
|
101
|
+
ul > li:last-child > span {
|
102
|
+
@include ctb-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
|
+
}
|
@@ -1,5 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
1
|
+
//
|
2
|
+
// Popovers
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
3
5
|
|
4
6
|
.popover {
|
5
7
|
position: absolute;
|
@@ -7,43 +9,121 @@
|
|
7
9
|
left: 0;
|
8
10
|
z-index: $zindexPopover;
|
9
11
|
display: none;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
background: rgba(0,0,0,.8);
|
31
|
-
@include bootstrap-border-radius(6px);
|
32
|
-
@include bootstrap-box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
12
|
+
width: 236px;
|
13
|
+
padding: 1px;
|
14
|
+
text-align: left; // Reset given new insertion method
|
15
|
+
background-color: $popoverBackground;
|
16
|
+
-webkit-background-clip: padding-box;
|
17
|
+
-moz-background-clip: padding;
|
18
|
+
background-clip: padding-box;
|
19
|
+
border: 1px solid #ccc;
|
20
|
+
border: 1px solid rgba(0,0,0,.2);
|
21
|
+
@include ctb-border-radius(6px);
|
22
|
+
@include ctb-box-shadow(0 5px 10px rgba(0,0,0,.2));
|
23
|
+
|
24
|
+
// Overrides for proper insertion
|
25
|
+
white-space: normal;
|
26
|
+
|
27
|
+
// Offset the popover to account for the popover arrow
|
28
|
+
&.top { margin-top: -10px; }
|
29
|
+
&.right { margin-left: 10px; }
|
30
|
+
&.bottom { margin-top: 10px; }
|
31
|
+
&.left { margin-left: -10px; }
|
33
32
|
}
|
33
|
+
|
34
34
|
.popover-title {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
margin: 0; // reset heading margin
|
36
|
+
padding: 8px 14px;
|
37
|
+
font-size: 14px;
|
38
|
+
font-weight: normal;
|
39
|
+
line-height: 18px;
|
40
|
+
background-color: $popoverTitleBackground;
|
41
|
+
border-bottom: 1px solid darken($popoverTitleBackground, 5%);
|
42
|
+
@include ctb-border-radius(5px 5px 0 0);
|
40
43
|
}
|
44
|
+
|
41
45
|
.popover-content {
|
42
|
-
padding: 14px;
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
padding: 9px 14px;
|
47
|
+
}
|
48
|
+
|
49
|
+
// Arrows
|
50
|
+
//
|
51
|
+
// .arrow is outer, .arrow:after is inner
|
52
|
+
|
53
|
+
.popover .arrow,
|
54
|
+
.popover .arrow:after {
|
55
|
+
position: absolute;
|
56
|
+
display: block;
|
57
|
+
width: 0;
|
58
|
+
height: 0;
|
59
|
+
border-color: transparent;
|
60
|
+
border-style: solid;
|
61
|
+
}
|
62
|
+
.popover .arrow {
|
63
|
+
border-width: $popoverArrowOuterWidth;
|
64
|
+
}
|
65
|
+
.popover .arrow:after {
|
66
|
+
border-width: $popoverArrowWidth;
|
67
|
+
content: "";
|
68
|
+
}
|
69
|
+
|
70
|
+
.popover {
|
71
|
+
&.top .arrow {
|
72
|
+
left: 50%;
|
73
|
+
margin-left: -$popoverArrowOuterWidth;
|
74
|
+
border-bottom-width: 0;
|
75
|
+
border-top-color: #999; // IE8 fallback
|
76
|
+
border-top-color: $popoverArrowOuterColor;
|
77
|
+
bottom: -$popoverArrowOuterWidth;
|
78
|
+
&:after {
|
79
|
+
bottom: 1px;
|
80
|
+
margin-left: -$popoverArrowWidth;
|
81
|
+
border-bottom-width: 0;
|
82
|
+
border-top-color: $popoverArrowColor;
|
83
|
+
}
|
48
84
|
}
|
85
|
+
&.right .arrow {
|
86
|
+
top: 50%;
|
87
|
+
left: -$popoverArrowOuterWidth;
|
88
|
+
margin-top: -$popoverArrowOuterWidth;
|
89
|
+
border-left-width: 0;
|
90
|
+
border-right-color: #999; // IE8 fallback
|
91
|
+
border-right-color: $popoverArrowOuterColor;
|
92
|
+
&:after {
|
93
|
+
left: 1px;
|
94
|
+
bottom: -$popoverArrowWidth;
|
95
|
+
border-left-width: 0;
|
96
|
+
border-right-color: $popoverArrowColor;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
&.bottom .arrow {
|
100
|
+
left: 50%;
|
101
|
+
margin-left: -$popoverArrowOuterWidth;
|
102
|
+
border-top-width: 0;
|
103
|
+
border-bottom-color: #999; // IE8 fallback
|
104
|
+
border-bottom-color: $popoverArrowOuterColor;
|
105
|
+
top: -$popoverArrowOuterWidth;
|
106
|
+
&:after {
|
107
|
+
top: 1px;
|
108
|
+
margin-left: -$popoverArrowWidth;
|
109
|
+
border-top-width: 0;
|
110
|
+
border-bottom-color: $popoverArrowColor;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
&.left .arrow {
|
115
|
+
top: 50%;
|
116
|
+
right: -$popoverArrowOuterWidth;
|
117
|
+
margin-top: -$popoverArrowOuterWidth;
|
118
|
+
border-right-width: 0;
|
119
|
+
border-left-color: #999; // IE8 fallback
|
120
|
+
border-left-color: $popoverArrowOuterColor;
|
121
|
+
&:after {
|
122
|
+
right: 1px;
|
123
|
+
border-right-width: 0;
|
124
|
+
border-left-color: $popoverArrowColor;
|
125
|
+
bottom: -$popoverArrowWidth;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
49
129
|
}
|