Chris Rebert
350ce2f707
Switch to actually-Safari-specific CSS hack when fixing vertical alignment 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-10 18:22:10 -08:00
Chris Rebert
8adc9d771f
Remove remaining reference to <input type="datetime"> in SCSS comment
...
Erratum of #18778
[skip sauce]
[skip validator]
2016-01-08 23:55:23 -08:00
Mark Otto
6a7577d3c6
remove instances of font-weight: normal since we no longer specify bold labels (as of v4)
2016-01-05 00:14:58 -08:00
Mark Otto
30aad997d0
tweak comment
2015-12-07 23:52:10 -08:00
Chris Rebert
9dacdce42c
Use $input-btn-border-width for both .form-control and .btn borders; fixes #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-07 20:41:51 -08:00
Mark Otto
21b15d450d
fixes #18087 : .navbar-form is no more
2015-12-06 16:59:33 -08:00
Chris Rebert
85c9cc806b
.form-control: Use $input-border-width instead of $border-width
...
[skip sauce]
2015-11-15 01:18:40 -08:00
Chris Rebert
2d02910e01
$input-border => $input-border-color
2015-11-14 22:40:43 -08:00
Mark Otto
925f0ca018
fix error to danger
2015-11-14 19:45:48 -08:00
Mark Otto
9f66e7309c
fix broke shit, ugh my bad
2015-11-12 23:15:31 -08:00
Mark Otto
6fd1c80d37
Merge pull request #17153 from kkirsche/patch-17
...
v4 — Change .has-error to .has-danger for uniformity.
2015-11-12 22:20:07 -08:00
Chris Rebert
364925f951
Fix typos in comments
2015-10-28 14:33:48 -07:00
Chris Rebert
25d724b279
_forms.scss: Copy over iOS <input> type compatibility note from v3
...
Refs b6e6a05b95
We ought to re-check this for iOS 9.1 at some point...
[skip sauce]
[skip validator]
2015-10-23 23:05:13 -07:00
Chris Rebert
a180a3362a
Move border-radius mixin from scss/_mixins.scss to scss/mixins/_border-radius.scss
...
Reunites the family.
Closes #17791
2015-10-08 08:56:13 -04:00
Mark Otto
85f08df3b0
fixes border-width issues when customizing font-size by using 1px instead of .0625rem as default -width
2015-09-15 21:11:15 -07:00
Gleb Mazovetskiy
79aebf6c1d
Merge pull request #17364 from twbs/avoid-parent-selector-suffix2
...
Remove all uses of `selector &` to support nested import
2015-09-05 10:14:59 +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
8ad1f8ddbe
Merge pull request #17331 from twbs/fix-17323
...
rm unused $state param from form-control-validation mixin
2015-08-29 15:55:45 -07:00
Gleb Mazovetskiy
f7b27a02ce
Remove all uses of selector &
...
If we want to support namespaced import:
```scss
.twbs {
@import 'bootstrap';
}
```
We cannot use `selector &`, see sass/sass#1817 .
`fieldset[disabled] &` is not needed as we no longer support IE8.
2015-08-27 13:11:14 +01:00
XhmikosR
3e66427127
Less to Sass typos.
...
[ci skip]
2015-08-27 08:14:39 +03: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
b2dccb15d7
fix majority of scss linter errors
2015-08-23 01:00:22 -07:00
Kevin Kirsche
477790c672
Use border-radius mixing in form-control-sm and form-control-lg
...
Fix #17160
2015-08-20 15:53:41 -04:00
Mark Otto
dcc92778d5
really temporarily disable those heights
2015-08-17 23:42:58 -07:00
Mark Otto
c3373df95f
clean out comments that aren't all that helpful
2015-08-17 18:33:34 -07:00
Mark Otto
9b1ee31567
nuke the shared padding vars and assign to individual components
...
- no real need for everything to be 100% shared
- padding looked and felt too large for inputs but not for buttons
- tying forms and buttons seems fine, but throwing in pagination feels wrong
2015-08-13 23:04:16 -07:00
Mark Otto
6af9412674
move form validation icon vars to variables file
2015-08-12 22:39:46 -07:00
Mark Otto
faacbdb49f
Remove .help-block entirely
...
- Fixes #13267 somewhat.
- Instead of a single, block-level class, let's use a combination of existing elements and classes.
- For block-level help text, use p.text-muted.
- For inline-level help text, use span.text-muted or small.text-muted.
2015-08-12 22:14:31 -07:00
Mark Otto
a90f6c7093
reorder variables, rename -color to -color
2015-08-10 23:38:41 -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
b451104bcd
use mixin on input transition
2015-07-03 18:35:53 -07:00
Mark Otto
4665b9dd6f
Add new variable for -box-shadow
2015-07-03 18:35:46 -07:00
Mark Otto
ed42fc9b76
line-height-base to line-height var
2015-06-22 23:24:32 -07:00
Mark Otto
acca337ced
Remove var
2015-06-22 19:02:30 -07:00
Mark Otto
75cf69a1ab
drop more -base, clean up var spacing
2015-06-22 18:57:56 -07:00
Mark Otto
0ca9b21c34
drop the base (hahaha), no but seriously drop the -base from our vars since it's cleaner
2015-06-22 18:53:04 -07:00
Mark Otto
4565281df3
rename -horizontal and -vertical vars to -x and -y for consistency
2015-06-22 16:33:17 -07:00
Mark Otto
ce9c0f0125
tweak small forms, small inputs; trying to equalize their rendered dimensions
2015-06-22 16:30:31 -07:00
Mark Otto
eaa67a82d3
fix scss linting
2015-06-19 00:14:36 -07:00
Mark Otto
169d2a4a78
Merge branch 'master' into v4
2015-06-18 23:56:43 -07:00
Mark Otto
d31ec33908
Fix no-label checkboxes/radios
...
Because we use `position: absolute` on our inputs, when there’s no
label the `.checkbox` ends up having no computed height. To avoid
rendering errors when there’s no label text, we reset the `position` to
`static` for normal rendering.
2015-04-29 12:01:57 -07:00
Mark Otto
ed89be1f44
Remove $line-height-computed
...
We have it set to `1` right now just to avoid compilation errors, but
it’s been replaced everywhere with our new spacer classes anywho. We’ll
likely want to remap that var to custom component vars though (e.g.,
`$pagination-margin` instead of `$spacer-y`).
2015-04-29 12:00:11 -07:00
Mark Otto
cc7c27dd71
drop .form-horizontal
2015-04-23 01:11:10 -07:00
Mark Otto
2cf5213c15
remove commented out code
2015-04-23 01:10:57 -07:00
Mark Otto
490294e68b
Fix up some form docs styles, sizing, etc
2015-04-23 01:10:14 -07:00
Mark Otto
dc3abb5f12
Update labels and form grid examples
2015-04-23 00:51:39 -07:00
Mark Otto
8f94078da8
New form control sizing, new navbar condensed variation, update nav and navbar spacing
2015-04-18 18:12:10 -07:00
Mark Otto
2237572e8b
clean up commented out code in forms
2015-04-18 11:30:29 -07:00
Mark Otto
bf5931b5ee
massive rewrite of forms docs and some css
2015-04-17 16:02:41 -07:00
Mark Otto
7049a07444
More reboot work, commenting out things that have been moved over
2015-04-17 00:22:35 -07:00