sass-rails-bootstrap 2.0.4 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/sass-rails-bootstrap/sass_functions.rb +15 -0
- data/lib/sass-rails-bootstrap/version.rb +1 -1
- data/lib/sass-rails-bootstrap.rb +1 -0
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +104 -0
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +13 -6
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +5 -4
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +69 -19
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +96 -75
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +19 -9
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +13 -13
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +3 -3
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +15 -15
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +3 -4
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +52 -37
- data/vendor/assets/javascripts/twitter/bootstrap.js +1 -0
- data/vendor/assets/stylesheets/twitter/_bootstrap-responsive.scss +5 -5
- data/vendor/assets/stylesheets/twitter/_bootstrap.scss +2 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_accordion.sass +3 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.sass +14 -8
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.sass +9 -9
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.sass +71 -23
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.sass +81 -66
- data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.sass +12 -3
- data/vendor/assets/stylesheets/twitter/bootstrap/_close.sass +4 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_code.sass +6 -4
- data/vendor/assets/stylesheets/twitter/bootstrap/_component-animations.sass +5 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.sass +76 -13
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.sass +84 -41
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.sass +13 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_hero-unit.sass +4 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.sass +15 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_layouts.sass +3 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.sass +107 -76
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.sass +8 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.sass +234 -134
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.sass +130 -96
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.sass +5 -4
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.sass +16 -8
- data/vendor/assets/stylesheets/twitter/bootstrap/_popovers.sass +92 -38
- data/vendor/assets/stylesheets/twitter/bootstrap/_progress-bars.sass +18 -13
- data/vendor/assets/stylesheets/twitter/bootstrap/_reset.sass +6 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-1200px-min.sass +9 -7
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.sass +75 -60
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-768px-979px.sass +7 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.sass +15 -6
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.sass +17 -14
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.sass +24 -4
- data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.sass +13 -3
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.sass +50 -9
- data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.sass +9 -4
- data/vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass +46 -17
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.sass +69 -67
- data/vendor/assets/stylesheets/twitter/bootstrap/_utilities.sass +8 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.sass +95 -26
- data/vendor/assets/stylesheets/twitter/bootstrap/_wells.sass +6 -5
- metadata +4 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===========================================================
|
2
|
-
* bootstrap-popover.js v2.0
|
2
|
+
* bootstrap-popover.js v2.1.0
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
4
4
|
* ===========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -18,14 +18,19 @@
|
|
18
18
|
* =========================================================== */
|
19
19
|
|
20
20
|
|
21
|
-
!function (
|
21
|
+
!function ($) {
|
22
22
|
|
23
|
-
|
23
|
+
"use strict"; // jshint ;_;
|
24
24
|
|
25
|
-
|
25
|
+
|
26
|
+
/* POPOVER PUBLIC CLASS DEFINITION
|
27
|
+
* =============================== */
|
28
|
+
|
29
|
+
var Popover = function (element, options) {
|
26
30
|
this.init('popover', element, options)
|
27
31
|
}
|
28
32
|
|
33
|
+
|
29
34
|
/* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
|
30
35
|
========================================== */
|
31
36
|
|
@@ -38,8 +43,8 @@
|
|
38
43
|
, title = this.getTitle()
|
39
44
|
, content = this.getContent()
|
40
45
|
|
41
|
-
$tip.find('.popover-title')[this.
|
42
|
-
$tip.find('.popover-content > *')[this.
|
46
|
+
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
47
|
+
$tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content)
|
43
48
|
|
44
49
|
$tip.removeClass('fade top bottom left right in')
|
45
50
|
}
|
@@ -59,20 +64,24 @@
|
|
59
64
|
return content
|
60
65
|
}
|
61
66
|
|
62
|
-
, tip: function() {
|
67
|
+
, tip: function () {
|
63
68
|
if (!this.$tip) {
|
64
69
|
this.$tip = $(this.options.template)
|
65
70
|
}
|
66
71
|
return this.$tip
|
67
72
|
}
|
68
73
|
|
74
|
+
, destroy: function () {
|
75
|
+
this.hide().$element.off('.' + this.type).removeData(this.type)
|
76
|
+
}
|
77
|
+
|
69
78
|
})
|
70
79
|
|
71
80
|
|
72
81
|
/* POPOVER PLUGIN DEFINITION
|
73
82
|
* ======================= */
|
74
83
|
|
75
|
-
$.fn.popover = function (
|
84
|
+
$.fn.popover = function (option) {
|
76
85
|
return this.each(function () {
|
77
86
|
var $this = $(this)
|
78
87
|
, data = $this.data('popover')
|
@@ -86,8 +95,9 @@
|
|
86
95
|
|
87
96
|
$.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
|
88
97
|
placement: 'right'
|
98
|
+
, trigger: 'click'
|
89
99
|
, content: ''
|
90
100
|
, template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'
|
91
101
|
})
|
92
102
|
|
93
|
-
}(
|
103
|
+
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-scrollspy.js v2.0
|
2
|
+
* bootstrap-scrollspy.js v2.1.0
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -23,15 +23,15 @@
|
|
23
23
|
"use strict"; // jshint ;_;
|
24
24
|
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
/* SCROLLSPY CLASS DEFINITION
|
27
|
+
* ========================== */
|
28
28
|
|
29
|
-
function ScrollSpy(
|
29
|
+
function ScrollSpy(element, options) {
|
30
30
|
var process = $.proxy(this.process, this)
|
31
31
|
, $element = $(element).is('body') ? $(window) : $(element)
|
32
32
|
, href
|
33
33
|
this.options = $.extend({}, $.fn.scrollspy.defaults, options)
|
34
|
-
this.$scrollElement = $element.on('scroll.scroll.data-api', process)
|
34
|
+
this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process)
|
35
35
|
this.selector = (this.options.target
|
36
36
|
|| ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
37
37
|
|| '') + ' .nav li > a'
|
@@ -54,11 +54,11 @@
|
|
54
54
|
$targets = this.$body
|
55
55
|
.find(this.selector)
|
56
56
|
.map(function () {
|
57
|
-
|
58
|
-
|
57
|
+
var $el = $(this)
|
58
|
+
, href = $el.data('target') || $el.attr('href')
|
59
59
|
, $href = /^#\w/.test(href) && $(href)
|
60
60
|
return ( $href
|
61
|
-
&& href.length
|
61
|
+
&& $href.length
|
62
62
|
&& [[ $href.position().top, href ]] ) || null
|
63
63
|
})
|
64
64
|
.sort(function (a, b) { return a[0] - b[0] })
|
@@ -103,12 +103,12 @@
|
|
103
103
|
selector = this.selector
|
104
104
|
+ '[data-target="' + target + '"],'
|
105
105
|
+ this.selector + '[href="' + target + '"]'
|
106
|
-
|
106
|
+
|
107
107
|
active = $(selector)
|
108
108
|
.parent('li')
|
109
109
|
.addClass('active')
|
110
110
|
|
111
|
-
if (active.parent('.dropdown-menu')) {
|
111
|
+
if (active.parent('.dropdown-menu').length) {
|
112
112
|
active = active.closest('li.dropdown').addClass('active')
|
113
113
|
}
|
114
114
|
|
@@ -121,7 +121,7 @@
|
|
121
121
|
/* SCROLLSPY PLUGIN DEFINITION
|
122
122
|
* =========================== */
|
123
123
|
|
124
|
-
$.fn.scrollspy = function (
|
124
|
+
$.fn.scrollspy = function (option) {
|
125
125
|
return this.each(function () {
|
126
126
|
var $this = $(this)
|
127
127
|
, data = $this.data('scrollspy')
|
@@ -141,11 +141,11 @@
|
|
141
141
|
/* SCROLLSPY DATA-API
|
142
142
|
* ================== */
|
143
143
|
|
144
|
-
$(function () {
|
144
|
+
$(window).on('load', function () {
|
145
145
|
$('[data-spy="scroll"]').each(function () {
|
146
146
|
var $spy = $(this)
|
147
147
|
$spy.scrollspy($spy.data())
|
148
148
|
})
|
149
149
|
})
|
150
150
|
|
151
|
-
}(window.jQuery);
|
151
|
+
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================
|
2
|
-
* bootstrap-tab.js v2.0
|
2
|
+
* bootstrap-tab.js v2.1.0
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
4
4
|
* ========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -26,7 +26,7 @@
|
|
26
26
|
/* TAB CLASS DEFINITION
|
27
27
|
* ==================== */
|
28
28
|
|
29
|
-
var Tab = function (
|
29
|
+
var Tab = function (element) {
|
30
30
|
this.element = $(element)
|
31
31
|
}
|
32
32
|
|
@@ -132,4 +132,4 @@
|
|
132
132
|
})
|
133
133
|
})
|
134
134
|
|
135
|
-
}(window.jQuery);
|
135
|
+
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===========================================================
|
2
|
-
* bootstrap-tooltip.js v2.0
|
2
|
+
* bootstrap-tooltip.js v2.1.0
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ===========================================================
|
@@ -44,11 +44,13 @@
|
|
44
44
|
this.options = this.getOptions(options)
|
45
45
|
this.enabled = true
|
46
46
|
|
47
|
-
if (this.options.trigger
|
48
|
-
|
47
|
+
if (this.options.trigger == 'click') {
|
48
|
+
this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
|
49
|
+
} else if (this.options.trigger != 'manual') {
|
50
|
+
eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
|
49
51
|
eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
|
50
|
-
this.$element.on(eventIn, this.options.selector, $.proxy(this.enter, this))
|
51
|
-
this.$element.on(eventOut, this.options.selector, $.proxy(this.leave, this))
|
52
|
+
this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
|
53
|
+
this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
|
52
54
|
}
|
53
55
|
|
54
56
|
this.options.selector ?
|
@@ -148,20 +150,11 @@
|
|
148
150
|
}
|
149
151
|
}
|
150
152
|
|
151
|
-
, isHTML: function(text) {
|
152
|
-
// html string detection logic adapted from jQuery
|
153
|
-
return typeof text != 'string'
|
154
|
-
|| ( text.charAt(0) === "<"
|
155
|
-
&& text.charAt( text.length - 1 ) === ">"
|
156
|
-
&& text.length >= 3
|
157
|
-
) || /^(?:[^<]*<[\w\W]+>[^>]*$)/.exec(text)
|
158
|
-
}
|
159
|
-
|
160
153
|
, setContent: function () {
|
161
154
|
var $tip = this.tip()
|
162
155
|
, title = this.getTitle()
|
163
156
|
|
164
|
-
$tip.find('.tooltip-inner')[this.
|
157
|
+
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
|
165
158
|
$tip.removeClass('fade in top bottom left right')
|
166
159
|
}
|
167
160
|
|
@@ -185,6 +178,8 @@
|
|
185
178
|
$.support.transition && this.$tip.hasClass('fade') ?
|
186
179
|
removeWithAnimation() :
|
187
180
|
$tip.remove()
|
181
|
+
|
182
|
+
return this
|
188
183
|
}
|
189
184
|
|
190
185
|
, fixTitle: function () {
|
@@ -244,6 +239,10 @@
|
|
244
239
|
this[this.tip().hasClass('in') ? 'hide' : 'show']()
|
245
240
|
}
|
246
241
|
|
242
|
+
, destroy: function () {
|
243
|
+
this.hide().$element.off('.' + this.type).removeData(this.type)
|
244
|
+
}
|
245
|
+
|
247
246
|
}
|
248
247
|
|
249
248
|
|
@@ -270,6 +269,7 @@
|
|
270
269
|
, trigger: 'hover'
|
271
270
|
, title: ''
|
272
271
|
, delay: 0
|
272
|
+
, html: true
|
273
273
|
}
|
274
274
|
|
275
275
|
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===================================================
|
2
|
-
* bootstrap-transition.js v2.0
|
2
|
+
* bootstrap-transition.js v2.1.0
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
4
|
* ===================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -36,8 +36,7 @@
|
|
36
36
|
, transEndEventNames = {
|
37
37
|
'WebkitTransition' : 'webkitTransitionEnd'
|
38
38
|
, 'MozTransition' : 'transitionend'
|
39
|
-
, 'OTransition' : 'oTransitionEnd'
|
40
|
-
, 'msTransition' : 'MSTransitionEnd'
|
39
|
+
, 'OTransition' : 'oTransitionEnd otransitionend'
|
41
40
|
, 'transition' : 'transitionend'
|
42
41
|
}
|
43
42
|
, name
|
@@ -58,4 +57,4 @@
|
|
58
57
|
|
59
58
|
})
|
60
59
|
|
61
|
-
}(window.jQuery);
|
60
|
+
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-typeahead.js v2.0
|
2
|
+
* bootstrap-typeahead.js v2.1.0
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -50,9 +50,9 @@
|
|
50
50
|
.change()
|
51
51
|
return this.hide()
|
52
52
|
}
|
53
|
-
|
54
|
-
, updater: function(item) {
|
55
|
-
|
53
|
+
|
54
|
+
, updater: function (item) {
|
55
|
+
return item
|
56
56
|
}
|
57
57
|
|
58
58
|
, show: function () {
|
@@ -77,17 +77,23 @@
|
|
77
77
|
}
|
78
78
|
|
79
79
|
, lookup: function (event) {
|
80
|
-
var
|
81
|
-
, items
|
82
|
-
, q
|
80
|
+
var items
|
83
81
|
|
84
82
|
this.query = this.$element.val()
|
85
83
|
|
86
|
-
if (!this.query) {
|
84
|
+
if (!this.query || this.query.length < this.options.minLength) {
|
87
85
|
return this.shown ? this.hide() : this
|
88
86
|
}
|
89
87
|
|
90
|
-
items = $.
|
88
|
+
items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source
|
89
|
+
|
90
|
+
return items ? this.process(items) : this
|
91
|
+
}
|
92
|
+
|
93
|
+
, process: function (items) {
|
94
|
+
var that = this
|
95
|
+
|
96
|
+
items = $.grep(items, function (item) {
|
91
97
|
return that.matcher(item)
|
92
98
|
})
|
93
99
|
|
@@ -169,7 +175,7 @@
|
|
169
175
|
.on('keyup', $.proxy(this.keyup, this))
|
170
176
|
|
171
177
|
if ($.browser.webkit || $.browser.msie) {
|
172
|
-
this.$element.on('keydown', $.proxy(this.
|
178
|
+
this.$element.on('keydown', $.proxy(this.keydown, this))
|
173
179
|
}
|
174
180
|
|
175
181
|
this.$menu
|
@@ -177,6 +183,40 @@
|
|
177
183
|
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
178
184
|
}
|
179
185
|
|
186
|
+
, move: function (e) {
|
187
|
+
if (!this.shown) return
|
188
|
+
|
189
|
+
switch(e.keyCode) {
|
190
|
+
case 9: // tab
|
191
|
+
case 13: // enter
|
192
|
+
case 27: // escape
|
193
|
+
e.preventDefault()
|
194
|
+
break
|
195
|
+
|
196
|
+
case 38: // up arrow
|
197
|
+
e.preventDefault()
|
198
|
+
this.prev()
|
199
|
+
break
|
200
|
+
|
201
|
+
case 40: // down arrow
|
202
|
+
e.preventDefault()
|
203
|
+
this.next()
|
204
|
+
break
|
205
|
+
}
|
206
|
+
|
207
|
+
e.stopPropagation()
|
208
|
+
}
|
209
|
+
|
210
|
+
, keydown: function (e) {
|
211
|
+
this.suppressKeyPressRepeat = !~$.inArray(e.keyCode, [40,38,9,13,27])
|
212
|
+
this.move(e)
|
213
|
+
}
|
214
|
+
|
215
|
+
, keypress: function (e) {
|
216
|
+
if (this.suppressKeyPressRepeat) return
|
217
|
+
this.move(e)
|
218
|
+
}
|
219
|
+
|
180
220
|
, keyup: function (e) {
|
181
221
|
switch(e.keyCode) {
|
182
222
|
case 40: // down arrow
|
@@ -202,32 +242,6 @@
|
|
202
242
|
e.preventDefault()
|
203
243
|
}
|
204
244
|
|
205
|
-
, keypress: function (e) {
|
206
|
-
if (!this.shown) return
|
207
|
-
|
208
|
-
switch(e.keyCode) {
|
209
|
-
case 9: // tab
|
210
|
-
case 13: // enter
|
211
|
-
case 27: // escape
|
212
|
-
e.preventDefault()
|
213
|
-
break
|
214
|
-
|
215
|
-
case 38: // up arrow
|
216
|
-
if (e.type != 'keydown') break
|
217
|
-
e.preventDefault()
|
218
|
-
this.prev()
|
219
|
-
break
|
220
|
-
|
221
|
-
case 40: // down arrow
|
222
|
-
if (e.type != 'keydown') break
|
223
|
-
e.preventDefault()
|
224
|
-
this.next()
|
225
|
-
break
|
226
|
-
}
|
227
|
-
|
228
|
-
e.stopPropagation()
|
229
|
-
}
|
230
|
-
|
231
245
|
, blur: function (e) {
|
232
246
|
var that = this
|
233
247
|
setTimeout(function () { that.hide() }, 150)
|
@@ -265,12 +279,13 @@
|
|
265
279
|
, items: 8
|
266
280
|
, menu: '<ul class="typeahead dropdown-menu"></ul>'
|
267
281
|
, item: '<li><a href="#"></a></li>'
|
282
|
+
, minLength: 1
|
268
283
|
}
|
269
284
|
|
270
285
|
$.fn.typeahead.Constructor = Typeahead
|
271
286
|
|
272
287
|
|
273
|
-
/*
|
288
|
+
/* TYPEAHEAD DATA-API
|
274
289
|
* ================== */
|
275
290
|
|
276
291
|
$(function () {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap Responsive v2.0
|
2
|
+
* Bootstrap Responsive v2.1.0
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -24,14 +24,14 @@
|
|
24
24
|
// MEDIA QUERIES
|
25
25
|
// ------------------
|
26
26
|
|
27
|
-
//
|
28
|
-
@import "bootstrap/responsive-
|
27
|
+
// Large desktops
|
28
|
+
@import "bootstrap/responsive-1200px-min";
|
29
29
|
|
30
30
|
// Tablets to regular desktops
|
31
31
|
@import "bootstrap/responsive-768px-979px";
|
32
32
|
|
33
|
-
//
|
34
|
-
@import "bootstrap/responsive-
|
33
|
+
// Phones to portrait tablets and narrow desktops
|
34
|
+
@import "bootstrap/responsive-767px-max";
|
35
35
|
|
36
36
|
|
37
37
|
// RESPONSIVE NAVBAR
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v2.0
|
2
|
+
* Bootstrap v2.1.0
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -44,6 +44,7 @@
|
|
44
44
|
// Components: Nav
|
45
45
|
@import "bootstrap/navs";
|
46
46
|
@import "bootstrap/navbar";
|
47
|
+
@import "bootstrap/subnav";
|
47
48
|
@import "bootstrap/breadcrumbs";
|
48
49
|
@import "bootstrap/pagination";
|
49
50
|
@import "bootstrap/pager";
|
@@ -1,7 +1,11 @@
|
|
1
|
-
//
|
2
|
-
//
|
1
|
+
//
|
2
|
+
// Alert styles
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// -------------------------
|
3
8
|
|
4
|
-
// Base alert styles
|
5
9
|
.alert
|
6
10
|
padding: 8px 35px 8px 14px
|
7
11
|
margin-bottom: $baseLineHeight
|
@@ -11,18 +15,19 @@
|
|
11
15
|
+border-radius(4px)
|
12
16
|
color: $warningText
|
13
17
|
|
14
|
-
.alert
|
15
|
-
|
18
|
+
.alert h4
|
19
|
+
margin: 0
|
16
20
|
|
17
21
|
// Adjust close link position
|
18
22
|
.alert .close
|
19
23
|
position: relative
|
20
24
|
top: -2px
|
21
25
|
right: -21px
|
22
|
-
line-height:
|
26
|
+
line-height: $baseLineHeight
|
27
|
+
|
23
28
|
|
24
29
|
// Alternate styles
|
25
|
-
//
|
30
|
+
// -------------------------
|
26
31
|
|
27
32
|
.alert-success
|
28
33
|
background-color: $successBackground
|
@@ -40,8 +45,9 @@
|
|
40
45
|
border-color: $infoBorder
|
41
46
|
color: $infoText
|
42
47
|
|
48
|
+
|
43
49
|
// Block alerts
|
44
|
-
//
|
50
|
+
// -------------------------
|
45
51
|
.alert-block
|
46
52
|
padding-top: 14px
|
47
53
|
padding-bottom: 14px
|
@@ -1,20 +1,20 @@
|
|
1
|
-
//
|
2
|
-
//
|
1
|
+
//
|
2
|
+
// Breadcrumbs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
3
5
|
|
4
6
|
.breadcrumb
|
5
|
-
padding:
|
7
|
+
padding: 8px 15px
|
6
8
|
margin: 0 0 $baseLineHeight
|
7
9
|
list-style: none
|
8
|
-
|
9
|
-
border
|
10
|
-
+border-radius(3px)
|
11
|
-
+box-shadow(inset 0 1px 0 $white)
|
10
|
+
background-color: #f5f5f5
|
11
|
+
+border-radius(4px)
|
12
12
|
li
|
13
13
|
display: inline-block
|
14
14
|
+ie7-inline-block
|
15
15
|
text-shadow: 0 1px 0 $white
|
16
16
|
.divider
|
17
17
|
padding: 0 5px
|
18
|
+
color: #ccc
|
19
|
+
.active
|
18
20
|
color: $grayLight
|
19
|
-
.active a
|
20
|
-
color: $grayDark
|