Commit Graph

914 Commits

Author SHA1 Message Date
Kevin Ross
0a489cf35d stable default text input size variant 2015-12-14 11:55:59 -06:00
Kevin Ross
19ae3fd074 introduce padding-top for mdb-form-group to create a space for the absolutely positioned label 2015-12-14 11:16:07 -06:00
Kevin Ross
ff0bac3adc input and padding-y above the line appears to be working well 2015-12-14 11:04:02 -06:00
Kevin Ross
f0b7422efc Use form related line-heights of 1 instead of default 1.5 so that we can more easily space out inputs to match spec. 1.5 made our input-padding-y seem to be unrelated to the spec, which was too confusing. 2015-12-14 10:30:59 -06:00
Kevin Ross
4aa8c5bf69 material spec review on colors 2015-12-14 08:59:54 -06:00
Kevin Ross
68f5e99375 check more keycodes so that label-placeholders don't disappear 2015-12-14 08:59:22 -06:00
Kevin Ross
ee8d7bfae2 much refactoring on coloring and sizing for forms. default sized single mdb-floating-label working (have not measured to make sure it meets spec). No margins yet so multiple in a row run together with the absolute positioned labels 2015-12-11 15:13:33 -06:00
Kevin Ross
ce2e84bdb9 replaced old label names (not in use yet), refactored mixin mdb-form-color for use for default variation in addition to the other states 2015-12-11 11:32:00 -06:00
Kevin Ross
c0885dc2ee Changing strategy on labels. Using js to resolve unmarked labels, otherwise going to specify the label variant as a class on the label itself. The js is just a fall back for default markup and specialized markup will win. i.e. mark any label.mdb-label and regardless of it's location, it will be used for styling. Configurable selectors in the config. On the plus side, if you are good with js resolution, this allows for globally specified label styles! 2015-12-11 11:07:03 -06:00
Kevin Ross
2b64baf94c First pass with default mdb-form-group-size-variant. Removed references to control-label as they were mostly used incorrectly in the previous version. They are now form-control-label and only necessary for inline forms etc 2015-12-10 15:49:02 -06:00
Kevin Ross
ca916b4729 working on inputs, label colors and focus. Introduced .mdb-help to replace .help-block 2015-12-10 13:23:01 -06:00
Kevin Ross
e437748447 move forms mixins to file, make sure autoprefixer is running in watch docs with postcss:docs, begin working on size/label variations 2015-12-10 12:22:29 -06:00
Kevin Ross
d725f378f1 reorg bootstrap variable files into folder to prevent confusion 2015-12-10 11:53:55 -06:00
Kevin Ross
21cf07ae9b Added material design section to docs for specific addons 2015-12-10 10:20:45 -06:00
Kevin Ross
44eedd553e sync with BSv4 2015-12-10 09:02:44 -06:00
Kevin Ross
2f314ee2cb #775 Snackbar transitions have invalid '0' values 2015-12-10 08:13:58 -06:00
Kevin Ross
1ed294899c #774 is-focused is not checking disabled on inputs 2015-12-09 13:13:55 -06:00
Kevin Ross
f75800e7be #773 dropdown icon from master 2015-12-09 10:27:03 -06:00
Kevin Ross
6ce94151bd - fixed toggle focus label colors so they were not distracting
- fixed select osx styling
2015-12-08 20:25:35 -06:00
Kevin Ross
1f8874a1d3 Added back coloration on validation states 2015-12-08 19:09:56 -06:00
Kevin Ross
7d29f0b696 refactored and simplified the markup for the focus underline animation 2015-12-08 18:11:42 -06:00
Kevin Ross
f50a8866b1 first prototype using decorator to underline the input because the background image approach was conflicting with default BS samples for form-control-success etc. 2015-12-08 17:59:07 -06:00
Kevin Ross
66b2feb9ee sass conversion fix synced from 0.5.4 2015-12-08 15:50:15 -06:00
Kevin Ross
d4ebcb20e2 0.5.4 fixes synchronized 2015-12-08 15:08:18 -06:00
Kevin Ross
63f55858a4 made validation optional, and off by default. 2015-12-07 18:07:21 -06:00
Kevin Ross
1c747cf86d reorganized main file into _core.scss, collapsed directory structure and scss linted (first time) - should be no changes to variables or logic 2015-12-07 13:34:46 -06:00
Kevin Ross
8ce96b04a3 checkpoint on inputs, about to change input focus bg image to something else as it conflicts with bs4 form-control-success etc variations. 2015-12-07 12:16:09 -06:00
Kevin Ross
991fa4c520 #755 checkpoint reviewing form inputs 2015-12-07 11:40:42 -06:00
Kevin Ross
88f29e3583 Updated with dev setup and release instructions 2015-12-07 09:20:00 -06:00
Kevin Ross
da4721fc3c reuse form-group for our mdb-form-group marker if possible, otherwise resort to dom manipulation and add the mdb-form-group 2015-12-07 09:04:32 -06:00
Kevin Ross
b5ae163d1e code contrast 2015-12-06 10:17:01 -06:00
Kevin Ross
87d68b948a add more contrast to example code 2015-12-06 10:12:56 -06:00
Kevin Ross
a4487d24d6 added bs-docs js vendor sync 2015-12-06 10:08:47 -06:00
Kevin Ross
4e53dc5788 omit v4-dev from travis for now, kill bad cname, add states import for variables 2015-12-06 09:57:48 -06:00
Kevin Ross
0e1ab986f8 #755 reviewed typography against the spec, seems like a good starting point. 2015-12-06 09:29:08 -06:00
Kevin Ross
83186db2d3 adjust footer text for better attribution 2015-12-06 08:43:09 -06:00
Kevin Ross
99bccfde1b namespace all jquery global functions as mdb* 2015-12-06 08:11:47 -06:00
Kevin Ross
97b11afbc4 added bootstrap reference documentation headings 2015-12-06 07:56:59 -06:00
Kevin Ross
53d0b661bb es6 Introduced inline classes for radio and checkbox. Solved more problems getting our marker mdb-form-group in place via es6 classes. 2015-12-05 21:24:05 -06:00
Kevin Ross
f7f064dff4 switched es6 structurally to generate a wrapping .mdb-form-group instead of altering anything with the BS .form-group in an attempt to avoid any side effects to margin/padding/spacing since we only need it to be a marker div. 2015-12-05 18:55:29 -06:00
Kevin Ross
108da48a0b discretely separated all form input types into discrete es6 classes to allow for easy configuration/enforcement of markup/classes/structure 2015-12-05 17:45:38 -06:00
Kevin Ross
6f0e41a486 eslinted 2015-12-05 15:19:06 -06:00
Kevin Ross
c5282e7097 finished initial refactoring of discrete es6 inputs, renaming toggle to switch and adding a BaseToggle (checkbox|radio|switch) to better align with Material Design nomenclature 2015-12-05 15:07:37 -06:00
Kevin Ross
3a547cd0f3 es6 refactoring classes into discrete input classes without overlap, and enforcing classes and structure. TextInput and Checkbox done, more to go. 2015-12-05 14:00:40 -06:00
Kevin Ross
93f0402161 resolved some issues with es6 classes, about to break input into discreet classes instead of sharing any handlers to prevent confusion 2015-12-04 15:00:57 -06:00
Kevin Ross
0bfeb61b69 source maps for debugging docs now properly reference the core es6 file 2015-12-04 11:04:02 -06:00
Kevin Ross
f272a49ee0 - moved babel generated files to dist
- concat the babel generated files instead of the source es6 (not sure if this is the exactly right thing to do yet for general consumption, but seems correct)
- allow local runs of docs to see the mdb js babel files so we can better debug sources
2015-12-04 10:50:06 -06:00
Kevin Ross
ea3a520b11 docs focused, add more dynamic display of typography properties 2015-12-04 10:06:09 -06:00
Kevin Ross
b06051e179 added bootstrap docs sync for scss (with the exception of docs.scss which is customized). Moved the rest of application to the es6 class for uniformity 2015-12-04 08:53:46 -06:00
Kevin Ross
132fa6bb30 Ran jscs, required some variable name changes. Added typography docs fn to show font properties 2015-12-03 19:09:01 -06:00