0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Commit Graph

366 Commits

Author SHA1 Message Date
Gleb Mazovetskiy
a3b6c9072c Remove trailing whitespace in forms.less 2015-03-10 20:16:10 +00:00
Kevin Kirsche
b4a5f89ab3 Fix #15652: Set position: relative on .{radio,checkbox}-inline
Closes #15656 by merging it.
2015-02-20 20:10:04 -08:00
Chris Rebert
2549b808a1 Merge pull request #15699 from kkirsche/patch-8
Fix #15691: .form-control-static changes height when empty
2015-02-19 15:42:29 -08:00
Kevin Kirsche
0ee7602284 [Fixes #15691] .form-control-static changes height when empty
[Fixes #15691] .form-control-static changes height when empty by setting the minimum height to the size it is when text is in the `.form-control-static`

JSFiddle: http://jsfiddle.net/4pdo4yzo/

Compute the minimum height

@line-height-computed = ~20px
@font-size-base = 14px

This should come to approx. 34px

Add min-height to from-group-* per @cvrebert

I had this wrong. The minimum height would depend on the font-size of that specific group, thus we need to declare it once for font-size-small and once also for font-size-large
2015-02-19 18:02:51 -05:00
Mark Otto
a7a6e7f8d6 Merge pull request #15703 from kkirsche/patch-9
[Fix Issue #15683] `readonly` input should not have a not-allowed cursor
2015-02-17 11:31:36 -08:00
Kevin Kirsche
2dfc58fa5c [Fix Issue #15683] readonly input should not have a not-allowed cursor
[Fix Issue #15683] `readonly` input should not have a `not-allowed` cursor. Instead, this pull request displays a standard cursor and only displays the not-allowed cursor on disabled items.

Revise docs wording to clarify cursor display
2015-02-03 08:58:11 -05:00
Kevin Kirsche
8a9374325b Use form-group margin variable 2015-02-02 15:16:26 -05:00
Chris Rebert
85a6595a71 .form-control: add note about <select> & border-radius
Refs #15340
2015-01-16 11:02:51 -08:00
Mark Otto
dbffb0b47f Fixes #15536, #15559: Add .form-group sizing support to .form-control-static 2015-01-15 16:03:13 -08:00
Mark Otto
b615bd938b Merge branch 'master' of https://github.com/twbs/bootstrap
Conflicts:
	dist/css/bootstrap.css.map
2014-12-22 19:30:51 -08:00
Mark Otto
c41970c579 Fixes #15422: Alternate fix for temporal input sizing in input groups 2014-12-22 19:28:29 -08:00
Chris Rebert
15c9c3aef7 add more refs to browser-related bugs in Less comments 2014-12-22 17:24:26 -08:00
Chris Rebert
e5051e76fe Reference iOS Safari temporal input bug in explanatory Less comment
Refs #11266, #13098, #15415

[skip sauce]
[skip validator]
2014-12-22 15:03:48 -08:00
Chris Rebert
c275850982 Remove reference to old fixed WebKit bug in Less comment.
Per https://github.com/twbs/bootstrap/issues/1969#issuecomment-36971094

[skip sauce]
[skip validator]
2014-12-22 14:58:44 -08:00
Mark Otto
7c71b4874b Fixes #15074: Fix the nesting problem with form control size variants 2014-11-29 20:57:04 -08:00
Mark Otto
5670dd8930 comment and formatting 2014-11-09 15:04:32 -08:00
Mark Otto
46d1bf8eef Fixes #14234 again
- Rather than override and hack for IE8-10 and then IE11, scope to just Safari.
- Drops the IE hacks for a media query Webkit hack
2014-11-09 15:03:33 -08:00
Mark Otto
bf3be5a456 swap cursor not-allow for default, and use a variable for all disabled elements 2014-10-27 20:45:46 -07:00
Marat Abdullin
0d8f5fffa5 Variables for large and small input border radiuses 2014-09-08 11:04:12 -07:00
Mark Otto
6424acf69a Fixes #14234: Reset the hack IE8-10 with another hack just for IE11 for temporal inputs and line-height 2014-08-02 21:16:32 -07:00
Mark Otto
078aafe7fd Fixes #14221: Make .form-control-static work in inline forms as well 2014-07-23 20:54:07 -07:00
Mark Otto
5713bd74d6 Fixes #12669 again: Redeclare the line-heights again for date inputs in IE8+ 2014-07-23 20:32:05 -07:00
Kyle
c298fb1a88 Add Pointer Events 2014-07-09 19:21:45 -04:00
Heinrich Fenkart
dc22226b95 Fix small typo introduced in e2029e1 2014-07-07 09:23:12 +02:00
Mark Otto
e2029e122c Fixes #13997: Move min-height for radio/checkbox to their inner label 2014-07-06 15:09:20 -07:00
Mark Otto
fcf9470a20 typo 2014-07-02 23:35:37 -07:00
Mark Otto
96b545c6b5 Fixes #13989: Don't extend the input sizes; manually chain the selectors 2014-07-02 23:14:23 -07:00
Mark Otto
b4958aba69 merge in and resolve conflicts 2014-07-02 22:54:56 -07:00
Boris Serdyuk
77c1a528ab place feedback icon lower, only if it really need 2014-07-01 20:23:22 +04:00
Mark Otto
e40df7cfac fixes #13912: make radios/checkboxes work with inline forms again 2014-06-25 16:56:36 -07:00
Mark Otto
e98fc373e3 Fixes #13872 more: add overrides for lg and sm input modifiers 2014-06-20 13:24:14 -07:00
Mark Otto
1e53dcd137 Fixes #13872: Always apply padding to .form-control-static for that vertical alignment 2014-06-19 18:33:41 -07:00
Mark Otto
74a264fb98 fixes #13021: add .form-group-sm/-lg 2014-06-18 18:19:17 -07:00
Chris Rebert
37acbb983d min-content is standard, so no need to vendor prefix it
Also, makes little sense to say that Firefox sets a `-webkit`-prefixed value
2014-06-13 11:37:40 -07:00
Mark Otto
631e04b6fc Fixes #13548: Use position: absolute; to fix checkbox and radio line-height problems that were introduced after #13003 2014-06-10 20:50:58 -07:00
Chris Rebert
739bf379a9 set not-allowed cursor on disabled radio+checkbox labels; fixes #13281
[skip validator] [skip sauce]
2014-06-06 17:23:28 -07:00
Mark Otto
10e9fef85c Merge pull request #13651 from twbs/ios-temporal
update explanatory comment about iOS date/time inputs bug
2014-05-22 21:48:56 -07:00
Mark Otto
fab9ab8fe9 Reset the padding on radio/checkbox labels in form-inline 2014-05-22 18:42:21 -07:00
Chris Rebert
3261ab704e update explanatory comment about iOS date/time inputs bug
Per:
* http://jsbin.com/purer/2/edit
* 6e8aa78384/README.md (ios-temporal-input-line-height)
Thanks @mdo <3

[skip sauce] [skip validator]
2014-05-21 16:50:23 -07:00
Sean Dwyer
06f6c9f006 Fix indent 2014-04-11 14:15:33 -07:00
Sean Dwyer
3777ef007d Fix form-control-feedback position when label has sr-only class 2014-04-10 17:43:53 -07:00
Mark Otto
acf5707323 Fixes #13066: Add z-index to the form control feedback icons so input groups don't render on top of them 2014-03-24 20:07:54 -07:00
Chris Rebert
06451a58d0 expand issue # ref to full URL 2014-03-24 19:48:21 -07:00
Mark Otto
6f6bce5944 Fixes #13141: Add a max-width: 100%; to label elements so IE8 wraps text 2014-03-24 19:26:41 -07:00
Rob Fletcher
1be0b57d34 Fix vertical alignment of temporal inputs on iOS
Fixes #13098
Closes #13099
2014-03-20 01:13:21 -07:00
Mark Otto
5f2845f307 remove comment 2014-03-10 16:43:57 -07:00
Mark Otto
a83ca38713 Fixes #13003: Move padding on radio and checkbox options from the surrounding div to the label to remove the no-click deadzone caused by negative margin 2014-03-10 16:41:56 -07:00
Chris Rebert
b1f71e5292 fix grammar in comment in forms.less 2014-03-09 21:35:48 -07:00
Mark Otto
a15c24410b Fixes #12759
Ensures proper sizing and alignment of input groups within inline and
navbar forms.

* Uses `inline-table` on the input group
* Nukes the widths to `width: auto`—without this, the parent input
group doesn’t size correctly and functions as `display: table;` or
`block`
2014-03-09 21:25:51 -07:00
Mark Otto
1a5fb4ef24 Fixes #12843: Scope label styles for horizontal forms to a media query so their narrow viewport display looks just like a normal form 2014-03-09 17:22:52 -07:00