less-rails-bootstrap 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/less/rails/bootstrap/version.rb +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +3 -3
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +2 -2
- data/vendor/frameworks/twitter/bootstrap/bootstrap.less +1 -1
- data/vendor/frameworks/twitter/bootstrap/button-groups.less +3 -2
- data/vendor/frameworks/twitter/bootstrap/buttons.less +24 -4
- data/vendor/frameworks/twitter/bootstrap/component-animations.less +0 -1
- data/vendor/frameworks/twitter/bootstrap/dropdowns.less +2 -2
- data/vendor/frameworks/twitter/bootstrap/forms.less +30 -15
- data/vendor/frameworks/twitter/bootstrap/mixins.less +21 -11
- data/vendor/frameworks/twitter/bootstrap/modals.less +3 -2
- data/vendor/frameworks/twitter/bootstrap/navbar.less +22 -16
- data/vendor/frameworks/twitter/bootstrap/pager.less +6 -3
- data/vendor/frameworks/twitter/bootstrap/pagination.less +17 -17
- data/vendor/frameworks/twitter/bootstrap/progress-bars.less +1 -1
- data/vendor/frameworks/twitter/bootstrap/reset.less +5 -2
- data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.less +27 -20
- data/vendor/frameworks/twitter/bootstrap/responsive-navbar.less +12 -1
- data/vendor/frameworks/twitter/bootstrap/responsive.less +1 -1
- data/vendor/frameworks/twitter/bootstrap/scaffolding.less +5 -4
- data/vendor/frameworks/twitter/bootstrap/sprites.less +8 -2
- data/vendor/frameworks/twitter/bootstrap/tables.less +26 -6
- data/vendor/frameworks/twitter/bootstrap/type.less +18 -3
- data/vendor/frameworks/twitter/bootstrap/variables.less +10 -8
- metadata +10 -10
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ==========================================================
|
2
|
-
* bootstrap-affix.js v2.1.
|
2
|
+
* bootstrap-affix.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#affix
|
4
4
|
* ==========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ==========================================================
|
2
|
-
* bootstrap-alert.js v2.1.
|
2
|
+
* bootstrap-alert.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
4
4
|
* ==========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ============================================================
|
2
|
-
* bootstrap-button.js v2.1.
|
2
|
+
* bootstrap-button.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
4
4
|
* ============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -51,7 +51,7 @@
|
|
51
51
|
}
|
52
52
|
|
53
53
|
Button.prototype.toggle = function () {
|
54
|
-
var $parent = this.$element.
|
54
|
+
var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
|
55
55
|
|
56
56
|
$parent && $parent
|
57
57
|
.find('.active')
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ==========================================================
|
2
|
-
* bootstrap-carousel.js v2.1.
|
2
|
+
* bootstrap-carousel.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
4
4
|
* ==========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-collapse.js v2.1.
|
2
|
+
* bootstrap-collapse.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ============================================================
|
2
|
-
* bootstrap-dropdown.js v2.1.
|
2
|
+
* bootstrap-dropdown.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
4
4
|
* ============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -110,7 +110,7 @@
|
|
110
110
|
|
111
111
|
if (!selector) {
|
112
112
|
selector = $this.attr('href')
|
113
|
-
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
113
|
+
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
114
114
|
}
|
115
115
|
|
116
116
|
$parent = $(selector)
|
@@ -142,7 +142,7 @@
|
|
142
142
|
$('html')
|
143
143
|
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
144
144
|
$('body')
|
145
|
-
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown', function (e) { e.stopPropagation() })
|
145
|
+
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
146
146
|
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
147
147
|
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
148
148
|
})
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =========================================================
|
2
|
-
* bootstrap-modal.js v2.1.
|
2
|
+
* bootstrap-modal.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
4
4
|
* =========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===========================================================
|
2
|
-
* bootstrap-popover.js v2.1.
|
2
|
+
* bootstrap-popover.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
4
4
|
* ===========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-scrollspy.js v2.1.
|
2
|
+
* bootstrap-scrollspy.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================
|
2
|
-
* bootstrap-tab.js v2.1.
|
2
|
+
* bootstrap-tab.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
4
4
|
* ========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===========================================================
|
2
|
-
* bootstrap-tooltip.js v2.1.
|
2
|
+
* bootstrap-tooltip.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ===========================================================
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===================================================
|
2
|
-
* bootstrap-transition.js v2.1.
|
2
|
+
* bootstrap-transition.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
4
|
* ===================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =============================================================
|
2
|
-
* bootstrap-typeahead.js v2.1.
|
2
|
+
* bootstrap-typeahead.js v2.1.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
4
4
|
* =============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -174,7 +174,7 @@
|
|
174
174
|
.on('keypress', $.proxy(this.keypress, this))
|
175
175
|
.on('keyup', $.proxy(this.keyup, this))
|
176
176
|
|
177
|
-
if ($.browser.webkit || $.browser.msie) {
|
177
|
+
if ($.browser.chrome || $.browser.webkit || $.browser.msie) {
|
178
178
|
this.$element.on('keydown', $.proxy(this.keydown, this))
|
179
179
|
}
|
180
180
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
.btn-group {
|
8
8
|
position: relative;
|
9
9
|
font-size: 0; // remove as part 1 of font-size inline-block hack
|
10
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
10
11
|
white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
|
11
12
|
.ie7-restore-left-whitespace();
|
12
13
|
}
|
@@ -119,7 +120,7 @@
|
|
119
120
|
.btn-group > .btn + .dropdown-toggle {
|
120
121
|
padding-left: 8px;
|
121
122
|
padding-right: 8px;
|
122
|
-
.box-shadow(
|
123
|
+
.box-shadow(inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05));
|
123
124
|
*padding-top: 5px;
|
124
125
|
*padding-bottom: 5px;
|
125
126
|
}
|
@@ -146,7 +147,7 @@
|
|
146
147
|
// Remove the gradient and set the same inset shadow as the :active state
|
147
148
|
.dropdown-toggle {
|
148
149
|
background-image: none;
|
149
|
-
.box-shadow(
|
150
|
+
.box-shadow(inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05));
|
150
151
|
}
|
151
152
|
|
152
153
|
// Keep the hover's background when dropdown is open
|
@@ -24,7 +24,7 @@
|
|
24
24
|
border-bottom-color: darken(@btnBorder, 10%);
|
25
25
|
.border-radius(4px);
|
26
26
|
.ie7-restore-left-whitespace(); // Give IE7 some love
|
27
|
-
.box-shadow(
|
27
|
+
.box-shadow(inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05));
|
28
28
|
|
29
29
|
// Hover state
|
30
30
|
&:hover {
|
@@ -51,7 +51,7 @@
|
|
51
51
|
background-color: darken(@white, 15%) e("\9");
|
52
52
|
background-image: none;
|
53
53
|
outline: 0;
|
54
|
-
.box-shadow(
|
54
|
+
.box-shadow(inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05));
|
55
55
|
}
|
56
56
|
|
57
57
|
// Disabled state
|
@@ -96,10 +96,13 @@
|
|
96
96
|
.btn-mini {
|
97
97
|
padding: 2px 6px;
|
98
98
|
font-size: @baseFontSize - 3px;
|
99
|
-
line-height: @baseLineHeight -
|
99
|
+
line-height: @baseLineHeight - 3px;
|
100
100
|
}
|
101
101
|
|
102
|
+
|
102
103
|
// Block button
|
104
|
+
// -------------------------
|
105
|
+
|
103
106
|
.btn-block {
|
104
107
|
display: block;
|
105
108
|
width: 100%;
|
@@ -107,10 +110,22 @@
|
|
107
110
|
padding-right: 0;
|
108
111
|
.box-sizing(border-box);
|
109
112
|
}
|
113
|
+
|
114
|
+
// Vertically space out multiple block buttons
|
110
115
|
.btn-block + .btn-block {
|
111
116
|
margin-top: 5px;
|
112
117
|
}
|
113
118
|
|
119
|
+
// Specificity overrides
|
120
|
+
input[type="submit"],
|
121
|
+
input[type="reset"],
|
122
|
+
input[type="button"] {
|
123
|
+
&.btn-block {
|
124
|
+
width: 100%;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
|
114
129
|
|
115
130
|
// Alternate buttons
|
116
131
|
// --------------------------------------------------
|
@@ -193,7 +208,8 @@ input[type="submit"].btn {
|
|
193
208
|
|
194
209
|
// Make a button look and behave like a link
|
195
210
|
.btn-link,
|
196
|
-
.btn-link:active
|
211
|
+
.btn-link:active,
|
212
|
+
.btn-link[disabled] {
|
197
213
|
background-color: transparent;
|
198
214
|
background-image: none;
|
199
215
|
.box-shadow(none);
|
@@ -209,3 +225,7 @@ input[type="submit"].btn {
|
|
209
225
|
text-decoration: underline;
|
210
226
|
background-color: transparent;
|
211
227
|
}
|
228
|
+
.btn-link[disabled]:hover {
|
229
|
+
color: @grayDark;
|
230
|
+
text-decoration: none;
|
231
|
+
}
|
@@ -148,7 +148,7 @@
|
|
148
148
|
.caret {
|
149
149
|
border-top: 0;
|
150
150
|
border-bottom: 4px solid @black;
|
151
|
-
content: "
|
151
|
+
content: "";
|
152
152
|
}
|
153
153
|
// Different positioning for bottom up menu
|
154
154
|
.dropdown-menu {
|
@@ -172,7 +172,7 @@
|
|
172
172
|
-moz-border-radius: 0 6px 6px 6px;
|
173
173
|
border-radius: 0 6px 6px 6px;
|
174
174
|
}
|
175
|
-
.dropdown-submenu:hover .dropdown-menu {
|
175
|
+
.dropdown-submenu:hover > .dropdown-menu {
|
176
176
|
display: block;
|
177
177
|
}
|
178
178
|
|
@@ -91,8 +91,9 @@ input[type="color"],
|
|
91
91
|
// Reset appearance properties for textual inputs and textarea
|
92
92
|
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
93
93
|
input,
|
94
|
-
textarea
|
95
|
-
|
94
|
+
textarea,
|
95
|
+
.uneditable-input {
|
96
|
+
width: 206px; // plus 12px padding and 2px border
|
96
97
|
}
|
97
98
|
// Reset height since textareas have rows
|
98
99
|
textarea {
|
@@ -125,7 +126,7 @@ input[type="color"],
|
|
125
126
|
border-color: rgba(82,168,236,.8);
|
126
127
|
outline: 0;
|
127
128
|
outline: thin dotted \9; /* IE6-9 */
|
128
|
-
.box-shadow(
|
129
|
+
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6));
|
129
130
|
}
|
130
131
|
}
|
131
132
|
|
@@ -161,7 +162,7 @@ input[type="file"] {
|
|
161
162
|
// Make select elements obey height by applying a border
|
162
163
|
select {
|
163
164
|
width: 220px; // default input width + 10px of padding that doesn't get applied
|
164
|
-
border: 1px solid
|
165
|
+
border: 1px solid @inputBorder;
|
165
166
|
background-color: @inputBackground; // Chrome on Linux and Mobile Safari need background-color
|
166
167
|
}
|
167
168
|
|
@@ -209,7 +210,7 @@ input[type="checkbox"]:focus {
|
|
209
210
|
// Placeholder
|
210
211
|
// -------------------------
|
211
212
|
|
212
|
-
// Placeholder text gets special styles
|
213
|
+
// Placeholder text gets special styles because when browsers invalidate entire lines if it doesn’t understand a selector
|
213
214
|
input,
|
214
215
|
textarea {
|
215
216
|
.placeholder();
|
@@ -349,6 +350,10 @@ input[type="checkbox"][readonly] {
|
|
349
350
|
.control-group.success {
|
350
351
|
.formFieldState(@successText, @successText, @successBackground);
|
351
352
|
}
|
353
|
+
// Success
|
354
|
+
.control-group.info {
|
355
|
+
.formFieldState(@infoText, @infoText, @infoBackground);
|
356
|
+
}
|
352
357
|
|
353
358
|
// HTML5 invalid states
|
354
359
|
// Shares styles with the .control-group.error above
|
@@ -441,7 +446,6 @@ select:focus:required:invalid {
|
|
441
446
|
}
|
442
447
|
.add-on,
|
443
448
|
.btn {
|
444
|
-
margin-left: -1px;
|
445
449
|
vertical-align: top;
|
446
450
|
.border-radius(0);
|
447
451
|
}
|
@@ -466,6 +470,10 @@ select:focus:required:invalid {
|
|
466
470
|
.uneditable-input {
|
467
471
|
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
|
468
472
|
}
|
473
|
+
.add-on,
|
474
|
+
.btn {
|
475
|
+
margin-left: -1px;
|
476
|
+
}
|
469
477
|
.add-on:last-child,
|
470
478
|
.btn:last-child {
|
471
479
|
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
@@ -510,16 +518,16 @@ input.search-query {
|
|
510
518
|
.border-radius(0); // Override due to specificity
|
511
519
|
}
|
512
520
|
.form-search .input-append .search-query {
|
513
|
-
.border-radius(14px 0 0 14px)
|
521
|
+
.border-radius(14px 0 0 14px);
|
514
522
|
}
|
515
523
|
.form-search .input-append .btn {
|
516
|
-
.border-radius(0 14px 14px 0)
|
524
|
+
.border-radius(0 14px 14px 0);
|
517
525
|
}
|
518
526
|
.form-search .input-prepend .search-query {
|
519
|
-
.border-radius(0 14px 14px 0)
|
527
|
+
.border-radius(0 14px 14px 0);
|
520
528
|
}
|
521
529
|
.form-search .input-prepend .btn {
|
522
|
-
.border-radius(14px 0 0 14px)
|
530
|
+
.border-radius(14px 0 0 14px);
|
523
531
|
}
|
524
532
|
|
525
533
|
|
@@ -607,7 +615,7 @@ legend + .control-group {
|
|
607
615
|
// Float the labels left
|
608
616
|
.control-label {
|
609
617
|
float: left;
|
610
|
-
width:
|
618
|
+
width: @horizontalComponentOffset - 20;
|
611
619
|
padding-top: 5px;
|
612
620
|
text-align: right;
|
613
621
|
}
|
@@ -617,19 +625,26 @@ legend + .control-group {
|
|
617
625
|
// don't inherit the margin of the parent, in this case .controls
|
618
626
|
*display: inline-block;
|
619
627
|
*padding-left: 20px;
|
620
|
-
margin-left:
|
628
|
+
margin-left: @horizontalComponentOffset;
|
621
629
|
*margin-left: 0;
|
622
630
|
&:first-child {
|
623
|
-
*padding-left:
|
631
|
+
*padding-left: @horizontalComponentOffset;
|
624
632
|
}
|
625
633
|
}
|
626
634
|
// Remove bottom margin on block level help text since that's accounted for on .control-group
|
627
635
|
.help-block {
|
628
|
-
margin-top: @baseLineHeight / 2;
|
629
636
|
margin-bottom: 0;
|
630
637
|
}
|
638
|
+
// And apply it only to .help-block instances that follow a form control
|
639
|
+
input,
|
640
|
+
select,
|
641
|
+
textarea {
|
642
|
+
+ .help-block {
|
643
|
+
margin-top: @baseLineHeight / 2;
|
644
|
+
}
|
645
|
+
}
|
631
646
|
// Move over buttons in .form-actions to align with .controls
|
632
647
|
.form-actions {
|
633
|
-
padding-left:
|
648
|
+
padding-left: @horizontalComponentOffset;
|
634
649
|
}
|
635
650
|
}
|
@@ -175,14 +175,15 @@
|
|
175
175
|
select,
|
176
176
|
textarea {
|
177
177
|
color: @textColor;
|
178
|
+
}
|
179
|
+
input,
|
180
|
+
select,
|
181
|
+
textarea {
|
178
182
|
border-color: @borderColor;
|
179
183
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
180
184
|
&:focus {
|
181
185
|
border-color: darken(@borderColor, 10%);
|
182
|
-
|
183
|
-
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
184
|
-
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
185
|
-
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
186
|
+
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%));
|
186
187
|
}
|
187
188
|
}
|
188
189
|
// Give a small background color for input-prepend/-append
|
@@ -247,10 +248,12 @@
|
|
247
248
|
}
|
248
249
|
|
249
250
|
// Drop shadows
|
250
|
-
.box-shadow(@
|
251
|
-
-
|
252
|
-
|
253
|
-
|
251
|
+
.box-shadow(@shadowA, @shadowB:X, ...){
|
252
|
+
// Multiple shadow solution from http://toekneestuck.com/blog/2012/05/15/less-css-arguments-variable/
|
253
|
+
@props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`;
|
254
|
+
-webkit-box-shadow: @props;
|
255
|
+
-moz-box-shadow: @props;
|
256
|
+
box-shadow: @props;
|
254
257
|
}
|
255
258
|
|
256
259
|
// Transitions
|
@@ -260,6 +263,12 @@
|
|
260
263
|
-o-transition: @transition;
|
261
264
|
transition: @transition;
|
262
265
|
}
|
266
|
+
.transition-delay(@transition-delay) {
|
267
|
+
-webkit-transition-delay: @transition-delay;
|
268
|
+
-moz-transition-delay: @transition-delay;
|
269
|
+
-o-transition-delay: @transition-delay;
|
270
|
+
transition-delay: @transition-delay;
|
271
|
+
}
|
263
272
|
|
264
273
|
// Transformations
|
265
274
|
.rotate(@degrees) {
|
@@ -286,7 +295,7 @@
|
|
286
295
|
.skew(@x, @y) {
|
287
296
|
-webkit-transform: skew(@x, @y);
|
288
297
|
-moz-transform: skew(@x, @y);
|
289
|
-
-ms-transform:
|
298
|
+
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twitter/bootstrap/issues/4885
|
290
299
|
-o-transform: skew(@x, @y);
|
291
300
|
transform: skew(@x, @y);
|
292
301
|
}
|
@@ -432,7 +441,7 @@
|
|
432
441
|
background-color: mix(@midColor, @endColor, 80%);
|
433
442
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
|
434
443
|
background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
435
|
-
background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop
|
444
|
+
background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
|
436
445
|
background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
437
446
|
background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
438
447
|
background-repeat: no-repeat;
|
@@ -446,7 +455,7 @@
|
|
446
455
|
background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
|
447
456
|
background-repeat: no-repeat;
|
448
457
|
}
|
449
|
-
.striped(@color, @angle: 45deg) {
|
458
|
+
.striped(@color: #555, @angle: 45deg) {
|
450
459
|
background-color: @color;
|
451
460
|
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
|
452
461
|
background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
@@ -575,6 +584,7 @@
|
|
575
584
|
|
576
585
|
[class*="span"] {
|
577
586
|
float: left;
|
587
|
+
min-height: 1px; // prevent collapsing columns
|
578
588
|
margin-left: @gridGutterWidth;
|
579
589
|
}
|
580
590
|
|
@@ -3,8 +3,9 @@
|
|
3
3
|
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
|
-
// Recalculate z-index where appropriate
|
7
|
-
|
6
|
+
// Recalculate z-index where appropriate,
|
7
|
+
// but only apply to elements within modal
|
8
|
+
.modal-open .modal {
|
8
9
|
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
|
9
10
|
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
|
10
11
|
.popover { z-index: @zindexPopover + @zindexModal; }
|
@@ -27,6 +27,9 @@
|
|
27
27
|
border: 1px solid @navbarBorder;
|
28
28
|
.border-radius(4px);
|
29
29
|
.box-shadow(0 1px 4px rgba(0,0,0,.065));
|
30
|
+
|
31
|
+
// Prevent floats from breaking the navbar
|
32
|
+
.clearfix();
|
30
33
|
}
|
31
34
|
|
32
35
|
// Set width to auto for default container
|
@@ -87,13 +90,16 @@
|
|
87
90
|
// -------------------------
|
88
91
|
.navbar .btn,
|
89
92
|
.navbar .btn-group {
|
90
|
-
.navbarVerticalAlign(
|
93
|
+
.navbarVerticalAlign(30px); // Vertically center in navbar
|
91
94
|
}
|
92
|
-
.navbar .btn-group .btn
|
93
|
-
|
95
|
+
.navbar .btn-group .btn,
|
96
|
+
.navbar .input-prepend .btn,
|
97
|
+
.navbar .input-append .btn {
|
98
|
+
margin-top: 0; // then undo the margin here so we don't accidentally double it
|
94
99
|
}
|
95
100
|
|
96
101
|
// Navbar forms
|
102
|
+
// -------------------------
|
97
103
|
.navbar-form {
|
98
104
|
margin-bottom: 0; // remove default bottom margin
|
99
105
|
.clearfix();
|
@@ -125,6 +131,7 @@
|
|
125
131
|
}
|
126
132
|
|
127
133
|
// Navbar search
|
134
|
+
// -------------------------
|
128
135
|
.navbar-search {
|
129
136
|
position: relative;
|
130
137
|
float: left;
|
@@ -166,12 +173,12 @@
|
|
166
173
|
z-index: @zindexFixedNavbar;
|
167
174
|
margin-bottom: 0; // remove 18px margin for default navbar
|
168
175
|
}
|
169
|
-
.navbar-fixed-top,
|
170
|
-
.navbar-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
176
|
+
.navbar-fixed-top .navbar-inner,
|
177
|
+
.navbar-static-top .navbar-inner {
|
178
|
+
border-width: 0 0 1px;
|
179
|
+
}
|
180
|
+
.navbar-fixed-bottom .navbar-inner {
|
181
|
+
border-width: 1px 0 0;
|
175
182
|
}
|
176
183
|
.navbar-fixed-top .navbar-inner,
|
177
184
|
.navbar-fixed-bottom .navbar-inner {
|
@@ -195,7 +202,7 @@
|
|
195
202
|
.navbar-fixed-top,
|
196
203
|
.navbar-static-top {
|
197
204
|
.navbar-inner {
|
198
|
-
.box-shadow(
|
205
|
+
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1));
|
199
206
|
}
|
200
207
|
}
|
201
208
|
|
@@ -203,7 +210,7 @@
|
|
203
210
|
.navbar-fixed-bottom {
|
204
211
|
bottom: 0;
|
205
212
|
.navbar-inner {
|
206
|
-
.box-shadow(
|
213
|
+
.box-shadow(inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1));
|
207
214
|
}
|
208
215
|
}
|
209
216
|
|
@@ -221,6 +228,7 @@
|
|
221
228
|
}
|
222
229
|
.navbar .nav.pull-right {
|
223
230
|
float: right; // redeclare due to specificity
|
231
|
+
margin-right: 0; // remove margin on float right nav
|
224
232
|
}
|
225
233
|
.navbar .nav > li {
|
226
234
|
float: left;
|
@@ -254,9 +262,7 @@
|
|
254
262
|
color: @navbarLinkColorActive;
|
255
263
|
text-decoration: none;
|
256
264
|
background-color: @navbarLinkBackgroundActive;
|
257
|
-
|
258
|
-
-moz-box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
|
259
|
-
box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
|
265
|
+
.box-shadow(inset 0 3px 8px rgba(0,0,0,.125));
|
260
266
|
}
|
261
267
|
|
262
268
|
// Navbar button for toggling navbar items in responsive layouts
|
@@ -268,7 +274,7 @@
|
|
268
274
|
margin-left: 5px;
|
269
275
|
margin-right: 5px;
|
270
276
|
.buttonBackground(darken(@navbarBackgroundHighlight, 5%), darken(@navbarBackground, 5%));
|
271
|
-
.box-shadow(
|
277
|
+
.box-shadow(inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075));
|
272
278
|
}
|
273
279
|
.navbar .btn-navbar .icon-bar {
|
274
280
|
display: block;
|
@@ -440,7 +446,7 @@
|
|
440
446
|
color: @white;
|
441
447
|
background-color: @navbarInverseSearchBackground;
|
442
448
|
border-color: @navbarInverseSearchBorder;
|
443
|
-
.box-shadow(
|
449
|
+
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15));
|
444
450
|
.transition(none);
|
445
451
|
.placeholder(@navbarInverseSearchPlaceholderColor);
|
446
452
|
|
@@ -12,7 +12,8 @@
|
|
12
12
|
.pager li {
|
13
13
|
display: inline;
|
14
14
|
}
|
15
|
-
.pager a
|
15
|
+
.pager a,
|
16
|
+
.pager span {
|
16
17
|
display: inline-block;
|
17
18
|
padding: 5px 14px;
|
18
19
|
background-color: #fff;
|
@@ -23,14 +24,16 @@
|
|
23
24
|
text-decoration: none;
|
24
25
|
background-color: #f5f5f5;
|
25
26
|
}
|
26
|
-
.pager .next a
|
27
|
+
.pager .next a,
|
28
|
+
.pager .next span {
|
27
29
|
float: right;
|
28
30
|
}
|
29
31
|
.pager .previous a {
|
30
32
|
float: left;
|
31
33
|
}
|
32
34
|
.pager .disabled a,
|
33
|
-
.pager .disabled a:hover
|
35
|
+
.pager .disabled a:hover,
|
36
|
+
.pager .disabled span {
|
34
37
|
color: @grayLight;
|
35
38
|
background-color: #fff;
|
36
39
|
cursor: default;
|
@@ -15,11 +15,11 @@
|
|
15
15
|
.border-radius(3px);
|
16
16
|
.box-shadow(0 1px 2px rgba(0,0,0,.05));
|
17
17
|
}
|
18
|
-
.pagination li {
|
19
|
-
|
20
|
-
|
21
|
-
.pagination a,
|
22
|
-
.pagination span {
|
18
|
+
.pagination ul > li {
|
19
|
+
display: inline;
|
20
|
+
}
|
21
|
+
.pagination ul > li > a,
|
22
|
+
.pagination ul > li > span {
|
23
23
|
float: left;
|
24
24
|
padding: 0 14px;
|
25
25
|
line-height: (@baseLineHeight * 2) - 2;
|
@@ -28,30 +28,30 @@
|
|
28
28
|
border: 1px solid @paginationBorder;
|
29
29
|
border-left-width: 0;
|
30
30
|
}
|
31
|
-
.pagination a:hover,
|
32
|
-
.pagination .active a,
|
33
|
-
.pagination .active span {
|
31
|
+
.pagination ul > li > a:hover,
|
32
|
+
.pagination ul > .active > a,
|
33
|
+
.pagination ul > .active > span {
|
34
34
|
background-color: #f5f5f5;
|
35
35
|
}
|
36
|
-
.pagination .active a,
|
37
|
-
.pagination .active span {
|
36
|
+
.pagination ul > .active > a,
|
37
|
+
.pagination ul > .active > span {
|
38
38
|
color: @grayLight;
|
39
39
|
cursor: default;
|
40
40
|
}
|
41
|
-
.pagination .disabled span,
|
42
|
-
.pagination .disabled a,
|
43
|
-
.pagination .disabled a:hover {
|
41
|
+
.pagination ul > .disabled > span,
|
42
|
+
.pagination ul > .disabled > a,
|
43
|
+
.pagination ul > .disabled > a:hover {
|
44
44
|
color: @grayLight;
|
45
45
|
background-color: transparent;
|
46
46
|
cursor: default;
|
47
47
|
}
|
48
|
-
.pagination li:first-child a,
|
49
|
-
.pagination li:first-child span {
|
48
|
+
.pagination ul > li:first-child > a,
|
49
|
+
.pagination ul > li:first-child > span {
|
50
50
|
border-left-width: 1px;
|
51
51
|
.border-radius(3px 0 0 3px);
|
52
52
|
}
|
53
|
-
.pagination li:last-child a,
|
54
|
-
.pagination li:last-child span {
|
53
|
+
.pagination ul > li:last-child > a,
|
54
|
+
.pagination ul > li:last-child > span {
|
55
55
|
.border-radius(0 3px 3px 0);
|
56
56
|
}
|
57
57
|
|
@@ -77,8 +77,11 @@ sub {
|
|
77
77
|
// -------------------------
|
78
78
|
|
79
79
|
img {
|
80
|
-
|
81
|
-
|
80
|
+
/* Responsive images (ensure images don't scale beyond their parents) */
|
81
|
+
max-width: 100%; /* Part 1: Set a maxium relative to the parent */
|
82
|
+
width: auto\9; /* IE7-8 need help adjusting responsive images */
|
83
|
+
height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
|
84
|
+
|
82
85
|
vertical-align: middle;
|
83
86
|
border: 0;
|
84
87
|
-ms-interpolation-mode: bicubic;
|
@@ -12,7 +12,8 @@
|
|
12
12
|
}
|
13
13
|
// Negative indent the now static "fixed" navbar
|
14
14
|
.navbar-fixed-top,
|
15
|
-
.navbar-fixed-bottom
|
15
|
+
.navbar-fixed-bottom,
|
16
|
+
.navbar-static-top {
|
16
17
|
margin-left: -20px;
|
17
18
|
margin-right: -20px;
|
18
19
|
}
|
@@ -60,8 +61,9 @@
|
|
60
61
|
.row-fluid [class*="span"] {
|
61
62
|
float: none;
|
62
63
|
display: block;
|
63
|
-
width:
|
64
|
+
width: 100%;
|
64
65
|
margin-left: 0;
|
66
|
+
.box-sizing(border-box);
|
65
67
|
}
|
66
68
|
.span12,
|
67
69
|
.row-fluid .span12 {
|
@@ -89,6 +91,9 @@
|
|
89
91
|
display: inline-block; // redeclare so they don't wrap to new lines
|
90
92
|
width: auto;
|
91
93
|
}
|
94
|
+
.controls-row [class*="span"] + [class*="span"] {
|
95
|
+
margin-left: 0;
|
96
|
+
}
|
92
97
|
|
93
98
|
// Modals
|
94
99
|
.modal {
|
@@ -128,24 +133,26 @@
|
|
128
133
|
}
|
129
134
|
|
130
135
|
// Remove the horizontal form styles
|
131
|
-
.form-horizontal
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
136
|
+
.form-horizontal {
|
137
|
+
.control-label {
|
138
|
+
float: none;
|
139
|
+
width: auto;
|
140
|
+
padding-top: 0;
|
141
|
+
text-align: left;
|
142
|
+
}
|
143
|
+
// Move over all input controls and content
|
144
|
+
.controls {
|
145
|
+
margin-left: 0;
|
146
|
+
}
|
147
|
+
// Move the options list down to align with labels
|
148
|
+
.control-list {
|
149
|
+
padding-top: 0; // has to be padding because margin collaspes
|
150
|
+
}
|
151
|
+
// Move over buttons in .form-actions to align with .controls
|
152
|
+
.form-actions {
|
153
|
+
padding-left: 10px;
|
154
|
+
padding-right: 10px;
|
155
|
+
}
|
149
156
|
}
|
150
157
|
|
151
158
|
// Modals
|
@@ -115,6 +115,12 @@
|
|
115
115
|
.nav-collapse .dropdown-menu .divider {
|
116
116
|
display: none;
|
117
117
|
}
|
118
|
+
.nav-collapse .nav > li > .dropdown-menu {
|
119
|
+
&:before,
|
120
|
+
&:after {
|
121
|
+
display: none;
|
122
|
+
}
|
123
|
+
}
|
118
124
|
// Forms in navbar
|
119
125
|
.nav-collapse .navbar-form,
|
120
126
|
.nav-collapse .navbar-search {
|
@@ -123,7 +129,12 @@
|
|
123
129
|
margin: (@baseLineHeight / 2) 0;
|
124
130
|
border-top: 1px solid @navbarBackground;
|
125
131
|
border-bottom: 1px solid @navbarBackground;
|
126
|
-
.box-shadow(
|
132
|
+
.box-shadow(inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1));
|
133
|
+
}
|
134
|
+
.navbar-inverse .nav-collapse .navbar-form,
|
135
|
+
.navbar-inverse .nav-collapse .navbar-search {
|
136
|
+
border-top-color: @navbarInverseBackground;
|
137
|
+
border-bottom-color: @navbarInverseBackground;
|
127
138
|
}
|
128
139
|
// Pull right (secondary) nav content
|
129
140
|
.navbar .nav-collapse .nav.pull-right {
|
@@ -32,20 +32,21 @@ a:hover {
|
|
32
32
|
// Images
|
33
33
|
// -------------------------
|
34
34
|
|
35
|
+
// Rounded corners
|
35
36
|
.img-rounded {
|
36
37
|
.border-radius(6px);
|
37
38
|
}
|
38
39
|
|
40
|
+
// Add polaroid-esque trim
|
39
41
|
.img-polaroid {
|
40
42
|
padding: 4px;
|
41
43
|
background-color: #fff;
|
42
44
|
border: 1px solid #ccc;
|
43
45
|
border: 1px solid rgba(0,0,0,.2);
|
44
|
-
|
45
|
-
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.1);
|
46
|
-
box-shadow: 0 1px 3px rgba(0,0,0,.1);
|
46
|
+
.box-shadow(0 1px 3px rgba(0,0,0,.1));
|
47
47
|
}
|
48
48
|
|
49
|
+
// Perfect circle
|
49
50
|
.img-circle {
|
50
|
-
.border-radius(500px);
|
51
|
+
.border-radius(500px); // crank the border-radius so it works with most reasonably sized images
|
51
52
|
}
|
@@ -30,8 +30,14 @@
|
|
30
30
|
|
31
31
|
/* White icons with optional class, or on hover/active states of certain elements */
|
32
32
|
.icon-white,
|
33
|
-
.nav > .active > a > [class^="icon-"],
|
34
|
-
.nav > .active > a > [class*=" icon-"],
|
33
|
+
.nav-tabs > .active > a > [class^="icon-"],
|
34
|
+
.nav-tabs > .active > a > [class*=" icon-"],
|
35
|
+
.nav-pills > .active > a > [class^="icon-"],
|
36
|
+
.nav-pills > .active > a > [class*=" icon-"],
|
37
|
+
.nav-list > .active > a > [class^="icon-"],
|
38
|
+
.nav-list > .active > a > [class*=" icon-"],
|
39
|
+
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
40
|
+
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
35
41
|
.dropdown-menu > li > a:hover > [class^="icon-"],
|
36
42
|
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
37
43
|
.dropdown-menu > .active > a > [class^="icon-"],
|
@@ -133,7 +133,7 @@ table {
|
|
133
133
|
colgroup + tbody tr:first-child td:last-child {
|
134
134
|
-webkit-border-top-right-radius: 4px;
|
135
135
|
border-top-right-radius: 4px;
|
136
|
-
|
136
|
+
-moz-border-radius-topleft: 4px;
|
137
137
|
}
|
138
138
|
|
139
139
|
}
|
@@ -180,7 +180,7 @@ table [class*=span],
|
|
180
180
|
}
|
181
181
|
|
182
182
|
// Change the column widths to account for td/th padding
|
183
|
-
table {
|
183
|
+
.table {
|
184
184
|
.span1 { .tableColumns(1); }
|
185
185
|
.span2 { .tableColumns(2); }
|
186
186
|
.span3 { .tableColumns(3); }
|
@@ -208,18 +208,38 @@ table {
|
|
208
208
|
}
|
209
209
|
|
210
210
|
|
211
|
+
|
211
212
|
// TABLE BACKGROUNDS
|
212
213
|
// -----------------
|
213
214
|
// Exact selectors below required to override .table-striped
|
214
215
|
|
215
|
-
.table {
|
216
|
-
|
216
|
+
.table tbody tr {
|
217
|
+
&.success td {
|
217
218
|
background-color: @successBackground;
|
218
219
|
}
|
219
|
-
|
220
|
+
&.error td {
|
220
221
|
background-color: @errorBackground;
|
221
222
|
}
|
222
|
-
|
223
|
+
&.warning td {
|
224
|
+
background-color: @warningBackground;
|
225
|
+
}
|
226
|
+
&.info td {
|
223
227
|
background-color: @infoBackground;
|
224
228
|
}
|
225
229
|
}
|
230
|
+
|
231
|
+
// Hover states for .table-hover
|
232
|
+
.table-hover tbody tr {
|
233
|
+
&.success:hover td {
|
234
|
+
background-color: darken(@successBackground, 5%);
|
235
|
+
}
|
236
|
+
&.error:hover td {
|
237
|
+
background-color: darken(@errorBackground, 5%);
|
238
|
+
}
|
239
|
+
&.warning:hover td {
|
240
|
+
background-color: darken(@warningBackground, 5%);
|
241
|
+
}
|
242
|
+
&.info:hover td {
|
243
|
+
background-color: darken(@infoBackground, 5%);
|
244
|
+
}
|
245
|
+
}
|
@@ -11,7 +11,7 @@ p {
|
|
11
11
|
}
|
12
12
|
.lead {
|
13
13
|
margin-bottom: @baseLineHeight;
|
14
|
-
font-size:
|
14
|
+
font-size: @baseFontSize * 1.5;
|
15
15
|
font-weight: 200;
|
16
16
|
line-height: @baseLineHeight * 1.5;
|
17
17
|
}
|
@@ -32,9 +32,23 @@ em {
|
|
32
32
|
cite {
|
33
33
|
font-style: normal;
|
34
34
|
}
|
35
|
+
|
36
|
+
// Utility classes
|
35
37
|
.muted {
|
36
38
|
color: @grayLight;
|
37
39
|
}
|
40
|
+
.text-warning {
|
41
|
+
color: @warningText;
|
42
|
+
}
|
43
|
+
.text-error {
|
44
|
+
color: @errorText;
|
45
|
+
}
|
46
|
+
.text-info {
|
47
|
+
color: @infoText;
|
48
|
+
}
|
49
|
+
.text-success {
|
50
|
+
color: @successText;
|
51
|
+
}
|
38
52
|
|
39
53
|
|
40
54
|
// Headings
|
@@ -116,15 +130,16 @@ dd {
|
|
116
130
|
}
|
117
131
|
// Horizontal layout (like forms)
|
118
132
|
.dl-horizontal {
|
133
|
+
.clearfix(); // Ensure dl clears floats if empty dd elements present
|
119
134
|
dt {
|
120
135
|
float: left;
|
121
|
-
width:
|
136
|
+
width: @horizontalComponentOffset - 20;
|
122
137
|
clear: left;
|
123
138
|
text-align: right;
|
124
139
|
.text-overflow();
|
125
140
|
}
|
126
141
|
dd {
|
127
|
-
margin-left:
|
142
|
+
margin-left: @horizontalComponentOffset;
|
128
143
|
}
|
129
144
|
}
|
130
145
|
|
@@ -57,7 +57,6 @@
|
|
57
57
|
@headingsFontWeight: bold; // instead of browser default, bold
|
58
58
|
@headingsColor: inherit; // empty to use BS default, @textColor
|
59
59
|
|
60
|
-
|
61
60
|
// Tables
|
62
61
|
// -------------------------
|
63
62
|
@tableBackground: transparent; // overall background-color
|
@@ -65,7 +64,6 @@
|
|
65
64
|
@tableBackgroundHover: #f5f5f5; // for hover
|
66
65
|
@tableBorder: #ddd; // table and cell border
|
67
66
|
|
68
|
-
|
69
67
|
// Buttons
|
70
68
|
// -------------------------
|
71
69
|
@btnBackground: @white;
|
@@ -107,12 +105,11 @@
|
|
107
105
|
@dropdownDividerBottom: @white;
|
108
106
|
|
109
107
|
@dropdownLinkColor: @grayDark;
|
110
|
-
|
111
108
|
@dropdownLinkColorHover: @white;
|
112
|
-
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
|
113
|
-
|
114
109
|
@dropdownLinkColorActive: @dropdownLinkColor;
|
110
|
+
|
115
111
|
@dropdownLinkBackgroundActive: @linkColor;
|
112
|
+
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
|
116
113
|
|
117
114
|
|
118
115
|
|
@@ -147,6 +144,11 @@
|
|
147
144
|
@hrBorder: @grayLighter;
|
148
145
|
|
149
146
|
|
147
|
+
// Horizontal forms & lists
|
148
|
+
// -------------------------
|
149
|
+
@horizontalComponentOffset: 180px;
|
150
|
+
|
151
|
+
|
150
152
|
// Wells
|
151
153
|
// -------------------------
|
152
154
|
@wellBackground: #f5f5f5;
|
@@ -157,12 +159,12 @@
|
|
157
159
|
@navbarCollapseWidth: 979px;
|
158
160
|
|
159
161
|
@navbarHeight: 40px;
|
160
|
-
@navbarBackground: darken(@navbarBackgroundHighlight, 5%);
|
161
162
|
@navbarBackgroundHighlight: #ffffff;
|
163
|
+
@navbarBackground: darken(@navbarBackgroundHighlight, 5%);
|
162
164
|
@navbarBorder: darken(@navbarBackground, 12%);
|
163
165
|
|
164
|
-
@navbarText:
|
165
|
-
@navbarLinkColor:
|
166
|
+
@navbarText: #777;
|
167
|
+
@navbarLinkColor: #777;
|
166
168
|
@navbarLinkColorHover: @grayDark;
|
167
169
|
@navbarLinkColorActive: @gray;
|
168
170
|
@navbarLinkBackgroundHover: transparent;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: less-rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70117394754560 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70117394754560
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: minitest
|
27
|
-
requirement: &
|
27
|
+
requirement: &70117394754140 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70117394754140
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: guard-minitest
|
38
|
-
requirement: &
|
38
|
+
requirement: &70117394753680 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70117394753680
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &70117394753180 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '3.1'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70117394753180
|
58
58
|
description: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline. Best one of all!
|
59
59
|
email:
|
60
60
|
- ken@metaskills.net
|