less-rails-bootstrap 3.3.0.1 → 3.3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/javascripts/twitter/bootstrap/affix.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/alert.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/button.js +3 -3
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +3 -2
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +3 -3
- data/app/assets/javascripts/twitter/bootstrap/modal.js +48 -5
- data/app/assets/javascripts/twitter/bootstrap/popover.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/tab.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -1
- data/app/frameworks/twitter/bootstrap/badges.less +7 -1
- data/app/frameworks/twitter/bootstrap/button-groups.less +0 -4
- data/app/frameworks/twitter/bootstrap/forms.less +19 -32
- data/app/frameworks/twitter/bootstrap/jumbotron.less +2 -1
- data/app/frameworks/twitter/bootstrap/list-group.less +0 -8
- data/app/frameworks/twitter/bootstrap/mixins/grid-framework.less +2 -2
- data/app/frameworks/twitter/bootstrap/modals.less +1 -2
- data/app/frameworks/twitter/bootstrap/navbar.less +1 -0
- data/app/frameworks/twitter/bootstrap/popovers.less +1 -0
- data/app/frameworks/twitter/bootstrap/theme.less +12 -0
- data/app/frameworks/twitter/bootstrap/tooltip.less +12 -4
- data/app/frameworks/twitter/bootstrap/variables.less +1 -1
- data/lib/less/rails/bootstrap/version.rb +1 -1
- data/test/cases/usage_css_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 027394c373ff9349a62b4e6dc3f759355a15ae87
|
4
|
+
data.tar.gz: d3f85fbf76dfd29761b57789ca750c36f30b140e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1840640c85bded18324692efeef4c79010baa9b73f7a84065b7e2826d982bc033c8119924bd34a97f0fb3b3044ac5c09d0509c2710c5095c0cd1a17a956bd4c
|
7
|
+
data.tar.gz: fa9f48a757630d0969ecd57146f900fe86c6ee287584a1ff27e42efa69134590a7d14183c0635d4d725e065a3570012e398f5d6919b530b8e864c1b6b280fd30
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: affix.js v3.3.
|
2
|
+
* Bootstrap: affix.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#affix
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -28,7 +28,7 @@
|
|
28
28
|
this.checkPosition()
|
29
29
|
}
|
30
30
|
|
31
|
-
Affix.VERSION = '3.3.
|
31
|
+
Affix.VERSION = '3.3.1'
|
32
32
|
|
33
33
|
Affix.RESET = 'affix affix-top affix-bottom'
|
34
34
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: alert.js v3.3.
|
2
|
+
* Bootstrap: alert.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#alerts
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -18,7 +18,7 @@
|
|
18
18
|
$(el).on('click', dismiss, this.close)
|
19
19
|
}
|
20
20
|
|
21
|
-
Alert.VERSION = '3.3.
|
21
|
+
Alert.VERSION = '3.3.1'
|
22
22
|
|
23
23
|
Alert.TRANSITION_DURATION = 150
|
24
24
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: button.js v3.3.
|
2
|
+
* Bootstrap: button.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#buttons
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
this.isLoading = false
|
20
20
|
}
|
21
21
|
|
22
|
-
Button.VERSION = '3.3.
|
22
|
+
Button.VERSION = '3.3.1'
|
23
23
|
|
24
24
|
Button.DEFAULTS = {
|
25
25
|
loadingText: 'loading...'
|
@@ -110,7 +110,7 @@
|
|
110
110
|
e.preventDefault()
|
111
111
|
})
|
112
112
|
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
113
|
-
$(e.target).closest('.btn').toggleClass('focus', e.type
|
113
|
+
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
|
114
114
|
})
|
115
115
|
|
116
116
|
}(jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: carousel.js v3.3.
|
2
|
+
* Bootstrap: carousel.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#carousel
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -30,7 +30,7 @@
|
|
30
30
|
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
|
31
31
|
}
|
32
32
|
|
33
|
-
Carousel.VERSION = '3.3.
|
33
|
+
Carousel.VERSION = '3.3.1'
|
34
34
|
|
35
35
|
Carousel.TRANSITION_DURATION = 600
|
36
36
|
|
@@ -42,6 +42,7 @@
|
|
42
42
|
}
|
43
43
|
|
44
44
|
Carousel.prototype.keydown = function (e) {
|
45
|
+
if (/input|textarea/i.test(e.target.tagName)) return
|
45
46
|
switch (e.which) {
|
46
47
|
case 37: this.prev(); break
|
47
48
|
case 39: this.next(); break
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: collapse.js v3.3.
|
2
|
+
* Bootstrap: collapse.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#collapse
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -28,7 +28,7 @@
|
|
28
28
|
if (this.options.toggle) this.toggle()
|
29
29
|
}
|
30
30
|
|
31
|
-
Collapse.VERSION = '3.3.
|
31
|
+
Collapse.VERSION = '3.3.1'
|
32
32
|
|
33
33
|
Collapse.TRANSITION_DURATION = 350
|
34
34
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: dropdown.js v3.3.
|
2
|
+
* Bootstrap: dropdown.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#dropdowns
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
$(element).on('click.bs.dropdown', this.toggle)
|
20
20
|
}
|
21
21
|
|
22
|
-
Dropdown.VERSION = '3.3.
|
22
|
+
Dropdown.VERSION = '3.3.1'
|
23
23
|
|
24
24
|
Dropdown.prototype.toggle = function (e) {
|
25
25
|
var $this = $(this)
|
@@ -55,7 +55,7 @@
|
|
55
55
|
}
|
56
56
|
|
57
57
|
Dropdown.prototype.keydown = function (e) {
|
58
|
-
if (!/(38|40|27|32)/.test(e.which)) return
|
58
|
+
if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
|
59
59
|
|
60
60
|
var $this = $(this)
|
61
61
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: modal.js v3.3.
|
2
|
+
* Bootstrap: modal.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#modals
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -30,7 +30,7 @@
|
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
33
|
-
Modal.VERSION = '3.3.
|
33
|
+
Modal.VERSION = '3.3.1'
|
34
34
|
|
35
35
|
Modal.TRANSITION_DURATION = 300
|
36
36
|
Modal.BACKDROP_TRANSITION_DURATION = 150
|
@@ -56,10 +56,11 @@
|
|
56
56
|
this.isShown = true
|
57
57
|
|
58
58
|
this.checkScrollbar()
|
59
|
+
this.setScrollbar()
|
59
60
|
this.$body.addClass('modal-open')
|
60
61
|
|
61
|
-
this.setScrollbar()
|
62
62
|
this.escape()
|
63
|
+
this.resize()
|
63
64
|
|
64
65
|
this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
65
66
|
|
@@ -74,6 +75,9 @@
|
|
74
75
|
.show()
|
75
76
|
.scrollTop(0)
|
76
77
|
|
78
|
+
if (that.options.backdrop) that.adjustBackdrop()
|
79
|
+
that.adjustDialog()
|
80
|
+
|
77
81
|
if (transition) {
|
78
82
|
that.$element[0].offsetWidth // force reflow
|
79
83
|
}
|
@@ -108,6 +112,7 @@
|
|
108
112
|
this.isShown = false
|
109
113
|
|
110
114
|
this.escape()
|
115
|
+
this.resize()
|
111
116
|
|
112
117
|
$(document).off('focusin.bs.modal')
|
113
118
|
|
@@ -143,11 +148,20 @@
|
|
143
148
|
}
|
144
149
|
}
|
145
150
|
|
151
|
+
Modal.prototype.resize = function () {
|
152
|
+
if (this.isShown) {
|
153
|
+
$(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
|
154
|
+
} else {
|
155
|
+
$(window).off('resize.bs.modal')
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
146
159
|
Modal.prototype.hideModal = function () {
|
147
160
|
var that = this
|
148
161
|
this.$element.hide()
|
149
162
|
this.backdrop(function () {
|
150
163
|
that.$body.removeClass('modal-open')
|
164
|
+
that.resetAdjustments()
|
151
165
|
that.resetScrollbar()
|
152
166
|
that.$element.trigger('hidden.bs.modal')
|
153
167
|
})
|
@@ -204,13 +218,43 @@
|
|
204
218
|
}
|
205
219
|
}
|
206
220
|
|
221
|
+
// these following methods are used to handle overflowing modals
|
222
|
+
|
223
|
+
Modal.prototype.handleUpdate = function () {
|
224
|
+
if (this.options.backdrop) this.adjustBackdrop()
|
225
|
+
this.adjustDialog()
|
226
|
+
}
|
227
|
+
|
228
|
+
Modal.prototype.adjustBackdrop = function () {
|
229
|
+
this.$backdrop
|
230
|
+
.css('height', 0)
|
231
|
+
.css('height', this.$element[0].scrollHeight)
|
232
|
+
}
|
233
|
+
|
234
|
+
Modal.prototype.adjustDialog = function () {
|
235
|
+
var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
|
236
|
+
|
237
|
+
this.$element.css({
|
238
|
+
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
|
239
|
+
paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
|
240
|
+
})
|
241
|
+
}
|
242
|
+
|
243
|
+
Modal.prototype.resetAdjustments = function () {
|
244
|
+
this.$element.css({
|
245
|
+
paddingLeft: '',
|
246
|
+
paddingRight: ''
|
247
|
+
})
|
248
|
+
}
|
249
|
+
|
207
250
|
Modal.prototype.checkScrollbar = function () {
|
251
|
+
this.bodyIsOverflowing = document.body.scrollHeight > document.documentElement.clientHeight
|
208
252
|
this.scrollbarWidth = this.measureScrollbar()
|
209
253
|
}
|
210
254
|
|
211
255
|
Modal.prototype.setScrollbar = function () {
|
212
256
|
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
|
213
|
-
if (this.
|
257
|
+
if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
|
214
258
|
}
|
215
259
|
|
216
260
|
Modal.prototype.resetScrollbar = function () {
|
@@ -218,7 +262,6 @@
|
|
218
262
|
}
|
219
263
|
|
220
264
|
Modal.prototype.measureScrollbar = function () { // thx walsh
|
221
|
-
if (document.body.clientWidth >= window.innerWidth) return 0
|
222
265
|
var scrollDiv = document.createElement('div')
|
223
266
|
scrollDiv.className = 'modal-scrollbar-measure'
|
224
267
|
this.$body.append(scrollDiv)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: popover.js v3.3.
|
2
|
+
* Bootstrap: popover.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#popovers
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
21
21
|
|
22
|
-
Popover.VERSION = '3.3.
|
22
|
+
Popover.VERSION = '3.3.1'
|
23
23
|
|
24
24
|
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
|
25
25
|
placement: 'right',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: scrollspy.js v3.3.
|
2
|
+
* Bootstrap: scrollspy.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#scrollspy
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -30,7 +30,7 @@
|
|
30
30
|
this.process()
|
31
31
|
}
|
32
32
|
|
33
|
-
ScrollSpy.VERSION = '3.3.
|
33
|
+
ScrollSpy.VERSION = '3.3.1'
|
34
34
|
|
35
35
|
ScrollSpy.DEFAULTS = {
|
36
36
|
offset: 10
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tab.js v3.3.
|
2
|
+
* Bootstrap: tab.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#tabs
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -17,7 +17,7 @@
|
|
17
17
|
this.element = $(element)
|
18
18
|
}
|
19
19
|
|
20
|
-
Tab.VERSION = '3.3.
|
20
|
+
Tab.VERSION = '3.3.1'
|
21
21
|
|
22
22
|
Tab.TRANSITION_DURATION = 150
|
23
23
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tooltip.js v3.3.
|
2
|
+
* Bootstrap: tooltip.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#tooltip
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ========================================================================
|
@@ -25,7 +25,7 @@
|
|
25
25
|
this.init('tooltip', element, options)
|
26
26
|
}
|
27
27
|
|
28
|
-
Tooltip.VERSION = '3.3.
|
28
|
+
Tooltip.VERSION = '3.3.1'
|
29
29
|
|
30
30
|
Tooltip.TRANSITION_DURATION = 150
|
31
31
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: transition.js v3.3.
|
2
|
+
* Bootstrap: transition.js v3.3.1
|
3
3
|
* http://getbootstrap.com/javascript/#transitions
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2014 Twitter, Inc.
|
@@ -44,11 +44,17 @@
|
|
44
44
|
}
|
45
45
|
|
46
46
|
// Account for badges in navs
|
47
|
-
|
47
|
+
.list-group-item.active > &,
|
48
48
|
.nav-pills > .active > a > & {
|
49
49
|
color: @badge-active-color;
|
50
50
|
background-color: @badge-active-bg;
|
51
51
|
}
|
52
|
+
.list-group-item > & {
|
53
|
+
float: right;
|
54
|
+
}
|
55
|
+
.list-group-item > & + & {
|
56
|
+
margin-right: 5px;
|
57
|
+
}
|
52
58
|
.nav-pills > li > a > & {
|
53
59
|
margin-left: 3px;
|
54
60
|
}
|
@@ -168,41 +168,28 @@ input[type="search"] {
|
|
168
168
|
// Special styles for iOS temporal inputs
|
169
169
|
//
|
170
170
|
// In Mobile Safari, setting `display: block` on temporal inputs causes the
|
171
|
-
// text within the input to become vertically misaligned.
|
172
|
-
//
|
173
|
-
//
|
174
|
-
|
175
|
-
|
176
|
-
input[type="date"],
|
177
|
-
input[type="time"],
|
178
|
-
input[type="datetime-local"],
|
179
|
-
input[type="month"] {
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
171
|
+
// text within the input to become vertically misaligned. As a workaround, we
|
172
|
+
// set a pixel line-height that matches the given height of the input, but only
|
173
|
+
// for Safari.
|
174
|
+
|
175
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
176
|
+
input[type="date"],
|
177
|
+
input[type="time"],
|
178
|
+
input[type="datetime-local"],
|
179
|
+
input[type="month"] {
|
180
|
+
line-height: @input-height-base;
|
181
|
+
}
|
182
|
+
input[type="date"].input-sm,
|
183
|
+
input[type="time"].input-sm,
|
184
|
+
input[type="datetime-local"].input-sm,
|
185
|
+
input[type="month"].input-sm {
|
185
186
|
line-height: @input-height-small;
|
186
|
-
line-height: @line-height-small ~"\0";
|
187
187
|
}
|
188
|
-
|
188
|
+
input[type="date"].input-lg,
|
189
|
+
input[type="time"].input-lg,
|
190
|
+
input[type="datetime-local"].input-lg,
|
191
|
+
input[type="month"].input-lg {
|
189
192
|
line-height: @input-height-large;
|
190
|
-
line-height: @line-height-large ~"\0";
|
191
|
-
}
|
192
|
-
}
|
193
|
-
|
194
|
-
// IE 11 hack to reverse the iOS temporal input hack.
|
195
|
-
_:-ms-fullscreen, :root input[type="date"],
|
196
|
-
_:-ms-fullscreen, :root input[type="time"],
|
197
|
-
_:-ms-fullscreen, :root input[type="datetime-local"],
|
198
|
-
_:-ms-fullscreen, :root input[type="month"] {
|
199
|
-
line-height: @line-height-base;
|
200
|
-
|
201
|
-
&.input-sm {
|
202
|
-
line-height: @line-height-small;
|
203
|
-
}
|
204
|
-
&.input-lg {
|
205
|
-
line-height: @line-height-large;
|
206
193
|
}
|
207
194
|
}
|
208
195
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
.make-grid-columns() {
|
7
7
|
// Common styles for all sizes of grid columns, widths 1-12
|
8
|
-
.col(@index)
|
8
|
+
.col(@index) { // initial
|
9
9
|
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
10
10
|
.col((@index + 1), @item);
|
11
11
|
}
|
@@ -27,7 +27,7 @@
|
|
27
27
|
}
|
28
28
|
|
29
29
|
.float-grid-columns(@class) {
|
30
|
-
.col(@index)
|
30
|
+
.col(@index) { // initial
|
31
31
|
@item: ~".col-@{class}-@{index}";
|
32
32
|
.col((@index + 1), @item);
|
33
33
|
}
|
@@ -151,6 +151,18 @@
|
|
151
151
|
border-radius: 0;
|
152
152
|
}
|
153
153
|
|
154
|
+
// Fix active state of dropdown items in collapsed mode
|
155
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
156
|
+
.navbar .navbar-nav .open .dropdown-menu > .active > a {
|
157
|
+
&,
|
158
|
+
&:hover,
|
159
|
+
&:focus {
|
160
|
+
color: #fff;
|
161
|
+
#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
154
166
|
|
155
167
|
//
|
156
168
|
// Alerts
|
@@ -9,7 +9,10 @@
|
|
9
9
|
z-index: @zindex-tooltip;
|
10
10
|
display: block;
|
11
11
|
visibility: visible;
|
12
|
+
// Reset font and text propertes given new insertion method
|
13
|
+
font-family: @font-family-base;
|
12
14
|
font-size: @font-size-small;
|
15
|
+
font-weight: normal;
|
13
16
|
line-height: 1.4;
|
14
17
|
.opacity(0);
|
15
18
|
|
@@ -39,6 +42,7 @@
|
|
39
42
|
border-color: transparent;
|
40
43
|
border-style: solid;
|
41
44
|
}
|
45
|
+
// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
|
42
46
|
.tooltip {
|
43
47
|
&.top .tooltip-arrow {
|
44
48
|
bottom: 0;
|
@@ -49,13 +53,15 @@
|
|
49
53
|
}
|
50
54
|
&.top-left .tooltip-arrow {
|
51
55
|
bottom: 0;
|
52
|
-
|
56
|
+
right: @tooltip-arrow-width;
|
57
|
+
margin-bottom: -@tooltip-arrow-width;
|
53
58
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
54
59
|
border-top-color: @tooltip-arrow-color;
|
55
60
|
}
|
56
61
|
&.top-right .tooltip-arrow {
|
57
62
|
bottom: 0;
|
58
|
-
|
63
|
+
left: @tooltip-arrow-width;
|
64
|
+
margin-bottom: -@tooltip-arrow-width;
|
59
65
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
60
66
|
border-top-color: @tooltip-arrow-color;
|
61
67
|
}
|
@@ -82,13 +88,15 @@
|
|
82
88
|
}
|
83
89
|
&.bottom-left .tooltip-arrow {
|
84
90
|
top: 0;
|
85
|
-
|
91
|
+
right: @tooltip-arrow-width;
|
92
|
+
margin-top: -@tooltip-arrow-width;
|
86
93
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
87
94
|
border-bottom-color: @tooltip-arrow-color;
|
88
95
|
}
|
89
96
|
&.bottom-right .tooltip-arrow {
|
90
97
|
top: 0;
|
91
|
-
|
98
|
+
left: @tooltip-arrow-width;
|
99
|
+
margin-top: -@tooltip-arrow-width;
|
92
100
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
93
101
|
border-bottom-color: @tooltip-arrow-color;
|
94
102
|
}
|
@@ -41,7 +41,7 @@ class UsageCssSpec < Less::Rails::Bootstrap::Spec
|
|
41
41
|
|
42
42
|
it 'will render bootstrap variables' do
|
43
43
|
link_color_line = line_for_framework_css('framework-linkColor')
|
44
|
-
link_color_line.must_include 'color:#
|
44
|
+
link_color_line.must_include 'color:#337ab7'
|
45
45
|
end
|
46
46
|
|
47
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.0
|
4
|
+
version: 3.3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
version: '0'
|
231
231
|
requirements: []
|
232
232
|
rubyforge_project:
|
233
|
-
rubygems_version: 2.
|
233
|
+
rubygems_version: 2.2.2
|
234
234
|
signing_key:
|
235
235
|
specification_version: 4
|
236
236
|
summary: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline
|