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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/app/assets/javascripts/twitter/bootstrap/affix.js +2 -2
  4. data/app/assets/javascripts/twitter/bootstrap/alert.js +2 -2
  5. data/app/assets/javascripts/twitter/bootstrap/button.js +3 -3
  6. data/app/assets/javascripts/twitter/bootstrap/carousel.js +3 -2
  7. data/app/assets/javascripts/twitter/bootstrap/collapse.js +2 -2
  8. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +3 -3
  9. data/app/assets/javascripts/twitter/bootstrap/modal.js +48 -5
  10. data/app/assets/javascripts/twitter/bootstrap/popover.js +2 -2
  11. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  12. data/app/assets/javascripts/twitter/bootstrap/tab.js +2 -2
  13. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +2 -2
  14. data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  15. data/app/frameworks/twitter/bootstrap/badges.less +7 -1
  16. data/app/frameworks/twitter/bootstrap/button-groups.less +0 -4
  17. data/app/frameworks/twitter/bootstrap/forms.less +19 -32
  18. data/app/frameworks/twitter/bootstrap/jumbotron.less +2 -1
  19. data/app/frameworks/twitter/bootstrap/list-group.less +0 -8
  20. data/app/frameworks/twitter/bootstrap/mixins/grid-framework.less +2 -2
  21. data/app/frameworks/twitter/bootstrap/modals.less +1 -2
  22. data/app/frameworks/twitter/bootstrap/navbar.less +1 -0
  23. data/app/frameworks/twitter/bootstrap/popovers.less +1 -0
  24. data/app/frameworks/twitter/bootstrap/theme.less +12 -0
  25. data/app/frameworks/twitter/bootstrap/tooltip.less +12 -4
  26. data/app/frameworks/twitter/bootstrap/variables.less +1 -1
  27. data/lib/less/rails/bootstrap/version.rb +1 -1
  28. data/test/cases/usage_css_spec.rb +1 -1
  29. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d592f40f3dc14a5f5c55900c9c5467e84a01918
4
- data.tar.gz: 8c7cf9018f1992d44373db0969426a55ab78defe
3
+ metadata.gz: 027394c373ff9349a62b4e6dc3f759355a15ae87
4
+ data.tar.gz: d3f85fbf76dfd29761b57789ca750c36f30b140e
5
5
  SHA512:
6
- metadata.gz: 6ecdf7cd24edc7bfe44bd38d61122197a5d99085825a02c884fb366dc6a280fbb59e571579048ba020ea6764b69fe18ba89588634a6b0cdd7fefe3373b5ee92a
7
- data.tar.gz: e77e53643abb5d67fa3ef77b262bca01aba928e742a1184c9cc2d209fb9b6f7adf56972962e8887a5e7f9587842ee3466585692c4f8394e6f276ab96fc65d6eb
6
+ metadata.gz: e1840640c85bded18324692efeef4c79010baa9b73f7a84065b7e2826d982bc033c8119924bd34a97f0fb3b3044ac5c09d0509c2710c5095c0cd1a17a956bd4c
7
+ data.tar.gz: fa9f48a757630d0969ecd57146f900fe86c6ee287584a1ff27e42efa69134590a7d14183c0635d4d725e065a3570012e398f5d6919b530b8e864c1b6b280fd30
@@ -1,3 +1,7 @@
1
+ # 3.3.1.0 - 2014-11-13
2
+
3
+ * Update to Twitter Bootstrap 3.3.1
4
+
1
5
  # 3.3.0.1 - 2014-11-07
2
6
 
3
7
  * Update to less-rails 2.6.0.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: affix.js v3.3.0
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.0'
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.0
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.0'
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.0
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.0'
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 == 'focus')
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.0
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.0'
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.0
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.0'
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.0
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.0'
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.0
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.0'
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.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
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.0
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.0'
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.0
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.0'
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.0
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.0'
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.0
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.0'
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.0
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
- a.list-group-item.active > &,
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
  }
@@ -18,10 +18,6 @@
18
18
  &.active {
19
19
  z-index: 2;
20
20
  }
21
- &:focus {
22
- // Remove focus outline when dropdown JS adds it after closing the menu
23
- outline: 0;
24
- }
25
21
  }
26
22
  }
27
23
 
@@ -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
- // As a workaround, we set a pixel line-height that matches the
173
- // given height of the input. Since this fucks up everything else, we have to
174
- // appropriately reset it for Internet Explorer and the size variations.
175
-
176
- input[type="date"],
177
- input[type="time"],
178
- input[type="datetime-local"],
179
- input[type="month"] {
180
- line-height: @input-height-base;
181
- // IE8+ misaligns the text within date inputs, so we reset
182
- line-height: @line-height-base ~"\0";
183
-
184
- &.input-sm {
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
- &.input-lg {
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
 
@@ -35,7 +35,8 @@
35
35
  @media screen and (min-width: @screen-sm-min) {
36
36
  padding: (@jumbotron-padding * 1.6) 0;
37
37
 
38
- .container & {
38
+ .container &,
39
+ .container-fluid & {
39
40
  padding-left: (@jumbotron-padding * 2);
40
41
  padding-right: (@jumbotron-padding * 2);
41
42
  }
@@ -35,14 +35,6 @@
35
35
  margin-bottom: 0;
36
36
  .border-bottom-radius(@list-group-border-radius);
37
37
  }
38
-
39
- // Align badges within list items
40
- > .badge {
41
- float: right;
42
- }
43
- > .badge + .badge {
44
- margin-right: 5px;
45
- }
46
38
  }
47
39
 
48
40
 
@@ -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) when (@index = 1) { // initial
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) when (@index = 1) { // initial
30
+ .col(@index) { // initial
31
31
  @item: ~".col-@{class}-@{index}";
32
32
  .col((@index + 1), @item);
33
33
  }
@@ -62,10 +62,9 @@
62
62
 
63
63
  // Modal background
64
64
  .modal-backdrop {
65
- position: fixed;
65
+ position: absolute;
66
66
  top: 0;
67
67
  right: 0;
68
- bottom: 0;
69
68
  left: 0;
70
69
  background-color: @modal-backdrop-bg;
71
70
  // Fade for backdrop
@@ -331,6 +331,7 @@
331
331
  }
332
332
  // Menu position and menu caret support for dropups via extra dropup class
333
333
  .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
334
+ .border-top-radius(@navbar-border-radius);
334
335
  .border-bottom-radius(0);
335
336
  }
336
337
 
@@ -12,6 +12,7 @@
12
12
  max-width: @popover-max-width;
13
13
  padding: 1px;
14
14
  // Reset font and text propertes given new insertion method
15
+ font-family: @font-family-base;
15
16
  font-size: @font-size-base;
16
17
  font-weight: normal;
17
18
  line-height: @line-height-base;
@@ -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
- left: @tooltip-arrow-width;
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
- right: @tooltip-arrow-width;
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
- left: @tooltip-arrow-width;
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
- right: @tooltip-arrow-width;
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
  }
@@ -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%);
18
18
  @brand-success: #5cb85c;
19
19
  @brand-info: #5bc0de;
20
20
  @brand-warning: #f0ad4e;
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module Bootstrap
4
- VERSION = "3.3.0.1"
4
+ VERSION = "3.3.1.0"
5
5
  end
6
6
  end
7
7
  end
@@ -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:#428bca'
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.1
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-06 00:00:00.000000000 Z
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.4.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