compass_twitter_bootstrap 2.0.1.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -0
- data/build/convert.rb +2 -12
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
- data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
- data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
- data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
- data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
- 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-alert.js +28 -32
- data/vendor/assets/javascripts/bootstrap-all.js +12 -0
- data/vendor/assets/javascripts/bootstrap-button.js +32 -34
- data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
- data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
- data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
- data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
- data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
- data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
- data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
- data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
- metadata +29 -9
- data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
- data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
@@ -0,0 +1,56 @@
|
|
1
|
+
// RESPONSIVE CLASSES
|
2
|
+
// ------------------
|
3
|
+
|
4
|
+
// Hide from screenreaders and browsers
|
5
|
+
// Credit: HTML5 Boilerplate
|
6
|
+
.hidden
|
7
|
+
display: none
|
8
|
+
visibility: hidden
|
9
|
+
|
10
|
+
// Visibility utilities
|
11
|
+
|
12
|
+
// For desktops
|
13
|
+
.visible-phone
|
14
|
+
display: none !important
|
15
|
+
|
16
|
+
.visible-tablet
|
17
|
+
display: none !important
|
18
|
+
|
19
|
+
.visible-desktop
|
20
|
+
|
21
|
+
// Don't set initially
|
22
|
+
.hidden-phone
|
23
|
+
|
24
|
+
.hidden-tablet
|
25
|
+
|
26
|
+
.hidden-desktop
|
27
|
+
display: none !important
|
28
|
+
|
29
|
+
// Phones only
|
30
|
+
@media (max-width: 767px)
|
31
|
+
// Show
|
32
|
+
.visible-phone
|
33
|
+
display: inherit !important
|
34
|
+
// Use inherit to restore previous behavior
|
35
|
+
// Hide
|
36
|
+
.hidden-phone
|
37
|
+
display: none !important
|
38
|
+
// Hide everything else
|
39
|
+
.hidden-desktop
|
40
|
+
display: inherit !important
|
41
|
+
.visible-desktop
|
42
|
+
display: none !important
|
43
|
+
|
44
|
+
// Tablets & small desktops only
|
45
|
+
@media (min-width: 768px) and (max-width: 979px)
|
46
|
+
// Show
|
47
|
+
.visible-tablet
|
48
|
+
display: inherit !important
|
49
|
+
// Hide
|
50
|
+
.hidden-tablet
|
51
|
+
display: none !important
|
52
|
+
// Hide everything else
|
53
|
+
.hidden-desktop
|
54
|
+
display: inherit !important
|
55
|
+
.visible-desktop
|
56
|
+
display: none !important
|
@@ -2,8 +2,8 @@
|
|
2
2
|
// Basic and global styles for generating a grid system, structural layout, and page templates
|
3
3
|
// -------------------------------------------------------------------------------------------
|
4
4
|
|
5
|
-
//
|
6
|
-
//
|
5
|
+
// Body reset
|
6
|
+
// ----------
|
7
7
|
|
8
8
|
body
|
9
9
|
margin: 0
|
@@ -11,9 +11,9 @@ body
|
|
11
11
|
font-size: $baseFontSize
|
12
12
|
line-height: $baseLineHeight
|
13
13
|
color: $textColor
|
14
|
-
background-color: $
|
14
|
+
background-color: $bodyBackground
|
15
15
|
|
16
|
-
//
|
16
|
+
// Links
|
17
17
|
// -----
|
18
18
|
|
19
19
|
a
|
@@ -5,12 +5,12 @@
|
|
5
5
|
// ICONS
|
6
6
|
// -----
|
7
7
|
|
8
|
-
// All icons receive the styles of the <i> tag with a base class
|
9
|
-
// of .i and are then given a unique class to add width, height,
|
8
|
+
// All icons receive the styles of the <i> tag with a base class
|
9
|
+
// of .i and are then given a unique class to add width, height,
|
10
10
|
// and background-position. Your resulting HTML will look like
|
11
11
|
// <i class="icon-inbox"></i>.
|
12
12
|
|
13
|
-
// For the white version of the
|
13
|
+
// For the white version of the icons, just add the .icon-white class:
|
14
14
|
// <i class="icon-inbox icon-white"></i>
|
15
15
|
|
16
16
|
[class^="icon-"],
|
@@ -18,15 +18,15 @@
|
|
18
18
|
display: inline-block
|
19
19
|
width: 14px
|
20
20
|
height: 14px
|
21
|
+
+bootstrap-ie7-restore-right-whitespace
|
21
22
|
line-height: 14px
|
22
23
|
vertical-align: text-top
|
23
|
-
background-image:
|
24
|
+
background-image: url(#{$iconSpritePath})
|
24
25
|
background-position: 14px 14px
|
25
26
|
background-repeat: no-repeat
|
26
|
-
+ie7-restore-right-whitespace
|
27
27
|
|
28
28
|
.icon-white
|
29
|
-
background-image:
|
29
|
+
background-image: url(#{$iconWhiteSpritePath})
|
30
30
|
|
31
31
|
.icon-glass
|
32
32
|
background-position: 0 0
|
@@ -374,7 +374,7 @@
|
|
374
374
|
.icon-chevron-down
|
375
375
|
background-position: -313px -119px
|
376
376
|
|
377
|
-
// 1px off
|
377
|
+
// 1px, 1px off
|
378
378
|
.icon-retweet
|
379
379
|
background-position: -336px -120px
|
380
380
|
|
@@ -390,5 +390,68 @@
|
|
390
390
|
.icon-resize-vertical
|
391
391
|
background-position: -432px -119px
|
392
392
|
|
393
|
+
// 1px, 1px off
|
393
394
|
.icon-resize-horizontal
|
394
395
|
background-position: -456px -118px
|
396
|
+
|
397
|
+
// 1px, 2px off
|
398
|
+
|
399
|
+
.icon-hdd
|
400
|
+
background-position: 0 -144px
|
401
|
+
|
402
|
+
.icon-bullhorn
|
403
|
+
background-position: -24px -144px
|
404
|
+
|
405
|
+
.icon-bell
|
406
|
+
background-position: -48px -144px
|
407
|
+
|
408
|
+
.icon-certificate
|
409
|
+
background-position: -72px -144px
|
410
|
+
|
411
|
+
.icon-thumbs-up
|
412
|
+
background-position: -96px -144px
|
413
|
+
|
414
|
+
.icon-thumbs-down
|
415
|
+
background-position: -120px -144px
|
416
|
+
|
417
|
+
.icon-hand-right
|
418
|
+
background-position: -144px -144px
|
419
|
+
|
420
|
+
.icon-hand-left
|
421
|
+
background-position: -168px -144px
|
422
|
+
|
423
|
+
.icon-hand-up
|
424
|
+
background-position: -192px -144px
|
425
|
+
|
426
|
+
.icon-hand-down
|
427
|
+
background-position: -216px -144px
|
428
|
+
|
429
|
+
.icon-circle-arrow-right
|
430
|
+
background-position: -240px -144px
|
431
|
+
|
432
|
+
.icon-circle-arrow-left
|
433
|
+
background-position: -264px -144px
|
434
|
+
|
435
|
+
.icon-circle-arrow-up
|
436
|
+
background-position: -288px -144px
|
437
|
+
|
438
|
+
.icon-circle-arrow-down
|
439
|
+
background-position: -312px -144px
|
440
|
+
|
441
|
+
.icon-globe
|
442
|
+
background-position: -336px -144px
|
443
|
+
|
444
|
+
.icon-wrench
|
445
|
+
background-position: -360px -144px
|
446
|
+
|
447
|
+
.icon-tasks
|
448
|
+
background-position: -384px -144px
|
449
|
+
|
450
|
+
.icon-filter
|
451
|
+
background-position: -408px -144px
|
452
|
+
|
453
|
+
.icon-briefcase
|
454
|
+
background-position: -432px -144px
|
455
|
+
|
456
|
+
.icon-fullscreen
|
457
|
+
background-position: -456px -144px
|
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
table
|
10
10
|
max-width: 100%
|
11
|
+
background-color: $tableBackground
|
11
12
|
border-collapse: collapse
|
12
13
|
border-spacing: 0
|
13
14
|
|
@@ -24,19 +25,23 @@ table
|
|
24
25
|
line-height: $baseLineHeight
|
25
26
|
text-align: left
|
26
27
|
vertical-align: top
|
27
|
-
border-top: 1px solid
|
28
|
+
border-top: 1px solid $tableBorder
|
28
29
|
th
|
29
30
|
font-weight: bold
|
30
31
|
// Bottom align for column headings
|
31
32
|
thead th
|
32
33
|
vertical-align: bottom
|
33
34
|
// Remove top border from thead by default
|
34
|
-
thead:first-child
|
35
|
-
thead:first-child
|
35
|
+
caption + thead tr:first-child th,
|
36
|
+
caption + thead tr:first-child td,
|
37
|
+
colgroup + thead tr:first-child th,
|
38
|
+
colgroup + thead tr:first-child td,
|
39
|
+
thead:first-child tr:first-child th,
|
40
|
+
thead:first-child tr:first-child td
|
36
41
|
border-top: 0
|
37
42
|
// Account for multiple tbody instances
|
38
43
|
tbody + tbody
|
39
|
-
border-top: 2px solid
|
44
|
+
border-top: 2px solid $tableBorder
|
40
45
|
|
41
46
|
// CONDENSED TABLE W/ HALF PADDING
|
42
47
|
// -------------------------------
|
@@ -50,18 +55,23 @@ table
|
|
50
55
|
// ----------------
|
51
56
|
|
52
57
|
.table-bordered
|
53
|
-
border: 1px solid
|
58
|
+
border: 1px solid $tableBorder
|
54
59
|
border-collapse: separate
|
55
60
|
// Done so we can round those corners!
|
56
61
|
*border-collapse: collapsed
|
57
62
|
// IE7 can't round corners anyway
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
border-left: 1px solid #ddd
|
63
|
+
border-left: 0
|
64
|
+
+bootstrap-border-radius(4px)
|
65
|
+
th,
|
66
|
+
td
|
67
|
+
border-left: 1px solid $tableBorder
|
64
68
|
// Prevent a double border
|
69
|
+
caption + thead tr:first-child th,
|
70
|
+
caption + tbody tr:first-child th,
|
71
|
+
caption + tbody tr:first-child td,
|
72
|
+
colgroup + thead tr:first-child th,
|
73
|
+
colgroup + tbody tr:first-child th,
|
74
|
+
colgroup + tbody tr:first-child td,
|
65
75
|
thead:first-child tr:first-child th,
|
66
76
|
tbody:first-child tr:first-child th,
|
67
77
|
tbody:first-child tr:first-child td
|
@@ -69,17 +79,26 @@ table
|
|
69
79
|
// For first th or td in the first row in the first thead or tbody
|
70
80
|
thead:first-child tr:first-child th:first-child,
|
71
81
|
tbody:first-child tr:first-child td:first-child
|
72
|
-
|
82
|
+
-webkit-border-top-left-radius: 4px
|
83
|
+
border-top-left-radius: 4px
|
84
|
+
-moz-border-radius-topleft: 4px
|
73
85
|
thead:first-child tr:first-child th:last-child,
|
74
86
|
tbody:first-child tr:first-child td:last-child
|
75
|
-
|
87
|
+
-webkit-border-top-right-radius: 4px
|
88
|
+
border-top-right-radius: 4px
|
89
|
+
-moz-border-radius-topright: 4px
|
76
90
|
// For first th or td in the first row in the first thead or tbody
|
77
91
|
thead:last-child tr:last-child th:first-child,
|
78
92
|
tbody:last-child tr:last-child td:first-child
|
79
|
-
+border-radius(0 0 0 4px)
|
93
|
+
+bootstrap-border-radius(0 0 0 4px)
|
94
|
+
-webkit-border-bottom-left-radius: 4px
|
95
|
+
border-bottom-left-radius: 4px
|
96
|
+
-moz-border-radius-bottomleft: 4px
|
80
97
|
thead:last-child tr:last-child th:last-child,
|
81
98
|
tbody:last-child tr:last-child td:last-child
|
82
|
-
|
99
|
+
-webkit-border-bottom-right-radius: 4px
|
100
|
+
border-bottom-right-radius: 4px
|
101
|
+
-moz-border-radius-bottomright: 4px
|
83
102
|
|
84
103
|
// ZEBRA-STRIPING
|
85
104
|
// --------------
|
@@ -89,7 +108,7 @@ table
|
|
89
108
|
tbody
|
90
109
|
tr:nth-child(odd) td,
|
91
110
|
tr:nth-child(odd) th
|
92
|
-
background-color:
|
111
|
+
background-color: $tableBackgroundAccent
|
93
112
|
|
94
113
|
// HOVER EFFECT
|
95
114
|
// ------------
|
@@ -97,39 +116,58 @@ table
|
|
97
116
|
.table
|
98
117
|
tbody tr:hover td,
|
99
118
|
tbody tr:hover th
|
100
|
-
background-color:
|
119
|
+
background-color: $tableBackgroundHover
|
101
120
|
|
102
121
|
// TABLE CELL SIZING
|
103
122
|
// -----------------
|
104
123
|
|
105
124
|
// Change the columns
|
106
|
-
=tableColumns($columnSpan: 1)
|
107
|
-
float: none
|
108
|
-
width: $gridColumnWidth * $columnSpan + $gridGutterWidth * ($columnSpan - 1) - 16
|
109
|
-
margin-left: 0
|
110
|
-
|
111
125
|
table
|
112
126
|
.span1
|
113
|
-
+tableColumns(1)
|
127
|
+
+bootstrap-tableColumns(1)
|
114
128
|
.span2
|
115
|
-
+tableColumns(2)
|
129
|
+
+bootstrap-tableColumns(2)
|
116
130
|
.span3
|
117
|
-
+tableColumns(3)
|
131
|
+
+bootstrap-tableColumns(3)
|
118
132
|
.span4
|
119
|
-
+tableColumns(4)
|
133
|
+
+bootstrap-tableColumns(4)
|
120
134
|
.span5
|
121
|
-
+tableColumns(5)
|
135
|
+
+bootstrap-tableColumns(5)
|
122
136
|
.span6
|
123
|
-
+tableColumns(6)
|
137
|
+
+bootstrap-tableColumns(6)
|
124
138
|
.span7
|
125
|
-
+tableColumns(7)
|
139
|
+
+bootstrap-tableColumns(7)
|
126
140
|
.span8
|
127
|
-
+tableColumns(8)
|
141
|
+
+bootstrap-tableColumns(8)
|
128
142
|
.span9
|
129
|
-
+tableColumns(9)
|
143
|
+
+bootstrap-tableColumns(9)
|
130
144
|
.span10
|
131
|
-
+tableColumns(10)
|
145
|
+
+bootstrap-tableColumns(10)
|
132
146
|
.span11
|
133
|
-
+tableColumns(11)
|
147
|
+
+bootstrap-tableColumns(11)
|
134
148
|
.span12
|
135
|
-
+tableColumns(12)
|
149
|
+
+bootstrap-tableColumns(12)
|
150
|
+
.span13
|
151
|
+
+bootstrap-tableColumns(13)
|
152
|
+
.span14
|
153
|
+
+bootstrap-tableColumns(14)
|
154
|
+
.span15
|
155
|
+
+bootstrap-tableColumns(15)
|
156
|
+
.span16
|
157
|
+
+bootstrap-tableColumns(16)
|
158
|
+
.span17
|
159
|
+
+bootstrap-tableColumns(17)
|
160
|
+
.span18
|
161
|
+
+bootstrap-tableColumns(18)
|
162
|
+
.span19
|
163
|
+
+bootstrap-tableColumns(19)
|
164
|
+
.span20
|
165
|
+
+bootstrap-tableColumns(20)
|
166
|
+
.span21
|
167
|
+
+bootstrap-tableColumns(21)
|
168
|
+
.span22
|
169
|
+
+bootstrap-tableColumns(22)
|
170
|
+
.span23
|
171
|
+
+bootstrap-tableColumns(23)
|
172
|
+
.span24
|
173
|
+
+bootstrap-tableColumns(24)
|
@@ -1,27 +1,37 @@
|
|
1
1
|
// THUMBNAILS
|
2
2
|
// ----------
|
3
|
+
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
3
4
|
|
5
|
+
// Make wrapper ul behave like the grid
|
4
6
|
.thumbnails
|
5
7
|
margin-left: -$gridGutterWidth
|
6
8
|
list-style: none
|
7
|
-
+clearfix
|
9
|
+
+bootstrap-clearfix
|
8
10
|
|
11
|
+
// Fluid rows have no left margin
|
12
|
+
.row-fluid .thumbnails
|
13
|
+
margin-left: 0
|
14
|
+
|
15
|
+
// Float li to make thumbnails appear in a row
|
9
16
|
.thumbnails > li
|
10
17
|
float: left
|
11
|
-
|
18
|
+
// Explicity set the float since we don't require .span* classes
|
19
|
+
margin-bottom: $baseLineHeight
|
20
|
+
margin-left: $gridGutterWidth
|
12
21
|
|
22
|
+
// The actual thumbnail (can be `a` or `div`)
|
13
23
|
.thumbnail
|
14
24
|
display: block
|
15
25
|
padding: 4px
|
16
26
|
line-height: 1
|
17
27
|
border: 1px solid #ddd
|
18
|
-
+border-radius(4px)
|
19
|
-
+box-shadow(0 1px 1px rgba(0, 0, 0, 0.075))
|
28
|
+
+bootstrap-border-radius(4px)
|
29
|
+
+bootstrap-box-shadow(0 1px 1px rgba(0, 0, 0, 0.075))
|
20
30
|
|
21
31
|
// Add a hover state for linked versions only
|
22
32
|
a.thumbnail:hover
|
23
33
|
border-color: $linkColor
|
24
|
-
+box-shadow(0 1px 4px rgba(0, 105, 214, 0.25))
|
34
|
+
+bootstrap-box-shadow(0 1px 4px rgba(0, 105, 214, 0.25))
|
25
35
|
|
26
36
|
// Images and captions
|
27
37
|
.thumbnail > img
|
@@ -8,9 +8,9 @@
|
|
8
8
|
visibility: visible
|
9
9
|
padding: 5px
|
10
10
|
font-size: 11px
|
11
|
-
+opacity(0)
|
11
|
+
+bootstrap-opacity(0)
|
12
12
|
&.in
|
13
|
-
+opacity(
|
13
|
+
+bootstrap-opacity(80)
|
14
14
|
&.top
|
15
15
|
margin-top: -2px
|
16
16
|
&.right
|
@@ -20,13 +20,13 @@
|
|
20
20
|
&.left
|
21
21
|
margin-left: -2px
|
22
22
|
&.top .tooltip-arrow
|
23
|
-
+popoverArrow-top
|
23
|
+
+bootstrap-popoverArrow-top
|
24
24
|
&.left .tooltip-arrow
|
25
|
-
+popoverArrow-left
|
25
|
+
+bootstrap-popoverArrow-left
|
26
26
|
&.bottom .tooltip-arrow
|
27
|
-
+popoverArrow-bottom
|
27
|
+
+bootstrap-popoverArrow-bottom
|
28
28
|
&.right .tooltip-arrow
|
29
|
-
+popoverArrow-right
|
29
|
+
+bootstrap-popoverArrow-right
|
30
30
|
|
31
31
|
.tooltip-inner
|
32
32
|
max-width: 200px
|
@@ -35,7 +35,7 @@
|
|
35
35
|
text-align: center
|
36
36
|
text-decoration: none
|
37
37
|
background-color: $black
|
38
|
-
+border-radius(4px)
|
38
|
+
+bootstrap-border-radius(4px)
|
39
39
|
|
40
40
|
.tooltip-arrow
|
41
41
|
position: absolute
|