twitter-bootswatch-rails 3.0.0.2 → 3.0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +200 -199
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/twitter/bootstrap/affix.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/button.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/modal.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/popover.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/tab.js +3 -3
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -1
- data/lib/generators/bootswatch/install/templates/bootstrap.less +0 -10
- data/lib/generators/bootswatch/install/templates/mixins.less.tt +164 -29
- data/lib/generators/bootswatch/install/templates/variables.less.tt +56 -39
- data/lib/twitter/bootswatch/rails/version.rb +1 -1
- data/vendor/toolkit/twitter/bootstrap/alerts.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +0 -10
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +2 -2
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +6 -1
- data/vendor/toolkit/twitter/bootstrap/buttons.less +2 -4
- data/vendor/toolkit/twitter/bootstrap/carousel.less +32 -10
- data/vendor/toolkit/twitter/bootstrap/code.less +5 -8
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +1 -2
- data/vendor/toolkit/twitter/bootstrap/forms.less +16 -3
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +16 -11
- data/vendor/toolkit/twitter/bootstrap/grid.less +32 -285
- data/vendor/toolkit/twitter/bootstrap/input-groups.less +9 -0
- data/vendor/toolkit/twitter/bootstrap/jumbotron.less +2 -2
- data/vendor/toolkit/twitter/bootstrap/list-group.less +12 -12
- data/vendor/toolkit/twitter/bootstrap/mixins.less +164 -29
- data/vendor/toolkit/twitter/bootstrap/modals.less +2 -11
- data/vendor/toolkit/twitter/bootstrap/navbar.less +10 -7
- data/vendor/toolkit/twitter/bootstrap/navs.less +53 -20
- data/vendor/toolkit/twitter/bootstrap/normalize.less +16 -6
- data/vendor/toolkit/twitter/bootstrap/pagination.less +2 -0
- data/vendor/toolkit/twitter/bootstrap/panels.less +31 -7
- data/vendor/toolkit/twitter/bootstrap/print.less +6 -1
- data/vendor/toolkit/twitter/bootstrap/progress-bars.less +4 -7
- data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +57 -68
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +1 -12
- data/vendor/toolkit/twitter/bootstrap/tables.less +40 -40
- data/vendor/toolkit/twitter/bootstrap/theme.less +32 -17
- data/vendor/toolkit/twitter/bootstrap/thumbnails.less +6 -6
- data/vendor/toolkit/twitter/bootstrap/tooltip.less +8 -8
- data/vendor/toolkit/twitter/bootstrap/type.less +71 -30
- data/vendor/toolkit/twitter/bootstrap/utilities.less +15 -1
- data/vendor/toolkit/twitter/bootstrap/variables.less +56 -39
- metadata +3 -3
@@ -51,12 +51,21 @@
|
|
51
51
|
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
|
52
52
|
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
|
53
53
|
|
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
|
58
|
+
@font-size-h5: @font-size-base;
|
59
|
+
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
|
60
|
+
|
54
61
|
@line-height-base: 1.428571429; // 20/14
|
55
62
|
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
|
56
63
|
|
57
64
|
@headings-font-family: @font-family-base;
|
58
65
|
@headings-font-weight: 500;
|
59
66
|
@headings-line-height: 1.1;
|
67
|
+
@headings-color: inherit;
|
68
|
+
|
60
69
|
|
61
70
|
// Iconography
|
62
71
|
// -------------------------
|
@@ -85,6 +94,7 @@
|
|
85
94
|
@border-radius-large: 6px;
|
86
95
|
@border-radius-small: 3px;
|
87
96
|
|
97
|
+
@component-active-color: #fff;
|
88
98
|
@component-active-bg: @brand-primary;
|
89
99
|
|
90
100
|
@caret-width-base: 4px;
|
@@ -168,12 +178,12 @@
|
|
168
178
|
@dropdown-fallback-border: #ccc;
|
169
179
|
@dropdown-divider-bg: #e5e5e5;
|
170
180
|
|
171
|
-
@dropdown-link-active-color: #fff;
|
172
|
-
@dropdown-link-active-bg: @component-active-bg;
|
173
|
-
|
174
181
|
@dropdown-link-color: @gray-dark;
|
175
|
-
@dropdown-link-hover-color:
|
176
|
-
@dropdown-link-hover-bg:
|
182
|
+
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
183
|
+
@dropdown-link-hover-bg: #f5f5f5;
|
184
|
+
|
185
|
+
@dropdown-link-active-color: @component-active-color;
|
186
|
+
@dropdown-link-active-bg: @component-active-bg;
|
177
187
|
|
178
188
|
@dropdown-link-disabled-color: @gray-light;
|
179
189
|
|
@@ -203,25 +213,33 @@
|
|
203
213
|
// --------------------------------------------------
|
204
214
|
|
205
215
|
// Extra small screen / phone
|
216
|
+
// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
|
206
217
|
@screen-xs: 480px;
|
207
|
-
@screen-
|
218
|
+
@screen-xs-min: @screen-xs;
|
219
|
+
@screen-phone: @screen-xs-min;
|
208
220
|
|
209
221
|
// Small screen / tablet
|
222
|
+
// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
|
210
223
|
@screen-sm: 768px;
|
211
|
-
@screen-
|
224
|
+
@screen-sm-min: @screen-sm;
|
225
|
+
@screen-tablet: @screen-sm-min;
|
212
226
|
|
213
227
|
// Medium screen / desktop
|
228
|
+
// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
|
214
229
|
@screen-md: 992px;
|
215
|
-
@screen-
|
230
|
+
@screen-md-min: @screen-md;
|
231
|
+
@screen-desktop: @screen-md-min;
|
216
232
|
|
217
233
|
// Large screen / wide desktop
|
234
|
+
// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
|
218
235
|
@screen-lg: 1200px;
|
219
|
-
@screen-lg-
|
236
|
+
@screen-lg-min: @screen-lg;
|
237
|
+
@screen-lg-desktop: @screen-lg-min;
|
220
238
|
|
221
239
|
// So media queries don't overlap when required, provide a maximum
|
222
|
-
@screen-xs-max: (@screen-sm - 1);
|
223
|
-
@screen-sm-max: (@screen-md - 1);
|
224
|
-
@screen-md-max: (@screen-lg - 1);
|
240
|
+
@screen-xs-max: (@screen-sm-min - 1);
|
241
|
+
@screen-sm-max: (@screen-md-min - 1);
|
242
|
+
@screen-md-max: (@screen-lg-min - 1);
|
225
243
|
|
226
244
|
|
227
245
|
// Grid system
|
@@ -232,7 +250,7 @@
|
|
232
250
|
// Padding, to be divided by two and applied to the left and right of all columns
|
233
251
|
@grid-gutter-width: 30px;
|
234
252
|
// Point at which the navbar stops collapsing
|
235
|
-
@grid-float-breakpoint: @screen-
|
253
|
+
@grid-float-breakpoint: @screen-sm-min;
|
236
254
|
|
237
255
|
|
238
256
|
// Navbar
|
@@ -241,13 +259,14 @@
|
|
241
259
|
// Basics of a navbar
|
242
260
|
@navbar-height: 50px;
|
243
261
|
@navbar-margin-bottom: @line-height-computed;
|
244
|
-
@navbar-default-color: #777;
|
245
|
-
@navbar-default-bg: #f8f8f8;
|
246
|
-
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
247
262
|
@navbar-border-radius: @border-radius-base;
|
248
263
|
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
|
249
264
|
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
250
265
|
|
266
|
+
@navbar-default-color: #777;
|
267
|
+
@navbar-default-bg: #f8f8f8;
|
268
|
+
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
269
|
+
|
251
270
|
// Navbar links
|
252
271
|
@navbar-default-link-color: #777;
|
253
272
|
@navbar-default-link-hover-color: #333;
|
@@ -259,7 +278,7 @@
|
|
259
278
|
|
260
279
|
// Navbar brand label
|
261
280
|
@navbar-default-brand-color: @navbar-default-link-color;
|
262
|
-
@navbar-default-brand-hover-color: darken(@navbar-default-
|
281
|
+
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
|
263
282
|
@navbar-default-brand-hover-bg: transparent;
|
264
283
|
|
265
284
|
// Navbar toggle
|
@@ -289,13 +308,6 @@
|
|
289
308
|
@navbar-inverse-brand-hover-color: #fff;
|
290
309
|
@navbar-inverse-brand-hover-bg: transparent;
|
291
310
|
|
292
|
-
// Inverted navbar search
|
293
|
-
// Normal navbar needs no special styles or vars
|
294
|
-
@navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);
|
295
|
-
@navbar-inverse-search-bg-focus: #fff;
|
296
|
-
@navbar-inverse-search-border: @navbar-inverse-bg;
|
297
|
-
@navbar-inverse-search-placeholder-color: #ccc;
|
298
|
-
|
299
311
|
// Inverted navbar toggle
|
300
312
|
@navbar-inverse-toggle-hover-bg: #333;
|
301
313
|
@navbar-inverse-toggle-icon-bar-bg: #fff;
|
@@ -327,8 +339,9 @@
|
|
327
339
|
@nav-tabs-justified-active-link-border-color: @body-bg;
|
328
340
|
|
329
341
|
// Pills
|
342
|
+
@nav-pills-border-radius: @border-radius-base;
|
330
343
|
@nav-pills-active-link-hover-bg: @component-active-bg;
|
331
|
-
@nav-pills-active-link-hover-color:
|
344
|
+
@nav-pills-active-link-hover-color: @component-active-color;
|
332
345
|
|
333
346
|
|
334
347
|
// Pagination
|
@@ -358,21 +371,13 @@
|
|
358
371
|
@jumbotron-padding: 30px;
|
359
372
|
@jumbotron-color: inherit;
|
360
373
|
@jumbotron-bg: @gray-lighter;
|
361
|
-
|
362
374
|
@jumbotron-heading-color: inherit;
|
375
|
+
@jumbotron-font-size: ceil(@font-size-base * 1.5);
|
363
376
|
|
364
377
|
|
365
378
|
// Form states and alerts
|
366
379
|
// -------------------------
|
367
380
|
|
368
|
-
@state-warning-text: #c09853;
|
369
|
-
@state-warning-bg: #fcf8e3;
|
370
|
-
@state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
|
371
|
-
|
372
|
-
@state-danger-text: #b94a48;
|
373
|
-
@state-danger-bg: #f2dede;
|
374
|
-
@state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
|
375
|
-
|
376
381
|
@state-success-text: #468847;
|
377
382
|
@state-success-bg: #dff0d8;
|
378
383
|
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
@@ -381,6 +386,14 @@
|
|
381
386
|
@state-info-bg: #d9edf7;
|
382
387
|
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
383
388
|
|
389
|
+
@state-warning-text: #c09853;
|
390
|
+
@state-warning-bg: #fcf8e3;
|
391
|
+
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
392
|
+
|
393
|
+
@state-danger-text: #b94a48;
|
394
|
+
@state-danger-bg: #f2dede;
|
395
|
+
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
396
|
+
|
384
397
|
|
385
398
|
// Tooltips
|
386
399
|
// -------------------------
|
@@ -481,7 +494,7 @@
|
|
481
494
|
@list-group-border-radius: @border-radius-base;
|
482
495
|
|
483
496
|
@list-group-hover-bg: #f5f5f5;
|
484
|
-
@list-group-active-color:
|
497
|
+
@list-group-active-color: @component-active-color;
|
485
498
|
@list-group-active-bg: @component-active-bg;
|
486
499
|
@list-group-active-border: @list-group-active-bg;
|
487
500
|
|
@@ -556,6 +569,7 @@
|
|
556
569
|
@breadcrumb-bg: #f5f5f5;
|
557
570
|
@breadcrumb-color: #ccc;
|
558
571
|
@breadcrumb-active-color: @gray-light;
|
572
|
+
@breadcrumb-separator: "/";
|
559
573
|
|
560
574
|
|
561
575
|
// Carousel
|
@@ -576,8 +590,8 @@
|
|
576
590
|
|
577
591
|
// Close
|
578
592
|
// ------------------------
|
579
|
-
@close-color: #000;
|
580
593
|
@close-font-weight: bold;
|
594
|
+
@close-color: #000;
|
581
595
|
@close-text-shadow: 0 1px 0 #fff;
|
582
596
|
|
583
597
|
|
@@ -614,10 +628,13 @@
|
|
614
628
|
// --------------------------------------------------
|
615
629
|
|
616
630
|
// Small screen / tablet
|
617
|
-
@container-tablet:
|
631
|
+
@container-tablet: ((720px + @grid-gutter-width));
|
632
|
+
@container-sm: @container-tablet;
|
618
633
|
|
619
634
|
// Medium screen / desktop
|
620
|
-
@container-desktop:
|
635
|
+
@container-desktop: ((940px + @grid-gutter-width));
|
636
|
+
@container-md: @container-desktop;
|
621
637
|
|
622
638
|
// Large screen / wide desktop
|
623
|
-
@container-
|
639
|
+
@container-large-desktop: ((1140px + @grid-gutter-width));
|
640
|
+
@container-lg: @container-large-desktop;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
// Headings for larger alerts
|
16
16
|
h4 {
|
17
17
|
margin-top: 0;
|
18
|
-
// Specified for the h4 to prevent conflicts of changing @
|
18
|
+
// Specified for the h4 to prevent conflicts of changing @headings-color
|
19
19
|
color: inherit;
|
20
20
|
}
|
21
21
|
// Provide class for links that match alerts
|
@@ -1,13 +1,3 @@
|
|
1
|
-
/*!
|
2
|
-
* Bootstrap v3.0.0
|
3
|
-
*
|
4
|
-
* Copyright 2013 Twitter, Inc
|
5
|
-
* Licensed under the Apache License v2.0
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
-
*
|
8
|
-
* Designed and built with all the love in the world by @mdo and @fat.
|
9
|
-
*/
|
10
|
-
|
11
1
|
// Core variables and mixins
|
12
2
|
@import "variables.less";
|
13
3
|
@import "mixins.less";
|
@@ -11,8 +11,8 @@
|
|
11
11
|
border-radius: @border-radius-base;
|
12
12
|
> li {
|
13
13
|
display: inline-block;
|
14
|
-
|
15
|
-
content: "
|
14
|
+
+ li:before {
|
15
|
+
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
16
16
|
padding: 0 5px;
|
17
17
|
color: @breadcrumb-color;
|
18
18
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
}
|
20
20
|
}
|
21
21
|
.dropup {
|
22
|
-
|
22
|
+
.btn-default .caret {
|
23
23
|
border-bottom-color: @btn-default-color;
|
24
24
|
}
|
25
25
|
.btn-primary,
|
@@ -150,6 +150,11 @@
|
|
150
150
|
// Remove the gradient and set the same inset shadow as the :active state
|
151
151
|
.btn-group.open .dropdown-toggle {
|
152
152
|
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
153
|
+
|
154
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
155
|
+
&.btn-link {
|
156
|
+
.box-shadow(none);
|
157
|
+
}
|
153
158
|
}
|
154
159
|
|
155
160
|
|
@@ -9,17 +9,15 @@
|
|
9
9
|
// Core styles
|
10
10
|
.btn {
|
11
11
|
display: inline-block;
|
12
|
-
padding: @padding-base-vertical @padding-base-horizontal;
|
13
12
|
margin-bottom: 0; // For input.btn
|
14
|
-
font-size: @font-size-base;
|
15
13
|
font-weight: @btn-font-weight;
|
16
|
-
line-height: @line-height-base;
|
17
14
|
text-align: center;
|
18
15
|
vertical-align: middle;
|
19
16
|
cursor: pointer;
|
17
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
20
18
|
border: 1px solid transparent;
|
21
|
-
border-radius: @border-radius-base;
|
22
19
|
white-space: nowrap;
|
20
|
+
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
23
21
|
.user-select(none);
|
24
22
|
|
25
23
|
&:focus {
|
@@ -75,7 +75,7 @@
|
|
75
75
|
color: @carousel-control-color;
|
76
76
|
text-align: center;
|
77
77
|
text-shadow: @carousel-text-shadow;
|
78
|
-
// We can't have this transition here because
|
78
|
+
// We can't have this transition here because WebKit cancels the carousel
|
79
79
|
// animation if you trip this while in the middle of another animation.
|
80
80
|
|
81
81
|
// Set gradients for backgrounds
|
@@ -103,11 +103,18 @@
|
|
103
103
|
.glyphicon-chevron-right {
|
104
104
|
position: absolute;
|
105
105
|
top: 50%;
|
106
|
-
left: 50%;
|
107
106
|
z-index: 5;
|
108
107
|
display: inline-block;
|
109
108
|
}
|
110
109
|
.icon-prev,
|
110
|
+
.glyphicon-chevron-left {
|
111
|
+
left: 50%;
|
112
|
+
}
|
113
|
+
.icon-next,
|
114
|
+
.glyphicon-chevron-right {
|
115
|
+
right: 50%;
|
116
|
+
}
|
117
|
+
.icon-prev,
|
111
118
|
.icon-next {
|
112
119
|
width: 20px;
|
113
120
|
height: 20px;
|
@@ -153,6 +160,17 @@
|
|
153
160
|
border: 1px solid @carousel-indicator-border-color;
|
154
161
|
border-radius: 10px;
|
155
162
|
cursor: pointer;
|
163
|
+
|
164
|
+
// IE8-9 hack for event handling
|
165
|
+
//
|
166
|
+
// Internet Explorer 8-9 does not support clicks on elements without a set
|
167
|
+
// `background-color`. We cannot use `filter` since that's not viewed as a
|
168
|
+
// background color by the browser. Thus, a hack is needed.
|
169
|
+
//
|
170
|
+
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
171
|
+
// set alpha transparency for the best results possible.
|
172
|
+
background-color: #000 \9; // IE8
|
173
|
+
background-color: rgba(0,0,0,0); // IE9
|
156
174
|
}
|
157
175
|
.active {
|
158
176
|
margin: 0;
|
@@ -183,16 +201,20 @@
|
|
183
201
|
|
184
202
|
|
185
203
|
// Scale up controls for tablets and up
|
186
|
-
@media screen and (min-width: @screen-
|
204
|
+
@media screen and (min-width: @screen-sm-min) {
|
187
205
|
|
188
206
|
// Scale up the controls a smidge
|
189
|
-
.carousel-control
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
207
|
+
.carousel-control {
|
208
|
+
.glyphicons-chevron-left,
|
209
|
+
.glyphicons-chevron-right,
|
210
|
+
.icon-prev,
|
211
|
+
.icon-next {
|
212
|
+
width: 30px;
|
213
|
+
height: 30px;
|
214
|
+
margin-top: -15px;
|
215
|
+
margin-left: -15px;
|
216
|
+
font-size: 30px;
|
217
|
+
}
|
196
218
|
}
|
197
219
|
|
198
220
|
// Show and left align the captions
|
@@ -1,11 +1,13 @@
|
|
1
1
|
//
|
2
|
-
// Code (inline and
|
2
|
+
// Code (inline and block)
|
3
3
|
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
6
|
// Inline and block code styles
|
7
7
|
code,
|
8
|
-
|
8
|
+
kbd,
|
9
|
+
pre,
|
10
|
+
samp {
|
9
11
|
font-family: @font-family-monospace;
|
10
12
|
}
|
11
13
|
|
@@ -33,11 +35,6 @@ pre {
|
|
33
35
|
border: 1px solid @pre-border-color;
|
34
36
|
border-radius: @border-radius-base;
|
35
37
|
|
36
|
-
// Make prettyprint styles more spaced out for readability
|
37
|
-
&.prettyprint {
|
38
|
-
margin-bottom: @line-height-computed;
|
39
|
-
}
|
40
|
-
|
41
38
|
// Account for some code outputs that place code tags in pre tags
|
42
39
|
code {
|
43
40
|
padding: 0;
|
@@ -45,7 +42,7 @@ pre {
|
|
45
42
|
color: inherit;
|
46
43
|
white-space: pre-wrap;
|
47
44
|
background-color: transparent;
|
48
|
-
border: 0;
|
45
|
+
border-radius: 0;
|
49
46
|
}
|
50
47
|
}
|
51
48
|
|
@@ -16,7 +16,6 @@
|
|
16
16
|
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once fixed,
|
17
17
|
// we can just straight up remove this.
|
18
18
|
border-bottom: 0 dotted;
|
19
|
-
content: "";
|
20
19
|
}
|
21
20
|
|
22
21
|
// The dropdown wrapper (div)
|
@@ -167,7 +166,7 @@
|
|
167
166
|
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once this
|
168
167
|
// gets fixed, restore `border-top: 0;`.
|
169
168
|
border-top: 0 dotted;
|
170
|
-
border-bottom:
|
169
|
+
border-bottom: @caret-width-base solid @dropdown-caret-color;
|
171
170
|
content: "";
|
172
171
|
}
|
173
172
|
// Different positioning for bottom up menu
|
@@ -82,6 +82,15 @@ input[type="number"] {
|
|
82
82
|
}
|
83
83
|
}
|
84
84
|
|
85
|
+
// Adjust output element
|
86
|
+
output {
|
87
|
+
display: block;
|
88
|
+
padding-top: (@padding-base-vertical + 1);
|
89
|
+
font-size: @font-size-base;
|
90
|
+
line-height: @line-height-base;
|
91
|
+
color: @input-color;
|
92
|
+
vertical-align: middle;
|
93
|
+
}
|
85
94
|
|
86
95
|
// Placeholder
|
87
96
|
//
|
@@ -124,6 +133,7 @@ input[type="number"] {
|
|
124
133
|
color: @input-color;
|
125
134
|
vertical-align: middle;
|
126
135
|
background-color: @input-bg;
|
136
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
127
137
|
border: 1px solid @input-border;
|
128
138
|
border-radius: @input-border-radius;
|
129
139
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
@@ -257,7 +267,6 @@ input[type="checkbox"],
|
|
257
267
|
|
258
268
|
.form-control-static {
|
259
269
|
margin-bottom: 0; // Remove default margin from `p`
|
260
|
-
padding-top: (@padding-base-vertical + 1);
|
261
270
|
}
|
262
271
|
|
263
272
|
|
@@ -289,7 +298,7 @@ input[type="checkbox"],
|
|
289
298
|
.form-inline {
|
290
299
|
|
291
300
|
// Kick in the inline
|
292
|
-
@media (min-width: @screen-
|
301
|
+
@media (min-width: @screen-sm) {
|
293
302
|
// Inline-block all the things for "inline"
|
294
303
|
.form-group {
|
295
304
|
display: inline-block;
|
@@ -344,8 +353,12 @@ input[type="checkbox"],
|
|
344
353
|
.make-row();
|
345
354
|
}
|
346
355
|
|
356
|
+
.form-control-static {
|
357
|
+
padding-top: (@padding-base-vertical + 1);
|
358
|
+
}
|
359
|
+
|
347
360
|
// Only right align form labels here when the columns stop stacking
|
348
|
-
@media (min-width: @screen-
|
361
|
+
@media (min-width: @screen-sm-min) {
|
349
362
|
.control-label {
|
350
363
|
text-align: right;
|
351
364
|
}
|