anjlab-bootstrap-rails 3.0.0.0.alpha1 → 3.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -27
- data/Rakefile +11 -35
- data/{vendor → app}/assets/javascripts/twitter/bootstrap.js +6 -6
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/affix.js +9 -3
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/alert.js +4 -2
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/button.js +6 -4
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/carousel.js +22 -12
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/collapse.js +69 -43
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/dropdown.js +22 -13
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/modal.js +37 -38
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/popover.js +11 -5
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/scrollspy.js +6 -4
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/tab.js +4 -2
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/tooltip.js +49 -38
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/transition.js +10 -1
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap.scss +0 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_accordion.scss +7 -10
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_alerts.scss +11 -34
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_badges.scss +8 -15
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +0 -1
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +23 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_button-groups.scss +23 -22
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_buttons.scss +21 -24
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_carousel.scss +46 -32
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_close.scss +3 -3
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_code.scss +6 -12
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_component-animations.scss +10 -4
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +46 -101
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_forms.scss +139 -179
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +155 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +1 -4
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_labels.scss +7 -31
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +89 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_media.scss +8 -6
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_mixins.scss +152 -131
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_modals.scss +11 -12
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_navbar.scss +90 -66
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_navs.scss +56 -68
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_normalize.scss +0 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_pager.scss +4 -3
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +108 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_panels.scss +8 -2
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_popovers.scss +22 -20
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_print.scss +26 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +5 -18
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +25 -25
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +24 -8
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +211 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +2 -3
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_tooltip.scss +26 -2
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_type.scss +31 -49
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_utilities.scss +0 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_variables.scss +201 -54
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_wells.scss +0 -0
- data/bootstrap-rails.gemspec +0 -1
- data/lib/bootstrap-rails/version.rb +1 -1
- metadata +54 -60
- 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 +0 -175
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +0 -28
- data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +0 -200
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +0 -65
- data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +0 -96
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +0 -87
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +0 -242
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ========================================================================
|
2
2
|
* Bootstrap: transition.js v3.0.0
|
3
|
-
* http://
|
3
|
+
* http://twbs.github.com/bootstrap/javascript.html#transitions
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
@@ -40,6 +40,15 @@
|
|
40
40
|
}
|
41
41
|
}
|
42
42
|
|
43
|
+
// http://blog.alexmaccaw.com/css-transitions
|
44
|
+
$.fn.emulateTransitionEnd = function (duration) {
|
45
|
+
var called = false, $el = this
|
46
|
+
$(this).one('webkitTransitionEnd', function () { called = true })
|
47
|
+
var callback = function () { if (!called) $($el).trigger('webkitTransitionEnd') }
|
48
|
+
setTimeout(callback, duration)
|
49
|
+
return this
|
50
|
+
}
|
51
|
+
|
43
52
|
$(function () {
|
44
53
|
$.support.transition = transitionEnd()
|
45
54
|
})
|
File without changes
|
@@ -11,24 +11,21 @@
|
|
11
11
|
// Group == heading + body
|
12
12
|
.accordion-group {
|
13
13
|
margin-bottom: 2px;
|
14
|
-
border: 1px solid
|
14
|
+
border: 1px solid $accordion-border-color;
|
15
15
|
border-radius: $border-radius-base;
|
16
16
|
}
|
17
17
|
.accordion-heading {
|
18
18
|
border-bottom: 0;
|
19
|
-
}
|
20
|
-
.accordion-heading .accordion-toggle {
|
21
|
-
display: block;
|
22
|
-
padding: 8px 15px;
|
23
|
-
}
|
24
19
|
|
25
|
-
|
26
|
-
|
27
|
-
|
20
|
+
.accordion-toggle {
|
21
|
+
display: block;
|
22
|
+
padding: 8px 15px;
|
23
|
+
cursor: pointer;
|
24
|
+
}
|
28
25
|
}
|
29
26
|
|
30
27
|
// Inner needs the styles because you can't animate properly with any styles on the element
|
31
28
|
.accordion-inner {
|
32
29
|
padding: 9px 15px;
|
33
|
-
border-top: 1px solid
|
30
|
+
border-top: 1px solid $accordion-border-color;
|
34
31
|
}
|
@@ -43,37 +43,13 @@
|
|
43
43
|
// -------------------------
|
44
44
|
|
45
45
|
.alert-success {
|
46
|
-
|
47
|
-
border-color: $alert-success-border;
|
48
|
-
color: $alert-success-text;
|
49
|
-
hr {
|
50
|
-
border-top-color: darken($alert-success-border, 5%);
|
51
|
-
}
|
52
|
-
.alert-link {
|
53
|
-
color: darken($alert-success-text, 10%);
|
54
|
-
}
|
46
|
+
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
|
55
47
|
}
|
56
48
|
.alert-danger {
|
57
|
-
|
58
|
-
border-color: $alert-danger-border;
|
59
|
-
color: $alert-danger-text;
|
60
|
-
hr {
|
61
|
-
border-top-color: darken($alert-danger-border, 5%);
|
62
|
-
}
|
63
|
-
.alert-link {
|
64
|
-
color: darken($alert-danger-text, 10%);
|
65
|
-
}
|
49
|
+
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
|
66
50
|
}
|
67
51
|
.alert-info {
|
68
|
-
|
69
|
-
border-color: $alert-info-border;
|
70
|
-
color: $alert-info-text;
|
71
|
-
hr {
|
72
|
-
border-top-color: darken($alert-info-border, 5%);
|
73
|
-
}
|
74
|
-
.alert-link {
|
75
|
-
color: darken($alert-info-text, 10%);
|
76
|
-
}
|
52
|
+
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
|
77
53
|
}
|
78
54
|
|
79
55
|
// Block alerts
|
@@ -82,11 +58,12 @@
|
|
82
58
|
.alert-block {
|
83
59
|
padding-top: 15px;
|
84
60
|
padding-bottom: 15px;
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
}
|
90
|
-
|
91
|
-
|
61
|
+
|
62
|
+
> p,
|
63
|
+
> ul {
|
64
|
+
margin-bottom: 0;
|
65
|
+
}
|
66
|
+
p + p {
|
67
|
+
margin-top: 5px;
|
68
|
+
}
|
92
69
|
}
|
@@ -10,12 +10,12 @@
|
|
10
10
|
padding: 3px 7px;
|
11
11
|
font-size: $font-size-small;
|
12
12
|
font-weight: bold;
|
13
|
-
color:
|
13
|
+
color: $badge-color;
|
14
14
|
line-height: 1;
|
15
15
|
vertical-align: middle;
|
16
16
|
white-space: nowrap;
|
17
17
|
text-align: center;
|
18
|
-
background-color: $
|
18
|
+
background-color: $badge-bg;
|
19
19
|
border-radius: 10px;
|
20
20
|
|
21
21
|
// Empty labels/badges collapse
|
@@ -28,30 +28,23 @@
|
|
28
28
|
a.badge {
|
29
29
|
&:hover,
|
30
30
|
&:focus {
|
31
|
-
color:
|
31
|
+
color: $badge-link-hover-color;
|
32
32
|
text-decoration: none;
|
33
33
|
cursor: pointer;
|
34
34
|
}
|
35
35
|
}
|
36
36
|
|
37
37
|
// Quick fix for labels/badges in buttons
|
38
|
-
.btn {
|
39
|
-
|
40
|
-
|
41
|
-
top: -1px;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
.btn-mini {
|
45
|
-
.badge {
|
46
|
-
top: 0;
|
47
|
-
}
|
38
|
+
.btn .badge {
|
39
|
+
position: relative;
|
40
|
+
top: -1px;
|
48
41
|
}
|
49
42
|
|
50
43
|
// Account for counters in navs
|
51
44
|
a.list-group-item.active > .badge,
|
52
45
|
.nav-pills > .active > a > .badge {
|
53
|
-
color: $
|
54
|
-
background-color:
|
46
|
+
color: $badge-active-color;
|
47
|
+
background-color: $badge-active-bg;
|
55
48
|
}
|
56
49
|
.nav-pills > li > a > .badge {
|
57
50
|
margin-left: 3px;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//
|
2
|
+
// Breadcrumbs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.breadcrumb {
|
7
|
+
padding: 8px 15px;
|
8
|
+
margin-bottom: $line-height-computed;
|
9
|
+
list-style: none;
|
10
|
+
background-color: $breadcrumb-bg;
|
11
|
+
border-radius: $border-radius-base;
|
12
|
+
> li {
|
13
|
+
display: inline-block;
|
14
|
+
&+li:before {
|
15
|
+
content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
16
|
+
padding: 0 5px;
|
17
|
+
color: $breadcrumb-color;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
> .active {
|
21
|
+
color: $breadcrumb-active-color;
|
22
|
+
}
|
23
|
+
}
|
@@ -40,11 +40,12 @@
|
|
40
40
|
float: left;
|
41
41
|
}
|
42
42
|
// Space out series of button groups
|
43
|
-
> .btn
|
44
|
-
> .btn-group
|
45
|
-
|
46
|
-
|
47
|
-
|
43
|
+
> .btn,
|
44
|
+
> .btn-group {
|
45
|
+
+ .btn,
|
46
|
+
+ .btn-group {
|
47
|
+
margin-left: 5px;
|
48
|
+
}
|
48
49
|
}
|
49
50
|
}
|
50
51
|
|
@@ -72,9 +73,11 @@
|
|
72
73
|
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
73
74
|
border-radius: 0;
|
74
75
|
}
|
75
|
-
.btn-group > .btn-group:first-child
|
76
|
-
|
77
|
-
|
76
|
+
.btn-group > .btn-group:first-child {
|
77
|
+
> .btn:last-child,
|
78
|
+
> .dropdown-toggle {
|
79
|
+
@include border-right-radius(0);
|
80
|
+
}
|
78
81
|
}
|
79
82
|
.btn-group > .btn-group:last-child > .btn:first-child {
|
80
83
|
@include border-left-radius(0);
|
@@ -96,10 +99,6 @@
|
|
96
99
|
padding-left: 8px;
|
97
100
|
padding-right: 8px;
|
98
101
|
}
|
99
|
-
.btn-group > .btn-mini + .dropdown-toggle {
|
100
|
-
padding-left: 5px;
|
101
|
-
padding-right: 5px;
|
102
|
-
}
|
103
102
|
.btn-group > .btn-large + .dropdown-toggle {
|
104
103
|
padding-left: 12px;
|
105
104
|
padding-right: 12px;
|
@@ -138,14 +137,16 @@
|
|
138
137
|
margin-top: -1px;
|
139
138
|
}
|
140
139
|
}
|
141
|
-
.btn-group-vertical .btn
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
140
|
+
.btn-group-vertical .btn {
|
141
|
+
&:not(:first-child):not(:last-child) {
|
142
|
+
border-radius: 0;
|
143
|
+
}
|
144
|
+
&:first-child {
|
145
|
+
@include border-bottom-radius(0);
|
146
|
+
}
|
147
|
+
&:last-child {
|
148
|
+
@include border-top-radius(0);
|
149
|
+
}
|
149
150
|
}
|
150
151
|
|
151
152
|
|
@@ -164,7 +165,7 @@
|
|
164
165
|
|
165
166
|
|
166
167
|
// Checkbox and radio options
|
167
|
-
.btn-group[data-toggle="buttons
|
168
|
-
.btn-group[data-toggle="buttons
|
168
|
+
.btn-group[data-toggle="buttons"] > .btn > input[type="radio"],
|
169
|
+
.btn-group[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
169
170
|
display: none;
|
170
171
|
}
|
@@ -27,14 +27,13 @@
|
|
27
27
|
|
28
28
|
&:hover,
|
29
29
|
&:focus {
|
30
|
-
color:
|
30
|
+
color: $btn-hover-color;
|
31
31
|
text-decoration: none;
|
32
32
|
}
|
33
33
|
|
34
34
|
&:active,
|
35
35
|
&.active {
|
36
36
|
outline: 0;
|
37
|
-
background-image: none;
|
38
37
|
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
39
38
|
}
|
40
39
|
|
@@ -81,33 +80,31 @@
|
|
81
80
|
// -------------------------
|
82
81
|
|
83
82
|
// Make a button look and behave like a link
|
84
|
-
.btn-link,
|
85
|
-
.btn-link:active,
|
86
|
-
.btn-link[disabled],
|
87
|
-
fieldset[disabled] .btn-link {
|
88
|
-
background-color: transparent;
|
89
|
-
background-image: none;
|
90
|
-
@include box-shadow(none);
|
91
|
-
}
|
92
|
-
.btn-link,
|
93
|
-
.btn-link:hover,
|
94
|
-
.btn-link:focus,
|
95
|
-
.btn-link:active {
|
96
|
-
border-color: transparent;
|
97
|
-
}
|
98
83
|
.btn-link {
|
99
84
|
color: $link-color;
|
100
85
|
font-weight: normal;
|
101
86
|
cursor: pointer;
|
102
87
|
border-radius: 0;
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
88
|
+
|
89
|
+
&,
|
90
|
+
&:active,
|
91
|
+
&[disabled],
|
92
|
+
fieldset[disabled] & {
|
93
|
+
background-color: transparent;
|
94
|
+
@include box-shadow(none);
|
95
|
+
}
|
96
|
+
&,
|
97
|
+
&:hover,
|
98
|
+
&:focus,
|
99
|
+
&:active {
|
100
|
+
border-color: transparent;
|
101
|
+
}
|
102
|
+
&:hover,
|
103
|
+
&:focus {
|
104
|
+
color: $link-hover-color;
|
105
|
+
text-decoration: underline;
|
106
|
+
background-color: transparent;
|
107
|
+
}
|
111
108
|
&[disabled],
|
112
109
|
fieldset[disabled] & {
|
113
110
|
&:hover,
|
@@ -8,15 +8,10 @@
|
|
8
8
|
position: relative;
|
9
9
|
}
|
10
10
|
|
11
|
-
// Wrap all slides, but only show the active one
|
12
11
|
.carousel-inner {
|
13
12
|
position: relative;
|
14
13
|
overflow: hidden;
|
15
14
|
width: 100%;
|
16
|
-
}
|
17
|
-
|
18
|
-
// Immediate parent of all slides
|
19
|
-
.carousel-inner {
|
20
15
|
|
21
16
|
> .item {
|
22
17
|
display: none;
|
@@ -26,7 +21,7 @@
|
|
26
21
|
// Account for jankitude on images
|
27
22
|
> img,
|
28
23
|
> a > img {
|
29
|
-
|
24
|
+
@include img-responsive();
|
30
25
|
line-height: 1;
|
31
26
|
}
|
32
27
|
}
|
@@ -77,39 +72,36 @@
|
|
77
72
|
width: 15%;
|
78
73
|
@include opacity(.5);
|
79
74
|
font-size: 20px;
|
80
|
-
color:
|
75
|
+
color: $carousel-control-color;
|
81
76
|
text-align: center;
|
82
|
-
text-shadow:
|
83
|
-
|
84
|
-
//
|
85
|
-
// because webkit cancels the carousel
|
86
|
-
// animation if you trip this while
|
87
|
-
// in the middle of another animation
|
88
|
-
// ;_;
|
89
|
-
// .transition(opacity .2s linear);
|
77
|
+
text-shadow: $carousel-text-shadow;
|
78
|
+
// We can't have this transition here because webkit cancels the carousel
|
79
|
+
// animation if you trip this while in the middle of another animation.
|
90
80
|
|
91
81
|
// Set gradients for backgrounds
|
92
82
|
&.left {
|
93
|
-
@include gradient-horizontal(rgba(0,0,0,.5), rgba(0,0,0,.0001));
|
83
|
+
@include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001));
|
94
84
|
background-color: transparent;
|
95
85
|
}
|
96
86
|
&.right {
|
97
87
|
left: auto;
|
98
88
|
right: 0;
|
99
|
-
@include gradient-horizontal(rgba(0,0,0,.0001), rgba(0,0,0,.5));
|
89
|
+
@include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5));
|
100
90
|
background-color: transparent;
|
101
91
|
}
|
102
92
|
|
103
93
|
// Hover/focus state
|
104
94
|
&:hover,
|
105
95
|
&:focus {
|
106
|
-
color:
|
96
|
+
color: $carousel-control-color;
|
107
97
|
text-decoration: none;
|
108
98
|
@include opacity(.9);
|
109
99
|
}
|
110
100
|
|
111
101
|
// Toggles
|
112
|
-
.glyphicon
|
102
|
+
.glyphicon,
|
103
|
+
.icon-prev,
|
104
|
+
.icon-next {
|
113
105
|
position: absolute;
|
114
106
|
top: 50%;
|
115
107
|
left: 50%;
|
@@ -119,6 +111,18 @@
|
|
119
111
|
height: 20px;
|
120
112
|
margin-top: -10px;
|
121
113
|
margin-left: -10px;
|
114
|
+
font-family: serif;
|
115
|
+
}
|
116
|
+
// Non-glyphicon toggles
|
117
|
+
.icon-prev {
|
118
|
+
&:before {
|
119
|
+
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
|
120
|
+
}
|
121
|
+
}
|
122
|
+
.icon-next {
|
123
|
+
&:before {
|
124
|
+
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
|
125
|
+
}
|
122
126
|
}
|
123
127
|
}
|
124
128
|
|
@@ -126,27 +130,30 @@
|
|
126
130
|
// -----------------------------
|
127
131
|
.carousel-indicators {
|
128
132
|
position: absolute;
|
129
|
-
bottom:
|
133
|
+
bottom: 10px;
|
130
134
|
left: 50%;
|
131
135
|
z-index: 15;
|
132
|
-
width:
|
133
|
-
margin:
|
136
|
+
width: 120px;
|
137
|
+
margin-left: -60px;
|
138
|
+
padding-left: 0;
|
134
139
|
list-style: none;
|
135
140
|
text-align: center;
|
136
141
|
|
137
142
|
li {
|
138
143
|
display: inline-block;
|
139
|
-
width:
|
140
|
-
height:
|
141
|
-
margin
|
142
|
-
margin-right: 0;
|
144
|
+
width: 10px;
|
145
|
+
height: 10px;
|
146
|
+
margin: 1px;
|
143
147
|
text-indent: -999px;
|
144
|
-
border: 1px solid
|
145
|
-
border-radius:
|
148
|
+
border: 1px solid $carousel-indicator-border-color;
|
149
|
+
border-radius: 10px;
|
146
150
|
cursor: pointer;
|
147
151
|
}
|
148
152
|
.active {
|
149
|
-
|
153
|
+
margin: 0;
|
154
|
+
width: 12px;
|
155
|
+
height: 12px;
|
156
|
+
background-color: $carousel-indicator-active-bg;
|
150
157
|
}
|
151
158
|
}
|
152
159
|
|
@@ -161,9 +168,9 @@
|
|
161
168
|
z-index: 10;
|
162
169
|
padding-top: 20px;
|
163
170
|
padding-bottom: 20px;
|
164
|
-
color:
|
171
|
+
color: $carousel-caption-color;
|
165
172
|
text-align: center;
|
166
|
-
text-shadow:
|
173
|
+
text-shadow: $carousel-text-shadow;
|
167
174
|
& .btn {
|
168
175
|
text-shadow: none; // No shadow for button elements in carousel-caption
|
169
176
|
}
|
@@ -174,7 +181,9 @@
|
|
174
181
|
@media screen and (min-width: $screen-tablet) {
|
175
182
|
|
176
183
|
// Scale up the controls a smidge
|
177
|
-
.carousel-control .glyphicon
|
184
|
+
.carousel-control .glyphicon,
|
185
|
+
.carousel-control .icon-prev,
|
186
|
+
.carousel-control .icon-next {
|
178
187
|
width: 30px;
|
179
188
|
height: 30px;
|
180
189
|
margin-top: -15px;
|
@@ -188,4 +197,9 @@
|
|
188
197
|
right: 20%;
|
189
198
|
padding-bottom: 30px;
|
190
199
|
}
|
200
|
+
|
201
|
+
// Move up the indicators
|
202
|
+
.carousel-indicators {
|
203
|
+
bottom: 20px;
|
204
|
+
}
|
191
205
|
}
|