Commit Graph

4391 Commits

Author SHA1 Message Date
Christopher Allford e39f6e12d7
Merge pull request #28406 from woocommerce/add/2021-compat-my-account-orders-page
Add "My Account - Orders" page compatibility for Twenty Twenty-One
2020-12-03 15:13:11 -08:00
Christopher Allford bc9143166e
Merge pull request #28492 from woocommerce/add/2021-single-product-page-mobile-compat
2021 Theme Compat: Update the single product page and the sales badge for mobile.
2020-12-03 14:51:21 -08:00
jonathansadowski 707ceb4e3d
Merge branch 'master' into add/2021-compat-my-account-details 2020-12-03 16:31:39 -06:00
jonathansadowski 2376120941
Merge pull request #28433 from woocommerce/add/2021-compat-my-account-addresses-page
Add "My Account - Edit Address" page compatibility for Twenty Twenty-One
2020-12-03 16:24:10 -06:00
Jonathan Sadowski 5a1994284b Adjust gallery trigger to not overlap with sale badge; keep sale badge always on right 2020-12-03 15:30:08 -06:00
Jonathan Sadowski 687f9b67d7 2021 compat: Update table on downloads page to support dark mode 2020-12-03 14:04:44 -06:00
Jonathan Sadowski 9d0da2a16c 2021 compat: Fix payment methods table background mobile styling 2020-12-03 13:56:46 -06:00
Jonathan Sadowski 4393319c61 2021 compat: Update payment methods table background on account page to support dark mode 2020-12-03 13:52:30 -06:00
Jonathan Sadowski 5db955459b Update 2021 compat for my-account orders so that divisors use body color 2020-12-03 13:12:37 -06:00
Jonathan Sadowski 58bdca2b5c Merge branch 'master' into add/2021-compat-my-account-orders-page 2020-12-03 12:40:46 -06:00
Jonathan Sadowski f095ca5b3d Update 2021 orders page table backgrounds to work with dark mode 2020-12-02 17:28:11 -06:00
Nestor Soriano 7a34fbcbde Merge branch 'master' into add/2021-compat-shop-page 2020-12-02 11:57:38 +01:00
Nestor Soriano ddf46a5186 Don't invert prev/next colors for 2021 theme 2020-12-02 08:59:35 +01:00
Jonathan Sadowski bc9e7e78f8 Adjust sale badge size between 668 and 768px viewports 2020-12-01 10:47:03 -06:00
Jonathan Sadowski ffc7502583 Remove font exception for sale badge on smaller viewports 2020-12-01 10:42:53 -06:00
Jonathan Sadowski ce2444e9e3 Improve tabs on smaller viewports 2020-11-30 12:56:39 -06:00
Jonathan Sadowski 42f8fa2fe8 Apply sale badge change to correct viewport size 2020-11-30 12:17:21 -06:00
Jonathan Sadowski bc2f7d08d2 Move sale badge to left on smaller viewports to fix gallery conflict 2020-11-30 12:12:06 -06:00
Nestor Soriano 526dd62b9c Add 2021 theme compatibility for the "My Account - Payment methods" page:
- Remove table borders
- Make buttons have transparent background, dark on hover
- Make buttons pile vertically, not horizontally
- Adjust margins
2020-11-30 09:50:23 +01:00
Nestor Soriano 40a3514733 Add 2021 theme compatibility for the "My Account - Add payment method" page:
- Make payment method name and images properly aligned with
  the radio button
- Adjust font sizes and margins
2020-11-27 13:11:28 +01:00
Nestor Soriano 4a05c30f7f Add 2021 theme compatibility for the "My Account - edit addresse" page:
- Adjust size and margins of labels and textboxes
- Adjust size and margins of dropdown selectors
2020-11-27 11:17:04 +01:00
Nestor Soriano 74c93103ff Add 2021 theme compatibility for the "My Account - Addresses" page:
- Reduce the size of the address title font
- Reduce spacing between address lines
- Move "Edit" link to the right of the address title
- Adjust space between addresses
2020-11-26 16:45:20 +01:00
Nestor Soriano 2114e05704 Add 2021 theme compatibility for the "My Account - Downloads" page:
- Make downloads table background on even rows slightly darker
- Remove table and row borders
- Make downloads table rows thinner
- Make buttons have transparent background (dark on hover)
- Make buttons have all the same size
- Center the contents of the "Downloads remaining" column
2020-11-26 11:33:57 +01:00
roykho beebbb8e25
Switch to general panel when virtual is enabled and on shipping tab closes #28267 2020-11-25 10:12:24 -08:00
Nestor Soriano 521a9ba61b Add compatibility with the 2021 theme for the "Account Details" page
- Add a black border around text boxes
- Adjust font sizes
- Adjust margins
2020-11-25 12:40:02 +01:00
Nestor Soriano 5000b21218 Add 2021 theme compatibility for the "My Account - Orders" page:
- Make orders table background same as theme background
  (slightly darker on even rows)
- Make orders table rows thinner
- Make buttons have transparent background (dark on hover)
- Add some margin before "Prev/Next" buttons
- Remove right padding on date column to avoid wrapping
2020-11-25 11:37:06 +01:00
Christopher Allford 686872a237
Merge pull request #28134 from woocommerce/add/2021-compat
Add support for Twenty Twenty-One theme
2020-11-24 16:26:34 -08:00
Jonathan Sadowski a8c2bac9b2 Update the my account page colors 2020-11-24 18:02:06 -06:00
Jonathan Sadowski c29aafd66d Update targeting for account page styles 2020-11-24 17:52:17 -06:00
jonathansadowski ebbf6b9d2e
Merge branch 'add/2021-compat' into add/2021-compat-my-account-page 2020-11-24 17:45:43 -06:00
Nestor Soriano 6fef73f469 Fix overlapping elements in shop items. 2020-11-24 15:36:14 -08:00
jonathansadowski 2f3701739d
Merge pull request #28395 from woocommerce/update/2021-compat-cart
Twenty Twenty-One: Cart Page
2020-11-24 17:09:41 -06:00
Christopher Allford 333e2e5137
Merge pull request #28333 from woocommerce/add/2021-compat-single-product
Add single product page compatibility for Twenty Twenty-One
2020-11-24 15:09:14 -08:00
Jonathan Sadowski 50690010c6 Adjust the margin around display of variable product price on single product page 2020-11-24 17:01:20 -06:00
Christopher Allford 73a9d865f1 Removed bullet points from shipping method selection during checkout 2020-11-24 14:56:15 -08:00
Jonathan Sadowski cbe07cf35e Make tabs look tabby 2020-11-24 16:49:16 -06:00
Christopher Allford 0e8e15645d Corrected cart page according to design 2020-11-24 14:44:42 -08:00
Christopher Allford d343527949 Corrected the "on sale" badge display 2020-11-24 14:06:04 -08:00
Jonathan Sadowski 3aeab3571e Fix height of add to cart button 2020-11-24 15:53:58 -06:00
Christopher Allford c3a940be6f
Merge pull request #28343 from woocommerce/update/twenty-twenty-one-home-page-css
Add home page compatibility for Twenty Twenty-One theme
2020-11-24 13:45:45 -08:00
Jonathan Sadowski fb4b9db3f1 Remove cart padding; set proceed to checkout button width to 100% 2020-11-24 14:48:17 -06:00
jonathansadowski 9ebb754195
Merge branch 'add/2021-compat' into fix/28304 2020-11-24 14:17:40 -06:00
Christopher Allford 3921ac3b50 Adjusted the dark mode 2020-11-24 11:08:44 -08:00
Christopher Allford 4795ee86dd Adjusted the checkbox 2020-11-24 10:35:10 -08:00
Christopher Allford fa47b11816 Adjusted the checkbox visibility 2020-11-24 10:19:24 -08:00
Nestor Soriano 71d85558ef Changes on "My Account" menu items based on mockup from designer:
- Even darker
- Smaller font
- Reduce space between items
- Un-bold
2020-11-24 16:24:36 +01:00
vedanshujain ede094bba8 Removed old styles that conflicts with new. 2020-11-24 17:12:17 +05:30
Nestor Soriano 8f475383e1 Remove styling for "onsale" since it already exists in target branch 2020-11-24 12:16:43 +01:00
Nestor Soriano d197f5059e Merge branch 'add/2021-compat' into add/2021-compat-shop-page 2020-11-24 12:14:04 +01:00
Nestor Soriano 14af0c432b Fixes in the "My Account" page for 2021 theme
- Adjust padding under the "My Account" title (was too big)
- Adjust color of menu items (was too light)
- Adjust thickness of underline on menu items hover (was too thick)
- Add some space between the "Hello" line and the next paragraph
2020-11-24 11:02:59 +01:00
vedanshujain a0b999191e Merge fixups 2020-11-24 14:26:23 +05:30
Christopher Allford 9d61226987 Fixed the apply_coupon button 2020-11-23 21:50:19 -08:00
Christopher Allford a9601fbebf Added appropriate styling to checkout page 2020-11-23 21:26:31 -08:00
Jonathan Sadowski 9d4d419d1c Remove non-WooCommerce specific h2 styles 2020-11-23 16:50:29 -06:00
jonathansadowski f88c19c3af
Merge branch 'add/2021-compat' into update/twenty-twenty-one-home-page-css 2020-11-23 16:20:11 -06:00
Jonathan Sadowski e86889b080 Remove non-WooCommerce specific wp-block-cover styles 2020-11-23 16:17:21 -06:00
Jonathan Sadowski 4016b58142 Calculate width for product li; improve smaller viewport 2020-11-23 16:07:04 -06:00
vedanshujain 528e7b7d91 More style fixes 2020-11-24 00:40:01 +05:30
vedanshujain 08ec8d2547 Style fixes for cart page for 2021 theme. 2020-11-24 00:39:54 +05:30
Jonathan Sadowski 6240b41215 Update badge to have dynamic width 2020-11-23 10:41:01 -06:00
Nestor Soriano 8505558b94 Adjust CSS for the "sale" mark in the shop page
Make it round, displayed on the right and with green background,
same as in the mockup.
2020-11-23 16:47:40 +01:00
Nestor Soriano cc81646506 Adjust CSS for the product title and buttons in the shop page
- Un-bold product titles
 - Make buttons have transparent background by default and dark
   background on hover, same as the rest of the theme
2020-11-23 13:12:22 +01:00
Nestor Soriano b538d30f0e Adjust CSS for the categories list in the shop page
- Reduce font size
- Remove underlines
- Remove yellow background in counters
2020-11-23 12:51:47 +01:00
Nestor Soriano f50d383f2a Adjust CSS for the "Shop" title in the shop page
- Un-bolden title, align left, add horizontal rule to be in line
  with the theme.
- Adjust margins/paddings depending on the screen width.
2020-11-23 12:24:07 +01:00
Jonathan Sadowski 313b2bd073 Update styling for homepage category 2020-11-23 00:24:11 -06:00
Jonathan Sadowski b92c528540 2021 Compat: Update the style of the "sale" badge 2020-11-22 22:44:56 -06:00
Rodrigo Primo aa2565b4d7 Start adjusting the product categories widget in the home page for the 2021 theme 2020-11-19 18:15:18 -03:00
Rodrigo Primo 31914b52d7 Adjust font-weight of the section titles in the home page for the 2021 theme 2020-11-19 18:15:18 -03:00
Rodrigo Primo 673b50b4fd Fix the layout of banner in the home page for the 2021 theme 2020-11-19 18:15:10 -03:00
Nestor Soriano c9b6481474 Fix overlapping elements in shop items. 2020-11-19 16:58:10 +01:00
Jonathan Sadowski 192611980a Improve content-area padding at smaller viewports 2020-11-18 13:39:38 -06:00
Rodrigo Primo 1fca8bb1b1 Replaces a few more instances of jQuery.fn.click() event shorthand
This commit replaces a few more instances of jQuery.fn.click() event shorthand that were missed in the previous commit. For more information see the commit message for 8ebead165e.
2020-11-18 16:31:17 -03:00
Jonathan Sadowski bf92437b23 Improve margin beneath short description 2020-11-18 13:25:53 -06:00
Rodrigo Primo 8ebead165e Replace usages of depracted jQuery.fn.click() event shorthand
This commit replaces all instances in WooCommerce codebase (except included third-party libraries) where jQuery.fn.click( handler ) event shorthand was used. This shorthand was deprecated in jQuery 3.3 (see https://github.com/jquery/jquery/issues/3214). The jQuery documentation was not updated yet (see https://github.com/jquery/jquery-migrate/issues/288 and https://github.com/jquery/api.jquery.com/issues/972).

jQuery.click() was not deprecated and so it was not replaced.
2020-11-18 15:27:46 -03:00
Rodrigo Primo 5c8491c862 Remove jQuery code that does nothing
This commit replaces a block of jQuery code that I believe does nothing. I found it while starting the work to make our JS code compatible with jQuery 3 as it uses jQuery.fn.keyup() which has been deprecated.

As far as I can understand, this block of code is supposed to change the focus to the coupon description when the user hits the tab key while the focus is on the title field. It doesn't work because the keyup event is not fired for the tab key. The current behavior is that when the user hits the tab key, the focus changes to the "Generate coupon code" button, and if the tab key is pressed another time, the focus changes to the description text field. Which seems fine to me and that is why I'm suggesting we remove this code instead of fixing it.

I believe it was added in this c15b8e817c commit six years ago and unfortunatelly the commit doesn't provide much information on why it was added.
2020-11-17 14:39:55 -03:00
Jonathan Sadowski a05e55d119 Improve the readability of cart confirmation 2020-11-17 09:48:42 -06:00
Jonathan Sadowski 07d8855488 Fix related products alignment at lower breakpoints 2020-11-17 09:37:56 -06:00
Jonathan Sadowski 655166b6da Adjust margin on price, related product h2, and variations table 2020-11-17 09:04:25 -06:00
Christopher Allford ea888a4a21
Revert "Added support for file in checkout ajax." 2020-11-16 09:04:15 -08:00
Jonathan Sadowski 0f85f1d754 Fix save payment method checkbox in checkout 2020-11-16 09:23:56 -06:00
Jonathan Sadowski 67b3d1c5fb Fix stretched product admin images 2020-11-14 10:27:42 -05:00
Jonathan Sadowski 58e4b01f06 Apply related products fix to all products 2020-11-13 15:22:22 -05:00
Jonathan Sadowski 996736bf97 Display block overlay on checkout 2020-11-13 14:59:11 -05:00
Jonathan Sadowski 45515928c6 Darkmode support on checkout payment box 2020-11-13 14:53:19 -05:00
Jonathan Sadowski 0e92af159d Fix additional info spacing #28272 2020-11-13 11:14:22 -05:00
Jonathan Sadowski 64cda333d7 Fix related products 2020-11-13 10:25:13 -05:00
Jonathan Sadowski b0c8356a13 Fix product image stretching #28274 2020-11-13 10:10:37 -05:00
Jonathan Sadowski ec2105f183 Remove button color overrides; #site-content to #main 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 5ceb9e43c5 Update checkout page max-width 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 82b2fcc204 Update content area padding, adjust padding around empty notices 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 8df688ffd2 Improve product title styling 2020-11-16 06:41:39 -06:00
Jonathan Sadowski fb8b804e20 Use currentColor for body-color to support contrasting background colors 2020-11-16 06:41:39 -06:00
Jonathan Sadowski f018581c11 Clean up 'onsale' styling 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 1faea15837 Use twentytwenty as base 2020-11-16 06:41:39 -06:00
Jeffrey Pearce bf8662bf67 Adds structure for Twenty Twenty One default theme support. Issue #27766
- New class class-wc-twenty-twenty-one.php
- New stylesheet twenty-twenty-one.scss
- Updates checks for default themes in theme_support_includes() and wc_is_wp_default_theme_active()
2020-11-16 06:41:39 -06:00
Christopher Allford 2516414eb6
Merge pull request #28229 from woocommerce/add/wc-pay-extensions-screen
Add WooCommerce Payments banner to extensions screen
2020-11-12 14:21:01 -08:00
Rodrigo Primo 7659b984dc
Merge pull request #28058 from woocommerce/fix/27937
Replaces some jQuery deprecated code
2020-11-12 14:00:39 -03:00
Roy Ho edb06be34e
Merge pull request #27997 from woocommerce/fix/issue-27656
Fix checkout page not displaying visual blocking when place order is …
2020-11-11 12:53:17 -08:00
roykho 18bc862773
Remove fix from TwentyNineteen as the issue can't be reproduce anymore 2020-11-11 12:52:05 -08:00
Gerhard Potgieter 8afae13724 Update addons-button-solid to new purple 2020-11-10 18:37:43 +02:00