Commit Graph

689 Commits

Author SHA1 Message Date
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
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
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
38a8d1dc75 take sass out of livereload - cumbersome for development of less 2015-11-06 12:55:04 -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
f6f608ea4e 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
0caa191354 fix livereload and watch to pickup js changes 2015-11-06 10:41:56 -06:00
Kevin Ross
36896a585b Standardized hints while providing backwards compatibility on data-hint 2015-11-06 10:34:41 -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
000d46d930 format only (so changes are more obvious) 2015-11-06 09:28:16 -06:00
Fez Vrasta
5f654153bd Merge pull request #714 from rosskevin/scss-conversion
Automated sass conversion
2015-11-06 15:35:05 +01:00
Kevin Ross
8d108312cd 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
a22c4243a7 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
1d3c0bdf4f color map created for full-palette, not generating properly yet. 2015-11-05 09:10:55 -06:00
Kevin Ross
ba880eb1fd 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
5593e446fb 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
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
77b731f78c sass conversion cleanup/removal of commented code 2015-11-04 17:36:36 -06:00
Kevin Ross
23b0750905 added material:sass to the material task, removed unused/commented code 2015-11-04 17:30:10 -06:00
Kevin Ross
77ee32ce03 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
daaa9c1781 fix unquote on calcs 2015-11-04 17:02:39 -06:00
Kevin Ross
45926cd3a9 added generated file header, fixed contrast functions 2015-11-04 16:54:57 -06:00
Kevin Ross
b21fad8b87 altered conversion of shadows as mixins (incorrectly saw them as @extends) 2015-11-04 15:57:47 -06:00
Kevin Ross
d607559f26 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
a121b174a0 woohoo, first successful sass conversion/compilation 2015-11-04 15:40:12 -06:00
Kevin Ross
485735a249 removed syntactically incorrect , 2015-11-04 15:39:34 -06:00
Kevin Ross
97df691b09 converted alert-variations 2015-11-04 15:00:44 -06:00
Kevin Ross
ca93368247 navbar variations converted 2015-11-04 14:49:03 -06:00
Kevin Ross
7f940586d9 bg-img-variations replaced 2015-11-04 14:41:37 -06:00
Kevin Ross
23822f4b24 found duplicate style declaration in _inputs.less 2015-11-04 14:37:38 -06:00
Kevin Ross
2942399fd5 fixed bg-box-shadow variations 2015-11-04 14:34:47 -06:00
Kevin Ross
e6027d6568 mixin btn-shadow must be defined before use. 2015-11-04 14:23:20 -06:00
Kevin Ross
c9bc2e623b 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
057f55cbf7 mixins converted to use maps for parameters - fixed variations param order. 2015-11-04 10:57:10 -06:00
Kevin Ross
9c7731cc3d fixed shadow hovers 2015-11-03 12:33:54 -06:00
Kevin Ross
7df67e3be0 replaced bg color generic-variations with mixin 2015-11-03 12:28:56 -06:00
Kevin Ross
ee22bdaef6 sass button-variations now being replaced 2015-11-03 12:12:20 -06:00
Kevin Ross
2c86dcd461 use a more generic param if we are going to be using this for other files such as buttons 2015-11-03 11:28:56 -06:00