aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
AgeCommit message (Collapse)AuthorFilesLines
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
2013-06-17Fixes broken layout for .input-group-addons within .input-large. Follows ↵Edgar Schnueriger1-0/+1
6ce154c7ed64f3821cc7d6cbb0bfcf65b25f1b49
2013-05-24Use base padding for input-group-addon classRobert Burns1-1/+1
2013-05-19Fixes #7611: fix optgroup formatting for FirefoxMark Otto1-0/+7
2013-05-16Form validation and horizontal row updateMark Otto1-5/+5
* changed .row-label to .control-label as used elsewhere already * changed .formFieldState mixin to .form-field-validation
2013-05-16Drop .form-actionsMark Otto1-13/+0
2013-05-15Run make on previous commit; twerk box shadow back to commented out versionMark Otto1-2/+2
2013-05-15Fixed ugly outline in select fieldsm.seegmüller1-28/+6
Removes .tab-focus() on select-fields
2013-05-15Fixed ugly outlinem.seegmüller1-0/+1
Removes outline (especially on select-elements in firefox)
2013-05-14Overhaul form control and button sizing, and some type stylesMark Otto1-7/+8
* New padding approach with separate horizontal and vertical padding variables * Improved sizing in large and small buttons and form controls * Dropped the `.btn-mini` (since we have no `.input-mini` to match, and holy fuck those were small buttons) * Dropped the `.pagination-mini` as well because once again, to hell with such small components * Changed `@line-height-headings` to `@headings-line-height` * Removed the `@headings-font-family` because it was honestly kind of useless
2013-05-14Fixes #7885 and #7886: only right align horizontal form labels when above 768pxMark Otto1-0/+6
2013-05-11Fix the selectors for the .input-group-btn selector.Blake Embrey1-4/+6
2013-05-09Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wipMark Otto1-47/+13
Conflicts: less/forms.less
2013-05-09Unitless line-heightMark Otto1-6/+6
* Instead of 20px as @line-height-base, use 1.5 * Update typographic scale for headings to use unitless as well--required some twerking of decimals a bit and some rounding * Introduce new @line-height-computed value, which takes base font-size and multiplies it by 1.5, for use in padding and margin on components
2013-05-09More forms overhaulMark Otto1-85/+25
* Refactor the .forms-horizontal code--much simpler now and built on the Bootstrap grid system instead * Remove all the margins on form controls for simpler styling everywhere else--was overriding that way too often * Drop .help-inline, but keep .help-block * Drop the unused input grid class overrides
2013-05-09Make the border-radius on input-groups to be overrides instead of resets on ↵Blake Embrey1-49/+16
every size.
2013-05-07Update formsMark Otto1-5/+23
* Overhaul the form control sizing section to only show sizing via grid columns as parents, not as classes on inputs * Restore the inline-form option * Restore the bottom margin on form controls and make them block level instead of inline-block * More misc docs cleanup for forms
2013-05-03Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wipMark Otto1-1/+1
2013-05-03Add cursor: pointer; to .checkbox and .radio and their inline counterpartsMark Otto1-0/+2
2013-05-02Cleanup .navbar-form stylesMark Otto1-1/+3
* Nuke the commented out navbar forms code that's not currently needed * Add a few more examples to the .navbar-form docs section * Remove (for now at least) top padding on checkbox and radios
2013-05-03Fix input border flicker in Chrome from @garoevans, closes #7689Kevin Ingersoll1-1/+1
2013-04-27Adding media queries breakpoints variablesKevin1-1/+1
2013-04-21Fixes #7617: lowercase and dash gray color varsMark Otto1-2/+2
2013-04-13more specific comment, better placement of codeMark Otto1-4/+5
2013-04-13override normalize.css overridePaul Tyng1-0/+4
2013-03-31more consistent forms vars; drop search border radius since no more search formMark Otto1-3/+3
2013-03-31@state-*-background to @state-*-bg varsMark Otto1-3/+3