Mark Otto
1083e49bbe
really fix indentation, reorder
2017-10-21 20:57:19 -07:00
Mark Otto
7eb8c54858
use vars, fix indentation
2017-10-21 20:55:01 -07:00
Sharrell Porter
809ce6d6ef
Sass correction
2017-10-20 07:23:48 -04:00
Sharrell Porter
4f814fabd6
sync-commits erge branch 'v4-dev' into custom-checkboxes-radios-correct-color
2017-10-20 07:12:39 -04:00
Mark Otto
06641ca0b3
Gradients and shadows ( #24429 )
...
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency
* - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.
- Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
variables with unified `$input-btn-focus-box-shadow` to match our
combined variables approach elsewhere.
* Put new focus width var to use in buttons mixins
* use new button input-box shadow var
* Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true
* use correct var
* fix focus shadows in button mixins
* Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items
* Generate .bg-gradient- utilities
* add headings to colors page and document bg-gradient utils
* update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-19 09:03:33 -07:00
Sharrell Porter
e9c6656004
correcting color
2017-10-16 16:57:13 -04:00
Patrick Yeo
728f579286
Form Validation .valid-feedback
and .valid-tooltip
are unstyled ( #23527 )
2017-10-02 20:37:28 -07:00
Andrew Luca
dfc946b777
Update comment for forms mixins ( #24050 )
...
Check `form-control-focus` mixin, variable name is `$input-focus-border-color`
2017-09-26 18:14:52 +03:00
Mark Otto
bde9c64ca9
Apply the invalid/valid state to the class name
2017-08-12 18:24:49 -07:00
Mark Otto
21b874d19d
Merge branch 'v4-dev' into form-tweaks
2017-06-13 20:15:42 -07:00
Patrick Yeo
4cc21bbf74
( #22414 ) Rename for consistency $input-bg-disabled
, $input-bg-focus
, $input-border-color-focus
, $input-box-shadow-focus
, $input-color-focus
, $input-color-placeholder
to $input-disabled-bg
, $input-focus-bg
, $input-focus-border-color
, $input-focus-box-shadow
, $input-focus-color
, $input-placeholder-color
, respectively
2017-06-13 08:45:50 -07:00
Mark Otto
94ed0d901b
move to mixin so we can repeat it easier and allow folks to extend to custom states
2017-06-10 16:30:26 -07:00
Mark Otto
6c214ad4c2
drop the old validation styles and docs
2017-06-06 11:27:29 -07:00
Mark Otto
4a554e5ff5
trying out new validation styles
2017-06-01 08:06:17 -07:00
Mark Otto
5463d8436b
Merge branch 'v4-dev' into form-tweaks
2017-04-21 23:36:24 -07:00
Mark Otto
7efe4ddee4
Match validation mixin focus state to normal focus state
2017-04-21 23:30:06 -07:00
Patrick Yeo
dd0ce3e4b2
Rename variable $input-border-focus to $input-border-color-focus ( #22413 )
...
* Rename variable $input-border-focus to $input-border-color-focus
* Rename variables $pagination-hover-border, $pagination-active-border, $pagination-disabled-border to $pagination-hover-border-color, $pagination-active-border-color, $pagination-disabled-border-color, respectively
* Rename variables $state-*-border to $state-*-border-color, respectively
* Rename variables $alert-*-border to $alert-*-border-color
* Rename $list-group-active-border to $list-group-active-border-color
* Rename $table-inverse-border to $table-inverse-border-color
* Rename $btn-*-border to $btn-*-border-color
* Rename $navbar-*-toggler-border to $navbar-*-toggler-border-color
2017-04-16 15:45:10 -07:00
naicko
890c6041f3
Update scss mixins to comply with scss-linting rules ( #22151 )
...
* Fixed some linting issues
* Run npm tasks after scss cleanup
* Revert "Run npm tasks after scss cleanup"
This reverts commit 1103a0da68
.
* Property sort order for grid
* Let's respest the property order in the mixins
* Respect property sort order in reboot file
* ::-ms-expand is a vendor-prefix, add it to the scss-lint disable
* Revert hover mixin comment
* Fixed missing mixin hover-focus
2017-03-18 13:06:05 -07:00
Pierre Vanduynslager
3173a72083
Remove unused input-size mixin ( #21971 )
2017-02-11 21:16:16 -08:00
Mark Otto
d79b556373
Fixes #21814 . Also accounts for custom file inputs.
2017-02-04 17:03:42 -08:00
Brad Kent
8250bd1b21
Fix #20936 make inline checkbox/radio markup same as stacked ( #20995 )
...
* #20936 make inline checkbox/radio markup same as stacked
* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -08:00
Mark Otto
cfd6e92ff6
include .col-form-label in the form validation field mixin
2016-10-28 16:35:47 -07:00
Pierre-Denis Vanduynslager
6eb2e54a91
Use box-shadow mixin
2016-10-20 16:35:45 -04:00
Pierre-Denis Vanduynslager
7a21517a48
Set box-shadow on input if enable-shadows rather than enable-rounded
2016-10-20 14:29:20 -04:00
Mark Otto
8273e0cf82
linting
2016-10-09 16:46:47 -07:00
Mark Otto
b77b874265
fix focus shadows, if enabled
2016-10-09 16:44:04 -07:00
Mark Otto
8750b5f81c
The color is already covered in the first ruleset here
2016-10-09 16:39:02 -07:00
NicoLB
659809db15
.form-control:focus customization ( #20436 )
...
* Allow variables input-bg-focus and input-color-focus to be overridden.
* More consistency and control to customize shadows on .form-control:focus
2016-09-11 22:32:33 -07:00
Mark Otto
7e18498b64
Fixes #20608 and #20578 : Consistent checkbox and radio markup ( #20629 )
...
- Update docs examples to use newer .form-check suite of classes
- Update form validation mixin to use newer classes as well
2016-09-05 11:39:37 -07:00
Mark Otto
9d6b41c127
Merge pull request #19141 from twbs/v4-forms-cleanup
...
v4: Forms cleanup
2016-05-11 10:49:31 -07:00
Mark Otto
1b17ee4062
property order
2016-05-09 10:18:41 -07:00
Mark Otto
80144d74d7
Merge branch 'v4-dev' into v4-forms-cleanup
2016-04-08 20:55:19 -05:00
Kevin P. Kucharczyk
585e5e9adf
Add $input-bg-focus and $input-color-focus variables
2016-03-02 17:41:20 +01:00
Mark Otto
371fbdb0e8
.text-help is dead, long live .form-control-feedback
...
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-09 01:10:05 -08:00
Mark Otto
09aefaa2af
Alternate fix to #17965 : Updates to use the new class name and adds some basic docs for custom checkbox/radio validation
2016-02-08 23:21:32 -08:00
Chris Rebert
d26b7c7a2c
Rename local vars per new naming convention: $padding-{vertical=>y} $padding-{horizontal=>x}
...
[skip sauce]
[skip validator]
2016-01-13 15:29:06 -08:00
Almir Sarajcic
4264621cee
Fix #17768
2015-10-28 16:27:55 +01:00
Andrew Smith
b424626e97
Update all usages of 'control-label' with 'form-control-label' in docs
2015-09-02 15:01:02 +10:00
Chris Rebert
5c239aae7d
rm unused $state param from form-control-validation mixin; fixes #17323
...
[skip sauce]
[skip validator]
2015-08-26 01:32:26 -07:00
Mark Otto
7c3f5b6d59
rewrite some forms docs, use new validation styles and icons
2015-08-08 14:15:09 -07:00
Mark Otto
490294e68b
Fix up some form docs styles, sizing, etc
2015-04-23 01:10:14 -07:00
Mark Otto
27df020852
convert to scss
2014-12-02 14:02:35 -08:00