Commit Graph

1356 Commits

Author SHA1 Message Date
Morten Rand-Hendriksen 31df4716c8 Refactor the css layout to use grid and flex
Remove #primary

Remove #primary, take 2

Change primary layout module to CSS grid.

Remove ::before / ::after based clearfixes. When using flex and grid, pseudo-elements are considered flex/grid elements and cause unexpected behavior. Clearfix is a tool to resolve clearing when using float-based layouts. Modern flex/grid-based layouts do not need them.

Main menu: Use flex as layout module.

Main menu cleanup.

Comments, Posts, and Post Navigation: Use flex for layout. Automatic RTL.

Remove errant test data.

- Fixed skip to content link to point to main content (#primary).
- Changed ID for <main> to #primary to preserve original separation between main and sidebar (#secondary).
- Removed superfluous ID reference to #secondary in CSS.
- Cleaned up whitespace triggering Travis errors.

Fix wpcs issues

Cleaning the rebase

Compile CSS

Remove primary div from WooCommerce too

grid-template-columns property doesn't support negative values
2020-04-18 19:26:11 +01:00
Ismail El Korchi 0fb601bdbe
Merge pull request #1411 from Ismail-elkorchi/CONTRIBUTING.md
Add instruction to run CLI tools in CONTRIBUTING.md
2020-04-17 22:44:01 +01:00
Ismail El Korchi fce04b6b4e
Merge pull request #1161 from Automattic/update-single-post-nav
Add "Next/Previous" text to single-post navigation
2020-04-17 22:38:12 +01:00
Ismail El Korchi 40978b6b78 Fix WPCS errors 2020-04-17 22:24:27 +01:00
Ismail El Korchi 99b9ca117a Merge branch 'master' into update-single-post-nav 2020-04-17 22:05:34 +01:00
Ismail El Korchi d4689ff5fd Add instruction to run CLI tools in CONTRIBUTING.md 2020-04-17 21:50:14 +01:00
Ismail El Korchi faac8fa287
Merge pull request #1410 from Ismail-elkorchi/optimize-travis
Travis CI : don't install dependencies unless they are used
2020-04-16 23:09:41 +01:00
Ismail El Korchi d8eac45712 Travis CI : dont install dependencies unless they are used 2020-04-16 23:01:18 +01:00
Ismail El Korchi a00645e7fc
Merge pull request #1409 from Ismail-elkorchi/@wordpress/scripts
Update @wordpress/scripts package
2020-04-16 22:44:46 +01:00
Ismail El Korchi 253b7a08d8 Update @wordpress/scripts package 2020-04-16 22:32:44 +01:00
Ismail El Korchi d788f9b374
Merge pull request #1407 from neilabraham/master
Readme: six-step find and replace
2020-04-16 12:19:27 +01:00
Neil Abraham 3749eb6bae Readme: now six-step find and replace 2020-04-16 09:20:40 +01:00
Ismail El Korchi 817e14f312
Merge pull request #1406 from Ismail-elkorchi/fix-gallery-zoom
Fix the WooCommerce gallery zoom and gallery lightbox
2020-04-15 10:43:22 +01:00
Ismail El Korchi 153ca6a0fb
Merge pull request #1405 from Ismail-elkorchi/travis-xenial
Bump the Linux distribution on Travis from Trusty to Xenial
2020-04-15 10:39:33 +01:00
Ismail El Korchi 21d52ac87a Bump the Linux distribution on Travis from Trusty to Xenial
And add missing OS and change matrix to jobs
2020-04-15 00:07:34 +01:00
Ismail El Korchi c6da2b7087 Fix the WooCommerce gallery zoom and gallery lightbox 2020-04-14 23:36:44 +01:00
Ismail El Korchi ce85ca3291
Merge pull request #1404 from Ismail-elkorchi/woocommerce-aria
Remove an unnecessary ARIA role
2020-04-14 18:35:33 +01:00
Ismail El Korchi 5b1bf56a50 Remove an unnecessary ARIA role 2020-04-14 18:14:58 +01:00
Ismail El Korchi b04bcdcc1f
Merge pull request #1396 from Ismail-elkorchi/rtl-css
Use build tooling to compile the RTL CSS
2020-04-13 20:27:00 +01:00
Ismail El Korchi 2c0d578a80
Merge pull request #1399 from Ismail-elkorchi/update-readme.txt
Update readme.txt
2020-04-13 20:15:44 +01:00
Ismail El Korchi 0388070422
Merge pull request #1401 from audrasjb/fix-html5-support-style-script
Declare HTML5 scripts and styles support for better compliance with W3C validator
2020-04-12 23:50:17 +01:00
Jb d6f8026895 Declare HTML5 scripts and styles support for better compliance with W3C validator 2020-04-13 00:14:06 +02:00
Ismail El Korchi 0430a060da Update readme.txt 2020-04-12 21:30:49 +01:00
Ismail El Korchi 504be8d669 Use build tooling to compile the RTL CSS 2020-04-11 22:23:54 +01:00
Ismail El Korchi 55fafb9558
Merge pull request #1303 from jaredcaraway/fix-aria-expanded
Remove unnecessary aria-expanded attribute on ul
2020-04-11 20:53:58 +01:00
Jared Caraway b44cdaecbc Remove unnecessary aria-expanded attribute on ul
Remove another irrelevant instance of aria-expanded
2020-04-11 20:43:26 +01:00
Ismail El Korchi 6d16c0c673
Merge pull request #1344 from nuclearape/patch-1
Tidy up _clearings.scss
2020-04-10 23:04:53 +01:00
Ismail El Korchi 5420e2d3f6
Merge branch 'master' into patch-1 2020-04-10 22:39:01 +01:00
Ismail El Korchi 464886bf39
Merge pull request #1394 from Ismail-elkorchi/woocommerce-support
Remove columns wrapper and hardcoded values from WooCommerce
2020-04-10 22:13:22 +01:00
Ismail El Korchi 0e3209dfca removes columns wrapper and hardcoded values from woocommerce
Adjust default values
2020-04-10 22:08:31 +01:00
Ismail El Korchi fad8353fe5
Merge pull request #1395 from Ismail-elkorchi/wp-cli/i18n-command
Add make-pot command to composer and update the POT file
2020-04-10 17:28:58 +01:00
Ismail El Korchi 233c99ae47 Add make-pot command to composer and update _s.pot file
correct spacing
2020-04-10 17:04:29 +01:00
Ismail El Korchi d86ec8cb63
Merge pull request #1379 from GitarMan/close-small-menu-on-click-outside
Close small menu when user clicks outside #1375
2020-04-10 14:25:06 +01:00
Ismail El Korchi 9dee764949 Fix a minor spacing issue 2020-04-10 03:04:28 +01:00
Ron Holt 29b0bb311f Close small menu when user clicks outside #1375 2020-04-10 02:55:53 +01:00
Ismail El Korchi 15b7f3bb39
Merge pull request #1393 from Ismail-elkorchi/fix-wpcs-command
Remove superfluous parameter from composer.json
2020-04-09 19:14:07 +01:00
Ismail El Korchi 27ddf843e3 Remove superfluous parameter from composer.json 2020-04-09 17:55:51 +01:00
Ismail El Korchi 4c37d815de
Merge pull request #1391 from Ismail-elkorchi/compiling-sass
Add SASS compilation and sync the CSS files
2020-04-09 12:23:41 +01:00
Ismail El Korchi b07e5d3682 Add SASS compilation and sync the CSS files 2020-04-08 22:36:58 +01:00
Ismail El Korchi f5248e18ef
Merge pull request #1386 from Ismail-elkorchi/linting-travis
PHP, SCSS and JS linting tools for use in local and Travis
2020-04-07 21:45:22 +01:00
Ismail El Korchi fc700762f0
Merge pull request #1390 from Ismail-elkorchi/copyright-date
Update the copyright dates
2020-04-07 21:40:41 +01:00
Ismail El Korchi ff3567b32f update the copyright date 2020-04-07 21:18:45 +01:00
Ismail El Korchi b132e87dc0 Switch tabs to spaces and fix a minor docs issue 2020-04-07 20:51:04 +01:00
Ismail El Korchi d3e4339c50 Update dependencies 2020-04-07 20:51:04 +01:00
Ismail El Korchi 31c32dd2e4 Disable block-no-empty rule 2020-04-07 20:51:04 +01:00
Ismail El Korchi cfdbdfc534 Add composer.json and package.json for linting with Travis 2020-04-07 20:51:04 +01:00
Ismail El Korchi 1df1677846
Merge pull request #1388 from Ismail-elkorchi/fix-wpcs
Fix WordPress Coding Standards for PHP, JS and SCSS files
2020-04-07 20:47:44 +01:00
Niels Lange aa1e770956
Merge pull request #1389 from alihusnainarshad/master
Updated Credits Year of Automattic
2020-04-07 22:48:07 +07:00
Ali Husnain Arshad f1e2c8dc08
Updated Credits Year of Automattic
from 2017 to 2020
2020-04-07 18:39:37 +05:00
Ismail El Korchi d4ef6775d1 Add instruction to replace the _S_VERSION in the readme file 2020-04-06 22:26:57 +01:00