Commit Graph

928 Commits

Author SHA1 Message Date
Kevin Ross
9c6be36230 Merge pull request #725 from rosskevin/standardized-form-markup
Standardized form markup and spec compliance v.0.4.0
2015-11-19 15:07:33 +00:00
Kevin Ross
d790a26fc4 fixing travis configuration for new container infrastructure and add the sass gem 2015-11-19 09:03:53 -06:00
Kevin Ross
3de6dff964 - remove deprecated version from bower.json https://github.com/bower/spec/blob/master/json.md
- bumped package.json
- changed cibuild target to build
2015-11-19 08:54:33 -06:00
Kevin Ross
1b8e6eed4e remove old commented code. 2015-11-18 20:52:23 -06:00
Kevin Ross
586e4e44f5 Solves #642, note that programmatic change of value requires triggering change event. e.g. $('#i5i').val('').trigger('change')
http://stackoverflow.com/questions/4672505/why-does-the-jquery-change-event-not-trigger-when-i-set-the-value-of-a-select-us
2015-11-18 20:21:55 -06:00
Kevin Ross
9213543871 sass rebuild dist 2015-11-18 19:59:41 -06:00
Kevin Ross
d7c333d3cf Merge branch 'master' into standardized-form-markup 2015-11-18 17:04:16 -06:00
Kevin Ross
2e7af21f8b merge upstream master 2015-11-18 17:02:28 -06:00
Kevin Ross
d39725bc9f more readme updates 2015-11-18 16:58:49 -06:00
Kevin Ross
a446440a91 more readme updates 2015-11-18 16:55:30 -06:00
Kevin Ross
6169e1a4df more readme updates 2015-11-18 16:53:08 -06:00
Kevin Ross
432130a37b more readme updates 2015-11-18 16:49:06 -06:00
Kevin Ross
abfb2f09b8 Allow floating labels to be used with input groups that have a left input. Update readme. 2015-11-18 16:43:19 -06:00
Kevin Ross
ac150abd0c normalize navbar forms with bootstrap font sizes since material inputs are larger 2015-11-18 15:51:06 -06:00
Kevin Ross
0f67af4fa4 fixed bad label markup 2015-11-18 14:53:05 -06:00
Kevin Ross
90d858b36b standardized radio/toggle/checkbox labels 2015-11-18 14:43:36 -06:00
Kevin Ross
55e204cd0c standardized checkbox sizing variants and colors to spec 2015-11-18 14:20:12 -06:00
Kevin Ross
86da848e06 moved form-control under form-group 2015-11-18 12:56:35 -06:00
Kevin Ross
9cd457ab0c restructured form-control and standardized disabled 2015-11-18 12:42:52 -06:00
Kevin Ross
4b762f5900 fix disabled underline 2015-11-18 11:13:17 -06:00
Kevin Ross
54a4313a25 fixed floating label focused size 2015-11-17 15:43:00 -06:00
Kevin Ross
c4700eb561 Merge branch 'form-group-label-style' into standardized-form-markup 2015-11-17 15:32:07 -06:00
Kevin Ross
e528720c52 remove artifacts to get clean merge 2015-11-17 15:30:31 -06:00
Kevin Ross
564106a5ec Transitioned label styles to be indicated on the form-group 2015-11-17 15:26:19 -06:00
Kevin Ross
3c6f83dec0 checkpoint before transitioning label styles to form-group 2015-11-17 12:02:44 -06:00
Kevin Ross
2fde886057 reverted change to help-block, added back position:absolute otherwise inputs jump with change of focus 2015-11-17 10:30:10 -06:00
Kevin Ross
1bf1fbf428 fixed line wrap/spacing/width on help-block 2015-11-17 10:28:06 -06:00
Kevin Ross
d6f0eb8097 Added file input variation samples 2015-11-17 10:18:37 -06:00
Kevin Ross
ae1e0c3337 reorganized input-group related styles to allow for optional ancestry of input-group as form-group 2015-11-11 12:40:37 -06:00
Kevin Ross
679c68a107 fixed input-groups and variations 2015-11-11 11:53:16 -06:00
Kevin Ross
dffa3bcddc removed hint class in lieu of standard help-block 2015-11-11 10:36:57 -06:00
Kevin Ross
77749f353e removed hint class in lieu of standard help-block 2015-11-11 10:35:32 -06:00
Kevin Ross
721f8842f0 added textarea sample vs legacy 2015-11-11 09:37:36 -06:00
Kevin Ross
1112b96929 shimmed the floating-label as placeholder to have a perfect match to the static label 2015-11-11 09:29:35 -06:00
Kevin Ross
214ba3a369 refactored form-group variants into a mixin, much less code. 2015-11-10 16:35:08 -06:00
Kevin Ross
c4b924637c normalized floating-label size variations 2015-11-10 15:45:15 -06:00
Kevin Ross
8a9fb6bbe4 normalized placeholder size variants 2015-11-10 15:32:06 -06:00
Kevin Ross
c104125ff5 standardized on form-group-sm/lg instead of it AND input-sm/lg. Any input-sm/lg is now converted to form-group-* equivalent. Much simpler css and less variants to maintain. 2015-11-10 14:45:08 -06:00
Kevin Ross
593968cf2c fixed legacy floating labels 2015-11-10 14:31:56 -06:00
Kevin Ross
e6432367d9 focus checks apply to all form-controls, not a selected list (left out textarea) 2015-11-10 13:52:59 -06:00
Kevin Ross
72c2795b74 normalized placeholders with labels, moved placeholder content generation to mixin, updated sass conversion 2015-11-10 13:36:15 -06:00
Kevin Ross
23f11eeb7c changed empty to is-empty. All signaling is now on the form-group - is-empty (was: input.empty) | is-focused (was: input.focus) | has-error (was: input:invalid) 2015-11-10 11:52:15 -06:00
Kevin Ross
a1212eea18 move to is-focused instead of .focus to prevent potential oversight with :focus. Standardizing styles based on form-group instead of a mixture of input state and form-group state, including validity, which now sets form-group.has-error 2015-11-10 10:26:00 -06:00
Kevin Ross
a74bdccf2b introduced a new range of @md-input-* variables to get the sizing to the material spec without altering the font-size-base (which would affect absolutely everything). Still some work to be done to differentiate the different densities properly. 2015-11-09 13:32:46 -06:00
Fez Vrasta
2547dd18a2 Merge pull request #671 from davideberlein/fix-checkbox-zindex
Fix z-index issues with tooltips in .checkbox
2015-11-09 17:09:49 +01:00
Kevin Ross
ade1673c62 bootlinted the index 2015-11-06 18:02:34 -06:00
Kevin Ross
80ea586b74 htmllinted the demo files - fixed errors 2015-11-06 17:41:39 -06:00
Kevin Ross
404f54a5c2 A lot of work normalizing static control-labels with floating labels. This was primarily achieved by having material.js put the focus on the form-group, and adjusting styles as needed. Also done was a standardization of label/input sizes, and the introduction/testing of standardized form-group sizes. 2015-11-06 16:46:05 -06:00
Kevin Ross
fd2911bfb7 trying to align behavior of static labels with the look of floating labels 2015-11-06 14:53:48 -06:00
Kevin Ross
eb7efcc48a due to css ~ adjacent sibling connector, existing <label> elements must be reordered after the input for floating labels to work. 2015-11-06 14:20:23 -06:00