Commit Graph

4098 Commits

Author SHA1 Message Date
Peter Fabian 7db4abb2a0 Sale sign size was too large between wide and narrow viewport. 2019-11-24 12:20:29 +01:00
Peter Fabian 546b947e23 Center upsells to be in line with related products 2019-11-24 12:19:36 +01:00
Peter Fabian 086c60df39 Last product in shop looks weird with even spacing. 2019-11-24 12:00:19 +01:00
Peter Fabian aadae25552 Display products in one column in narrow viewport. 2019-11-24 11:57:08 +01:00
Peter Fabian 21124cb8c2 Ordering select styling for narrow viewport--break for ultra narrow. 2019-11-24 11:56:26 +01:00
Peter Fabian 9e7ff01e21 Result count and ordering styling for wide and narrow viewport. 2019-11-24 11:42:10 +01:00
Peter Fabian 3f244bd538 Shop heading/title fix. 2019-11-24 10:03:39 +01:00
Peter Fabian f3892359f3 Make thumbnail larger, improve shop layout. 2019-11-24 09:51:15 +01:00
Peter Fabian 9baaa88adc Allow Sale sign to be aligned with the picture. 2019-11-23 19:26:33 +01:00
Peter Fabian 3740e253b7 Action buttons in related products switched to correct size. 2019-11-23 19:18:04 +01:00
Peter Fabian 27e844f5bd Make the Sale marker font and padding same as buttons. 2019-11-23 19:15:03 +01:00
Peter Fabian 1e3ad2a146 Fix review form for user who isn't logged in. 2019-11-23 19:11:48 +01:00
Peter Fabian 47c69cac37 Bottom padding is unnecessarily huge. 2019-11-23 19:08:19 +01:00
Peter Fabian fc3aadbee9 Fix related products view in narrow view. 2019-11-23 19:07:33 +01:00
Peter Fabian 76f28e57c9 This breaks the new review form/title alignment. 2019-11-23 19:06:43 +01:00
Peter Fabian c9fbc0ae4e Improved styling of product gallery. 2019-11-23 18:43:45 +01:00
Peter Fabian fe348bb70f Product gallery margin fix for wide and narrow viewports. 2019-11-23 18:42:45 +01:00
Peter Fabian f1bb497b66 Make thumbnails in the gallery affect parent's height and wrapping 2019-11-23 18:41:28 +01:00
Peter Fabian 2cda8d4cfe Small layout enhancements. 2019-11-23 18:18:15 +01:00
Peter Fabian 04453768c0 Breadcrumbs adjustment for various widths. 2019-11-23 18:17:19 +01:00
Peter Fabian 22e7570f1e Align the Add to cart button height with the quantity input. 2019-11-23 18:16:32 +01:00
Peter Fabian 5d4619f7d6 Don't break button text mid-word. 2019-11-23 17:31:35 +01:00
Peter Fabian e5fb7bee6d Mid-width layout adjustment. 2019-11-23 17:31:10 +01:00
Christopher Allford 1984a11ff2 Added media element initialization to variation description audio/video shortcodes 2019-11-22 14:08:31 -08:00
Peter Fabian c15a3d525a Updated related products layout. 2019-11-22 19:35:05 +01:00
Peter Fabian 943ea231e7 Tidy up product tabs. 2019-11-22 18:56:06 +01:00
Peter Fabian 3e9a862450 Added offset between product information and tabs. 2019-11-22 17:30:34 +01:00
Peter Fabian b681720aa4 Harmonize styling for simple products Add to cart button with variable products. 2019-11-22 17:13:58 +01:00
Peter Fabian b58bdf7c1d Add styling for 'added to cart' notices:
- make spacing even
- center the text in the middle with some flex tricks
2019-11-22 16:57:42 +01:00
Peter Fabian cf377a643a Make the title/price spacing work for Products without rating and short description. 2019-11-22 16:56:31 +01:00
Peter Fabian 962e9292b1 Margin for clear variations link to give it some space. 2019-11-22 16:22:57 +01:00
Peter Fabian b22a216bb1 Make the button symmetrical. 2019-11-22 16:19:33 +01:00
Peter Fabian 17e98afc2a Style product meta information.
Make it less prominent, offset it further away from the button.
2019-11-22 16:17:23 +01:00
Peter Fabian e188620232 Add padding to the variation picker table to make it same size as quantity picker. 2019-11-22 16:13:05 +01:00
Peter Fabian 301b976cfa Make Add to cart button same size as quantity input. 2019-11-22 16:12:15 +01:00
Peter Fabian 177f720f1b Let the price have some more space from the bottom as well. 2019-11-22 15:54:43 +01:00
Peter Fabian 572ac52cb3 Make the product rating a bit less prominent, let the price have some more space. 2019-11-22 15:51:42 +01:00
Peter Fabian 9c74bf79ea Rather than setting the background in CSS, use the color picked in the
customizer.

This also fixes the background in the block editor and tinymce.
2019-11-22 15:37:54 +01:00
Peter Fabian ae2ebdb933 Main image size needs to correspond to settings in the PHP script. 2019-11-22 14:56:44 +01:00
Peter Fabian fa48cd2aa7 Make single product page layout wider and enlarge breadcrumb offset. 2019-11-22 12:51:39 +01:00
Peter Fabian 0798098e05 Override default beige background to make the design more versatile and clean. 2019-11-22 12:36:23 +01:00
Justin Shreve 1fabf2f145 Handle PR feedback 2019-11-21 12:23:05 -05:00
Justin Shreve 18925f2218 Adds an a/b test for the new onboarding experience 2019-11-21 12:00:04 -05:00
Christopher Allford c2bc312e97 Added Photoswipe and jQuery-UI CSS minification 2019-11-19 10:40:28 -08:00
Peter Fabian b1f0098cb5 Fixed stylelint issues (except for no-descending-specificity).
There is also one invalid unit for line-height, duplicate class declaration (but it's related to different styling areas, so left it there).
2019-11-19 19:32:45 +01:00
Peter Fabian 08d0b17678 Base the styling on Twenty Nineteen. 2019-11-19 19:13:10 +01:00
Peter Fabian bc04b8f45b Added basic declaration for WC support to Twentytwenty. 2019-11-19 17:58:16 +01:00
Vedanshu Jain 05a89e849e
Merge pull request #24227 from woocommerce/update/replace-checkout-fragment-only-on-change
Cache checkout fragments and update DOM on change only
2019-11-15 18:49:58 +05:30
BrandynL 3ed614389f change event to click for better mobile device support 2019-10-28 09:56:20 -04:00
BrandynL 925bad1faf convert array instance to shorthand syntax 2019-10-28 09:35:39 -04:00
BrandynL 6ed7278678 add password hover visibility on password inputs with javascript 2019-10-27 16:56:42 -04:00
Tarek 6ed3927c35
Update admin.scss 2019-10-16 00:54:12 +02:00
Vedanshu Jain aabf38d831
Merge pull request #24832 from woocommerce/fix/24731
Fix CSS for WP 5.3
2019-10-15 17:47:52 +05:30
Peter Fabian 53295b9f08 Make the action buttons on edit order screen vertically aligned to the input element to the left. 2019-10-15 13:04:54 +02:00
Peter Fabian e314f1f233 Aligned the address fields with other elements on the first page of OBW. 2019-10-15 12:14:38 +02:00
Peter Fabian d0af99a278 Make the checkbox square again! 2019-10-15 12:12:35 +02:00
Peter Fabian af8fd207c8 Fixed select2 size on order list screen (filter at the top). 2019-10-15 11:55:41 +02:00
Peter Fabian 06921ba80c Moved the rules to the respective structure within the previous definitions. 2019-10-15 11:28:02 +02:00
Peter Fabian b7235431b3 Move the shipping form style to the file where it's actually loaded. 2019-10-15 11:05:51 +02:00
Peter Fabian 53fb13d704 Make the buttons in meta box on edit variation screen aligned with the inputs. 2019-10-15 10:57:59 +02:00
Peter Fabian a6de7b9e9f Make the selects in variation edit screen fill the entire row, thus also align with other elements on the page. 2019-10-15 10:55:02 +02:00
Peter Fabian 95635b2800 Make the edit order address email field align with the rest (select2 dimensions changed). 2019-10-15 10:53:36 +02:00
Peter Fabian 83ad2c4993 Make the shipping fields vertically aligned with the billing fields in Twenty Nineteen. 2019-10-15 10:51:35 +02:00
Peter Fabian 93277da7b1 Align select sizes in other contexts. 2019-10-15 10:49:37 +02:00
Peter Fabian 98b03d7fde Keep the edit order select fields smaller to fit with the rest of the form. 2019-10-15 10:47:24 +02:00
Peter Fabian e68499616b Increase the height of select and select2 elements in WC settings to fit with larger input fields. 2019-10-15 10:42:19 +02:00
Peter Fabian c2d36c823f Removed the line height to prevent text descenders being cut off in selects/dropdowns (#24731). 2019-10-15 10:39:36 +02:00
Bob Mulder c4ba9c094b
Make variables default to allow overriding 2019-10-14 11:40:08 +02:00
Rok Sprogar 8f6cb9d058 fixed the jQuery data() caching issue 2019-10-12 19:04:46 +02:00
Mehidi Hassan 3f8e3fdb2d Add space before parentheses of if condition for JS consistency 2019-10-10 23:37:56 +06:00
Claudio Sanches 9851b1f0f3 DRY 2019-10-03 21:19:52 -03:00
Adam Jones 0f7398d607 Fixing an issue with an on-body click triggering on pages that do not contain the referenced span.description element. Wrapped it in an if statement to make sure element exists beforehand. 2019-10-02 15:32:36 +01:00
Vedanshu Jain 4fc18d4940
Merge pull request #24739 from woocommerce/fix/24610
Make $subtext more darker to improve accessibility
2019-10-02 15:49:21 +05:30
Rodrigo Primo e2afc162c4
Merge pull request #24296 from woocommerce/fix/23900
Restored Photoswipe custom styles
2019-10-01 16:57:44 -03:00
Claudio Sanches 064a1657a7 Make $subtext more darker to improve accessibility 2019-10-01 15:30:05 -03:00
Gerhard 6d09d0efcf Fix OWB sell in person vertical alignment 2019-09-30 19:31:50 +05:30
Gerhard 97d3874e14 Fix OBW country vertical alignment 2019-09-30 19:31:50 +05:30
Gerhard Potgieter ee1b438c3c
Merge pull request #24517 from woocommerce/fix/24511
Control categories export field based on export type
2019-09-30 15:39:21 +02:00
Gerhard Potgieter dec4a381fe
Merge pull request #24720 from ChromeOrange/master
Allow select fields in credit card form to maintain value when the checkout form refreshes
2019-09-30 14:36:16 +02:00
Gerhard Potgieter 27be925552
Merge pull request #24406 from kolyasapphire/add-applied_coupon-trigger-to-checkout
Add 'applied_coupon' trigger to checkout.js
2019-09-30 13:59:37 +02:00
Andrew Benbow d339452bce
Update checkout.js 2019-09-30 10:24:00 +01:00
Andrew Benbow f8b268d3a0
Update checkout.js 2019-09-30 10:22:08 +01:00
Vedanshu Jain 436ee5de3a
Merge pull request #24680 from woocommerce/update/tracking-opt-in
Update usage tracking UI, default to opted-out.
2019-09-30 09:14:56 +05:30
Gerhard Potgieter e8d617156d
Merge pull request #24665 from miguelfspinto/patch-4
Enable append hashes on custom events (like ajax requests)
2019-09-27 13:35:48 +02:00
Vedanshu Jain aa665446e5
Merge pull request #24476 from yash-webkul/patch-15
Update wc-setup.scss
2019-09-27 00:32:16 +05:30
Vedanshu Jain 80aafe0b65
Merge pull request #24327 from yratof/yratof-fix-tabledisplay
Fix - Issue on shipping rates tbody due to grammarly fix
2019-09-26 21:56:55 +05:30
Rodrigo Primo 7fbe47772b
Merge pull request #24339 from woocommerce/fix/24128
Remove `blur` event to keep focus on select box.
2019-09-25 20:57:13 -03:00
Justin Shreve 0c3fc315c5 Update tracking opt-in UI. 2019-09-24 14:26:21 -04:00
Miguel Pinto fff09c9811
Enable append hashes on custom events (like ajax requests) 2019-09-23 16:04:31 +01:00
johntendik 0a9563dacd fixing indentation 2019-09-10 20:43:13 -04:00
johntendik 366681038f added unload event to prevent reload during checkout 2019-09-10 20:23:10 -04:00
Rodrigo Primo 9277a0e260
Merge pull request #24277 from woocommerce/fix/24231
Fix position of ID section in mobile rows actions
2019-09-05 10:03:48 -03:00
Claudio Sanches 08e9d0bdc9 Control categories export field based on export type 2019-08-27 16:11:05 -03:00
kolyasapphire faf05c00c2 Renamed the trigger
Changed to applied_coupon_in_checkout to avoid unexpected behaviour
2019-08-23 16:15:57 +03:00
Yash Kapoor 509a14590f
Update wc-setup.scss
Fixed CSS for .location-input
2019-08-23 12:19:45 +05:30
kolyasapphire fe3395cd6b Add 'applied_coupon' trigger to checkout.js
To check it’s working correctly:

add_action( 'woocommerce_after_checkout_form', 'alert_on_coupon');
add_action( 'woocommerce_after_cart', 'alert_on_coupon');

function alert_on_coupon() { ?>
<script type="text/javascript">
	jQuery(document).ready(function($) {
    $( document.body ).on( 'applied_coupon', function(event,code){
    	alert(code);
    });
});

$( document.body ).trigger( 'applied_coupon', [ data.coupon_code ] );
2019-08-14 19:09:18 +03:00
vedanshujain 970271d0b7 Remove `blur` event to keep focus on select box.
This removes the `blur` call so that focus on select box is maintained for accessibility. This call was added way back in 2012 but from what it looks like, it can be removed safely.
2019-08-06 22:08:00 +05:30
Andrew Lazarus 2596e6ecda
Removed whitespace 2019-08-05 11:29:39 +02:00
Andrew Lazarus 3805794baf Fix - Issue on shipping rates tbody, toby set to inherit, should be table-row-group 2019-08-05 11:23:04 +02:00
Paul Dechov e15e51868c Remove accidental jQuery references in favor of $ 2019-08-02 18:10:47 -04:00