twitter-bootstrap-rails 3.2.2 → 4.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.
Potentially problematic release.
This version of twitter-bootstrap-rails might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +105 -130
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +273 -214
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/javascripts/twitter/bootstrap/affix.js +46 -26
- data/app/assets/javascripts/twitter/bootstrap/alert.js +7 -5
- data/app/assets/javascripts/twitter/bootstrap/button.js +27 -17
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +35 -21
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +68 -27
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +55 -41
- data/app/assets/javascripts/twitter/bootstrap/modal.js +88 -31
- data/app/assets/javascripts/twitter/bootstrap/popover.js +5 -10
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +28 -26
- data/app/assets/javascripts/twitter/bootstrap/tab.js +45 -18
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +111 -54
- data/app/assets/javascripts/twitter/bootstrap/transition.js +2 -2
- data/app/helpers/glyph_helper.rb +6 -3
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.css +3 -4
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +7 -18
- data/lib/generators/bootstrap/themed/templates/index.html.erb +2 -0
- data/lib/generators/bootstrap/themed/templates/index.html.haml +1 -0
- data/lib/generators/bootstrap/themed/templates/index.html.slim +2 -0
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/vendor/toolkit/twitter/bootstrap/alerts.less +5 -0
- data/vendor/toolkit/twitter/bootstrap/badges.less +14 -3
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +6 -0
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +13 -14
- data/vendor/toolkit/twitter/bootstrap/buttons.less +14 -7
- data/vendor/toolkit/twitter/bootstrap/carousel.less +34 -7
- data/vendor/toolkit/twitter/bootstrap/close.less +1 -0
- data/vendor/toolkit/twitter/bootstrap/code.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/component-animations.less +3 -1
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +9 -8
- data/vendor/toolkit/twitter/bootstrap/forms.less +110 -41
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +80 -9
- data/vendor/toolkit/twitter/bootstrap/grid.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/input-groups.less +8 -3
- data/vendor/toolkit/twitter/bootstrap/jumbotron.less +10 -4
- data/vendor/toolkit/twitter/bootstrap/labels.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/list-group.less +11 -13
- data/vendor/toolkit/twitter/bootstrap/media.less +40 -30
- data/vendor/toolkit/twitter/bootstrap/mixins.less +1 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/alerts.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/background-variant.less +2 -1
- data/vendor/toolkit/twitter/bootstrap/mixins/border-radius.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/buttons.less +19 -6
- data/vendor/toolkit/twitter/bootstrap/mixins/center-block.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/clearfix.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/forms.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/gradients.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/grid-framework.less +4 -4
- data/vendor/toolkit/twitter/bootstrap/mixins/grid.less +4 -4
- data/vendor/toolkit/twitter/bootstrap/mixins/hide-text.less +2 -2
- data/vendor/toolkit/twitter/bootstrap/mixins/image.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/labels.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/mixins/list-group.less +2 -1
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-divider.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/opacity.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/pagination.less +2 -1
- data/vendor/toolkit/twitter/bootstrap/mixins/panels.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/progress-bar.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/reset-filter.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/reset-text.less +18 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/resize.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/responsive-visibility.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/mixins/size.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/tab-focus.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/table-row.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/text-emphasis.less +2 -1
- data/vendor/toolkit/twitter/bootstrap/mixins/text-overflow.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/vendor-prefixes.less +8 -5
- data/vendor/toolkit/twitter/bootstrap/modals.less +3 -3
- data/vendor/toolkit/twitter/bootstrap/navbar.less +6 -1
- data/vendor/toolkit/twitter/bootstrap/navs.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/normalize.less +12 -13
- data/vendor/toolkit/twitter/bootstrap/pager.less +1 -2
- data/vendor/toolkit/twitter/bootstrap/pagination.less +5 -4
- data/vendor/toolkit/twitter/bootstrap/panels.less +27 -4
- data/vendor/toolkit/twitter/bootstrap/popovers.less +5 -7
- data/vendor/toolkit/twitter/bootstrap/print.less +96 -96
- data/vendor/toolkit/twitter/bootstrap/progress-bars.less +1 -14
- data/vendor/toolkit/twitter/bootstrap/responsive-embed.less +10 -9
- data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +0 -0
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +12 -1
- data/vendor/toolkit/twitter/bootstrap/tables.less +6 -5
- data/vendor/toolkit/twitter/bootstrap/theme.less +47 -16
- data/vendor/toolkit/twitter/bootstrap/thumbnails.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/tooltip.less +13 -7
- data/vendor/toolkit/twitter/bootstrap/type.less +2 -8
- data/vendor/toolkit/twitter/bootstrap/utilities.less +0 -1
- data/vendor/toolkit/twitter/bootstrap/variables.less +36 -14
- data/vendor/toolkit/twitter/bootstrap/wells.less +0 -0
- metadata +45 -56
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +0 -640
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +0 -2026
- data/vendor/static-source/fontawesome.less +0 -8
- data/vendor/toolkit/fontawesome/bordered-pulled.less +0 -16
- data/vendor/toolkit/fontawesome/core.less +0 -11
- data/vendor/toolkit/fontawesome/fixed-width.less +0 -6
- data/vendor/toolkit/fontawesome/font-awesome.less +0 -17
- data/vendor/toolkit/fontawesome/icons.less +0 -552
- data/vendor/toolkit/fontawesome/larger.less +0 -13
- data/vendor/toolkit/fontawesome/list.less +0 -19
- data/vendor/toolkit/fontawesome/mixins.less +0 -25
- data/vendor/toolkit/fontawesome/path.less +0 -14
- data/vendor/toolkit/fontawesome/rotated-flipped.less +0 -20
- data/vendor/toolkit/fontawesome/spinning.less +0 -29
- data/vendor/toolkit/fontawesome/stacked.less +0 -20
- data/vendor/toolkit/fontawesome/variables.less +0 -561
@@ -19,7 +19,6 @@
|
|
19
19
|
}
|
20
20
|
|
21
21
|
|
22
|
-
|
23
22
|
// Bar itself
|
24
23
|
// -------------------------
|
25
24
|
|
@@ -29,7 +28,7 @@
|
|
29
28
|
height: @line-height-computed;
|
30
29
|
margin-bottom: @line-height-computed;
|
31
30
|
background-color: @progress-bg;
|
32
|
-
border-radius: @border-radius
|
31
|
+
border-radius: @progress-border-radius;
|
33
32
|
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
34
33
|
}
|
35
34
|
|
@@ -67,18 +66,6 @@
|
|
67
66
|
.animation(progress-bar-stripes 2s linear infinite);
|
68
67
|
}
|
69
68
|
|
70
|
-
// Account for lower percentages
|
71
|
-
.progress-bar {
|
72
|
-
&[aria-valuenow="0"] {
|
73
|
-
color: @gray-light;
|
74
|
-
min-width: 30px;
|
75
|
-
background-color: transparent;
|
76
|
-
background-image: none;
|
77
|
-
box-shadow: none;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
|
82
69
|
|
83
70
|
// Variations
|
84
71
|
// -------------------------
|
@@ -12,7 +12,8 @@
|
|
12
12
|
.embed-responsive-item,
|
13
13
|
iframe,
|
14
14
|
embed,
|
15
|
-
object
|
15
|
+
object,
|
16
|
+
video {
|
16
17
|
position: absolute;
|
17
18
|
top: 0;
|
18
19
|
left: 0;
|
@@ -21,14 +22,14 @@
|
|
21
22
|
width: 100%;
|
22
23
|
border: 0;
|
23
24
|
}
|
25
|
+
}
|
24
26
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
27
|
+
// Modifier class for 16:9 aspect ratio
|
28
|
+
.embed-responsive-16by9 {
|
29
|
+
padding-bottom: 56.25%;
|
30
|
+
}
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
}
|
32
|
+
// Modifier class for 4:3 aspect ratio
|
33
|
+
.embed-responsive-4by3 {
|
34
|
+
padding-bottom: 75%;
|
34
35
|
}
|
File without changes
|
@@ -52,7 +52,7 @@ a {
|
|
52
52
|
&:hover,
|
53
53
|
&:focus {
|
54
54
|
color: @link-hover-color;
|
55
|
-
text-decoration:
|
55
|
+
text-decoration: @link-hover-decoration;
|
56
56
|
}
|
57
57
|
|
58
58
|
&:focus {
|
@@ -148,3 +148,14 @@ hr {
|
|
148
148
|
clip: auto;
|
149
149
|
}
|
150
150
|
}
|
151
|
+
|
152
|
+
|
153
|
+
// iOS "clickable elements" fix for role="button"
|
154
|
+
//
|
155
|
+
// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
|
156
|
+
// for traditionally non-focusable elements with role="button"
|
157
|
+
// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
158
|
+
|
159
|
+
[role="button"] {
|
160
|
+
cursor: pointer;
|
161
|
+
}
|
@@ -111,7 +111,7 @@ th {
|
|
111
111
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
112
112
|
|
113
113
|
.table-striped {
|
114
|
-
> tbody > tr:nth-
|
114
|
+
> tbody > tr:nth-of-type(odd) {
|
115
115
|
background-color: @table-bg-accent;
|
116
116
|
}
|
117
117
|
}
|
@@ -133,7 +133,7 @@ th {
|
|
133
133
|
// Reset default table behavior
|
134
134
|
|
135
135
|
table col[class*="col-"] {
|
136
|
-
position: static; // Prevent border hiding in Firefox and IE9
|
136
|
+
position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
|
137
137
|
float: none;
|
138
138
|
display: table-column;
|
139
139
|
}
|
@@ -141,7 +141,7 @@ table {
|
|
141
141
|
td,
|
142
142
|
th {
|
143
143
|
&[class*="col-"] {
|
144
|
-
position: static; // Prevent border hiding in Firefox and IE9
|
144
|
+
position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
|
145
145
|
float: none;
|
146
146
|
display: table-cell;
|
147
147
|
}
|
@@ -169,14 +169,15 @@ table {
|
|
169
169
|
// will display normally.
|
170
170
|
|
171
171
|
.table-responsive {
|
172
|
+
overflow-x: auto;
|
173
|
+
min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
|
174
|
+
|
172
175
|
@media screen and (max-width: @screen-xs-max) {
|
173
176
|
width: 100%;
|
174
177
|
margin-bottom: (@line-height-computed * 0.75);
|
175
178
|
overflow-y: hidden;
|
176
|
-
overflow-x: auto;
|
177
179
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
178
180
|
border: 1px solid @table-border-color;
|
179
|
-
-webkit-overflow-scrolling: touch;
|
180
181
|
|
181
182
|
// Tighten up spacing
|
182
183
|
> .table {
|
@@ -1,3 +1,8 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v3.3.6 (http://getbootstrap.com)
|
3
|
+
* Copyright 2011-2015 Twitter, Inc.
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
1
6
|
|
2
7
|
//
|
3
8
|
// Load core variables and mixins
|
@@ -7,7 +12,6 @@
|
|
7
12
|
@import "mixins.less";
|
8
13
|
|
9
14
|
|
10
|
-
|
11
15
|
//
|
12
16
|
// Buttons
|
13
17
|
// --------------------------------------------------
|
@@ -28,12 +32,22 @@
|
|
28
32
|
&.active {
|
29
33
|
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
30
34
|
}
|
35
|
+
|
36
|
+
&.disabled,
|
37
|
+
&[disabled],
|
38
|
+
fieldset[disabled] & {
|
39
|
+
.box-shadow(none);
|
40
|
+
}
|
41
|
+
|
42
|
+
.badge {
|
43
|
+
text-shadow: none;
|
44
|
+
}
|
31
45
|
}
|
32
46
|
|
33
47
|
// Mixin for generating new styles
|
34
48
|
.btn-styles(@btn-color: #555) {
|
35
49
|
#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
|
36
|
-
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
|
50
|
+
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
|
37
51
|
background-repeat: repeat-x;
|
38
52
|
border-color: darken(@btn-color, 14%);
|
39
53
|
|
@@ -49,10 +63,18 @@
|
|
49
63
|
border-color: darken(@btn-color, 14%);
|
50
64
|
}
|
51
65
|
|
52
|
-
|
53
|
-
&[disabled]
|
54
|
-
|
55
|
-
|
66
|
+
&.disabled,
|
67
|
+
&[disabled],
|
68
|
+
fieldset[disabled] & {
|
69
|
+
&,
|
70
|
+
&:hover,
|
71
|
+
&:focus,
|
72
|
+
&.focus,
|
73
|
+
&:active,
|
74
|
+
&.active {
|
75
|
+
background-color: darken(@btn-color, 12%);
|
76
|
+
background-image: none;
|
77
|
+
}
|
56
78
|
}
|
57
79
|
}
|
58
80
|
|
@@ -74,7 +96,6 @@
|
|
74
96
|
.btn-danger { .btn-styles(@btn-danger-bg); }
|
75
97
|
|
76
98
|
|
77
|
-
|
78
99
|
//
|
79
100
|
// Images
|
80
101
|
// --------------------------------------------------
|
@@ -85,7 +106,6 @@
|
|
85
106
|
}
|
86
107
|
|
87
108
|
|
88
|
-
|
89
109
|
//
|
90
110
|
// Dropdowns
|
91
111
|
// --------------------------------------------------
|
@@ -103,7 +123,6 @@
|
|
103
123
|
}
|
104
124
|
|
105
125
|
|
106
|
-
|
107
126
|
//
|
108
127
|
// Navbar
|
109
128
|
// --------------------------------------------------
|
@@ -118,7 +137,7 @@
|
|
118
137
|
|
119
138
|
.navbar-nav > .open > a,
|
120
139
|
.navbar-nav > .active > a {
|
121
|
-
#gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));
|
140
|
+
#gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken(@navbar-default-link-active-bg, 2%));
|
122
141
|
.box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
|
123
142
|
}
|
124
143
|
}
|
@@ -130,11 +149,11 @@
|
|
130
149
|
// Inverted navbar
|
131
150
|
.navbar-inverse {
|
132
151
|
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
|
133
|
-
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
134
|
-
|
152
|
+
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
|
153
|
+
border-radius: @navbar-border-radius;
|
135
154
|
.navbar-nav > .open > a,
|
136
155
|
.navbar-nav > .active > a {
|
137
|
-
#gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));
|
156
|
+
#gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));
|
138
157
|
.box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
|
139
158
|
}
|
140
159
|
|
@@ -151,6 +170,17 @@
|
|
151
170
|
border-radius: 0;
|
152
171
|
}
|
153
172
|
|
173
|
+
// Fix active state of dropdown items in collapsed mode
|
174
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
175
|
+
.navbar .navbar-nav .open .dropdown-menu > .active > a {
|
176
|
+
&,
|
177
|
+
&:hover,
|
178
|
+
&:focus {
|
179
|
+
color: #fff;
|
180
|
+
#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
154
184
|
|
155
185
|
|
156
186
|
//
|
@@ -177,7 +207,6 @@
|
|
177
207
|
.alert-danger { .alert-styles(@alert-danger-bg); }
|
178
208
|
|
179
209
|
|
180
|
-
|
181
210
|
//
|
182
211
|
// Progress bars
|
183
212
|
// --------------------------------------------------
|
@@ -220,8 +249,11 @@
|
|
220
249
|
text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);
|
221
250
|
#gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));
|
222
251
|
border-color: darken(@list-group-active-border, 7.5%);
|
223
|
-
}
|
224
252
|
|
253
|
+
.badge {
|
254
|
+
text-shadow: none;
|
255
|
+
}
|
256
|
+
}
|
225
257
|
|
226
258
|
|
227
259
|
//
|
@@ -247,7 +279,6 @@
|
|
247
279
|
.panel-danger > .panel-heading { .panel-heading-styles(@panel-danger-heading-bg); }
|
248
280
|
|
249
281
|
|
250
|
-
|
251
282
|
//
|
252
283
|
// Wells
|
253
284
|
// --------------------------------------------------
|
@@ -8,9 +8,11 @@
|
|
8
8
|
position: absolute;
|
9
9
|
z-index: @zindex-tooltip;
|
10
10
|
display: block;
|
11
|
-
|
11
|
+
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
12
|
+
// So reset our font and text properties to avoid inheriting weird values.
|
13
|
+
.reset-text();
|
12
14
|
font-size: @font-size-small;
|
13
|
-
|
15
|
+
|
14
16
|
.opacity(0);
|
15
17
|
|
16
18
|
&.in { .opacity(@tooltip-opacity); }
|
@@ -26,7 +28,6 @@
|
|
26
28
|
padding: 3px 8px;
|
27
29
|
color: @tooltip-color;
|
28
30
|
text-align: center;
|
29
|
-
text-decoration: none;
|
30
31
|
background-color: @tooltip-bg;
|
31
32
|
border-radius: @border-radius-base;
|
32
33
|
}
|
@@ -39,6 +40,7 @@
|
|
39
40
|
border-color: transparent;
|
40
41
|
border-style: solid;
|
41
42
|
}
|
43
|
+
// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
|
42
44
|
.tooltip {
|
43
45
|
&.top .tooltip-arrow {
|
44
46
|
bottom: 0;
|
@@ -49,13 +51,15 @@
|
|
49
51
|
}
|
50
52
|
&.top-left .tooltip-arrow {
|
51
53
|
bottom: 0;
|
52
|
-
|
54
|
+
right: @tooltip-arrow-width;
|
55
|
+
margin-bottom: -@tooltip-arrow-width;
|
53
56
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
54
57
|
border-top-color: @tooltip-arrow-color;
|
55
58
|
}
|
56
59
|
&.top-right .tooltip-arrow {
|
57
60
|
bottom: 0;
|
58
|
-
|
61
|
+
left: @tooltip-arrow-width;
|
62
|
+
margin-bottom: -@tooltip-arrow-width;
|
59
63
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
60
64
|
border-top-color: @tooltip-arrow-color;
|
61
65
|
}
|
@@ -82,13 +86,15 @@
|
|
82
86
|
}
|
83
87
|
&.bottom-left .tooltip-arrow {
|
84
88
|
top: 0;
|
85
|
-
|
89
|
+
right: @tooltip-arrow-width;
|
90
|
+
margin-top: -@tooltip-arrow-width;
|
86
91
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
87
92
|
border-bottom-color: @tooltip-arrow-color;
|
88
93
|
}
|
89
94
|
&.bottom-right .tooltip-arrow {
|
90
95
|
top: 0;
|
91
|
-
|
96
|
+
left: @tooltip-arrow-width;
|
97
|
+
margin-top: -@tooltip-arrow-width;
|
92
98
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
93
99
|
border-bottom-color: @tooltip-arrow-color;
|
94
100
|
}
|
@@ -211,7 +211,7 @@ dd {
|
|
211
211
|
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
212
212
|
}
|
213
213
|
|
214
|
-
@media (min-width: @
|
214
|
+
@media (min-width: @dl-horizontal-breakpoint) {
|
215
215
|
dt {
|
216
216
|
float: left;
|
217
217
|
width: (@dl-horizontal-offset - 20);
|
@@ -238,7 +238,7 @@ abbr[data-original-title] {
|
|
238
238
|
}
|
239
239
|
.initialism {
|
240
240
|
font-size: 90%;
|
241
|
-
text-
|
241
|
+
.text-uppercase();
|
242
242
|
}
|
243
243
|
|
244
244
|
// Blockquotes
|
@@ -294,12 +294,6 @@ blockquote.pull-right {
|
|
294
294
|
}
|
295
295
|
}
|
296
296
|
|
297
|
-
// Quotes
|
298
|
-
blockquote:before,
|
299
|
-
blockquote:after {
|
300
|
-
content: "";
|
301
|
-
}
|
302
|
-
|
303
297
|
// Addresses
|
304
298
|
address {
|
305
299
|
margin-bottom: @line-height-computed;
|
@@ -14,7 +14,7 @@
|
|
14
14
|
@gray-light: lighten(@gray-base, 46.7%); // #777
|
15
15
|
@gray-lighter: lighten(@gray-base, 93.5%); // #eee
|
16
16
|
|
17
|
-
@brand-primary: #428bca;
|
17
|
+
@brand-primary: darken(#428bca, 6.5%); // #337ab7
|
18
18
|
@brand-success: #5cb85c;
|
19
19
|
@brand-info: #5bc0de;
|
20
20
|
@brand-warning: #f0ad4e;
|
@@ -34,6 +34,8 @@
|
|
34
34
|
@link-color: @brand-primary;
|
35
35
|
//** Link hover color set via `darken()` function.
|
36
36
|
@link-hover-color: darken(@link-color, 15%);
|
37
|
+
//** Link hover decoration.
|
38
|
+
@link-hover-decoration: underline;
|
37
39
|
|
38
40
|
|
39
41
|
//== Typography
|
@@ -97,7 +99,7 @@
|
|
97
99
|
@padding-xs-vertical: 1px;
|
98
100
|
@padding-xs-horizontal: 5px;
|
99
101
|
|
100
|
-
@line-height-large: 1.
|
102
|
+
@line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
|
101
103
|
@line-height-small: 1.5;
|
102
104
|
|
103
105
|
@border-radius-base: 4px;
|
@@ -168,6 +170,11 @@
|
|
168
170
|
|
169
171
|
@btn-link-disabled-color: @gray-light;
|
170
172
|
|
173
|
+
// Allows for customizing button radius independently from global border radius
|
174
|
+
@btn-border-radius-base: @border-radius-base;
|
175
|
+
@btn-border-radius-large: @border-radius-large;
|
176
|
+
@btn-border-radius-small: @border-radius-small;
|
177
|
+
|
171
178
|
|
172
179
|
//== Forms
|
173
180
|
//
|
@@ -182,8 +189,16 @@
|
|
182
189
|
@input-color: @gray;
|
183
190
|
//** `<input>` border color
|
184
191
|
@input-border: #ccc;
|
185
|
-
|
192
|
+
|
193
|
+
// TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
|
194
|
+
//** Default `.form-control` border radius
|
195
|
+
// This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
|
186
196
|
@input-border-radius: @border-radius-base;
|
197
|
+
//** Large `.form-control` border radius
|
198
|
+
@input-border-radius-large: @border-radius-large;
|
199
|
+
//** Small `.form-control` border radius
|
200
|
+
@input-border-radius-small: @border-radius-small;
|
201
|
+
|
187
202
|
//** Border color for inputs on focus
|
188
203
|
@input-border-focus: #66afe9;
|
189
204
|
|
@@ -197,6 +212,9 @@
|
|
197
212
|
//** Small `.form-control` height
|
198
213
|
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
|
199
214
|
|
215
|
+
//** `.form-group` margin
|
216
|
+
@form-group-margin-bottom: 15px;
|
217
|
+
|
200
218
|
@legend-color: @gray-dark;
|
201
219
|
@legend-border-color: #e5e5e5;
|
202
220
|
|
@@ -205,6 +223,9 @@
|
|
205
223
|
//** Border color for textual input addons
|
206
224
|
@input-group-addon-border-color: @input-border;
|
207
225
|
|
226
|
+
//** Disabled cursor for form controls and buttons.
|
227
|
+
@cursor-disabled: not-allowed;
|
228
|
+
|
208
229
|
|
209
230
|
//== Dropdowns
|
210
231
|
//
|
@@ -316,17 +337,17 @@
|
|
316
337
|
//## Define the maximum width of `.container` for different screen sizes.
|
317
338
|
|
318
339
|
// Small screen / tablet
|
319
|
-
@container-tablet: (
|
340
|
+
@container-tablet: (720px + @grid-gutter-width);
|
320
341
|
//** For `@screen-sm-min` and up.
|
321
342
|
@container-sm: @container-tablet;
|
322
343
|
|
323
344
|
// Medium screen / desktop
|
324
|
-
@container-desktop: (
|
345
|
+
@container-desktop: (940px + @grid-gutter-width);
|
325
346
|
//** For `@screen-md-min` and up.
|
326
347
|
@container-md: @container-desktop;
|
327
348
|
|
328
349
|
// Large screen / wide desktop
|
329
|
-
@container-large-desktop: (
|
350
|
+
@container-large-desktop: (1140px + @grid-gutter-width);
|
330
351
|
//** For `@screen-lg-min` and up.
|
331
352
|
@container-lg: @container-large-desktop;
|
332
353
|
|
@@ -367,14 +388,14 @@
|
|
367
388
|
@navbar-default-toggle-border-color: #ddd;
|
368
389
|
|
369
390
|
|
370
|
-
|
391
|
+
//=== Inverted navbar
|
371
392
|
// Reset inverted navbar basics
|
372
|
-
@navbar-inverse-color: lighten(@gray-light,
|
393
|
+
@navbar-inverse-color: lighten(@gray-light, 15%);
|
373
394
|
@navbar-inverse-bg: #222;
|
374
395
|
@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
|
375
396
|
|
376
397
|
// Inverted navbar links
|
377
|
-
@navbar-inverse-link-color: @gray-light;
|
398
|
+
@navbar-inverse-link-color: lighten(@gray-light, 15%);
|
378
399
|
@navbar-inverse-link-hover-color: #fff;
|
379
400
|
@navbar-inverse-link-hover-bg: transparent;
|
380
401
|
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
|
@@ -404,8 +425,6 @@
|
|
404
425
|
@nav-disabled-link-color: @gray-light;
|
405
426
|
@nav-disabled-link-hover-color: @gray-light;
|
406
427
|
|
407
|
-
@nav-open-link-hover-color: #fff;
|
408
|
-
|
409
428
|
//== Tabs
|
410
429
|
@nav-tabs-border-color: #ddd;
|
411
430
|
|
@@ -470,6 +489,7 @@
|
|
470
489
|
@jumbotron-bg: @gray-lighter;
|
471
490
|
@jumbotron-heading-color: inherit;
|
472
491
|
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
492
|
+
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
473
493
|
|
474
494
|
|
475
495
|
//== Form states and alerts
|
@@ -530,7 +550,7 @@
|
|
530
550
|
//** Popover arrow width
|
531
551
|
@popover-arrow-width: 10px;
|
532
552
|
//** Popover arrow color
|
533
|
-
@popover-arrow-color:
|
553
|
+
@popover-arrow-color: @popover-bg;
|
534
554
|
|
535
555
|
//** Popover outer arrow width
|
536
556
|
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
@@ -629,6 +649,8 @@
|
|
629
649
|
@progress-bg: #f5f5f5;
|
630
650
|
//** Progress bar text color
|
631
651
|
@progress-bar-color: #fff;
|
652
|
+
//** Variable for setting rounded corners on progress bar.
|
653
|
+
@progress-border-radius: @border-radius-base;
|
632
654
|
|
633
655
|
//** Default progress bar color
|
634
656
|
@progress-bar-bg: @brand-primary;
|
@@ -841,7 +863,7 @@
|
|
841
863
|
@page-header-border-color: @gray-lighter;
|
842
864
|
//** Width of horizontal description list titles
|
843
865
|
@dl-horizontal-offset: @component-offset-horizontal;
|
866
|
+
//** Point at which .dl-horizontal becomes horizontal
|
867
|
+
@dl-horizontal-breakpoint: @grid-float-breakpoint;
|
844
868
|
//** Horizontal line color.
|
845
869
|
@hr-border: @gray-lighter;
|
846
|
-
|
847
|
-
|