twitter-bootswatch-rails 3.0.3.0 → 3.1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/twitter/bootstrap/affix.js +34 -23
- data/app/assets/javascripts/twitter/bootstrap/alert.js +5 -15
- data/app/assets/javascripts/twitter/bootstrap/button.js +21 -29
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +16 -28
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +7 -16
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +19 -26
- data/app/assets/javascripts/twitter/bootstrap/modal.js +25 -28
- data/app/assets/javascripts/twitter/bootstrap/popover.js +14 -21
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +16 -21
- data/app/assets/javascripts/twitter/bootstrap/tab.js +7 -17
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +52 -39
- data/app/assets/javascripts/twitter/bootstrap/transition.js +11 -19
- data/lib/generators/bootswatch/install/templates/loader.js.tt +1 -1
- data/lib/generators/bootswatch/install/templates/mixins.less.tt +130 -49
- data/lib/generators/bootswatch/install/templates/variables.less.tt +346 -161
- data/lib/twitter/bootswatch/rails/version.rb +1 -1
- data/vendor/toolkit/twitter/bootstrap/badges.less +4 -0
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +4 -1
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +10 -11
- data/vendor/toolkit/twitter/bootstrap/buttons.less +8 -8
- data/vendor/toolkit/twitter/bootstrap/code.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +28 -2
- data/vendor/toolkit/twitter/bootstrap/forms.less +82 -38
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +1 -5
- data/vendor/toolkit/twitter/bootstrap/grid.less +26 -5
- data/vendor/toolkit/twitter/bootstrap/input-groups.less +39 -18
- data/vendor/toolkit/twitter/bootstrap/jumbotron.less +3 -5
- data/vendor/toolkit/twitter/bootstrap/list-group.less +25 -3
- data/vendor/toolkit/twitter/bootstrap/mixins.less +130 -49
- data/vendor/toolkit/twitter/bootstrap/modals.less +16 -7
- data/vendor/toolkit/twitter/bootstrap/navbar.less +24 -20
- data/vendor/toolkit/twitter/bootstrap/navs.less +2 -2
- data/vendor/toolkit/twitter/bootstrap/normalize.less +139 -122
- data/vendor/toolkit/twitter/bootstrap/pager.less +5 -5
- data/vendor/toolkit/twitter/bootstrap/pagination.less +6 -3
- data/vendor/toolkit/twitter/bootstrap/panels.less +64 -16
- data/vendor/toolkit/twitter/bootstrap/print.less +0 -4
- data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +13 -129
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +17 -2
- data/vendor/toolkit/twitter/bootstrap/tables.less +3 -1
- data/vendor/toolkit/twitter/bootstrap/theme.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/tooltip.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/type.less +78 -63
- data/vendor/toolkit/twitter/bootstrap/variables.less +346 -161
- data/vendor/toolkit/twitter/bootstrap/wells.less +1 -1
- metadata +2 -3
- data/lib/generators/bootswatch/import/import_generator.rb +0 -49
@@ -1,24 +1,14 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: transition.js v3.0
|
2
|
+
* Bootstrap: transition.js v3.1.0
|
3
3
|
* http://getbootstrap.com/javascript/#transitions
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
5
|
+
* Copyright 2011-2014 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
18
7
|
* ======================================================================== */
|
19
8
|
|
20
9
|
|
21
|
-
+function ($) {
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
22
12
|
|
23
13
|
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
24
14
|
// ============================================================
|
@@ -27,10 +17,10 @@
|
|
27
17
|
var el = document.createElement('bootstrap')
|
28
18
|
|
29
19
|
var transEndEventNames = {
|
30
|
-
'WebkitTransition' : 'webkitTransitionEnd'
|
31
|
-
|
32
|
-
|
33
|
-
|
20
|
+
'WebkitTransition' : 'webkitTransitionEnd',
|
21
|
+
'MozTransition' : 'transitionend',
|
22
|
+
'OTransition' : 'oTransitionEnd otransitionend',
|
23
|
+
'transition' : 'transitionend'
|
34
24
|
}
|
35
25
|
|
36
26
|
for (var name in transEndEventNames) {
|
@@ -38,6 +28,8 @@
|
|
38
28
|
return { end: transEndEventNames[name] }
|
39
29
|
}
|
40
30
|
}
|
31
|
+
|
32
|
+
return false // explicit for ie8 ( ._.)
|
41
33
|
}
|
42
34
|
|
43
35
|
// http://blog.alexmaccaw.com/css-transitions
|
@@ -3,7 +3,7 @@
|
|
3
3
|
// loader.js
|
4
4
|
|
5
5
|
<%
|
6
|
-
js_files = %w[
|
6
|
+
js_files = %w[alert button carousel collapse dropdown modal tooltip popover scrollspy tab affix]
|
7
7
|
|
8
8
|
js_files.each do |js_file|
|
9
9
|
%>//= require twitter/bootstrap/<%= js_file %>
|
@@ -118,6 +118,10 @@
|
|
118
118
|
}
|
119
119
|
|
120
120
|
// Drop shadows
|
121
|
+
//
|
122
|
+
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
|
123
|
+
// supported browsers that have box shadow capabilities now support the
|
124
|
+
// standard `box-shadow` property.
|
121
125
|
.box-shadow(@shadow) {
|
122
126
|
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
|
123
127
|
box-shadow: @shadow;
|
@@ -150,17 +154,17 @@
|
|
150
154
|
// Transformations
|
151
155
|
.rotate(@degrees) {
|
152
156
|
-webkit-transform: rotate(@degrees);
|
153
|
-
-ms-transform: rotate(@degrees); // IE9
|
157
|
+
-ms-transform: rotate(@degrees); // IE9 only
|
154
158
|
transform: rotate(@degrees);
|
155
159
|
}
|
156
|
-
.scale(@ratio) {
|
157
|
-
-webkit-transform: scale(@ratio);
|
158
|
-
-ms-transform: scale(@ratio); // IE9
|
159
|
-
transform: scale(@ratio);
|
160
|
+
.scale(@ratio; @ratio-y...) {
|
161
|
+
-webkit-transform: scale(@ratio, @ratio-y);
|
162
|
+
-ms-transform: scale(@ratio, @ratio-y); // IE9 only
|
163
|
+
transform: scale(@ratio, @ratio-y);
|
160
164
|
}
|
161
165
|
.translate(@x; @y) {
|
162
166
|
-webkit-transform: translate(@x, @y);
|
163
|
-
-ms-transform: translate(@x, @y); // IE9
|
167
|
+
-ms-transform: translate(@x, @y); // IE9 only
|
164
168
|
transform: translate(@x, @y);
|
165
169
|
}
|
166
170
|
.skew(@x; @y) {
|
@@ -175,12 +179,12 @@
|
|
175
179
|
|
176
180
|
.rotateX(@degrees) {
|
177
181
|
-webkit-transform: rotateX(@degrees);
|
178
|
-
-ms-transform: rotateX(@degrees); // IE9
|
182
|
+
-ms-transform: rotateX(@degrees); // IE9 only
|
179
183
|
transform: rotateX(@degrees);
|
180
184
|
}
|
181
185
|
.rotateY(@degrees) {
|
182
186
|
-webkit-transform: rotateY(@degrees);
|
183
|
-
-ms-transform: rotateY(@degrees); // IE9
|
187
|
+
-ms-transform: rotateY(@degrees); // IE9 only
|
184
188
|
transform: rotateY(@degrees);
|
185
189
|
}
|
186
190
|
.perspective(@perspective) {
|
@@ -196,6 +200,7 @@
|
|
196
200
|
.transform-origin(@origin) {
|
197
201
|
-webkit-transform-origin: @origin;
|
198
202
|
-moz-transform-origin: @origin;
|
203
|
+
-ms-transform-origin: @origin; // IE9 only
|
199
204
|
transform-origin: @origin;
|
200
205
|
}
|
201
206
|
|
@@ -204,6 +209,30 @@
|
|
204
209
|
-webkit-animation: @animation;
|
205
210
|
animation: @animation;
|
206
211
|
}
|
212
|
+
.animation-name(@name) {
|
213
|
+
-webkit-animation-name: @name;
|
214
|
+
animation-name: @name;
|
215
|
+
}
|
216
|
+
.animation-duration(@duration) {
|
217
|
+
-webkit-animation-duration: @duration;
|
218
|
+
animation-duration: @duration;
|
219
|
+
}
|
220
|
+
.animation-timing-function(@timing-function) {
|
221
|
+
-webkit-animation-timing-function: @timing-function;
|
222
|
+
animation-timing-function: @timing-function;
|
223
|
+
}
|
224
|
+
.animation-delay(@delay) {
|
225
|
+
-webkit-animation-delay: @delay;
|
226
|
+
animation-delay: @delay;
|
227
|
+
}
|
228
|
+
.animation-iteration-count(@iteration-count) {
|
229
|
+
-webkit-animation-iteration-count: @iteration-count;
|
230
|
+
animation-iteration-count: @iteration-count;
|
231
|
+
}
|
232
|
+
.animation-direction(@direction) {
|
233
|
+
-webkit-animation-direction: @direction;
|
234
|
+
animation-direction: @direction;
|
235
|
+
}
|
207
236
|
|
208
237
|
// Backface visibility
|
209
238
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
@@ -356,7 +385,7 @@
|
|
356
385
|
//
|
357
386
|
// Keep images from scaling beyond the width of their parents.
|
358
387
|
|
359
|
-
.img-responsive(@display: block
|
388
|
+
.img-responsive(@display: block) {
|
360
389
|
display: @display;
|
361
390
|
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
362
391
|
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
@@ -417,29 +446,57 @@
|
|
417
446
|
.table-row-variant(@state; @background) {
|
418
447
|
// Exact selectors below required to override `.table-striped` and prevent
|
419
448
|
// inheritance to nested tables.
|
420
|
-
.table
|
421
|
-
|
422
|
-
|
423
|
-
>
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
}
|
449
|
+
.table > thead > tr,
|
450
|
+
.table > tbody > tr,
|
451
|
+
.table > tfoot > tr {
|
452
|
+
> td.@{state},
|
453
|
+
> th.@{state},
|
454
|
+
&.@{state} > td,
|
455
|
+
&.@{state} > th {
|
456
|
+
background-color: @background;
|
429
457
|
}
|
430
458
|
}
|
431
459
|
|
432
460
|
// Hover states for `.table-hover`
|
433
461
|
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
434
|
-
.table-hover > tbody {
|
435
|
-
>
|
436
|
-
> .@{state}:hover
|
437
|
-
|
462
|
+
.table-hover > tbody > tr {
|
463
|
+
> td.@{state}:hover,
|
464
|
+
> th.@{state}:hover,
|
465
|
+
&.@{state}:hover > td,
|
466
|
+
&.@{state}:hover > th {
|
438
467
|
background-color: darken(@background, 5%);
|
439
468
|
}
|
440
469
|
}
|
441
470
|
}
|
442
471
|
|
472
|
+
// List Groups
|
473
|
+
// -------------------------
|
474
|
+
.list-group-item-variant(@state; @background; @color) {
|
475
|
+
.list-group-item-@{state} {
|
476
|
+
color: @color;
|
477
|
+
background-color: @background;
|
478
|
+
|
479
|
+
a& {
|
480
|
+
color: @color;
|
481
|
+
|
482
|
+
.list-group-item-heading { color: inherit; }
|
483
|
+
|
484
|
+
&:hover,
|
485
|
+
&:focus {
|
486
|
+
color: @color;
|
487
|
+
background-color: darken(@background, 5%);
|
488
|
+
}
|
489
|
+
&.active,
|
490
|
+
&.active:hover,
|
491
|
+
&.active:focus {
|
492
|
+
color: #fff;
|
493
|
+
background-color: @color;
|
494
|
+
border-color: @color;
|
495
|
+
}
|
496
|
+
}
|
497
|
+
}
|
498
|
+
}
|
499
|
+
|
443
500
|
// Button variants
|
444
501
|
// -------------------------
|
445
502
|
// Easily pump out default styles, as well as :hover, :focus, :active,
|
@@ -478,7 +535,7 @@
|
|
478
535
|
|
479
536
|
.badge {
|
480
537
|
color: @background;
|
481
|
-
background-color:
|
538
|
+
background-color: @color;
|
482
539
|
}
|
483
540
|
}
|
484
541
|
|
@@ -527,6 +584,24 @@
|
|
527
584
|
}
|
528
585
|
}
|
529
586
|
|
587
|
+
// Contextual backgrounds
|
588
|
+
// -------------------------
|
589
|
+
.bg-variant(@color) {
|
590
|
+
background-color: @color;
|
591
|
+
a&:hover {
|
592
|
+
background-color: darken(@color, 10%);
|
593
|
+
}
|
594
|
+
}
|
595
|
+
|
596
|
+
// Typography
|
597
|
+
// -------------------------
|
598
|
+
.text-emphasis-variant(@color) {
|
599
|
+
color: @color;
|
600
|
+
a&:hover {
|
601
|
+
color: darken(@color, 10%);
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
530
605
|
// Navbar vertical align
|
531
606
|
// -------------------------
|
532
607
|
// Vertically center elements in the navbar.
|
@@ -573,14 +648,14 @@
|
|
573
648
|
margin-left: auto;
|
574
649
|
padding-left: (@grid-gutter-width / 2);
|
575
650
|
padding-right: (@grid-gutter-width / 2);
|
576
|
-
.clearfix
|
651
|
+
&:extend(.clearfix all);
|
577
652
|
}
|
578
653
|
|
579
654
|
// Creates a wrapper for a series of columns
|
580
655
|
.make-row(@gutter: @grid-gutter-width) {
|
581
656
|
margin-left: (@gutter / -2);
|
582
657
|
margin-right: (@gutter / -2);
|
583
|
-
.clearfix
|
658
|
+
&:extend(.clearfix all);
|
584
659
|
}
|
585
660
|
|
586
661
|
// Generate the extra small columns
|
@@ -588,30 +663,39 @@
|
|
588
663
|
position: relative;
|
589
664
|
float: left;
|
590
665
|
width: percentage((@columns / @grid-columns));
|
591
|
-
// Prevent columns from collapsing when empty
|
592
666
|
min-height: 1px;
|
593
|
-
// Inner gutter via padding
|
594
667
|
padding-left: (@gutter / 2);
|
595
668
|
padding-right: (@gutter / 2);
|
596
669
|
}
|
670
|
+
.make-xs-column-offset(@columns) {
|
671
|
+
@media (min-width: @screen-xs-min) {
|
672
|
+
margin-left: percentage((@columns / @grid-columns));
|
673
|
+
}
|
674
|
+
}
|
675
|
+
.make-xs-column-push(@columns) {
|
676
|
+
@media (min-width: @screen-xs-min) {
|
677
|
+
left: percentage((@columns / @grid-columns));
|
678
|
+
}
|
679
|
+
}
|
680
|
+
.make-xs-column-pull(@columns) {
|
681
|
+
@media (min-width: @screen-xs-min) {
|
682
|
+
right: percentage((@columns / @grid-columns));
|
683
|
+
}
|
684
|
+
}
|
685
|
+
|
597
686
|
|
598
687
|
// Generate the small columns
|
599
688
|
.make-sm-column(@columns; @gutter: @grid-gutter-width) {
|
600
689
|
position: relative;
|
601
|
-
// Prevent columns from collapsing when empty
|
602
690
|
min-height: 1px;
|
603
|
-
// Inner gutter via padding
|
604
691
|
padding-left: (@gutter / 2);
|
605
692
|
padding-right: (@gutter / 2);
|
606
693
|
|
607
|
-
// Calculate width based on number of columns available
|
608
694
|
@media (min-width: @screen-sm-min) {
|
609
695
|
float: left;
|
610
696
|
width: percentage((@columns / @grid-columns));
|
611
697
|
}
|
612
698
|
}
|
613
|
-
|
614
|
-
// Generate the small column offsets
|
615
699
|
.make-sm-column-offset(@columns) {
|
616
700
|
@media (min-width: @screen-sm-min) {
|
617
701
|
margin-left: percentage((@columns / @grid-columns));
|
@@ -628,30 +712,26 @@
|
|
628
712
|
}
|
629
713
|
}
|
630
714
|
|
715
|
+
|
631
716
|
// Generate the medium columns
|
632
717
|
.make-md-column(@columns; @gutter: @grid-gutter-width) {
|
633
718
|
position: relative;
|
634
|
-
// Prevent columns from collapsing when empty
|
635
719
|
min-height: 1px;
|
636
|
-
// Inner gutter via padding
|
637
720
|
padding-left: (@gutter / 2);
|
638
721
|
padding-right: (@gutter / 2);
|
639
722
|
|
640
|
-
// Calculate width based on number of columns available
|
641
723
|
@media (min-width: @screen-md-min) {
|
642
724
|
float: left;
|
643
725
|
width: percentage((@columns / @grid-columns));
|
644
726
|
}
|
645
727
|
}
|
646
|
-
|
647
|
-
// Generate the medium column offsets
|
648
728
|
.make-md-column-offset(@columns) {
|
649
729
|
@media (min-width: @screen-md-min) {
|
650
730
|
margin-left: percentage((@columns / @grid-columns));
|
651
731
|
}
|
652
732
|
}
|
653
733
|
.make-md-column-push(@columns) {
|
654
|
-
@media (min-width: @screen-md) {
|
734
|
+
@media (min-width: @screen-md-min) {
|
655
735
|
left: percentage((@columns / @grid-columns));
|
656
736
|
}
|
657
737
|
}
|
@@ -661,23 +741,19 @@
|
|
661
741
|
}
|
662
742
|
}
|
663
743
|
|
744
|
+
|
664
745
|
// Generate the large columns
|
665
746
|
.make-lg-column(@columns; @gutter: @grid-gutter-width) {
|
666
747
|
position: relative;
|
667
|
-
// Prevent columns from collapsing when empty
|
668
748
|
min-height: 1px;
|
669
|
-
// Inner gutter via padding
|
670
749
|
padding-left: (@gutter / 2);
|
671
750
|
padding-right: (@gutter / 2);
|
672
751
|
|
673
|
-
// Calculate width based on number of columns available
|
674
752
|
@media (min-width: @screen-lg-min) {
|
675
753
|
float: left;
|
676
754
|
width: percentage((@columns / @grid-columns));
|
677
755
|
}
|
678
756
|
}
|
679
|
-
|
680
|
-
// Generate the large column offsets
|
681
757
|
.make-lg-column-offset(@columns) {
|
682
758
|
@media (min-width: @screen-lg-min) {
|
683
759
|
margin-left: percentage((@columns / @grid-columns));
|
@@ -704,11 +780,11 @@
|
|
704
780
|
// Common styles for all sizes of grid columns, widths 1-12
|
705
781
|
.col(@index) when (@index = 1) { // initial
|
706
782
|
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
707
|
-
.col(@index + 1, @item);
|
783
|
+
.col((@index + 1), @item);
|
708
784
|
}
|
709
785
|
.col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
|
710
786
|
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
711
|
-
.col(@index + 1, ~"@{list}, @{item}");
|
787
|
+
.col((@index + 1), ~"@{list}, @{item}");
|
712
788
|
}
|
713
789
|
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
714
790
|
@{list} {
|
@@ -726,11 +802,11 @@
|
|
726
802
|
.make-grid-columns-float(@class) {
|
727
803
|
.col(@index) when (@index = 1) { // initial
|
728
804
|
@item: ~".col-@{class}-@{index}";
|
729
|
-
.col(@index + 1, @item);
|
805
|
+
.col((@index + 1), @item);
|
730
806
|
}
|
731
807
|
.col(@index, @list) when (@index =< @grid-columns) { // general
|
732
808
|
@item: ~".col-@{class}-@{index}";
|
733
|
-
.col(@index + 1, ~"@{list}, @{item}");
|
809
|
+
.col((@index + 1), ~"@{list}, @{item}");
|
734
810
|
}
|
735
811
|
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
736
812
|
@{list} {
|
@@ -765,7 +841,7 @@
|
|
765
841
|
.make-grid(@index, @class, @type) when (@index >= 0) {
|
766
842
|
.calc-grid(@index, @class, @type);
|
767
843
|
// next iteration
|
768
|
-
.make-grid(@index - 1, @class, @type);
|
844
|
+
.make-grid((@index - 1), @class, @type);
|
769
845
|
}
|
770
846
|
|
771
847
|
|
@@ -800,6 +876,10 @@
|
|
800
876
|
border-color: @border-color;
|
801
877
|
background-color: @background-color;
|
802
878
|
}
|
879
|
+
// Optional feedback icon
|
880
|
+
.form-control-feedback {
|
881
|
+
color: @text-color;
|
882
|
+
}
|
803
883
|
}
|
804
884
|
|
805
885
|
// Form control focus state
|
@@ -842,7 +922,8 @@
|
|
842
922
|
line-height: @input-height;
|
843
923
|
}
|
844
924
|
|
845
|
-
textarea
|
925
|
+
textarea&,
|
926
|
+
select[multiple]& {
|
846
927
|
height: auto;
|
847
928
|
}
|
848
929
|
}
|
@@ -6,11 +6,9 @@
|
|
6
6
|
// --------------------------------------------------
|
7
7
|
|
8
8
|
|
9
|
-
|
10
|
-
//
|
11
|
-
|
12
|
-
// Grays
|
13
|
-
// -------------------------
|
9
|
+
//== Colors
|
10
|
+
//
|
11
|
+
//## Gray and brand colors for use across Bootstrap.
|
14
12
|
|
15
13
|
@gray-darker: lighten(#000, 13.5%); // #222
|
16
14
|
@gray-dark: lighten(#000, 20%); // #333
|
@@ -18,107 +16,127 @@
|
|
18
16
|
@gray-light: lighten(#000, 60%); // #999
|
19
17
|
@gray-lighter: lighten(#000, 93.5%); // #eee
|
20
18
|
|
21
|
-
// Brand colors
|
22
|
-
// -------------------------
|
23
|
-
|
24
19
|
@brand-primary: #428bca;
|
25
20
|
@brand-success: #5cb85c;
|
21
|
+
@brand-info: #5bc0de;
|
26
22
|
@brand-warning: #f0ad4e;
|
27
23
|
@brand-danger: #d9534f;
|
28
|
-
@brand-info: #5bc0de;
|
29
24
|
|
30
|
-
// Scaffolding
|
31
|
-
// -------------------------
|
32
25
|
|
26
|
+
//== Scaffolding
|
27
|
+
//
|
28
|
+
// ## Settings for some of the most global styles.
|
29
|
+
|
30
|
+
//** Background color for `<body>`.
|
33
31
|
@body-bg: #fff;
|
32
|
+
//** Global text color on `<body>`.
|
34
33
|
@text-color: @gray-dark;
|
35
34
|
|
36
|
-
|
37
|
-
// -------------------------
|
38
|
-
|
35
|
+
//** Global textual link color.
|
39
36
|
@link-color: @brand-primary;
|
37
|
+
//** Link hover color set via `darken()` function.
|
40
38
|
@link-hover-color: darken(@link-color, 15%);
|
41
39
|
|
42
|
-
|
43
|
-
|
40
|
+
|
41
|
+
//== Typography
|
42
|
+
//
|
43
|
+
//## Font, line-height, and color for body text, headings, and more.
|
44
44
|
|
45
45
|
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
46
46
|
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
47
|
+
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
47
48
|
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
48
49
|
@font-family-base: @font-family-sans-serif;
|
49
50
|
|
50
51
|
@font-size-base: 14px;
|
51
|
-
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
|
52
|
-
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
|
52
|
+
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
|
53
|
+
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px
|
53
54
|
|
54
|
-
@font-size-h1: floor(@font-size-base * 2.6); // ~36px
|
55
|
-
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
|
56
|
-
@font-size-h3: ceil(@font-size-base * 1.7); // ~24px
|
57
|
-
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
|
55
|
+
@font-size-h1: floor((@font-size-base * 2.6)); // ~36px
|
56
|
+
@font-size-h2: floor((@font-size-base * 2.15)); // ~30px
|
57
|
+
@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
|
58
|
+
@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
|
58
59
|
@font-size-h5: @font-size-base;
|
59
|
-
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
|
60
|
+
@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
|
60
61
|
|
62
|
+
//** Unit-less `line-height` for use in components like buttons.
|
61
63
|
@line-height-base: 1.428571429; // 20/14
|
62
|
-
|
64
|
+
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
65
|
+
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
|
63
66
|
|
64
|
-
|
67
|
+
//** By default, this inherits from the `<body>`.
|
68
|
+
@headings-font-family: inherit;
|
65
69
|
@headings-font-weight: 500;
|
66
70
|
@headings-line-height: 1.1;
|
67
71
|
@headings-color: inherit;
|
68
72
|
|
69
73
|
|
70
|
-
|
71
|
-
//
|
74
|
+
//-- Iconography
|
75
|
+
//
|
76
|
+
//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
72
77
|
|
73
78
|
@icon-font-path: "twitter/bootstrap/";
|
74
79
|
@icon-font-name: "glyphicons-halflings-regular";
|
80
|
+
@icon-font-svg-id: "glyphicons_halflingsregular";
|
75
81
|
|
82
|
+
//== Components
|
83
|
+
//
|
84
|
+
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
76
85
|
|
77
|
-
|
78
|
-
|
79
|
-
// Based on 14px font-size and 1.428 line-height (~20px to start)
|
86
|
+
@padding-base-vertical: 6px;
|
87
|
+
@padding-base-horizontal: 12px;
|
80
88
|
|
81
|
-
@padding-
|
82
|
-
@padding-
|
89
|
+
@padding-large-vertical: 10px;
|
90
|
+
@padding-large-horizontal: 16px;
|
83
91
|
|
84
|
-
@padding-
|
85
|
-
@padding-
|
92
|
+
@padding-small-vertical: 5px;
|
93
|
+
@padding-small-horizontal: 10px;
|
86
94
|
|
87
|
-
@padding-
|
88
|
-
@padding-
|
95
|
+
@padding-xs-vertical: 1px;
|
96
|
+
@padding-xs-horizontal: 5px;
|
89
97
|
|
90
|
-
@
|
91
|
-
@
|
98
|
+
@line-height-large: 1.33;
|
99
|
+
@line-height-small: 1.5;
|
92
100
|
|
93
|
-
@
|
94
|
-
@
|
101
|
+
@border-radius-base: 4px;
|
102
|
+
@border-radius-large: 6px;
|
103
|
+
@border-radius-small: 3px;
|
95
104
|
|
96
|
-
|
97
|
-
@
|
98
|
-
|
105
|
+
//** Global color for active items (e.g., navs or dropdowns).
|
106
|
+
@component-active-color: #fff;
|
107
|
+
//** Global background color for active items (e.g., navs or dropdowns).
|
108
|
+
@component-active-bg: @brand-primary;
|
99
109
|
|
100
|
-
|
101
|
-
@
|
110
|
+
//** Width of the `border` for generating carets that indicator dropdowns.
|
111
|
+
@caret-width-base: 4px;
|
112
|
+
//** Carets increase slightly in size for larger components.
|
113
|
+
@caret-width-large: 5px;
|
102
114
|
|
103
|
-
@caret-width-base: 4px;
|
104
|
-
@caret-width-large: 5px;
|
105
115
|
|
106
|
-
|
107
|
-
//
|
116
|
+
//== Tables
|
117
|
+
//
|
118
|
+
//## Customizes the `.table` component with basic values, each used across all table variations.
|
108
119
|
|
109
|
-
|
110
|
-
@table-
|
120
|
+
//** Padding for `<th>`s and `<td>`s.
|
121
|
+
@table-cell-padding: 8px;
|
122
|
+
//** Padding for cells in `.table-condensed`.
|
123
|
+
@table-condensed-cell-padding: 5px;
|
111
124
|
|
112
|
-
|
113
|
-
@table-bg
|
114
|
-
|
115
|
-
@table-bg-
|
125
|
+
//** Default background color used for all tables.
|
126
|
+
@table-bg: transparent;
|
127
|
+
//** Background color used for `.table-striped`.
|
128
|
+
@table-bg-accent: #f9f9f9;
|
129
|
+
//** Background color used for `.table-hover`.
|
130
|
+
@table-bg-hover: #f5f5f5;
|
131
|
+
@table-bg-active: @table-bg-hover;
|
116
132
|
|
117
|
-
|
133
|
+
//** Border color for table and cell borders.
|
134
|
+
@table-border-color: #ddd;
|
118
135
|
|
119
136
|
|
120
|
-
|
121
|
-
//
|
137
|
+
//== Buttons
|
138
|
+
//
|
139
|
+
//## For each of Bootstrap's buttons, define text, background and border color.
|
122
140
|
|
123
141
|
@btn-font-weight: normal;
|
124
142
|
|
@@ -134,6 +152,10 @@
|
|
134
152
|
@btn-success-bg: @brand-success;
|
135
153
|
@btn-success-border: darken(@btn-success-bg, 5%);
|
136
154
|
|
155
|
+
@btn-info-color: #fff;
|
156
|
+
@btn-info-bg: @brand-info;
|
157
|
+
@btn-info-border: darken(@btn-info-bg, 5%);
|
158
|
+
|
137
159
|
@btn-warning-color: #fff;
|
138
160
|
@btn-warning-bg: @brand-warning;
|
139
161
|
@btn-warning-border: darken(@btn-warning-bg, 5%);
|
@@ -142,65 +164,87 @@
|
|
142
164
|
@btn-danger-bg: @brand-danger;
|
143
165
|
@btn-danger-border: darken(@btn-danger-bg, 5%);
|
144
166
|
|
145
|
-
@btn-info-color: #fff;
|
146
|
-
@btn-info-bg: @brand-info;
|
147
|
-
@btn-info-border: darken(@btn-info-bg, 5%);
|
148
|
-
|
149
167
|
@btn-link-disabled-color: @gray-light;
|
150
168
|
|
151
169
|
|
152
|
-
|
153
|
-
//
|
170
|
+
//== Forms
|
171
|
+
//
|
172
|
+
//##
|
154
173
|
|
174
|
+
//** `<input>` background color
|
155
175
|
@input-bg: #fff;
|
176
|
+
//** `<input disabled>` background color
|
156
177
|
@input-bg-disabled: @gray-lighter;
|
157
178
|
|
179
|
+
//** Text color for `<input>`s
|
158
180
|
@input-color: @gray;
|
181
|
+
//** `<input>` border color
|
159
182
|
@input-border: #ccc;
|
183
|
+
//** `<input>` border radius
|
160
184
|
@input-border-radius: @border-radius-base;
|
185
|
+
//** Border color for inputs on focus
|
161
186
|
@input-border-focus: #66afe9;
|
162
187
|
|
188
|
+
//** Placeholder text color
|
163
189
|
@input-color-placeholder: @gray-light;
|
164
190
|
|
191
|
+
//** Default `.form-control` height
|
165
192
|
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
|
193
|
+
//** Large `.form-control` height
|
166
194
|
@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
|
195
|
+
//** Small `.form-control` height
|
167
196
|
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
|
168
197
|
|
169
198
|
@legend-color: @gray-dark;
|
170
199
|
@legend-border-color: #e5e5e5;
|
171
200
|
|
201
|
+
//** Background color for textual input addons
|
172
202
|
@input-group-addon-bg: @gray-lighter;
|
203
|
+
//** Border color for textual input addons
|
173
204
|
@input-group-addon-border-color: @input-border;
|
174
205
|
|
175
206
|
|
176
|
-
|
177
|
-
//
|
207
|
+
//== Dropdowns
|
208
|
+
//
|
209
|
+
//## Dropdown menu container and contents.
|
178
210
|
|
211
|
+
//** Background for the dropdown menu.
|
179
212
|
@dropdown-bg: #fff;
|
213
|
+
//** Dropdown menu `border-color`.
|
180
214
|
@dropdown-border: rgba(0,0,0,.15);
|
215
|
+
//** Dropdown menu `border-color` **for IE8**.
|
181
216
|
@dropdown-fallback-border: #ccc;
|
217
|
+
//** Divider color for between dropdown items.
|
182
218
|
@dropdown-divider-bg: #e5e5e5;
|
183
219
|
|
220
|
+
//** Dropdown link text color.
|
184
221
|
@dropdown-link-color: @gray-dark;
|
222
|
+
//** Hover color for dropdown links.
|
185
223
|
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
224
|
+
//** Hover background for dropdown links.
|
186
225
|
@dropdown-link-hover-bg: #f5f5f5;
|
187
226
|
|
227
|
+
//** Active dropdown menu item text color.
|
188
228
|
@dropdown-link-active-color: @component-active-color;
|
229
|
+
//** Active dropdown menu item background color.
|
189
230
|
@dropdown-link-active-bg: @component-active-bg;
|
190
231
|
|
232
|
+
//** Disabled dropdown menu item background color.
|
191
233
|
@dropdown-link-disabled-color: @gray-light;
|
192
234
|
|
235
|
+
//** Text color for headers within dropdown menus.
|
193
236
|
@dropdown-header-color: @gray-light;
|
194
237
|
|
195
|
-
|
196
|
-
|
197
|
-
// --------------------------------------------------
|
238
|
+
// Note: Deprecated @dropdown-caret-color as of v3.1.0
|
239
|
+
@dropdown-caret-color: #000;
|
198
240
|
|
199
241
|
|
200
|
-
|
201
|
-
//
|
202
|
-
//
|
203
|
-
//
|
242
|
+
//-- Z-index master list
|
243
|
+
//
|
244
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
245
|
+
// of components dependent on the z-axis and are designed to all work together.
|
246
|
+
//
|
247
|
+
// Note: These variables are not generated into the Customizer.
|
204
248
|
|
205
249
|
@zindex-navbar: 1000;
|
206
250
|
@zindex-dropdown: 1000;
|
@@ -210,8 +254,10 @@
|
|
210
254
|
@zindex-modal-background: 1040;
|
211
255
|
@zindex-modal: 1050;
|
212
256
|
|
213
|
-
|
214
|
-
|
257
|
+
|
258
|
+
//== Media queries breakpoints
|
259
|
+
//
|
260
|
+
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
215
261
|
|
216
262
|
// Extra small screen / phone
|
217
263
|
// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
|
@@ -243,31 +289,32 @@
|
|
243
289
|
@screen-md-max: (@screen-lg-min - 1);
|
244
290
|
|
245
291
|
|
246
|
-
|
247
|
-
//
|
292
|
+
//== Grid system
|
293
|
+
//
|
294
|
+
//## Define your custom responsive grid.
|
248
295
|
|
249
|
-
|
296
|
+
//** Number of columns in the grid.
|
250
297
|
@grid-columns: 12;
|
251
|
-
|
298
|
+
//** Padding between columns. Gets divided in half for the left and right.
|
252
299
|
@grid-gutter-width: 30px;
|
253
|
-
|
254
300
|
// Navbar collapse
|
255
|
-
|
256
|
-
// Point at which the navbar becomes uncollapsed
|
301
|
+
//** Point at which the navbar becomes uncollapsed.
|
257
302
|
@grid-float-breakpoint: @screen-sm-min;
|
258
|
-
|
303
|
+
//** Point at which the navbar begins collapsing.
|
259
304
|
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
|
260
305
|
|
261
306
|
|
262
|
-
|
263
|
-
//
|
307
|
+
//== Navbar
|
308
|
+
//
|
309
|
+
//##
|
264
310
|
|
265
311
|
// Basics of a navbar
|
266
312
|
@navbar-height: 50px;
|
267
313
|
@navbar-margin-bottom: @line-height-computed;
|
268
314
|
@navbar-border-radius: @border-radius-base;
|
269
|
-
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
|
315
|
+
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
|
270
316
|
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
317
|
+
@navbar-collapse-max-height: 340px;
|
271
318
|
|
272
319
|
@navbar-default-color: #777;
|
273
320
|
@navbar-default-bg: #f8f8f8;
|
@@ -289,12 +336,11 @@
|
|
289
336
|
|
290
337
|
// Navbar toggle
|
291
338
|
@navbar-default-toggle-hover-bg: #ddd;
|
292
|
-
@navbar-default-toggle-icon-bar-bg: #
|
339
|
+
@navbar-default-toggle-icon-bar-bg: #888;
|
293
340
|
@navbar-default-toggle-border-color: #ddd;
|
294
341
|
|
295
342
|
|
296
343
|
// Inverted navbar
|
297
|
-
//
|
298
344
|
// Reset inverted navbar basics
|
299
345
|
@navbar-inverse-color: @gray-light;
|
300
346
|
@navbar-inverse-bg: #222;
|
@@ -320,9 +366,11 @@
|
|
320
366
|
@navbar-inverse-toggle-border-color: #333;
|
321
367
|
|
322
368
|
|
323
|
-
|
324
|
-
//
|
369
|
+
//== Navs
|
370
|
+
//
|
371
|
+
//##
|
325
372
|
|
373
|
+
//=== Shared nav styles
|
326
374
|
@nav-link-padding: 10px 15px;
|
327
375
|
@nav-link-hover-bg: @gray-lighter;
|
328
376
|
|
@@ -331,7 +379,7 @@
|
|
331
379
|
|
332
380
|
@nav-open-link-hover-color: #fff;
|
333
381
|
|
334
|
-
|
382
|
+
//== Tabs
|
335
383
|
@nav-tabs-border-color: #ddd;
|
336
384
|
|
337
385
|
@nav-tabs-link-hover-border-color: @gray-lighter;
|
@@ -343,45 +391,63 @@
|
|
343
391
|
@nav-tabs-justified-link-border-color: #ddd;
|
344
392
|
@nav-tabs-justified-active-link-border-color: @body-bg;
|
345
393
|
|
346
|
-
|
394
|
+
//== Pills
|
347
395
|
@nav-pills-border-radius: @border-radius-base;
|
348
396
|
@nav-pills-active-link-hover-bg: @component-active-bg;
|
349
397
|
@nav-pills-active-link-hover-color: @component-active-color;
|
350
398
|
|
351
399
|
|
352
|
-
|
353
|
-
//
|
400
|
+
//== Pagination
|
401
|
+
//
|
402
|
+
//##
|
354
403
|
|
404
|
+
@pagination-color: @link-color;
|
355
405
|
@pagination-bg: #fff;
|
356
406
|
@pagination-border: #ddd;
|
357
407
|
|
408
|
+
@pagination-hover-color: @link-hover-color;
|
358
409
|
@pagination-hover-bg: @gray-lighter;
|
410
|
+
@pagination-hover-border: #ddd;
|
359
411
|
|
360
|
-
@pagination-active-bg: @brand-primary;
|
361
412
|
@pagination-active-color: #fff;
|
413
|
+
@pagination-active-bg: @brand-primary;
|
414
|
+
@pagination-active-border: @brand-primary;
|
362
415
|
|
363
416
|
@pagination-disabled-color: @gray-light;
|
417
|
+
@pagination-disabled-bg: #fff;
|
418
|
+
@pagination-disabled-border: #ddd;
|
364
419
|
|
365
420
|
|
366
|
-
|
367
|
-
//
|
421
|
+
//== Pager
|
422
|
+
//
|
423
|
+
//##
|
368
424
|
|
425
|
+
@pager-bg: @pagination-bg;
|
426
|
+
@pager-border: @pagination-border;
|
369
427
|
@pager-border-radius: 15px;
|
370
|
-
@pager-disabled-color: @gray-light;
|
371
428
|
|
429
|
+
@pager-hover-bg: @pagination-hover-bg;
|
430
|
+
|
431
|
+
@pager-active-bg: @pagination-active-bg;
|
432
|
+
@pager-active-color: @pagination-active-color;
|
433
|
+
|
434
|
+
@pager-disabled-color: @pagination-disabled-color;
|
372
435
|
|
373
|
-
|
374
|
-
|
436
|
+
|
437
|
+
//== Jumbotron
|
438
|
+
//
|
439
|
+
//##
|
375
440
|
|
376
441
|
@jumbotron-padding: 30px;
|
377
442
|
@jumbotron-color: inherit;
|
378
443
|
@jumbotron-bg: @gray-lighter;
|
379
444
|
@jumbotron-heading-color: inherit;
|
380
|
-
@jumbotron-font-size: ceil(@font-size-base * 1.5);
|
445
|
+
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
381
446
|
|
382
447
|
|
383
|
-
|
384
|
-
//
|
448
|
+
//== Form states and alerts
|
449
|
+
//
|
450
|
+
//## Define colors for form feedback states and, by default, alerts.
|
385
451
|
|
386
452
|
@state-success-text: #3c763d;
|
387
453
|
@state-success-bg: #dff0d8;
|
@@ -400,65 +466,113 @@
|
|
400
466
|
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
401
467
|
|
402
468
|
|
403
|
-
|
404
|
-
//
|
469
|
+
//== Tooltips
|
470
|
+
//
|
471
|
+
//##
|
472
|
+
|
473
|
+
//** Tooltip max width
|
405
474
|
@tooltip-max-width: 200px;
|
475
|
+
//** Tooltip text color
|
406
476
|
@tooltip-color: #fff;
|
477
|
+
//** Tooltip background color
|
407
478
|
@tooltip-bg: #000;
|
479
|
+
@tooltip-opacity: .9;
|
408
480
|
|
481
|
+
//** Tooltip arrow width
|
409
482
|
@tooltip-arrow-width: 5px;
|
483
|
+
//** Tooltip arrow color
|
410
484
|
@tooltip-arrow-color: @tooltip-bg;
|
411
485
|
|
412
486
|
|
413
|
-
|
414
|
-
//
|
487
|
+
//== Popovers
|
488
|
+
//
|
489
|
+
//##
|
490
|
+
|
491
|
+
//** Popover body background color
|
415
492
|
@popover-bg: #fff;
|
493
|
+
//** Popover maximum width
|
416
494
|
@popover-max-width: 276px;
|
495
|
+
//** Popover border color
|
417
496
|
@popover-border-color: rgba(0,0,0,.2);
|
497
|
+
//** Popover fallback border color
|
418
498
|
@popover-fallback-border-color: #ccc;
|
419
499
|
|
500
|
+
//** Popover title background color
|
420
501
|
@popover-title-bg: darken(@popover-bg, 3%);
|
421
502
|
|
503
|
+
//** Popover arrow width
|
422
504
|
@popover-arrow-width: 10px;
|
505
|
+
//** Popover arrow color
|
423
506
|
@popover-arrow-color: #fff;
|
424
507
|
|
508
|
+
//** Popover outer arrow width
|
425
509
|
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
510
|
+
//** Popover outer arrow color
|
426
511
|
@popover-arrow-outer-color: rgba(0,0,0,.25);
|
512
|
+
//** Popover outer arrow fallback color
|
427
513
|
@popover-arrow-outer-fallback-color: #999;
|
428
514
|
|
429
515
|
|
430
|
-
|
431
|
-
//
|
516
|
+
//== Labels
|
517
|
+
//
|
518
|
+
//##
|
432
519
|
|
520
|
+
//** Default label background color
|
433
521
|
@label-default-bg: @gray-light;
|
522
|
+
//** Primary label background color
|
434
523
|
@label-primary-bg: @brand-primary;
|
524
|
+
//** Success label background color
|
435
525
|
@label-success-bg: @brand-success;
|
526
|
+
//** Info label background color
|
436
527
|
@label-info-bg: @brand-info;
|
528
|
+
//** Warning label background color
|
437
529
|
@label-warning-bg: @brand-warning;
|
530
|
+
//** Danger label background color
|
438
531
|
@label-danger-bg: @brand-danger;
|
439
532
|
|
533
|
+
//** Default label text color
|
440
534
|
@label-color: #fff;
|
535
|
+
//** Default text color of a linked label
|
441
536
|
@label-link-hover-color: #fff;
|
442
537
|
|
443
538
|
|
444
|
-
|
445
|
-
//
|
539
|
+
//== Modals
|
540
|
+
//
|
541
|
+
//##
|
542
|
+
|
543
|
+
//** Padding applied to the modal body
|
446
544
|
@modal-inner-padding: 20px;
|
447
545
|
|
546
|
+
//** Padding applied to the modal title
|
448
547
|
@modal-title-padding: 15px;
|
548
|
+
//** Modal title line-height
|
449
549
|
@modal-title-line-height: @line-height-base;
|
450
550
|
|
551
|
+
//** Background color of modal content area
|
451
552
|
@modal-content-bg: #fff;
|
553
|
+
//** Modal content border color
|
452
554
|
@modal-content-border-color: rgba(0,0,0,.2);
|
555
|
+
//** Modal content border color **for IE8**
|
453
556
|
@modal-content-fallback-border-color: #999;
|
454
557
|
|
558
|
+
//** Modal backdrop background color
|
455
559
|
@modal-backdrop-bg: #000;
|
560
|
+
//** Modal backdrop opacity
|
561
|
+
@modal-backdrop-opacity: .5;
|
562
|
+
//** Modal header border color
|
456
563
|
@modal-header-border-color: #e5e5e5;
|
564
|
+
//** Modal footer border color
|
457
565
|
@modal-footer-border-color: @modal-header-border-color;
|
458
566
|
|
567
|
+
@modal-lg: 900px;
|
568
|
+
@modal-md: 600px;
|
569
|
+
@modal-sm: 300px;
|
570
|
+
|
571
|
+
|
572
|
+
//== Alerts
|
573
|
+
//
|
574
|
+
//## Define alert colors, border radius, and padding.
|
459
575
|
|
460
|
-
// Alerts
|
461
|
-
// -------------------------
|
462
576
|
@alert-padding: 15px;
|
463
577
|
@alert-border-radius: @border-radius-base;
|
464
578
|
@alert-link-font-weight: bold;
|
@@ -480,38 +594,62 @@
|
|
480
594
|
@alert-danger-border: @state-danger-border;
|
481
595
|
|
482
596
|
|
483
|
-
|
484
|
-
//
|
597
|
+
//== Progress bars
|
598
|
+
//
|
599
|
+
//##
|
600
|
+
|
601
|
+
//** Background color of the whole progress component
|
485
602
|
@progress-bg: #f5f5f5;
|
603
|
+
//** Progress bar text color
|
486
604
|
@progress-bar-color: #fff;
|
487
605
|
|
606
|
+
//** Default progress bar color
|
488
607
|
@progress-bar-bg: @brand-primary;
|
608
|
+
//** Success progress bar color
|
489
609
|
@progress-bar-success-bg: @brand-success;
|
610
|
+
//** Warning progress bar color
|
490
611
|
@progress-bar-warning-bg: @brand-warning;
|
612
|
+
//** Danger progress bar color
|
491
613
|
@progress-bar-danger-bg: @brand-danger;
|
614
|
+
//** Info progress bar color
|
492
615
|
@progress-bar-info-bg: @brand-info;
|
493
616
|
|
494
617
|
|
495
|
-
|
496
|
-
//
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
@list-group-
|
503
|
-
|
504
|
-
@list-group-
|
505
|
-
|
506
|
-
|
507
|
-
@list-group-
|
508
|
-
|
618
|
+
//== List group
|
619
|
+
//
|
620
|
+
//##
|
621
|
+
|
622
|
+
//** Background color on `.list-group-item`
|
623
|
+
@list-group-bg: #fff;
|
624
|
+
//** `.list-group-item` border color
|
625
|
+
@list-group-border: #ddd;
|
626
|
+
//** List group border radius
|
627
|
+
@list-group-border-radius: @border-radius-base;
|
628
|
+
|
629
|
+
//** Background color of single list elements on hover
|
630
|
+
@list-group-hover-bg: #f5f5f5;
|
631
|
+
//** Text color of active list elements
|
632
|
+
@list-group-active-color: @component-active-color;
|
633
|
+
//** Background color of active list elements
|
634
|
+
@list-group-active-bg: @component-active-bg;
|
635
|
+
//** Border color of active list elements
|
636
|
+
@list-group-active-border: @list-group-active-bg;
|
637
|
+
@list-group-active-text-color: lighten(@list-group-active-bg, 40%);
|
638
|
+
|
639
|
+
@list-group-link-color: #555;
|
640
|
+
@list-group-link-heading-color: #333;
|
641
|
+
|
642
|
+
|
643
|
+
//== Panels
|
644
|
+
//
|
645
|
+
//##
|
509
646
|
|
510
|
-
// Panels
|
511
|
-
// -------------------------
|
512
647
|
@panel-bg: #fff;
|
513
|
-
@panel-
|
648
|
+
@panel-body-padding: 15px;
|
514
649
|
@panel-border-radius: @border-radius-base;
|
650
|
+
|
651
|
+
//** Border color for elements within panels
|
652
|
+
@panel-inner-border: #ddd;
|
515
653
|
@panel-footer-bg: #f5f5f5;
|
516
654
|
|
517
655
|
@panel-default-text: @gray-dark;
|
@@ -526,6 +664,10 @@
|
|
526
664
|
@panel-success-border: @state-success-border;
|
527
665
|
@panel-success-heading-bg: @state-success-bg;
|
528
666
|
|
667
|
+
@panel-info-text: @state-info-text;
|
668
|
+
@panel-info-border: @state-info-border;
|
669
|
+
@panel-info-heading-bg: @state-info-bg;
|
670
|
+
|
529
671
|
@panel-warning-text: @state-warning-text;
|
530
672
|
@panel-warning-border: @state-warning-border;
|
531
673
|
@panel-warning-heading-bg: @state-warning-bg;
|
@@ -534,34 +676,46 @@
|
|
534
676
|
@panel-danger-border: @state-danger-border;
|
535
677
|
@panel-danger-heading-bg: @state-danger-bg;
|
536
678
|
|
537
|
-
@panel-info-text: @state-info-text;
|
538
|
-
@panel-info-border: @state-info-border;
|
539
|
-
@panel-info-heading-bg: @state-info-bg;
|
540
679
|
|
680
|
+
//== Thumbnails
|
681
|
+
//
|
682
|
+
//##
|
541
683
|
|
542
|
-
|
543
|
-
// -------------------------
|
684
|
+
//** Padding around the thumbnail image
|
544
685
|
@thumbnail-padding: 4px;
|
686
|
+
//** Thumbnail background color
|
545
687
|
@thumbnail-bg: @body-bg;
|
688
|
+
//** Thumbnail border color
|
546
689
|
@thumbnail-border: #ddd;
|
690
|
+
//** Thumbnail border radius
|
547
691
|
@thumbnail-border-radius: @border-radius-base;
|
548
692
|
|
693
|
+
//** Custom text color for thumbnail captions
|
549
694
|
@thumbnail-caption-color: @text-color;
|
695
|
+
//** Padding around the thumbnail caption
|
550
696
|
@thumbnail-caption-padding: 9px;
|
551
697
|
|
552
698
|
|
553
|
-
|
554
|
-
//
|
699
|
+
//== Wells
|
700
|
+
//
|
701
|
+
//##
|
702
|
+
|
555
703
|
@well-bg: #f5f5f5;
|
704
|
+
@well-border: darken(@well-bg, 7%);
|
556
705
|
|
557
706
|
|
558
|
-
|
559
|
-
//
|
707
|
+
//== Badges
|
708
|
+
//
|
709
|
+
//##
|
710
|
+
|
560
711
|
@badge-color: #fff;
|
712
|
+
//** Linked badge text color on hover
|
561
713
|
@badge-link-hover-color: #fff;
|
562
714
|
@badge-bg: @gray-light;
|
563
715
|
|
716
|
+
//** Badge text color in active nav link
|
564
717
|
@badge-active-color: @link-color;
|
718
|
+
//** Badge background color in active nav link
|
565
719
|
@badge-active-bg: #fff;
|
566
720
|
|
567
721
|
@badge-font-weight: bold;
|
@@ -569,16 +723,25 @@
|
|
569
723
|
@badge-border-radius: 10px;
|
570
724
|
|
571
725
|
|
572
|
-
|
573
|
-
//
|
574
|
-
|
575
|
-
|
576
|
-
@breadcrumb-
|
577
|
-
@breadcrumb-
|
726
|
+
//== Breadcrumbs
|
727
|
+
//
|
728
|
+
//##
|
729
|
+
|
730
|
+
@breadcrumb-padding-vertical: 8px;
|
731
|
+
@breadcrumb-padding-horizontal: 15px;
|
732
|
+
//** Breadcrumb background color
|
733
|
+
@breadcrumb-bg: #f5f5f5;
|
734
|
+
//** Breadcrumb text color
|
735
|
+
@breadcrumb-color: #ccc;
|
736
|
+
//** Text color of current page in the breadcrumb
|
737
|
+
@breadcrumb-active-color: @gray-light;
|
738
|
+
//** Textual separator for between breadcrumb elements
|
739
|
+
@breadcrumb-separator: "/";
|
578
740
|
|
579
741
|
|
580
|
-
|
581
|
-
//
|
742
|
+
//== Carousel
|
743
|
+
//
|
744
|
+
//##
|
582
745
|
|
583
746
|
@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
|
584
747
|
|
@@ -593,53 +756,75 @@
|
|
593
756
|
@carousel-caption-color: #fff;
|
594
757
|
|
595
758
|
|
596
|
-
|
597
|
-
//
|
759
|
+
//== Close
|
760
|
+
//
|
761
|
+
//##
|
762
|
+
|
598
763
|
@close-font-weight: bold;
|
599
764
|
@close-color: #000;
|
600
765
|
@close-text-shadow: 0 1px 0 #fff;
|
601
766
|
|
602
767
|
|
603
|
-
|
604
|
-
//
|
768
|
+
//== Code
|
769
|
+
//
|
770
|
+
//##
|
771
|
+
|
605
772
|
@code-color: #c7254e;
|
606
773
|
@code-bg: #f9f2f4;
|
607
774
|
|
775
|
+
@kbd-color: #fff;
|
776
|
+
@kbd-bg: #333;
|
777
|
+
|
608
778
|
@pre-bg: #f5f5f5;
|
609
779
|
@pre-color: @gray-dark;
|
610
780
|
@pre-border-color: #ccc;
|
611
781
|
@pre-scrollable-max-height: 340px;
|
612
782
|
|
613
|
-
|
614
|
-
|
783
|
+
|
784
|
+
//== Type
|
785
|
+
//
|
786
|
+
//##
|
787
|
+
|
788
|
+
//** Text muted color
|
615
789
|
@text-muted: @gray-light;
|
790
|
+
//** Abbreviations and acronyms border color
|
616
791
|
@abbr-border-color: @gray-light;
|
792
|
+
//** Headings small color
|
617
793
|
@headings-small-color: @gray-light;
|
794
|
+
//** Blockquote small color
|
618
795
|
@blockquote-small-color: @gray-light;
|
796
|
+
//** Blockquote border color
|
619
797
|
@blockquote-border-color: @gray-lighter;
|
798
|
+
//** Page header border color
|
620
799
|
@page-header-border-color: @gray-lighter;
|
621
800
|
|
622
|
-
// Miscellaneous
|
623
|
-
// -------------------------
|
624
801
|
|
625
|
-
|
802
|
+
//== Miscellaneous
|
803
|
+
//
|
804
|
+
//##
|
805
|
+
|
806
|
+
//** Horizontal line color.
|
626
807
|
@hr-border: @gray-lighter;
|
627
808
|
|
628
|
-
|
809
|
+
//** Horizontal offset for forms and lists.
|
629
810
|
@component-offset-horizontal: 180px;
|
630
811
|
|
631
812
|
|
632
|
-
|
633
|
-
//
|
813
|
+
//== Container sizes
|
814
|
+
//
|
815
|
+
//## Define the maximum width of `.container` for different screen sizes.
|
634
816
|
|
635
817
|
// Small screen / tablet
|
636
818
|
@container-tablet: ((720px + @grid-gutter-width));
|
819
|
+
//** For `@screen-sm-min` and up.
|
637
820
|
@container-sm: @container-tablet;
|
638
821
|
|
639
822
|
// Medium screen / desktop
|
640
823
|
@container-desktop: ((940px + @grid-gutter-width));
|
824
|
+
//** For `@screen-md-min` and up.
|
641
825
|
@container-md: @container-desktop;
|
642
826
|
|
643
827
|
// Large screen / wide desktop
|
644
828
|
@container-large-desktop: ((1140px + @grid-gutter-width));
|
829
|
+
//** For `@screen-lg-min` and up.
|
645
830
|
@container-lg: @container-large-desktop;
|