Sean Dwyer
06f6c9f006
Fix indent
2014-04-11 14:15:33 -07:00
Sean Dwyer
3777ef007d
Fix form-control-feedback position when label has sr-only class
2014-04-10 17:43:53 -07:00
Mark Otto
acf5707323
Fixes #13066 : Add z-index to the form control feedback icons so input groups don't render on top of them
2014-03-24 20:07:54 -07:00
Chris Rebert
06451a58d0
expand issue # ref to full URL
2014-03-24 19:48:21 -07:00
Mark Otto
6f6bce5944
Fixes #13141 : Add a max-width: 100%; to label elements so IE8 wraps text
2014-03-24 19:26:41 -07:00
Rob Fletcher
1be0b57d34
Fix vertical alignment of temporal inputs on iOS
...
Fixes #13098
Closes #13099
2014-03-20 01:13:21 -07:00
Mark Otto
5f2845f307
remove comment
2014-03-10 16:43:57 -07:00
Mark Otto
a83ca38713
Fixes #13003 : Move padding on radio and checkbox options from the surrounding div to the label to remove the no-click deadzone caused by negative margin
2014-03-10 16:41:56 -07:00
Chris Rebert
b1f71e5292
fix grammar in comment in forms.less
2014-03-09 21:35:48 -07:00
Mark Otto
a15c24410b
Fixes #12759
...
Ensures proper sizing and alignment of input groups within inline and
navbar forms.
* Uses `inline-table` on the input group
* Nukes the widths to `width: auto`—without this, the parent input
group doesn’t size correctly and functions as `display: table;` or
`block`
2014-03-09 21:25:51 -07:00
Mark Otto
1a5fb4ef24
Fixes #12843 : Scope label styles for horizontal forms to a media query so their narrow viewport display looks just like a normal form
2014-03-09 17:22:52 -07:00
Mark Otto
2f955907f9
Fixes #12669 : Properly reset line-height on date inputs for all sizes; Fix IE8+'s misaslignment of text within date inputs
2014-03-09 17:12:39 -07:00
Mark Otto
7733f24373
Fixes #12868 : Enables icon feedback on validation states for large/small inputs.
...
Also reorders the CSS to place Glyhpicons as a dependency before other components for fewer overrides and less specific CSS.
2014-03-04 14:12:57 -08:00
Chris Rebert
754791e3d9
fix #12836
...
Thanks @Quy.
2014-02-24 14:43:09 -08:00
Mark Otto
7b60470e9b
Fixes #12801 : Add padding to the bottom of .form-control-static to match height of standard form controls
2014-02-22 14:16:11 -08:00
Mark Otto
a2f08158d0
Nuke shit I added in 4d7b2ddba9
that shouldn't come until v4
2014-02-07 15:44:50 -08:00
Mark Otto
4d7b2ddba9
Fixes #12486 : Restore full width inputs for input groups in inline forms and navbars
2014-02-07 02:58:10 -08:00
Mark Otto
da43f97be1
Override iOS search input's extra round corners
2014-02-07 02:08:32 -08:00
Mark Otto
b7ac009a52
Remove #8350 's reset for number inputs since Normalize fixes those upstream
2014-01-27 12:25:39 -08:00
Mark Otto
400720d00b
Remove optgroup resets from #7611 since Normalize fixes those upstream
2014-01-27 12:24:35 -08:00
Mark Otto
64e8132426
Fix #12359 : Reset min-width on fieldsets so that they don't break responsive tables and behave more like standard block level elements
2014-01-24 11:55:59 -06:00
Chris Rebert
31e8a48783
"bottom increment" => "decrement" in explanatory comment
2014-01-23 15:07:04 -08:00
Mark Otto
08e83a62b7
Fix #11655 : Fix broken disabled states for iOS form controls and buttons
2014-01-22 21:43:08 -06:00
Mark Otto
e71a85a525
remove confusing comment
2014-01-19 10:23:00 -08:00
Chris Rebert
c6a5e6accb
rm outdated <select>
references from comments in forms.less
2014-01-10 14:34:25 -08:00
Mark Otto
7f153974e1
Fixes #11990 and #12159 : Make range inputs block level and 100% wide by default
2014-01-09 18:07:14 -08:00
Julian Thilo
8fd177bfa7
Fix #12073 : Consistent order of variations
...
This changes the order of component variations throughout the repo (code and docs) to be more consistent.
The order now used everywhere is the one most frequently found in the repo before:
Default, Primary, Success, Info, Warning, Danger
2014-01-07 22:24:45 +01:00
Zlatan Vasović
78eb8cc0f4
Replace @screen-sm with @screen-sm-min
2014-01-05 11:38:26 +01:00
Chris Rebert
be508e043c
copyediting
2013-12-15 18:13:50 -08:00
Mark Otto
2979e4bcea
Add new form feedback states, clean up existing form styles
...
New stuff:
* Adds `.has-feedback` and `.form-control-feedback` to show icon-based
form feedback to users. Fixes #11836 .
* Removes the `width: 1em` on `.glyphicon` because it makes it
impractical to resize the width of all icons, even if they’re not
“empty” (e.g., a simple `.glyphicon { width: 30px; }` wouldn’t work,
nor would a class preceeded by a parent class.
Clean up:
* Sets `width: auto;` on all `.form-control`s within inline forms.
* Removes all the inline `select` menu `width` styles because all
inputs are now `auto`.
* Update form states docs to separate out sections better.
2013-12-15 17:15:09 -08:00
Mark Otto
d9345ff7d5
Fixes #11266 : Apply a pixel-based line-height to date inputs for iOS 7
2013-12-15 15:27:46 -08:00
Mark Otto
4f22670c6e
formatting and comment
2013-12-15 15:24:52 -08:00
Mark Otto
b04a1de9b0
Fixes #11402 : Updated fix for select.form-control width in inline-forms
2013-12-15 14:52:49 -08:00
Chris Rebert
ab29b1a335
misc strictMath compliance fixes
2013-12-09 16:14:44 -08:00
Mark Otto
b5008ebf9c
add vertical-align back to where it's necessary since we reset from block to inline-block on several inputs
2013-12-08 01:59:44 -08:00
XhmikosR
f4087df47e
Remove incompatible properties.
2013-12-07 04:52:20 +02:00
Mark Otto
48269dcd28
Fixes #11658 : Increase min-height of .radio and .checkbox for horizontal forms to ensure alignment of content below
2013-11-30 23:17:43 -08:00
Mark Otto
7aa6b4190b
Fixes #11402 : Set width: auto; to select.form-control within .form-inline
2013-11-30 15:57:25 -08:00
Zlatan Vasović
f1bc840d43
Use nesting for .placeholder()
2013-11-02 09:35:51 +01:00
Mark Otto
be4e951b7d
scope top padding of .form-control-static to be within horizontal forms only; fixes #10927
2013-10-13 20:02:24 -07:00
Zlatan Vasović
c10238c95f
Use @screen-sm-min in forms
2013-09-11 09:54:38 +02:00
Chris Rebert
2ef147b16b
fix #10252 by restricting Android Firefox reset to only .form-control & .btn
2013-08-28 15:37:34 -07:00
Mark Otto
9733a998e2
fixes #9969 : add support for output element
2013-08-24 00:14:09 -07:00
Chris Rebert
22ce649910
deprecate @screen-{phone,tablet,desktop} vars
2013-08-21 12:26:20 -07:00
Mark Otto
16976cc494
Fixes secondary issue in #9798
2013-08-19 09:36:56 -07:00
Mark Otto
fe767a18d3
fixes #9798 : update spacing on checkboxes and radios for horizontal
2013-08-18 15:41:24 -07:00
Mark Otto
9b61b7a722
fixes #9803 : label and input alignment in horizontal forms
2013-08-18 15:10:28 -07:00
Mark Otto
2690a3dc31
Add to #9578 and fix #9614 : use cursor not-allowed on radios and checkboxes
2013-08-15 11:52:22 -07:00
Chris Rebert
e684758b55
fixes #9511 ; set cursor:not-allowed for disabled buttons,checkboxes,radios
2013-08-14 18:20:28 -07:00
Guillermo González de Agüero
f0ee3aaac0
Swapped input-lg and input-sm
...
Fixing my own error. Thanks to @kyleledbetter for reporting.
2013-08-13 23:31:33 +02:00
ggam
6ec0fd7d43
Added input-size mixin
2013-08-13 19:06:02 +02:00
Mark Otto
eac61de138
fix navbar form alignment of inputs by restoring inline-block
2013-08-12 16:09:21 -07:00
Mark Otto
eb1565681f
fixes #9392 : no need for width auto on inline/navbar form controls given inline-block on parent form group
2013-08-12 14:52:49 -07:00
Mark Otto
f662dff6e9
fixes #9382 : inline forms now require use of .form-group for proper alignment of all form controls
2013-08-12 11:07:23 -07:00
Mark Otto
83f1a75e7a
addressing #9189 manually, part 3: forms
2013-08-11 18:06:26 -07:00
Mark Otto
e23906faca
Fixes #8150 : add .static-form-control
for vertical alignment of static form text
...
- Also fixes the vertical alignment of labels in horizontal layouts on
account of the recent button and input padding changes
- Also changes the vertical alignment of the checkboxes and radios in
horizontal forms
2013-08-05 12:17:09 -07:00
Mark Otto
a82ca0f9e1
Fixes #8795 , a reoccurence of #1969
2013-08-05 11:47:12 -07:00
Mark Otto
73c048578d
Enable input focus state customization
...
- Add new mixin to generate and customize focus state as needed
- Adds variable to set default color
- Include clear disclaimer about customizing this—it's about users', so
don't go making everything bright red and expect them not to be
confused or alarmed.
Relevant issues: #2742 , #4185 , #7942 , #8171 , #8610 , #9044
2013-08-04 23:05:54 -07:00
Chris Rebert
23ef8c0c20
Greater standardization of sizing terminology
...
In class names:
* large => lg
* small => sm
* mini => xs ("Extra small")
In screen size categories:
* Tiny => Extra small
2013-08-03 21:39:57 -07:00
Mark Otto
9435991ff0
move form layouts from input groups back to forms (messed this up in b281ad6409
)
2013-08-02 18:48:44 -07:00
Mark Otto
173dac4e54
Tighten up buttons and form controls
...
* Smaller padding on buttons and large buttons
* Same with inputs and large inputs
* Remove about 10px from height of large inputs/buttons and 4px from
regular ones
Fixes #8707 and #8700 .
(Also relevant: #8711 )
2013-08-02 15:09:48 -07:00
Jon Schlinkert
c017e19ed2
Resolves https://github.com/twbs/bootstrap/issues/9014 . updates mixins to consistently use semicolons as argument separator. Rebuild to confirm, no diff in compiled CSS.
2013-08-02 15:33:03 -04:00
Chris Rebert
da98c5c2c3
trivial spacing fix
2013-07-30 12:35:39 -07:00
Mark Otto
8b5e41d900
Refactor .input-* sizing a bit by not chaining to .form-control ( fixes #8672 )
2013-07-29 17:30:36 -07:00
Mark Otto
b281ad6409
Input groups overhaul
...
* Moves input groups CSS into separate file
* Moves input groups docs into the Components page
* Add support for radios and checkboxes in input groups to fix #8679
2013-07-27 18:56:31 -07:00
Mark Otto
14f688c7fc
fixes #8675 : align horizontal form label and input
2013-07-27 16:37:45 -07:00
Mark Otto
01c6617f79
Update inline and horizontal forms
...
* No more need for `.row.form-group`--only need `.form-group`
* Change tag selectors for inline form to use `.form-control`
* Docs improved to explain what's happening
2013-07-26 15:51:25 -07:00
Mark Otto
68827689e8
Use .form-control
in input sizing CSS
2013-07-26 15:41:16 -07:00
Mark Otto
1cf0a07f17
Merge branch 'patch-3' of https://github.com/jholl/bootstrap into jholl-patch-3
...
Conflicts:
css.html
2013-07-26 15:08:45 -07:00
Mark Otto
444973e54d
Fixes #8605 : use .form-control
in .input-group
instead of HTML tags
2013-07-26 14:31:24 -07:00
James Holland
2e7593a40d
Update forms.less to remove .form-horizontal .row + .row
...
use .form-group to apply consistent vertical spacing on form rows
2013-07-26 09:04:39 -04:00
Mark Otto
27cedf71d5
Update form validation states
...
* Once again no longer applies to single inputs (this is a bit simpler,
but I'm open to new ideas) but the entire set of inputs, labels, and
help text within a particular element. However, the styles are not too
dependent on markup or layout, so they're super flexible.
* Simplified the markup in the validation docs examples to match latest
changes.
* Renamed `.form-state-validation` mixin to `.form-control-validation`
to match naming of prev commit.
2013-07-25 19:45:14 -07:00
Mark Otto
71d3d2c3f6
Spacing
2013-07-25 18:55:00 -07:00
Mark Otto
13bc74b636
Refactor forms styles
...
* Reorganize forms.less
* Change from attribute selectors to `.form-control`. Few lines, less
specific (meaning easier overrides as `element[type=""]` is more
specific than a class), less intrusive, and more performant.
* Add `.form-group` for basic spacing in vertical forms.
* Remove (unnecessary?) `margin: 0;` from `form` element (as far as I
can tell no browser sets that anyway).
2013-07-25 18:29:51 -07:00
Chris Rebert
90fb40b707
twbs ALL the links
2013-07-25 12:24:13 -07:00
Mark Otto
9029b4c06c
Update forms vars
...
* Reorganize layout
* Add input group var
* Add legend border var
2013-07-23 23:25:46 -07:00
Mark Otto
1803b2f09e
Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into saas786-3.0.0-wip
2013-07-23 22:49:13 -07:00
Mark Otto
a63db4d2f9
Update file input to remove height and line-height
...
This particular form control is wildly inaccurate across browsers, so
we're removing the `height` and `line-height`, but adding `display:
block` so it renders similarly to our other inputs.
2013-07-20 21:09:03 -07:00
Mark Otto
51dfa21009
Remove more commented out CSS from forms
2013-07-20 19:32:21 -07:00
Mark Otto
732e4196fb
Remove commented out CSS
2013-07-20 19:31:56 -07:00
syed
330f40c864
moving forms, labels and list-group to variables.less
2013-07-20 13:38:27 +05:00
Mark Otto
e440ff4b3f
<input>
and <select>
sizing update
...
Restores `font-size` and more to the `<select>` element while also
changing from `min-height` to `height` for input sizing.
Fixes #8520 as opened by @ShaunR (would've merged that PR but I moved
everything around right before).
2013-07-18 19:53:32 -07:00
Mark Otto
820558916f
Fixes #8516 : correct input-small and input-large on select elements
2013-07-18 15:36:41 -07:00
Mark Otto
7d9fb1dda7
Jankily fix input group wrapping with button groups in Firefox ( fixes #8321 , #8429 , and #8067 )
2013-07-18 15:28:38 -07:00
Bass Jobsen
3a17578a94
Update forms.less
...
All variables should be set in variables.less?
2013-07-11 21:24:06 +02:00
Mark Otto
749dc35328
comma for the guardian angel /cc @cvrebert
2013-07-01 20:18:44 -07:00
Mark Otto
5b2d933524
Fixes #8350 : unfuck Chrome number input element cursor /cc @cvrebert @eintnohick
2013-07-01 19:49:29 -07:00
Mark Otto
d9a662ed1d
fixes #7977 : prevent some table bullshit on input groups
2013-06-27 20:15:44 -07:00
Mark Otto
0f371d409f
Merge pull request #8300 from cvrebert/patch-2
...
Fix typo in comment
2013-06-25 17:11:20 -07:00
Chris Rebert
d2b5f4e45c
Fix typo in comment
2013-06-25 17:03:57 -06:00
Chris Rebert
64a01f01cb
Spelling in comment
2013-06-25 17:01:46 -06:00
Luis Hdez
9ed5b5e653
Fix line breaks on add-ons with spaces
2013-06-25 14:34:57 +02:00
Mark Otto
82f9de9459
Fixes #8159 : Be more specific about disabled inputs to avoid iOS bug
...
Attached disabled styles to the exact input types rather than all
inputs and reseting the checkbox/radios. If setting `background-color:
transparent;`, iOS renders no background on the disabled control.
2013-06-20 17:02:10 -07:00
Mark Otto
90d4343f66
Fixes #8093 : Removes invalid focus styles on inputs
2013-06-20 16:42:05 -07:00
Edgar Schnueriger
b0d202455d
Fixes broken layout for .input-group-addons within .input-large. Follows 6ce154c7ed
2013-06-17 18:56:17 +02:00
Robert Burns
79666385f7
Use base padding for input-group-addon class
2013-05-24 08:14:11 -04:00
Mark Otto
35573db810
Fixes #7611 : fix optgroup formatting for Firefox
2013-05-19 22:06:10 -07:00
Mark Otto
1983ca03ec
Form validation and horizontal row update
...
* changed .row-label to .control-label as used elsewhere already
* changed .formFieldState mixin to .form-field-validation
2013-05-16 20:17:42 -07:00
Mark Otto
c73588b313
Drop .form-actions
2013-05-16 18:46:12 -07:00
Mark Otto
f3d8577734
Run make on previous commit; twerk box shadow back to commented out version
2013-05-15 10:16:11 -07:00