aboutsummaryrefslogtreecommitdiff
path: root/scss/_forms.scss
AgeCommit message (Collapse)AuthorFilesLines
2016-11-28Fix #20936 make inline checkbox/radio markup same as stacked (#20995)Brad Kent1-10/+4
* #20936 make inline checkbox/radio markup same as stacked * tweak language and remove extra blank line in snippet
2016-11-28Fix incorrect select height calculation (#21171)Florian Schlittenbauer1-1/+1
2016-11-26Update inline forms (updated docs and new flexbox styles) (#21212)Mark Otto1-11/+70
* fix form-inline with flex enabled * grunt * fix alignment of labels * shorter if syntax * add new form example to docs for now * update inline form docs usage guidelines * responsive margins * better margin utils * fix sizing of .form-check * flexbox alignment of .form-check * no need to change direction * support custom controls in inline form, for default and flex modes * add example of custom select and checks to docs * remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere * use property value instead of layout name * apply to all labels * add a visible label, space it out * add id
2016-10-09Match the height of select.form-control with input.form-controlMark Otto1-1/+2
Uses a local variable and some calc love to counteract the border-width (times 2) from the height of the select. Fixes #17194 and nullifies #19967.
2016-10-09remove un-needed commentMark Otto1-1/+0
2016-10-09add transparent border to match .form-control heightMark Otto1-0/+2
2016-10-09Update static form controlMark Otto1-3/+1
- Remove margin-bottom override in favor of .mb-0 utility class - Apply the input line-height styles to match - Remove the min-height to match the input
2016-10-09Ensure input groups behavior appropriately in inline formsMark Otto1-0/+1
Overrides the default width: 100% with an auto. Fixes #20752.
2016-10-02Only override input border-radius as part of .form-control to avoid bug with ↵Mark Otto1-1/+9
iOS Safari (alt fix for #20247) (#20695)
2016-10-02Fixes #20799: Apply same color change to disabled inline radios/checkboxes ↵Mark Otto1-0/+1
(#20826)
2016-05-10Bring back some 'help text' love for forms with .form-textMark Otto1-1/+6
- Includes new class - New docs to support it - Rearranged older docs
2016-05-09Merge branch 'v4-forms-cleanup' of https://github.com/twbs/bootstrap into ↵Mark Otto1-0/+1
v4-forms-cleanup
2016-05-09Update checkboxes and radios docsMark Otto1-0/+1
- Add lighter gray text to disabled state for .form-check - Separate radios and checkboxes example - Clarify docs
2016-05-08update classes for inline form to new checkbox optionsMark Otto1-8/+5
2016-05-08Fixes #19771: Enable .form-control-sm/lg on select.form-controlMark Otto1-0/+12
2016-05-08lintingMark Otto1-1/+1
2016-05-08Redo checkboxes and radiosMark Otto1-51/+24
- Move disabled radio and checkbox styles to Reboot - Collapse .radio and .checkbox into single class, .form-check - Collapse .radio-inline and .checkbox-inline into single class, .form-check-inline - Require classes for sub-elements in both new classes
2016-04-23nuke commented out cssMark Otto1-78/+0
2016-04-23Avoid hacking around the temporal input bug in iOSMark Otto1-32/+0
- Rather than use CSS hacks, let's avoid needing to hack anything - Creates a new Reboot entry to simply reset the appear of the temporal inputs, thereby avoiding the problem entirely - Less than ideal for conveying affordance on iOS, but given bugginess of the input itself, seems a decent tradeoff
2016-04-23Merge branch 'v4-dev' into v4-forms-cleanupMark Otto1-0/+10
2016-04-12Suppress IE/Edge additional white/blue colors for focused <select>Patrick H. Lauke1-0/+10
2016-04-08Fixes #18573: Change name of .form-control-label to .col-form-label (and ↵Mark Otto1-4/+4
.form-control-legend to .col-form-legend) to reiterate use for only grid layouts
2016-04-08fix up broke forms styles and docs example for the gridMark Otto1-1/+2
2016-04-08Merge branch 'v4-dev' into v4-forms-cleanupMark Otto1-0/+13
2016-02-19Add form-control-legendPatrick H. Lauke1-0/+12
2016-02-09.text-help is dead, long live .form-control-feedbackMark Otto1-0/+4
Uses a new more specific class, adds some basic spacing, and clarifies that this class is only for validation feedback. Clears up the help text class question in https://github.com/twbs/bootstrap/pull/18704#issuecomment-168241731 and addresses the vertical spacing in #18703.
2016-02-09fix #18515: add .form-control-label-* classes to match large/small inputsMark Otto1-0/+12
2016-02-09don't set horizontal padding on .form-control-label /cc #18130 #17498Mark Otto1-1/+2
2016-02-08Move to a translucent input border with background-clip: padding-box for ↵Mark Otto1-0/+1
improved blending across different background-colors
2016-02-08_forms.scss: Use division instead of fractional multiplicationChris Rebert1-2/+2
[skip sauce] [skip validator]
2016-02-08_forms.scss: Remove extra trailing 0 in fractional numberChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-02-07Merge branch 'v4-dev' into v4-form-sizingMark Otto1-4/+4
2016-02-07updated button/form-control padding and line-heightMark Otto1-0/+1
- Moves from no set line-height (inherited of 1.5) to declared 1.25 for all inputs and buttons (regardless of size modifier). - Updates padding to be `.5rem` instead of `.375rem` so that padding is more likely to be whole numbers based on the root font-size. - Whole numbers will be beneficial in avoiding odd fractional pixels that can lead to misalignment as shown in #18607. - Large buttons and inputs are now a tad wider, and smaller buttons/inputs a tad shorter and narrower, too.
2016-02-07Remove commented out height on large/small inputsMark Otto1-2/+0
2016-02-07Remove specific line-heights from large/small inputs as wellMark Otto1-2/+0
2016-02-07_forms.scss: Remove extra url()s in commented-out codeChris Rebert1-3/+3
[skip sauce] [skip validator]
2016-02-07Fix CSS3 :not() selectorvsn4ik1-1/+1
2016-02-06Fixes #17194: Ensure proper height on default select.form-control instancesMark Otto1-8/+5
2016-02-06tweak sizingMark Otto1-1/+1
2016-02-06move the url to the variable valueMark Otto1-3/+3
2016-02-06linter overhaulMark Otto1-0/+2
2016-02-03Redo line-height globallyMark Otto1-1/+0
- Rename -height to -height-base to match other vars - Drop use of -height across the board and rely on it to be inherited - Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
2016-01-23scss/_forms.scss: Remove now-unnecessary SCSS-Lint exemptionChris Rebert1-3/+0
[skip sauce]
2016-01-10Switch to actually-Safari-specific CSS hack when fixing vertical alignment ↵Chris Rebert1-16/+18
of temporal input text in iOS Safari See http://browserbu.gs/css-hacks/webkit-full-page-media/ Fixes #17308 [skip sauce] [skip validator]
2016-01-08Remove remaining reference to <input type="datetime"> in SCSS commentChris Rebert1-1/+1
Erratum of #18778 [skip sauce] [skip validator]
2016-01-05remove instances of font-weight: normal since we no longer specify bold ↵Mark Otto1-2/+0
labels (as of v4)
2015-12-07tweak commentMark Otto1-1/+1
2015-12-07Use $input-btn-border-width for both .form-control and .btn borders; fixes ↵Chris Rebert1-1/+1
#18424 Both widgets need to use the same border width because of input groups. Thus: $btn-border-width => $input-btn-border-width $input-border-width => $input-btn-border-width [skip sauce]
2015-12-06fixes #18087: .navbar-form is no moreMark Otto1-2/+0
2015-11-15.form-control: Use $input-border-width instead of $border-widthChris Rebert1-1/+1
[skip sauce]