bootstrap-on-rails 0.0.1 → 0.0.2
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 +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
Binary file
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: affix.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: affix.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#affix
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -123,4 +123,4 @@
|
|
123
123
|
})
|
124
124
|
})
|
125
125
|
|
126
|
-
}(
|
126
|
+
}(jQuery);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: alert.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: alert.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#alerts
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
@@ -95,4 +95,4 @@
|
|
95
95
|
|
96
96
|
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
|
97
97
|
|
98
|
-
}(
|
98
|
+
}(jQuery);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: button.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: button.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#buttons
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
@@ -106,4 +106,4 @@
|
|
106
106
|
e.preventDefault()
|
107
107
|
})
|
108
108
|
|
109
|
-
}(
|
109
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: carousel.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: carousel.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#carousel
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -214,4 +214,4 @@
|
|
214
214
|
})
|
215
215
|
})
|
216
216
|
|
217
|
-
}(
|
217
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: collapse.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: collapse.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#collapse
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -176,4 +176,4 @@
|
|
176
176
|
$target.collapse(option)
|
177
177
|
})
|
178
178
|
|
179
|
-
}(
|
179
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: dropdown.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: dropdown.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#dropdowns
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -151,4 +151,4 @@
|
|
151
151
|
.on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
152
152
|
.on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
153
153
|
|
154
|
-
}(
|
154
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: modal.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: modal.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#modals
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -243,4 +243,4 @@
|
|
243
243
|
.on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
|
244
244
|
.on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
|
245
245
|
|
246
|
-
}(
|
246
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: popover.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: popover.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#popovers
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -114,4 +114,4 @@
|
|
114
114
|
return this
|
115
115
|
}
|
116
116
|
|
117
|
-
}(
|
117
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: scrollspy.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: scrollspy.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#scrollspy
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -155,4 +155,4 @@
|
|
155
155
|
})
|
156
156
|
})
|
157
157
|
|
158
|
-
}(
|
158
|
+
}(jQuery);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tab.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: tab.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#tabs
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright
|
5
|
+
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
* you may not use this file except in compliance with the License.
|
@@ -30,7 +30,7 @@
|
|
30
30
|
Tab.prototype.show = function () {
|
31
31
|
var $this = this.element
|
32
32
|
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
33
|
-
var selector = $this.
|
33
|
+
var selector = $this.data('target')
|
34
34
|
|
35
35
|
if (!selector) {
|
36
36
|
selector = $this.attr('href')
|
@@ -132,4 +132,4 @@
|
|
132
132
|
$(this).tab('show')
|
133
133
|
})
|
134
134
|
|
135
|
-
}(
|
135
|
+
}(jQuery);
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tooltip.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: tooltip.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#tooltip
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ========================================================================
|
6
|
-
* Copyright
|
6
|
+
* Copyright 2013 Twitter, Inc.
|
7
7
|
*
|
8
8
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
9
9
|
* you may not use this file except in compliance with the License.
|
@@ -383,4 +383,4 @@
|
|
383
383
|
return this
|
384
384
|
}
|
385
385
|
|
386
|
-
}(
|
386
|
+
}(jQuery);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: transition.js v3.0.
|
3
|
-
* http://
|
2
|
+
* Bootstrap: transition.js v3.0.2
|
3
|
+
* http://getbootstrap.com/javascript/#transitions
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2013 Twitter, Inc.
|
6
6
|
*
|
@@ -53,4 +53,4 @@
|
|
53
53
|
$.support.transition = transitionEnd()
|
54
54
|
})
|
55
55
|
|
56
|
-
}(
|
56
|
+
}(jQuery);
|
@@ -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
|
File without changes
|
@@ -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 "mixins.less";
|
13
3
|
|
@@ -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-sm) {
|
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
|
File without changes
|
@@ -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
|
|
File without changes
|
@@ -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
|
@@ -92,14 +92,6 @@ output {
|
|
92
92
|
vertical-align: middle;
|
93
93
|
}
|
94
94
|
|
95
|
-
// Placeholder
|
96
|
-
//
|
97
|
-
// Placeholder text gets special styles because when browsers invalidate entire
|
98
|
-
// lines if it doesn't understand a selector/
|
99
|
-
.form-control {
|
100
|
-
.placeholder();
|
101
|
-
}
|
102
|
-
|
103
95
|
|
104
96
|
// Common form controls
|
105
97
|
//
|
@@ -133,6 +125,7 @@ output {
|
|
133
125
|
color: @input-color;
|
134
126
|
vertical-align: middle;
|
135
127
|
background-color: @input-bg;
|
128
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
136
129
|
border: 1px solid @input-border;
|
137
130
|
border-radius: @input-border-radius;
|
138
131
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
@@ -141,6 +134,12 @@ output {
|
|
141
134
|
// Customize the `:focus` state to imitate native WebKit styles.
|
142
135
|
.form-control-focus();
|
143
136
|
|
137
|
+
// Placeholder
|
138
|
+
//
|
139
|
+
// Placeholder text gets special styles because when browsers invalidate entire
|
140
|
+
// lines if it doesn't understand a selector/
|
141
|
+
.placeholder();
|
142
|
+
|
144
143
|
// Disabled and read-only inputs
|
145
144
|
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
|
146
145
|
// be disabled if the fieldset is disabled. Due to implementation difficulty,
|
@@ -266,7 +265,6 @@ input[type="checkbox"],
|
|
266
265
|
|
267
266
|
.form-control-static {
|
268
267
|
margin-bottom: 0; // Remove default margin from `p`
|
269
|
-
padding-top: (@padding-base-vertical + 1);
|
270
268
|
}
|
271
269
|
|
272
270
|
|
@@ -353,8 +351,12 @@ input[type="checkbox"],
|
|
353
351
|
.make-row();
|
354
352
|
}
|
355
353
|
|
354
|
+
.form-control-static {
|
355
|
+
padding-top: (@padding-base-vertical + 1);
|
356
|
+
}
|
357
|
+
|
356
358
|
// Only right align form labels here when the columns stop stacking
|
357
|
-
@media (min-width: @screen-sm) {
|
359
|
+
@media (min-width: @screen-sm-min) {
|
358
360
|
.control-label {
|
359
361
|
text-align: right;
|
360
362
|
}
|