bootstrap-on-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +28 -1
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +200 -199
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/bootstrap/affix.js +4 -4
- data/app/assets/javascripts/bootstrap/alert.js +3 -3
- data/app/assets/javascripts/bootstrap/button.js +3 -3
- data/app/assets/javascripts/bootstrap/carousel.js +4 -4
- data/app/assets/javascripts/bootstrap/collapse.js +4 -4
- data/app/assets/javascripts/bootstrap/dropdown.js +4 -4
- data/app/assets/javascripts/bootstrap/modal.js +4 -4
- data/app/assets/javascripts/bootstrap/popover.js +4 -4
- data/app/assets/javascripts/bootstrap/scrollspy.js +4 -4
- data/app/assets/javascripts/bootstrap/tab.js +5 -5
- data/app/assets/javascripts/bootstrap/tooltip.js +4 -4
- data/app/assets/javascripts/bootstrap/transition.js +3 -3
- data/app/assets/stylesheets/bootstrap/alerts.less +1 -1
- data/app/assets/stylesheets/bootstrap/badges.less +0 -0
- data/app/assets/stylesheets/bootstrap/bootstrap.less +0 -10
- data/app/assets/stylesheets/bootstrap/breadcrumbs.less +2 -2
- data/app/assets/stylesheets/bootstrap/button-groups.less +6 -1
- data/app/assets/stylesheets/bootstrap/buttons.less +2 -4
- data/app/assets/stylesheets/bootstrap/carousel.less +32 -10
- data/app/assets/stylesheets/bootstrap/close.less +0 -0
- data/app/assets/stylesheets/bootstrap/code.less +5 -8
- data/app/assets/stylesheets/bootstrap/component-animations.less +0 -0
- data/app/assets/stylesheets/bootstrap/dropdowns.less +1 -2
- data/app/assets/stylesheets/bootstrap/forms.less +12 -10
- data/app/assets/stylesheets/bootstrap/glyphicons.less +13 -12
- data/app/assets/stylesheets/bootstrap/grid.less +32 -285
- data/app/assets/stylesheets/bootstrap/input-groups.less +9 -0
- data/app/assets/stylesheets/bootstrap/jumbotron.less +2 -2
- data/app/assets/stylesheets/bootstrap/labels.less +0 -0
- data/app/assets/stylesheets/bootstrap/list-group.less +12 -12
- data/app/assets/stylesheets/bootstrap/media.less +0 -0
- data/app/assets/stylesheets/bootstrap/mixins.less +131 -17
- data/app/assets/stylesheets/bootstrap/modals.less +2 -11
- data/app/assets/stylesheets/bootstrap/navbar.less +10 -7
- data/app/assets/stylesheets/bootstrap/navs.less +52 -19
- data/app/assets/stylesheets/bootstrap/normalize.less +16 -6
- data/app/assets/stylesheets/bootstrap/pager.less +0 -0
- data/app/assets/stylesheets/bootstrap/pagination.less +0 -0
- data/app/assets/stylesheets/bootstrap/panels.less +31 -7
- data/app/assets/stylesheets/bootstrap/popovers.less +0 -0
- data/app/assets/stylesheets/bootstrap/print.less +6 -1
- data/app/assets/stylesheets/bootstrap/progress-bars.less +4 -7
- data/app/assets/stylesheets/bootstrap/responsive-utilities.less +13 -24
- data/app/assets/stylesheets/bootstrap/scaffolding.less +1 -12
- data/app/assets/stylesheets/bootstrap/tables.less +37 -39
- data/app/assets/stylesheets/bootstrap/theme.less +17 -11
- data/app/assets/stylesheets/bootstrap/thumbnails.less +14 -15
- data/app/assets/stylesheets/bootstrap/tooltip.less +8 -8
- data/app/assets/stylesheets/bootstrap/type.less +58 -21
- data/app/assets/stylesheets/bootstrap/utilities.less +14 -0
- data/app/assets/stylesheets/bootstrap/variables.less +36 -34
- data/app/assets/stylesheets/bootstrap/wells.less +0 -0
- data/bootstrap-on-rails.gemspec +2 -0
- data/lib/bootstrap-on-rails.rb +1 -0
- data/lib/bootstrap-on-rails/version.rb +1 -1
- metadata +24 -11
@@ -31,8 +31,9 @@
|
|
31
31
|
}
|
32
32
|
|
33
33
|
// Mixin for generating new styles
|
34
|
-
.btn-styles(@btn-color: #555
|
34
|
+
.btn-styles(@btn-color: #555) {
|
35
35
|
#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
|
36
|
+
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
|
36
37
|
background-repeat: repeat-x;
|
37
38
|
border-color: darken(@btn-color, 14%);
|
38
39
|
|
@@ -59,7 +60,7 @@
|
|
59
60
|
}
|
60
61
|
|
61
62
|
// Apply the mixin to the buttons
|
62
|
-
.btn-default { .btn-styles(@btn-default-bg
|
63
|
+
.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
|
63
64
|
.btn-primary { .btn-styles(@btn-primary-bg); }
|
64
65
|
.btn-success { .btn-styles(@btn-success-bg); }
|
65
66
|
.btn-warning { .btn-styles(@btn-warning-bg); }
|
@@ -84,12 +85,15 @@
|
|
84
85
|
// --------------------------------------------------
|
85
86
|
|
86
87
|
.dropdown-menu > li > a:hover,
|
87
|
-
.dropdown-menu > li > a:focus
|
88
|
+
.dropdown-menu > li > a:focus {
|
89
|
+
#gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
|
90
|
+
background-color: darken(@dropdown-link-hover-bg, 5%);
|
91
|
+
}
|
88
92
|
.dropdown-menu > .active > a,
|
89
93
|
.dropdown-menu > .active > a:hover,
|
90
94
|
.dropdown-menu > .active > a:focus {
|
91
|
-
#gradient > .vertical(@start-color: @dropdown-link-
|
92
|
-
background-color: darken(@dropdown-link-
|
95
|
+
#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
|
96
|
+
background-color: darken(@dropdown-link-active-bg, 5%);
|
93
97
|
}
|
94
98
|
|
95
99
|
|
@@ -100,13 +104,14 @@
|
|
100
104
|
|
101
105
|
// Default navbar
|
102
106
|
.navbar-default {
|
103
|
-
#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg
|
107
|
+
#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);
|
108
|
+
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
104
109
|
border-radius: @navbar-border-radius;
|
105
110
|
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
|
106
111
|
.box-shadow(@shadow);
|
107
112
|
|
108
113
|
.navbar-nav > .active > a {
|
109
|
-
#gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%)
|
114
|
+
#gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));
|
110
115
|
.box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
|
111
116
|
}
|
112
117
|
}
|
@@ -117,10 +122,11 @@
|
|
117
122
|
|
118
123
|
// Inverted navbar
|
119
124
|
.navbar-inverse {
|
120
|
-
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg
|
125
|
+
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
|
126
|
+
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
121
127
|
|
122
128
|
.navbar-nav > .active > a {
|
123
|
-
#gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%)
|
129
|
+
#gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));
|
124
130
|
.box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
|
125
131
|
}
|
126
132
|
|
@@ -170,7 +176,7 @@
|
|
170
176
|
|
171
177
|
// Give the progress background some depth
|
172
178
|
.progress {
|
173
|
-
#gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg
|
179
|
+
#gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)
|
174
180
|
}
|
175
181
|
|
176
182
|
// Mixin for generating new styles
|
@@ -234,7 +240,7 @@
|
|
234
240
|
// --------------------------------------------------
|
235
241
|
|
236
242
|
.well {
|
237
|
-
#gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg
|
243
|
+
#gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);
|
238
244
|
border-color: darken(@well-bg, 10%);
|
239
245
|
@shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
|
240
246
|
.box-shadow(@shadow);
|
@@ -7,25 +7,24 @@
|
|
7
7
|
.thumbnail {
|
8
8
|
.img-thumbnail();
|
9
9
|
display: block; // Override the inline-block from `.img-thumbnail`
|
10
|
+
margin-bottom: @line-height-computed;
|
10
11
|
|
11
12
|
> img {
|
12
13
|
.img-responsive();
|
14
|
+
margin-left: auto;
|
15
|
+
margin-right: auto;
|
13
16
|
}
|
14
|
-
}
|
15
|
-
|
16
17
|
|
17
|
-
// Add a hover state for linked versions only
|
18
|
-
a
|
19
|
-
a
|
20
|
-
|
21
|
-
|
18
|
+
// Add a hover state for linked versions only
|
19
|
+
a&:hover,
|
20
|
+
a&:focus,
|
21
|
+
a&.active {
|
22
|
+
border-color: @link-color;
|
23
|
+
}
|
22
24
|
|
23
|
-
//
|
24
|
-
.
|
25
|
-
|
26
|
-
|
27
|
-
}
|
28
|
-
.thumbnail .caption {
|
29
|
-
padding: @thumbnail-caption-padding;
|
30
|
-
color: @thumbnail-caption-color;
|
25
|
+
// Image captions
|
26
|
+
.caption {
|
27
|
+
padding: @thumbnail-caption-padding;
|
28
|
+
color: @thumbnail-caption-color;
|
29
|
+
}
|
31
30
|
}
|
@@ -14,10 +14,10 @@
|
|
14
14
|
.opacity(0);
|
15
15
|
|
16
16
|
&.in { .opacity(.9); }
|
17
|
-
&.top { margin-top: -3px; padding:
|
18
|
-
&.right { margin-left: 3px; padding: 0
|
19
|
-
&.bottom { margin-top: 3px; padding:
|
20
|
-
&.left { margin-left: -3px; padding: 0
|
17
|
+
&.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
|
18
|
+
&.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
|
19
|
+
&.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
|
20
|
+
&.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
|
21
21
|
}
|
22
22
|
|
23
23
|
// Wrapper for the tooltip content
|
@@ -49,13 +49,13 @@
|
|
49
49
|
}
|
50
50
|
&.top-left .tooltip-arrow {
|
51
51
|
bottom: 0;
|
52
|
-
left:
|
52
|
+
left: @tooltip-arrow-width;
|
53
53
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
54
54
|
border-top-color: @tooltip-arrow-color;
|
55
55
|
}
|
56
56
|
&.top-right .tooltip-arrow {
|
57
57
|
bottom: 0;
|
58
|
-
right:
|
58
|
+
right: @tooltip-arrow-width;
|
59
59
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
60
60
|
border-top-color: @tooltip-arrow-color;
|
61
61
|
}
|
@@ -82,13 +82,13 @@
|
|
82
82
|
}
|
83
83
|
&.bottom-left .tooltip-arrow {
|
84
84
|
top: 0;
|
85
|
-
left:
|
85
|
+
left: @tooltip-arrow-width;
|
86
86
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
87
87
|
border-bottom-color: @tooltip-arrow-color;
|
88
88
|
}
|
89
89
|
&.bottom-right .tooltip-arrow {
|
90
90
|
top: 0;
|
91
|
-
right:
|
91
|
+
right: @tooltip-arrow-width;
|
92
92
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
93
93
|
border-bottom-color: @tooltip-arrow-color;
|
94
94
|
}
|
@@ -11,11 +11,11 @@ p {
|
|
11
11
|
}
|
12
12
|
.lead {
|
13
13
|
margin-bottom: @line-height-computed;
|
14
|
-
font-size: (@font-size-base * 1.15);
|
14
|
+
font-size: floor(@font-size-base * 1.15);
|
15
15
|
font-weight: 200;
|
16
16
|
line-height: 1.4;
|
17
17
|
|
18
|
-
@media (min-width:
|
18
|
+
@media (min-width: @screen-sm-min) {
|
19
19
|
font-size: (@font-size-base * 1.5);
|
20
20
|
}
|
21
21
|
}
|
@@ -25,18 +25,46 @@ p {
|
|
25
25
|
// -------------------------
|
26
26
|
|
27
27
|
// Ex: 14px base font * 85% = about 12px
|
28
|
-
small
|
28
|
+
small,
|
29
|
+
.small { font-size: 85%; }
|
29
30
|
|
30
31
|
// Undo browser default styling
|
31
32
|
cite { font-style: normal; }
|
32
33
|
|
33
34
|
// Contextual emphasis
|
34
|
-
.text-muted
|
35
|
-
|
36
|
-
|
37
|
-
.text-
|
38
|
-
|
39
|
-
|
35
|
+
.text-muted {
|
36
|
+
color: @text-muted;
|
37
|
+
}
|
38
|
+
.text-primary {
|
39
|
+
color: @brand-primary;
|
40
|
+
&:hover {
|
41
|
+
color: darken(@brand-primary, 10%);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
.text-warning {
|
45
|
+
color: @state-warning-text;
|
46
|
+
&:hover {
|
47
|
+
color: darken(@state-warning-text, 10%);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
.text-danger {
|
51
|
+
color: @state-danger-text;
|
52
|
+
&:hover {
|
53
|
+
color: darken(@state-danger-text, 10%);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
.text-success {
|
57
|
+
color: @state-success-text;
|
58
|
+
&:hover {
|
59
|
+
color: darken(@state-success-text, 10%);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
.text-info {
|
63
|
+
color: @state-info-text;
|
64
|
+
&:hover {
|
65
|
+
color: darken(@state-info-text, 10%);
|
66
|
+
}
|
67
|
+
}
|
40
68
|
|
41
69
|
// Alignment
|
42
70
|
.text-left { text-align: left; }
|
@@ -52,8 +80,10 @@ h1, h2, h3, h4, h5, h6,
|
|
52
80
|
font-family: @headings-font-family;
|
53
81
|
font-weight: @headings-font-weight;
|
54
82
|
line-height: @headings-line-height;
|
83
|
+
color: @headings-color;
|
55
84
|
|
56
|
-
small
|
85
|
+
small,
|
86
|
+
.small {
|
57
87
|
font-weight: normal;
|
58
88
|
line-height: 1;
|
59
89
|
color: @headings-small-color;
|
@@ -66,7 +96,8 @@ h3 {
|
|
66
96
|
margin-top: @line-height-computed;
|
67
97
|
margin-bottom: (@line-height-computed / 2);
|
68
98
|
|
69
|
-
small
|
99
|
+
small,
|
100
|
+
.small {
|
70
101
|
font-size: 65%;
|
71
102
|
}
|
72
103
|
}
|
@@ -76,7 +107,8 @@ h6 {
|
|
76
107
|
margin-top: (@line-height-computed / 2);
|
77
108
|
margin-bottom: (@line-height-computed / 2);
|
78
109
|
|
79
|
-
small
|
110
|
+
small,
|
111
|
+
.small {
|
80
112
|
font-size: 75%;
|
81
113
|
}
|
82
114
|
}
|
@@ -109,7 +141,7 @@ ol {
|
|
109
141
|
margin-top: 0;
|
110
142
|
margin-bottom: (@line-height-computed / 2);
|
111
143
|
ul,
|
112
|
-
ol{
|
144
|
+
ol {
|
113
145
|
margin-bottom: 0;
|
114
146
|
}
|
115
147
|
}
|
@@ -121,13 +153,19 @@ ol {
|
|
121
153
|
padding-left: 0;
|
122
154
|
list-style: none;
|
123
155
|
}
|
156
|
+
|
124
157
|
// Inline turns list items into inline-block
|
125
158
|
.list-inline {
|
126
159
|
.list-unstyled();
|
160
|
+
|
127
161
|
> li {
|
128
162
|
display: inline-block;
|
129
163
|
padding-left: 5px;
|
130
164
|
padding-right: 5px;
|
165
|
+
|
166
|
+
&:first-child {
|
167
|
+
padding-left: 0;
|
168
|
+
}
|
131
169
|
}
|
132
170
|
}
|
133
171
|
|
@@ -172,7 +210,7 @@ dd {
|
|
172
210
|
|
173
211
|
// Abbreviations and acronyms
|
174
212
|
abbr[title],
|
175
|
-
//
|
213
|
+
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
176
214
|
abbr[data-original-title] {
|
177
215
|
cursor: help;
|
178
216
|
border-bottom: 1px dotted @abbr-border-color;
|
@@ -200,7 +238,7 @@ blockquote {
|
|
200
238
|
line-height: @line-height-base;
|
201
239
|
color: @blockquote-small-color;
|
202
240
|
&:before {
|
203
|
-
content: '\2014 \00A0'
|
241
|
+
content: '\2014 \00A0'; // EM DASH, NBSP
|
204
242
|
}
|
205
243
|
}
|
206
244
|
|
@@ -211,23 +249,23 @@ blockquote {
|
|
211
249
|
border-right: 5px solid @blockquote-border-color;
|
212
250
|
border-left: 0;
|
213
251
|
p,
|
214
|
-
small
|
252
|
+
small,
|
253
|
+
.small {
|
215
254
|
text-align: right;
|
216
255
|
}
|
217
|
-
small
|
256
|
+
small,
|
257
|
+
.small {
|
218
258
|
&:before {
|
219
259
|
content: '';
|
220
260
|
}
|
221
261
|
&:after {
|
222
|
-
content: '\00A0 \2014'
|
262
|
+
content: '\00A0 \2014'; // NBSP, EM DASH
|
223
263
|
}
|
224
264
|
}
|
225
265
|
}
|
226
266
|
}
|
227
267
|
|
228
268
|
// Quotes
|
229
|
-
q:before,
|
230
|
-
q:after,
|
231
269
|
blockquote:before,
|
232
270
|
blockquote:after {
|
233
271
|
content: "";
|
@@ -235,7 +273,6 @@ blockquote:after {
|
|
235
273
|
|
236
274
|
// Addresses
|
237
275
|
address {
|
238
|
-
display: block;
|
239
276
|
margin-bottom: @line-height-computed;
|
240
277
|
font-style: normal;
|
241
278
|
line-height: @line-height-base;
|
@@ -9,6 +9,9 @@
|
|
9
9
|
.clearfix {
|
10
10
|
.clearfix();
|
11
11
|
}
|
12
|
+
.center-block {
|
13
|
+
.center-block();
|
14
|
+
}
|
12
15
|
.pull-right {
|
13
16
|
float: right !important;
|
14
17
|
}
|
@@ -20,6 +23,7 @@
|
|
20
23
|
// Toggling content
|
21
24
|
// -------------------------
|
22
25
|
|
26
|
+
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
23
27
|
.hide {
|
24
28
|
display: none !important;
|
25
29
|
}
|
@@ -34,6 +38,16 @@
|
|
34
38
|
}
|
35
39
|
|
36
40
|
|
41
|
+
// Hide from screenreaders and browsers
|
42
|
+
//
|
43
|
+
// Credit: HTML5 Boilerplate
|
44
|
+
|
45
|
+
.hidden {
|
46
|
+
display: none !important;
|
47
|
+
visibility: hidden !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
|
37
51
|
// For Affix plugin
|
38
52
|
// -------------------------
|
39
53
|
|
@@ -48,9 +48,9 @@
|
|
48
48
|
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
|
49
49
|
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
|
50
50
|
|
51
|
-
@font-size-h1: floor(@font-size-base * 2.
|
51
|
+
@font-size-h1: floor(@font-size-base * 2.6); // ~36px
|
52
52
|
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
|
53
|
-
@font-size-h3: ceil(@font-size-base * 1.
|
53
|
+
@font-size-h3: ceil(@font-size-base * 1.7); // ~24px
|
54
54
|
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
|
55
55
|
@font-size-h5: @font-size-base;
|
56
56
|
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
|
@@ -61,6 +61,8 @@
|
|
61
61
|
@headings-font-family: @font-family-base;
|
62
62
|
@headings-font-weight: 500;
|
63
63
|
@headings-line-height: 1.1;
|
64
|
+
@headings-color: inherit;
|
65
|
+
|
64
66
|
|
65
67
|
// Iconography
|
66
68
|
// -------------------------
|
@@ -89,6 +91,7 @@
|
|
89
91
|
@border-radius-large: 6px;
|
90
92
|
@border-radius-small: 3px;
|
91
93
|
|
94
|
+
@component-active-color: #fff;
|
92
95
|
@component-active-bg: @brand-primary;
|
93
96
|
|
94
97
|
@caret-width-base: 4px;
|
@@ -172,12 +175,12 @@
|
|
172
175
|
@dropdown-fallback-border: #ccc;
|
173
176
|
@dropdown-divider-bg: #e5e5e5;
|
174
177
|
|
175
|
-
@dropdown-link-active-color: #fff;
|
176
|
-
@dropdown-link-active-bg: @component-active-bg;
|
177
|
-
|
178
178
|
@dropdown-link-color: @gray-dark;
|
179
|
-
@dropdown-link-hover-color:
|
180
|
-
@dropdown-link-hover-bg:
|
179
|
+
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
180
|
+
@dropdown-link-hover-bg: #f5f5f5;
|
181
|
+
|
182
|
+
@dropdown-link-active-color: @component-active-color;
|
183
|
+
@dropdown-link-active-bg: @component-active-bg;
|
181
184
|
|
182
185
|
@dropdown-link-disabled-color: @gray-light;
|
183
186
|
|
@@ -244,7 +247,7 @@
|
|
244
247
|
// Padding, to be divided by two and applied to the left and right of all columns
|
245
248
|
@grid-gutter-width: 30px;
|
246
249
|
// Point at which the navbar stops collapsing
|
247
|
-
@grid-float-breakpoint: @screen-sm;
|
250
|
+
@grid-float-breakpoint: @screen-sm-min;
|
248
251
|
|
249
252
|
|
250
253
|
// Navbar
|
@@ -253,13 +256,14 @@
|
|
253
256
|
// Basics of a navbar
|
254
257
|
@navbar-height: 50px;
|
255
258
|
@navbar-margin-bottom: @line-height-computed;
|
256
|
-
@navbar-default-color: #777;
|
257
|
-
@navbar-default-bg: #f8f8f8;
|
258
|
-
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
259
259
|
@navbar-border-radius: @border-radius-base;
|
260
260
|
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
|
261
261
|
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
262
262
|
|
263
|
+
@navbar-default-color: #777;
|
264
|
+
@navbar-default-bg: #f8f8f8;
|
265
|
+
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
266
|
+
|
263
267
|
// Navbar links
|
264
268
|
@navbar-default-link-color: #777;
|
265
269
|
@navbar-default-link-hover-color: #333;
|
@@ -271,7 +275,7 @@
|
|
271
275
|
|
272
276
|
// Navbar brand label
|
273
277
|
@navbar-default-brand-color: @navbar-default-link-color;
|
274
|
-
@navbar-default-brand-hover-color: darken(@navbar-default-
|
278
|
+
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
|
275
279
|
@navbar-default-brand-hover-bg: transparent;
|
276
280
|
|
277
281
|
// Navbar toggle
|
@@ -301,13 +305,6 @@
|
|
301
305
|
@navbar-inverse-brand-hover-color: #fff;
|
302
306
|
@navbar-inverse-brand-hover-bg: transparent;
|
303
307
|
|
304
|
-
// Inverted navbar search
|
305
|
-
// Normal navbar needs no special styles or vars
|
306
|
-
@navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);
|
307
|
-
@navbar-inverse-search-bg-focus: #fff;
|
308
|
-
@navbar-inverse-search-border: @navbar-inverse-bg;
|
309
|
-
@navbar-inverse-search-placeholder-color: #ccc;
|
310
|
-
|
311
308
|
// Inverted navbar toggle
|
312
309
|
@navbar-inverse-toggle-hover-bg: #333;
|
313
310
|
@navbar-inverse-toggle-icon-bar-bg: #fff;
|
@@ -339,8 +336,9 @@
|
|
339
336
|
@nav-tabs-justified-active-link-border-color: @body-bg;
|
340
337
|
|
341
338
|
// Pills
|
339
|
+
@nav-pills-border-radius: @border-radius-base;
|
342
340
|
@nav-pills-active-link-hover-bg: @component-active-bg;
|
343
|
-
@nav-pills-active-link-hover-color:
|
341
|
+
@nav-pills-active-link-hover-color: @component-active-color;
|
344
342
|
|
345
343
|
|
346
344
|
// Pagination
|
@@ -370,21 +368,13 @@
|
|
370
368
|
@jumbotron-padding: 30px;
|
371
369
|
@jumbotron-color: inherit;
|
372
370
|
@jumbotron-bg: @gray-lighter;
|
373
|
-
|
374
371
|
@jumbotron-heading-color: inherit;
|
372
|
+
@jumbotron-font-size: ceil(@font-size-base * 1.5);
|
375
373
|
|
376
374
|
|
377
375
|
// Form states and alerts
|
378
376
|
// -------------------------
|
379
377
|
|
380
|
-
@state-warning-text: #c09853;
|
381
|
-
@state-warning-bg: #fcf8e3;
|
382
|
-
@state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
|
383
|
-
|
384
|
-
@state-danger-text: #b94a48;
|
385
|
-
@state-danger-bg: #f2dede;
|
386
|
-
@state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
|
387
|
-
|
388
378
|
@state-success-text: #468847;
|
389
379
|
@state-success-bg: #dff0d8;
|
390
380
|
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
@@ -393,6 +383,14 @@
|
|
393
383
|
@state-info-bg: #d9edf7;
|
394
384
|
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
395
385
|
|
386
|
+
@state-warning-text: #c09853;
|
387
|
+
@state-warning-bg: #fcf8e3;
|
388
|
+
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
389
|
+
|
390
|
+
@state-danger-text: #b94a48;
|
391
|
+
@state-danger-bg: #f2dede;
|
392
|
+
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
393
|
+
|
396
394
|
|
397
395
|
// Tooltips
|
398
396
|
// -------------------------
|
@@ -493,7 +491,7 @@
|
|
493
491
|
@list-group-border-radius: @border-radius-base;
|
494
492
|
|
495
493
|
@list-group-hover-bg: #f5f5f5;
|
496
|
-
@list-group-active-color:
|
494
|
+
@list-group-active-color: @component-active-color;
|
497
495
|
@list-group-active-bg: @component-active-bg;
|
498
496
|
@list-group-active-border: @list-group-active-bg;
|
499
497
|
|
@@ -568,6 +566,7 @@
|
|
568
566
|
@breadcrumb-bg: #f5f5f5;
|
569
567
|
@breadcrumb-color: #ccc;
|
570
568
|
@breadcrumb-active-color: @gray-light;
|
569
|
+
@breadcrumb-separator: "/";
|
571
570
|
|
572
571
|
|
573
572
|
// Carousel
|
@@ -588,8 +587,8 @@
|
|
588
587
|
|
589
588
|
// Close
|
590
589
|
// ------------------------
|
591
|
-
@close-color: #000;
|
592
590
|
@close-font-weight: bold;
|
591
|
+
@close-color: #000;
|
593
592
|
@close-text-shadow: 0 1px 0 #fff;
|
594
593
|
|
595
594
|
|
@@ -626,10 +625,13 @@
|
|
626
625
|
// --------------------------------------------------
|
627
626
|
|
628
627
|
// Small screen / tablet
|
629
|
-
@container-tablet:
|
628
|
+
@container-tablet: ((720px + @grid-gutter-width));
|
629
|
+
@container-sm: @container-tablet;
|
630
630
|
|
631
631
|
// Medium screen / desktop
|
632
|
-
@container-desktop:
|
632
|
+
@container-desktop: ((940px + @grid-gutter-width));
|
633
|
+
@container-md: @container-desktop;
|
633
634
|
|
634
635
|
// Large screen / wide desktop
|
635
|
-
@container-
|
636
|
+
@container-large-desktop: ((1140px + @grid-gutter-width));
|
637
|
+
@container-lg: @container-large-desktop;
|