Mark Otto
4245e8ebb5
Fix checkbox and radios example
2012-12-09 22:13:40 -08:00
Mark Otto
4c82dd3645
Refactor input groups
...
* Deprecate .input-append and .input-prepend
* Use new, single base class for component, .input-group
* Deprecate .addon for .input-group-addon
* For compatibility with all buttons, require .input-group-btn to wrap buttons and button dropdowns
* Still need to reimplement with segmented button dropdowns, but that's dependent on a refactor of those first
2012-12-09 21:46:14 -08:00
Mark Otto
adc2c779a0
grid vars updated
2012-11-30 15:43:07 -08:00
Mark Otto
e34b3730b7
form state vars
2012-11-30 15:38:31 -08:00
Mark Otto
a09cea44ae
more vars changed
2012-11-30 15:27:13 -08:00
Mark Otto
12a00f62a9
remove color variables, swap others were appropro
2012-11-30 15:18:49 -08:00
Mark Otto
9239bfbc7b
more vars changed, remove @white var
2012-11-30 15:05:23 -08:00
Mark Otto
b0e2b5813d
more consistent variable naming patterns
2012-11-30 14:45:25 -08:00
Mark Otto
7a3d15eb21
Part 1 of unCamelCasing variables
2012-11-30 14:37:24 -08:00
Mark Otto
fe8061b84e
more tests for form styles; includes lightening help text
2012-11-30 13:35:20 -08:00
Mark Otto
7313702cf3
Inputs now 100% width by default
...
* Includes text inputs, selects, and textareas
* Updated docs to include .span* sizes wherever possible
* Commented out responsive 1200px inputs grid
* Still some derp to be done to improve more, but this is a decent first stab
2012-11-30 00:53:07 -08:00
Mark Otto
8d09e7c24d
remove some unhelpful comments
2012-11-30 00:26:02 -08:00
Mark Otto
4fd164d45b
consolidate font resets into scaffolding
2012-11-30 00:24:17 -08:00
Mark Otto
71d8bebfbc
remove from form styles
2012-11-30 00:21:44 -08:00
Mark Otto
fca35c0dba
Merge branch '2.2.2-wip' into exploratory
...
Conflicts:
docs/assets/css/bootstrap.css
docs/components.html
docs/templates/pages/components.mustache
less/alerts.less
less/button-groups.less
less/buttons.less
less/tests/css-tests.html
2012-11-30 00:13:30 -08:00
Mark Otto
bca3ff4ed6
Fixes #5853 : Maintain 10px margin above help block when following input groups
2012-11-29 23:39:33 -08:00
Mark Otto
f087b3428c
remove element from selector
2012-11-29 23:33:09 -08:00
Zulfiqar Ali
693fd0db2a
help-block margin-top should also apply after a span.uneditable-input
2012-11-28 16:47:59 +08:00
Zulfiqar Ali
701f871e7d
help-block margin-top should also apply after a span.input
2012-11-27 07:30:54 +08:00
Mark Otto
ee93541421
Merge branch '2.2.2-wip' into exploratory
...
Conflicts:
docs/assets/css/bootstrap.css
less/buttons.less
less/forms.less
2012-11-04 19:59:07 -08:00
Mark Otto
62c78e46f8
more required input tweaks
2012-11-04 19:53:13 -08:00
Mark Otto
91bcccd9a8
simplify invalid input css
2012-11-04 19:43:09 -08:00
Mark Otto
f3b3814606
Merge pull request #5786 from cvrebert/2.2.2-wip
...
fixes #5494 : style invalid fields as invalid regardless of required-ness
2012-11-04 19:41:59 -08:00
Mark Otto
7e6cc0bf7e
Fixes #5785 : allow for segmented button groups in input groups
2012-11-04 19:08:02 -08:00
Chris Rebert
76f9c9128e
fixes #5494 : style invalid fields as invalid regardless of required-ness
2012-11-04 18:26:25 -08:00
Mark Otto
1477e081d4
Merge branch '2.2.2-wip' into exploratory
...
Conflicts:
docs/assets/css/bootstrap.css
docs/getting-started.html
docs/templates/pages/getting-started.mustache
less/accordion.less
less/alerts.less
less/breadcrumbs.less
less/buttons.less
less/code.less
less/dropdowns.less
less/forms.less
less/navbar.less
less/progress-bars.less
less/responsive-navbar.less
less/tables.less
less/thumbnails.less
less/tooltip.less
less/wells.less
2012-11-02 09:36:51 -07:00
Mark Otto
d0c75bbc83
fixes #5742 : add cursor: pointer; to labels and selects
2012-11-01 09:44:51 -07:00
Mark Otto
b18c009051
fixes #5473 : use baselineheight var for input bottom margin
2012-10-10 09:47:08 -07:00
Mark Otto
4ab7b77aa3
Merge branch '2.1.2-wip' into exploratory
...
Conflicts:
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
docs/components.html
docs/templates/pages/components.mustache
less/labels-badges.less
less/navbar.less
less/tables.less
2012-10-01 23:41:00 -07:00
Mark Otto
5035592988
fixes #5193 manually: checkbox and radio padding in .controls-row
2012-10-01 11:53:52 -07:00
Mark Otto
8da78223ff
reset input and button heights with updated padding
2012-10-01 00:19:29 -07:00
Mark Otto
9872902e47
remove .border-radius mixin and replace with standard border-radius property, since -webkit-* and -moz-* are only needed for older versions
2012-09-30 23:11:54 -07:00
Mark Otto
08eea302ef
remove remaining fluid grid css
2012-09-25 22:20:24 -07:00
Mark Otto
9e97098802
make .input-* classes match .btn-* size classes
2012-09-25 22:16:47 -07:00
Mark Otto
0220015edd
remove all ie7 conditionals and mixins
2012-09-25 22:07:53 -07:00
Mark Otto
ce19e63d5b
Merge branch '2.1.2-wip' into box-sizing-exercise
...
Conflicts:
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
docs/base-css.html
docs/templates/pages/base-css.mustache
less/forms.less
less/mixins.less
2012-09-25 22:00:41 -07:00
Mark Otto
527d01ce99
headway, cleanup, and tests
2012-09-25 15:01:03 -07:00
Mark Otto
f4d3d7da2e
ensure 100% width for .uneditable-inputs in <767px viewports
2012-09-23 16:06:28 -07:00
Mark Otto
c92a75999f
fixes #5127 : add @inputHeight to replace static instances of '30px' throughout forms
2012-09-20 11:45:59 -07:00
Mark Otto
532ee08213
fixes #5150 : add btn-group support to input groups
2012-09-20 11:37:34 -07:00
Mark Otto
239e6a7d21
fixes #5082 manually: reset font-size for .dropdown-menu within .input-prepend/-append
2012-09-17 23:11:49 -07:00
Mark Otto
6881c193ca
fixes #5039 : properly set .row-fluid margins for .controls-row
2012-09-17 16:09:36 -07:00
Mark Otto
537c5cc33d
use local var for a few other .box-shadow mixins to fix CSS not compiling
2012-09-12 16:18:52 -07:00
Mark Otto
bbadd429a8
change up box-shadow mixin usage everywhere to use escaping again, or local var if necessary for further var evaluation
2012-09-12 15:48:56 -07:00
Mark Otto
cd2b12f788
fixes #5064 manually: remove fancy quote mark
2012-09-10 22:41:14 -07:00
Mark Otto
dd1bce2611
latest tweaks to grid classes for forms
2012-09-08 12:50:37 -07:00
Mark Otto
b53da4b6e7
commenting out stuff and adding grid test page
2012-09-07 22:46:35 -07:00
Mark Otto
7e29581210
Merge branch '2.1.2-wip' into box-sizing-exercise
...
Conflicts:
docs/scaffolding.html
docs/templates/pages/scaffolding.mustache
2012-09-07 22:34:51 -07:00
Mark Otto
de36456f5d
fixes #4957 : use input border var for select element instead of #ddd
2012-09-04 11:00:25 -07:00
Mark Otto
f46813a8c8
Merge pull request #4763 from Luis-TP/2.1.1-wip
...
Improve .box-shadow mixin by utilizing regex function to no longer require escaping
2012-09-03 01:03:37 -07:00
Mark Otto
0b122bc5c5
remake the box-size grid, nuke fluid grid docs, fix up examples, clean up form styles
2012-08-28 13:33:06 -07:00
Mark Otto
e27b1355b5
fixes #4771 : widen .form-horizontal labels and .dl-horizontal terms given larger font-size of 2.1.0
2012-08-28 10:12:04 -07:00
Mark Otto
609142eee2
fixes #4729 : only use margin-top on .help-block when it follows an input, select, textarea
2012-08-27 22:42:12 -07:00
Luis Aleman
2719ac3e9b
Unescaped box-shadows to take advantage of new box-shadow mixin
2012-08-27 19:14:00 -04:00
Mark Otto
cf9334bd7d
fixes #4725 : width of .uneditable-input should match standard text input width
2012-08-27 12:07:28 -07:00
Mark Otto
54e3a26dda
fixes #4562 : correct select and input widths at 220px (changed with 2.1.0 when we changed padding)
2012-08-27 10:08:16 -07:00
Mark Otto
bb9d1af1ca
fixes #4672 manually: placeholder comment
2012-08-25 21:51:07 -07:00
Mark Otto
5cbb826961
Merge pull request #4560 from andriijas/2.1.1-wip-table-row-warning
...
.warning for table tr and .info for .control-group
2012-08-23 09:47:44 -07:00
Mark Otto
ac4420237c
fixes #4591 properly: remove -1px left margin on .input-append .add-on
2012-08-22 20:32:47 -07:00
Andreas Cederström
a9764c34a7
Add info state to form validation
2012-08-22 11:24:02 +02:00
Mark Otto
6dc13573bf
add css tests and stuff for #4528
2012-08-21 13:42:00 -07:00
Mark Otto
73cf9c4db8
fixes #4469 manually: reset width on file inputs
2012-08-20 10:28:41 -07:00
Mark Otto
256a25f25c
fixes #4260 and #4322 : set vertical-align to top on input-prepend components to solve modal rounding issues
2012-08-17 16:28:45 -07:00
Mark Otto
2b22c0c56e
fixes #4438 : button groups in inline forms now render inline
2012-08-17 16:00:36 -07:00
Mark Otto
9e6322dbab
fixes #4428 : specifity on .search-query increased
2012-08-17 12:59:32 -07:00
Mark Otto
f933a41c7b
remove bottom margin on radios and checkboxes
2012-08-14 15:34:10 -07:00
Mark Otto
780636d955
fixes #3674 : checkbox vertical alignment in IE9
2012-08-14 15:29:47 -07:00
Mark Otto
5144c77b27
fixes #4358 : make select elements 30px tall to match inputs
2012-08-14 14:57:49 -07:00
Mark Otto
4bf93a2d76
fixes #4265 : restore chromium select fix
2012-08-13 23:03:35 -07:00
Mark Otto
735001cb26
increase horizontal padding on inputs given new font-size
2012-08-01 11:53:00 -07:00
Mark Otto
fab1a80dcb
increase margin on checkboxes and radios to center properly
2012-08-01 11:35:31 -07:00
Mark Otto
364dbb7931
fixes #3665 : ensure inputs in a fluid row maintain grid sizing
2012-07-30 15:38:36 -07:00
Mark Otto
134d11b528
use shorthand on form field transitions for box-shadow mixin
2012-07-29 12:10:29 -07:00
Mark Otto
7590e65f6f
fix search form, mostly in navbar
2012-07-24 01:44:12 -07:00
Mark Otto
5d8e78e0fa
fixes #3605 : add support for input-prepend/-append to .form-search
2012-07-10 00:32:30 -07:00
Mark Otto
93be608bf0
fixes #3384 : add support for multiple inputs per line when using grid sizing
2012-07-09 20:49:17 -07:00
Mark Otto
7800fee7e0
fixes #3973 : same border on disabled inputs as default inputs:
2012-07-09 00:51:38 -07:00
Mark Otto
3f2f96b0d7
reoder forms a bit
2012-07-07 12:52:05 -07:00
Mark Otto
e2b777d9a3
docs pre font-size and nowrap on prepend/append
2012-07-07 12:34:47 -07:00
Mark Otto
dc6eaafb00
vertically align inline form content
2012-07-06 10:59:46 -07:00
Mark Otto
cd2d82150c
standardize top level file comments
2012-06-28 21:46:45 -07:00
Mark Otto
d65e815a48
use @textColor to change help-block/help-inline font color
2012-06-25 16:47:29 -07:00
Mark Otto
d14f06fc4e
round select list corners
2012-06-19 13:25:35 -07:00
Mark Otto
b1cb556503
improve inline-block of append/prepend inputs with font-size: 0;
2012-06-14 11:56:46 -07:00
Mark Otto
eef87c96af
#3684 : reset width to auto for input type='image'
2012-06-04 20:27:42 -07:00
Mark Otto
5563b8448e
fix #3693 : rounded corners on search form
2012-06-04 08:45:51 -07:00
Mark Otto
eb3a4b8f75
fix placeholder for FF by attaching input and textarea when we call the mixin
2012-06-04 08:33:42 -07:00
Mark Otto
7875e4833c
fix broken css tests, add fluid input-prepend/-append to tests, fix input-prepend/append for responsive for both fluid and fixed sizing
2012-05-28 17:32:24 -07:00
Mark Otto
a7529e158b
remove color from labels
2012-05-25 09:19:10 -07:00
Mark Otto
78790da03c
fix resizing issues from incorrectly changing <767px grid classes to inline-block, fix height issue on textareas
2012-05-17 22:00:49 -07:00
Mark Otto
6be09df1bf
Merge branch '2.0.4-wip-forms' of github.com:twitter/bootstrap into 2.0.4-wip-forms
2012-05-15 09:07:31 -07:00
Mark Otto
a9d4b667ff
finish fixing uneditable-input and remake
2012-05-15 09:07:19 -07:00
Mark Otto
532569fe59
updated forms to rearrange focus state, reinstate uneditable-input, and a few other cleanup tidbits
2012-05-15 09:04:44 -07:00
Mark Otto
ecf84bdac5
correct regressions against 2.0.3
2012-05-15 00:17:02 -07:00
Mark Otto
e28efd7da0
consolidate and relabel new form selectors
2012-05-14 23:42:32 -07:00
Mark Otto
a0809ceebe
add forms test page for all html5 input types and refactor selectors
2012-05-14 23:40:06 -07:00
Mark Otto
a2fb9ed42f
#3449 : make legend and form-actions the same border color
2012-05-13 17:43:04 -07:00
Milos Gavrilovic
20eae67147
Update .placeholder() mixin call
...
In less/mixins.less this mixin is being created with @placeholderText
color as default, which is actually set as @placeholderText: @grayLight
in less/variables.less so it's redundant to make call like this:
.placeholder(@grayLight);
2012-05-10 12:25:22 +03:00
Mark Otto
805ca03457
fix #3179 : cut off radios and checkboxes
2012-04-24 01:33:00 -07:00
Mark Otto
99a916d5eb
remove background color from radios and checkboxes for IEs
2012-04-23 03:05:10 -07:00
Jacob Thornton
2881269e16
lots of property ordering
2012-04-16 16:34:08 -07:00
Mark Otto
13e4d1d5ac
fix #2990 : text wrapping in .uneditable-input
2012-04-15 00:35:30 -07:00
Mark Otto
9e9be2dc0d
fix #2989 : clear .checkbox/.radio floats
2012-04-14 23:19:42 -07:00
Mark Otto
3bc7553f66
Merge branch 'au-phiware-patch-1' into 2.0.3-wip
2012-04-14 20:56:13 -07:00
au-phiware
16855b920e
Silence comment (just like the others)
2012-04-15 12:31:07 +10:00
Mark Otto
a7d8145a32
fix #3036 : add bg color to inputs
2012-04-14 13:18:37 -07:00
Mark Otto
1d30225e2c
Merge branch 'jasny-patch-2' into 2.0.3-wip
...
Conflicts:
less/forms.less
2012-04-07 16:43:48 -07:00
Mark Otto
0a71f171bc
readd bootstrap.zip, add @inputBorderRadius var to close #2946
2012-04-07 16:17:15 -07:00
Arnold Daniels
fedce0cec7
Allow multiple buttons in .input-prepend
and .input-append
.
...
This has a look similar to button groups.
2012-04-05 23:08:32 +03:00
Mark Otto
2ea437f353
fix #2908 : unfloat inputs using .span* in fluid row
2012-04-02 22:49:19 -07:00
Mark Otto
2355fd224d
remove @shadow instances and replace with escaped values, update mixins to not use a default value at all
2012-03-31 21:06:16 -07:00
Mark Otto
3308d1968f
fix #2846 : Firefox required two clicks on selects to get to options dropdown
2012-03-28 18:18:41 -07:00
Mark Otto
4c3e7690ba
jankify the IE7 horizontal forms a bit more to account for no labels before .controls, per #2728
2012-03-25 14:46:47 -07:00
Mark Otto
cbd77d0aeb
give IE7 inline-block behavior for input-prepend/append
2012-03-25 14:37:19 -07:00
Mark Otto
d0526e31fa
remove padding on .search-query for IE7-8 since it doesn't pick up large border-radius
2012-03-25 14:31:04 -07:00
Mark Otto
a5552a1d70
revert bart's mixin fix
2012-03-25 12:42:47 -07:00
Mark Otto
f9f03d8976
Merge branch 'bartt-master' into 2.0.3-wip
...
Conflicts:
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/button-groups.less
2012-03-23 20:56:48 -07:00
Mark Otto
c7afe382a2
fix other instances of mixins, swap use of box-shadow everywhere, include border-radius and transition
2012-03-23 20:56:04 -07:00
Mark Otto
0b41984920
Fix #2758 : Uneditable inputs in input-prepend/append
...
1. Added a missing comma to the input-append's form control stack () to fix border-radius
2. Add to the .uneditable-input in forms to remove the float as we do with all other form controls
2012-03-23 09:47:57 -07:00
Mark Otto
f330de0b5c
add comment for append/prepend z-indexing
2012-03-23 00:51:31 -07:00
Mark Otto
1852d077bf
add shell of tests page, lighten form actions background and give it a variable
2012-03-22 21:08:41 -07:00
Mark Otto
edca6f28f0
fix #2718 , misaligned uneditable inputs in prepends/appends
2012-03-22 17:41:20 -07:00
Mark Otto
b7b84c7a0d
remove bug in docs for example icon in an input-prepend by removing margin on any input/select/etc in an input-prepend/append
2012-03-22 17:36:32 -07:00
Mark Otto
685039d608
add a super jank fix for horizontal-forms and .input-prepend/append in IE7
2012-03-12 00:16:01 -07:00
Mark Otto
c35b04cccd
enable buttons in input-append and input-prepend
2012-03-11 23:43:19 -07:00
Mark Otto
7c2ed0c095
resolve #1972 , allowing add-ons at beginning and end of input-prepend/append
2012-03-11 23:21:38 -07:00
Mark Otto
5eed370856
fix more spacing issues with input append/prepend
2012-03-11 23:14:36 -07:00
Mark Otto
58cb7c631d
simplify code for input-prepend/append in inline and search forms
2012-03-11 23:12:45 -07:00
Mark Otto
91eef351e4
remove need for floats and IE hacks for input-prepend and input-append--boom
2012-03-11 22:58:14 -07:00
Mark Otto
69e4522a4e
set font-family for inputs and such via basefontfamily
2012-03-06 21:13:29 -08:00
Mark Otto
79090ac121
fix input grid sizing, fix background color on form actions and append add-ons
2012-03-05 23:06:27 -08:00
Mark Otto
d3e922f0c8
add a ton new variables for type, buttons, inputs
2012-03-05 00:29:16 -08:00
Mark Otto
7525aac830
make .input-prepend/append .add-on text color the same as labels, #333 , to close out #2276
2012-02-27 19:44:16 -08:00
Mark Otto
0ed6d3b28e
Merge branch 'couchbaselabs-clearfix-ing-form-actions' into 2.0.2-wip
2012-02-22 11:15:53 -08:00
Mark Otto
6f3b4b857f
Merge branch 'clearfix-ing-form-actions' of https://github.com/couchbaselabs/bootstrap into couchbaselabs-clearfix-ing-form-actions
2012-02-22 11:15:44 -08:00
Jacob Thornton
5ad5dde1e2
rewrite the grid system. Clean shit up tons - only generate 12 columns by default - custom builder will do differently if you request it.
2012-02-21 23:16:06 -08:00
Mark Otto
664a5c4438
update forms help-block
2012-02-21 13:43:13 -08:00
Laszlo Toeroek
e423fc2629
.input-append should work for select element, fixes #2137
2012-02-21 16:32:57 +01:00
Mark Otto
143b3db2c9
update inline forms to resolve checkbox label with space in it and overlapping content, per #1969
2012-02-20 18:56:05 -08:00
Mark Otto
b559f2b8d0
fix duplicate input prepend/append css selectors per #2026
2012-02-17 20:40:56 -08:00
Mark Otto
091622644a
bring back checkbox borders to iOS by conditionalizing the border: 0; on it to IE7-9; fix word break on pre in IE
2012-02-16 22:34:30 -08:00
BigBlueHat - Web Manufacturer
18760393d7
Adding .clearfix() to .form-actions to allow for .pull-right button containers
2012-02-14 15:16:55 -05:00
Mark Otto
64ea59234f
change up fonts on form elements to remove unnecessary font-family on label element, per #1950
2012-02-13 08:18:19 -08:00
Mark Otto
ce5976fb29
ensure help-block is block per #1937
2012-02-12 22:49:06 -08:00
Mark Otto
a9e469e75a
add navbar background hover variable and fix uneditable-input with append/prepend controls
2012-02-12 14:01:58 -08:00
Mark Otto
b327420e52
update comment to reflect ie support
2012-02-11 20:58:10 -08:00
Mark Otto
158419c045
reset line-height for file input in ie9
2012-02-11 20:00:44 -08:00
Mark Otto
5a3dfb72bf
support small for legend per #1544
2012-02-11 16:50:57 -08:00
Mark Otto
8f1db4321a
fix inline form checkbox/radios
2012-02-11 00:24:06 -08:00
Jeremy Martin
920d995843
webkit legend margin fix for non-horizontal forms
2012-02-09 15:27:42 -05:00