From: laury Date: Fri, 15 Dec 2017 17:32:17 +0000 (-0500) Subject: Responsive/style fixes on registration, cart, checkout, summary X-Git-Tag: v1.0.0^2~196 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a3a30a75625e37df0cd57abe3da055539899983d;p=WP-Plugins%2Fglm-member-db-registrations.git Responsive/style fixes on registration, cart, checkout, summary --- diff --git a/css/front.css b/css/front.css index 2e54922..6bda288 100644 --- a/css/front.css +++ b/css/front.css @@ -113,7 +113,21 @@ .glm-reg-row-bold { font-weight: bold; } -.glm-reg-headder-row { +.glm-reg-header-row.glm-cart-summary-event-name-row a { + color: white; +} +.glm-reg-header-row.glm-cart-summary-event-name-row { + background-color: #005779; + padding: 5px; + height: 40px; +} +.glm-reg-header-row .glm-cart-summary-event-name { + display: inline; + font-size: 22px; + font-weight: bold; + color: white; +} +.glm-reg-header-row { clear: both; background-color: #eee; height: 2rem; @@ -130,15 +144,6 @@ } /*}}} end of tampering */ -.glm-reg-cart-container { - clear: both; - border: solid 1px black; - background-color: white; - margin: 1rem auto; - max-width: 64rem; - font-size: 0.875rem; -} - /*{{{ Event Registration List */ #glm-reg-list{ max-width: 800px; @@ -146,9 +151,11 @@ #glm-reg-list h3 a { text-transform: uppercase; } -.glm-reg-event-list { +#glm-reg-detail { width: 100%; padding: 0; + max-width: 64rem; + margin: 0 auto; } .glm-reg-list-details{ padding: 0; @@ -202,6 +209,7 @@ } .glm-reg-level { margin-bottom: 25px; + padding: 0 15px; /* width: 48%; */ /* float: left; */ /* clear: left; */ @@ -320,7 +328,7 @@ body .glm-reg-proceed-to-checkout{ font-size: 16px !important; } .reg-class-detail { - /* display: none; */ + display: none; padding: 5px 10px; } .toggle-class-open { @@ -739,4 +747,40 @@ span.glm-error { } +} + + +/* Cart Styles */ +#glm-cart-checkout-button { + +} +.button.glm-reg-button { + font-size: 16px; +} +.glm-reg-cart-container { + clear: both; + border: solid 1px black; + background-color: white; + margin: 1rem auto; + max-width: 64rem; + font-size: 0.875rem; +} +.glm-reg-cart-event-container { + padding-bottom: 20px +} +.glm-reg-cart-event-class > div { + font-size: 16px; + text-decoration: underline; +} +.glm-reg-cart-registrant { + +} + +/* Checkout styles */ +.glm-reg-checkout-field-label { + font-size: 14px; + padding: 0; +} +.glm-reg-checkout-field-data { + padding: 0; } \ No newline at end of file diff --git a/views/front/registrations/cart.html b/views/front/registrations/cart.html index 3bc74cf..65031fb 100644 --- a/views/front/registrations/cart.html +++ b/views/front/registrations/cart.html @@ -8,6 +8,12 @@
You have not yet submitted your registration! Proceed to Checkout
{/if}--> +{if true} +
+ Step 2/3 +
+{/if} + {if $cartPageText}
{$cartPageText} @@ -39,8 +45,8 @@
You have not yet submitted your registration. See above notes!
{else} -
-
You have not yet submitted your registration! Proceed to Checkout
+
+
You have not yet submitted your registration! Proceed to Checkout
{/if} diff --git a/views/front/registrations/cartSummary.html b/views/front/registrations/cartSummary.html index b3305b6..a27ccd3 100644 --- a/views/front/registrations/cartSummary.html +++ b/views/front/registrations/cartSummary.html @@ -1,9 +1,10 @@
{foreach $cart.events as $event} -
-
+
+
+
{if $summaryType=="cart"} - + {/if} {if $summaryType=="checkout"} {assign var="summaryClass2Col" value="glm-small-12 "} @@ -14,86 +15,87 @@ {assign var="summaryClass3Col" value="glm-small-12 glm-medium-3 "} {assign var="summaryClass4Col" value="glm-small-12 glm-medium-4 "} {/if} - {$event.event_name} + {$event.event_name} +
-
{foreach $event.classes as $class} -
-
- {$class.class_name} +
+
+ {$class.class_name} +
-
{foreach $class.rates as $rate} {if $rate.rateBaseCharge > 0} -
-
- Base Rate: -
-
- ${$rate.rateBaseCharge|number_format:2} +
+
+ Base Rate: +
+
+ ${$rate.rateBaseCharge|number_format:2} +
-
{/if} {foreach $rate.registrants as $registrant} -
-
- {$registrant.fname} {$registrant.lname} -
-
- {$registrant.timeReformatted} -
-
- Cookies and Milk (temp test data) -
-
+
+
+ {$registrant.fname} {$registrant.lname} +
+
+ {$registrant.timeReformatted} +
+
+ Cookies and Milk (temp test data) +
+
{if $registrant.registrantRate > 0} ${$registrant.registrantRate|number_format:2} {else} (included) {/if} +
-
{if $registrant.registrantDiscounts == 0} -
-
- Registrant Discount +
+
+ Registrant Discount +
+
+ -${$registrant.registrantDiscounts|number_format:2} +
-
- -${$registrant.registrantDiscounts|number_format:2} -
-
{/if} {/foreach} {* registrants *} {/foreach} {* rates *} {/foreach} {* classes *} -
-
- Event Discounts -
-
- ${$event.eventDiscounts|number_format:2} -
+
+
+ Event Discounts +
+
+ ${$event.eventDiscounts|number_format:2} +
+
+
+
+ Registrants: {$event.eventRegistrants} +
+
+ ${$event.eventCharges|number_format:2} +
+
-
-
- Registrants: {$event.eventRegistrants} -
-
- ${$event.eventCharges|number_format:2} -
-
{/foreach} {* events *} -
+
Registration Request Totals
{if $cart.totalDiscounts == 0} -
-
+
+
Total Discounts
-
+
${$cart.totalDiscounts|number_format:2}
diff --git a/views/front/registrations/checkout.html b/views/front/registrations/checkout.html index a9f8fc4..4620a97 100644 --- a/views/front/registrations/checkout.html +++ b/views/front/registrations/checkout.html @@ -1,5 +1,11 @@ {apply_filters('glm_members_registrations_header', 'accountHeader')} +{if true} +
+ Step 3/3 +
+{/if} + {if $checkoutPageText}
{$checkoutPageText} @@ -38,58 +44,58 @@