Commit Graph

53 Commits

Author SHA1 Message Date
Kevin Ross
755a202148 Solves #559 - https://github.com/FezVrasta/bootstrap-material-design/issues/559#issuecomment-158114338 2015-11-19 11:07:47 -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
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
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
77749f353e removed hint class in lieu of standard help-block 2015-11-11 10:35:32 -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
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
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
Kevin Ross
86f056230b re-refactored inputs.less - this time kept sibling ~ references properly intact 2015-11-06 13:17:17 -06:00
Kevin Ross
a4216fc98b Revert "structural refactoring of less file, no effective changes to selectors or properties."
This reverts commit 8950e01f06.
2015-11-06 12:56:02 -06:00
Kevin Ross
795eef1c53 structural refactoring of less file, no effective changes to selectors or properties. 2015-11-06 12:42:35 -06:00
Kevin Ross
2d52fc271c removed form-control-wrapper in lieu of standard form-group 2015-11-06 10:30:05 -06:00
Kevin Ross
80610d9bc9 Added // SASS conversion note: to any less file that has a content change that must be manually synced to the _mixins-shared.scss 2015-11-04 17:50:22 -06:00
Kevin Ross
23822f4b24 found duplicate style declaration in _inputs.less 2015-11-04 14:37:38 -06:00
FezVrasta
f4b6cdd447 fixes #609 2015-06-05 15:37:09 +02:00
FezVrasta
82ce0a94d5 fixed animation of inputs 2015-04-29 13:25:17 +02:00
FezVrasta
71f35fe5d6 removed useless keyframes animation from inputs 2015-03-19 15:26:00 +01:00
FezVrasta
5f38258bda fixed #504 2015-03-18 15:29:57 +01:00
FezVrasta
c6d0850ae1 fixed color of labels and floating labels 2015-03-18 14:46:06 +01:00
FezVrasta
9339c8e3da fixed input behaviors 2015-03-17 18:08:03 +01:00
FezVrasta
0c8e3d34c1 fixed style and behavior of floating labels 2015-03-17 17:47:58 +01:00
MatrixZ
90cea586b6 fixes #468 2015-03-06 11:21:25 +05:30
MatrixZ
14207b97a5 fixes #458 2015-02-27 14:22:34 +05:30
FezVrasta
b16927e9b5 fixed #435 2015-02-18 11:22:03 +01:00
FezVrasta
c91092614a input underline is 1px, highlight underline is 2 px 2015-01-27 15:26:48 +01:00
FezVrasta
8969c06418 Big improvement on input highlight effect.
Now inputs doesn't need form-input-wrapper and neither the material-input span to make the animation.
2015-01-26 18:05:46 +01:00
FezVrasta
7d30ac6c0a fixed #262 2014-12-04 10:42:54 +01:00
FezVrasta
d47af552fd added support for hints under inputs on focus 2014-11-12 13:22:17 +01:00
FezVrasta
1cf1ac2543 fix #125 2014-10-31 09:55:14 +01:00
FezVrasta
f4edecb3b0 removed references of the old less compiler 2014-10-31 09:27:35 +01:00
FezVrasta
445a19575a changed default color for inputs 2014-10-30 09:23:54 +01:00