Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* create /utilities /variables and /mixins directory * add @include margin-padding-reset; * add @include list-reset; * eol * add custom breakpoints and logic * use rem-calc() * import comments partial * add comments partial * @import variables and mixins * add header description * enhance comments * switch to foundation’s .show-for-sr class * create functions dir * bring over some helper functions from Bourbon v5 * bring over some mixins from Bourbon v5 * import new mixins * import new functions * add default wordpressy stuff * add in some helper sass for video/images etc… * import new base partials * misc. clean ups * refactor header.php * search form…foundation style * use correct escaping function * echo button text * style the hamburger nav. comment improvements. * add _header/_footer partials * @import header/footer partials * use the hamburger nav class and mixin * deal with the admin bar * set grid to 960 * add basic margins to header/footer * use foundation global padding/margins * add word break mixin * update sasslint rules for foundation * use foundation globals on comments * center site info and align the text * clean ups and wp screen reader class * foundation components disabled by default…only turn on what you need * add _content partial for baseline singlular styles * swap out .screen-reader-text for .show-for-sr * comiple styles and scripts ♻️ * remove url to itself * add _s_display_card * remove row generally speaking, global content blocks are full-width, and you apply .row to the content * use wds standard comments * remove .fluid-embed Foundation already has a responsive-media class * add global content blocks these are for the fifty/fifty blocks * add _s_display_block_options it’s great to have block options available by default… * add baseline set of acf field groups This will help new projects that use flexible content get started quickly, since these three global content blocks are on every project * update fifty/fifty blocks with new field names * update generic content markup * add baseline hero styles from our code pen, but converted to foundation * add _content-blocks.scss This is for globaly things, like adding a bottom margin to each block or whatever * @import new partials * register a full-width image size * this should not have a column since content block containers should be full-width by default, let’s remove .column * give each content block a .content-block class this is so we could give each block global styles * convert codepen hero markup to foundation * comments and heros are actually “sections” move these to the correct folder * add _fifty-fifty.scss in case we need to add some global styles to these content blocks * don’t delay tinymce init this requires extra clicks, and is confusing * remove _fifty-fifty.scss don’t even need global styles - foundation grid/styles work out of the box 💥 * use more foundation presentational classes i want to keep the sass as unopinionated as possible * slim down up the hero sass keep the opinions to yourself * add video support to block options if a client wants to add a video background to a hero, or generic block they can. * remove uneeded variables these are handled in the block options now * make a note about video backgrounds just be explicit about where video backgrounds should be used * move .row container in order to support full-width background options (yes, it does happen) move the .row out of the block options function * use global padding this is about as opinionated as i want to get * move generic content into a column * make the four footer widgets responsive i love foundation… two presentational classes and we have 4 responsive widgets * javascript includes needed to activate the accordion menu, we do not need dropdown.js by default * compile styles/scripts ♻️ * better responsive widget styles * add custom css class field to block options * grab custom css class field and use it
- Loading branch information