Commit Graph

1092 Commits

Author SHA1 Message Date
Kevin Ross
dab4a87ee7 normalized placeholder size variants 2015-11-10 15:32:06 -06:00
Kevin Ross
04aee4062e 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
9526778842 fixed legacy floating labels 2015-11-10 14:31:56 -06:00
Kevin Ross
8a6457acc0 focus checks apply to all form-controls, not a selected list (left out textarea) 2015-11-10 13:52:59 -06:00
Kevin Ross
9bbd049fea normalized placeholders with labels, moved placeholder content generation to mixin, updated sass conversion 2015-11-10 13:36:15 -06:00
Kevin Ross
21b49987d8 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
3f1e2ef2d1 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
a482c287dc 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
e8c47fbbde 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
f5f7aea9dd bootlinted the index 2015-11-06 18:02:34 -06:00
Kevin Ross
ba31a4a634 htmllinted the demo files - fixed errors 2015-11-06 17:41:39 -06:00
Kevin Ross
4d5317e8b8 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
1db81bebc0 trying to align behavior of static labels with the look of floating labels 2015-11-06 14:53:48 -06:00
Kevin Ross
d2cf56d805 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
eb67cd543f re-refactored inputs.less - this time kept sibling ~ references properly intact 2015-11-06 13:17:17 -06:00
Kevin Ross
30a4c5e0a4 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
f1bb57a60f take sass out of livereload - cumbersome for development of less 2015-11-06 12:55:04 -06:00
Kevin Ross
8950e01f06 structural refactoring of less file, no effective changes to selectors or properties. 2015-11-06 12:42:35 -06:00
Kevin Ross
80b47b86fc Allow elements without form-group for backward compatibility, since it seems feasible at this point. 2015-11-06 11:04:07 -06:00
Kevin Ross
ae4cfbeede fix livereload and watch to pickup js changes 2015-11-06 10:41:56 -06:00
Kevin Ross
e8bb88c79c Standardized hints while providing backwards compatibility on data-hint 2015-11-06 10:34:41 -06:00
Kevin Ross
59811e4ca5 removed form-control-wrapper in lieu of standard form-group 2015-11-06 10:30:05 -06:00
Kevin Ross
660d5004cd format only (so changes are more obvious) 2015-11-06 09:28:16 -06:00
Fez Vrasta
01e39ac88c Merge pull request #714 from rosskevin/scss-conversion
Automated sass conversion
2015-11-06 15:35:05 +01:00
Kevin Ross
409df63756 sass is inclusion order dependent. In order to get the full-palette vs standard-palette, it required a separation of the content in material.less into _material.less to separate dependencies vs content. 2015-11-05 10:56:14 -06:00
Kevin Ross
f0d1d6523f html files should be local paths to ensure we are testing changes (not old changes pushed on gh-pages) 2015-11-05 10:53:58 -06:00
Kevin Ross
0d745c8dbe color map created for full-palette, not generating properly yet. 2015-11-05 09:10:55 -06:00
Kevin Ross
1b2eedb6a2 sass demos added and linked. Files are generated in dist/sassc (so that fonts link properly), but ignored by .gitignore to avoid unnecessary distribution. 2015-11-05 08:25:02 -06:00
Kevin Ross
da5e4e1ede integrate sass demo into the grunt process. Gruntfile.js fails the jshint process with line too long, but it seems a better tradeoff to ignore this than to try to hack away at making an array.join on the regex. roboto.less changed because import order matters in sass. 2015-11-05 08:11:38 -06:00
Kevin Ross
9bba410677 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
e14776f52e sass conversion cleanup/removal of commented code 2015-11-04 17:36:36 -06:00
Kevin Ross
37342ce4cc added material:sass to the material task, removed unused/commented code 2015-11-04 17:30:10 -06:00
Kevin Ross
94cfe45c3a debugged bg-img-variations against dist, noted that the current dist had duplicate calls to the same mixin (fixed in the less file now) 2015-11-04 17:24:27 -06:00
Kevin Ross
d0e45787a0 fix unquote on calcs 2015-11-04 17:02:39 -06:00
Kevin Ross
427b5046fe added generated file header, fixed contrast functions 2015-11-04 16:54:57 -06:00
Kevin Ross
6958131c31 altered conversion of shadows as mixins (incorrectly saw them as @extends) 2015-11-04 15:57:47 -06:00
Kevin Ross
4ebb1c4596 shadows are mixins and must be placed at the top for usage by other files (sass requirement) 2015-11-04 15:56:56 -06:00
Kevin Ross
8e5e348228 woohoo, first successful sass conversion/compilation 2015-11-04 15:40:12 -06:00
Kevin Ross
583238e512 removed syntactically incorrect , 2015-11-04 15:39:34 -06:00
Kevin Ross
6f6b801866 converted alert-variations 2015-11-04 15:00:44 -06:00
Kevin Ross
8dca1cb0c4 navbar variations converted 2015-11-04 14:49:03 -06:00
Kevin Ross
cf4cc11a6a bg-img-variations replaced 2015-11-04 14:41:37 -06:00
Kevin Ross
d05947d79c found duplicate style declaration in _inputs.less 2015-11-04 14:37:38 -06:00
Kevin Ross
f9f761b0eb fixed bg-box-shadow variations 2015-11-04 14:34:47 -06:00
Kevin Ross
12dbc8d160 mixin btn-shadow must be defined before use. 2015-11-04 14:23:20 -06:00
Kevin Ross
724b4acf66 fixed color palette. Sass has no way of 1. obtaining a declared variable by a string, and 2. getting a Color object from a string (required for functions such as darken) 2015-11-04 12:03:16 -06:00
Kevin Ross
d66a468d89 mixins converted to use maps for parameters - fixed variations param order. 2015-11-04 10:57:10 -06:00
jsdevel
47520237ea Extracting typography. 2015-11-04 02:55:55 -07:00
Kevin Ross
95590f8b04 fixed shadow hovers 2015-11-03 12:33:54 -06:00
Kevin Ross
64e1fd6673 replaced bg color generic-variations with mixin 2015-11-03 12:28:56 -06:00