aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
AgeCommit message (Collapse)AuthorFilesLines
2013-08-19Fixes secondary issue in #9798Mark Otto1-1/+1
2013-08-18fixes #9798: update spacing on checkboxes and radios for horizontalMark Otto1-11/+18
2013-08-18fixes #9803: label and input alignment in horizontal formsMark Otto1-1/+1
2013-08-15Add to #9578 and fix #9614: use cursor not-allowed on radios and checkboxesMark Otto1-6/+6
2013-08-14fixes #9511; set cursor:not-allowed for disabled buttons,checkboxes,radiosChris Rebert1-1/+15
2013-08-13Swapped input-lg and input-smGuillermo González de Agüero1-2/+2
Fixing my own error. Thanks to @kyleledbetter for reporting.
2013-08-13Added input-size mixinggam1-33/+3
2013-08-12fix navbar form alignment of inputs by restoring inline-blockMark Otto1-0/+7
2013-08-12fixes #9392: no need for width auto on inline/navbar form controls given ↵Mark Otto1-5/+0
inline-block on parent form group
2013-08-12fixes #9382: inline forms now require use of .form-group for proper ↵Mark Otto1-19/+35
alignment of all form controls
2013-08-11addressing #9189 manually, part 3: formsMark Otto1-2/+2
2013-08-05Fixes #8150: add `.static-form-control` for vertical alignment of static ↵Mark Otto1-1/+12
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-05Fixes #8795, a reoccurence of #1969Mark Otto1-0/+10
2013-08-04Enable input focus state customizationMark Otto1-5/+2
- 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-03Greater standardization of sizing terminologyChris Rebert1-6/+6
In class names: * large => lg * small => sm * mini => xs ("Extra small") In screen size categories: * Tiny => Extra small
2013-08-02move form layouts from input groups back to forms (messed this up in ↵Mark Otto1-0/+44
b281ad64096d919145159ffbc4e1a5b284708d9b)
2013-08-02Tighten up buttons and form controlsMark Otto1-0/+2
* 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-02Resolves https://github.com/twbs/bootstrap/issues/9014. updates mixins to ↵Jon Schlinkert1-3/+3
consistently use semicolons as argument separator. Rebuild to confirm, no diff in compiled CSS.
2013-07-30trivial spacing fixChris Rebert1-1/+1
2013-07-29Refactor .input-* sizing a bit by not chaining to .form-control (fixes #8672)Mark Otto1-13/+18
2013-07-27Input groups overhaulMark Otto1-148/+0
* 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-27fixes #8675: align horizontal form label and inputMark Otto1-1/+1
2013-07-26Update inline and horizontal formsMark Otto1-4/+8
* 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-26Use `.form-control` in input sizing CSSMark Otto1-18/+4
2013-07-26Merge branch 'patch-3' of https://github.com/jholl/bootstrap into jholl-patch-3Mark Otto1-6/+1
Conflicts: css.html
2013-07-26Fixes #8605: use `.form-control` in `.input-group` instead of HTML tagsMark Otto1-5/+4
2013-07-26Update forms.less to remove .form-horizontal .row + .rowJames Holland1-6/+1
use .form-group to apply consistent vertical spacing on form rows
2013-07-25Update form validation statesMark Otto1-3/+3
* 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-25SpacingMark Otto1-3/+0
2013-07-25Refactor forms stylesMark Otto1-93/+93
* 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-25twbs ALL the linksChris Rebert1-2/+2
2013-07-23Update forms varsMark Otto1-1/+0
* Reorganize layout * Add input group var * Add legend border var
2013-07-23Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into ↵Mark Otto1-3/+3
saas786-3.0.0-wip
2013-07-20Update file input to remove height and line-heightMark Otto1-2/+1
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-20Remove more commented out CSS from formsMark Otto1-1/+0
2013-07-20Remove commented out CSSMark Otto1-8/+0
2013-07-20moving forms, labels and list-group to variables.lesssyed1-3/+3
2013-07-18`<input>` and `<select>` sizing updateMark Otto1-4/+4
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-18Fixes #8516: correct input-small and input-large on select elementsMark Otto1-1/+10
2013-07-18Jankily fix input group wrapping with button groups in Firefox (fixes #8321, ↵Mark Otto1-2/+2
#8429, and #8067)
2013-07-11Update forms.lessBass Jobsen1-1/+1
All variables should be set in variables.less?
2013-07-01comma for the guardian angel /cc @cvrebertMark Otto1-1/+1
2013-07-01Fixes #8350: unfuck Chrome number input element cursor /cc @cvrebert @eintnohickMark Otto1-0/+10
2013-06-27fixes #7977: prevent some table bullshit on input groupsMark Otto1-0/+1
2013-06-25Merge pull request #8300 from cvrebert/patch-2Mark Otto1-1/+1
Fix typo in comment
2013-06-25Fix typo in commentChris Rebert1-1/+1
2013-06-25Spelling in commentChris Rebert1-1/+1
2013-06-25Fix line breaks on add-ons with spacesLuis Hdez1-0/+1
2013-06-20Fixes #8159: Be more specific about disabled inputs to avoid iOS bugMark Otto1-29/+11
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-20Fixes #8093: Removes invalid focus styles on inputsMark Otto1-14/+0