From: laury Date: Tue, 12 Dec 2017 16:46:45 +0000 (-0500) Subject: Style changes for accountHeader, and registration detail info titles X-Git-Tag: v1.0.0^2~223^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2b7ed1f205db9eb79e1c0c1e84083d2066f5f706;p=WP-Plugins%2Fglm-member-db-registrations.git Style changes for accountHeader, and registration detail info titles --- diff --git a/css/front.css b/css/front.css index 304970c..5f67e6b 100644 --- a/css/front.css +++ b/css/front.css @@ -222,6 +222,9 @@ .glm-reg-level-info{ padding: 0 2px; font-size: 14px; + white-space: normal; + line-height: 1.2; + margin-bottom: 10px; } .glm-reg-level-title { @@ -266,6 +269,12 @@ /* position: absolute; */ bottom: .3rem; right: .5rem; + white-space: normal; +} +@media(max-width: 640px) { + .glm-reg-submit { + padding: 0; + } } .glm-reg-level-registrant-name { } @@ -312,6 +321,7 @@ label.registrant-label { .reg-class-detail { /* display: none; */ + padding: 5px 10px; } .toggle-class-open { font-size: 1.5rem; @@ -489,6 +499,24 @@ span.glm-error { #regApp { } +#regApp .glm-reg-class-container { + border: 1px solid lightgrey; + border-radius: 5px; +} + +#regApp .glm-reg-class-container.collapsed .reg-class-detail { +} +#regApp .glm-reg-class-container .reg-class-detail { +} +#regApp .glm-reg-class-container .glm-reg-event-details { + background-color: #007095; + color: white; + cursor: pointer; + padding: 10px; +} +#regApp .glm-reg-class-container .glm-reg-event-details:hover { + background-color: #008CBA; +} #accountHeader { background: -webkit-linear-gradient(top, #f2f2f2 45%, #FFFFFF 100%); @@ -496,10 +524,57 @@ span.glm-error { background: -ms-linear-gradient(top, #f2f2f2 45%, #FFFFFF 100%); border: 1px solid lightgrey; border-radius: 4px; - height: 60px; + height: auto; + min-height: 60px; margin: 0 auto; max-width: 1024px; - padding: 10px 20px; + padding: 0; +} +#accountHeader .accountHeader-section { +} +#accountHeader #accountHeader-left { + float: left; + text-align: left; + margin-top: 12px; +} +#accountHeader #accountHeader-center { + text-align: center; +} +#accountHeader #accountHeader-right { + float: right; + text-align: right; + margin-top: 12px; +} +#accountHeader #glm-header-reg-widget { + font-size: 14px; + padding: 0; + border-color: lightgrey; + border-width: 0 1px; + border-style: solid; + border-radius: 2px; + background: white; + min-height: 60px; + width: 100%; +} +#registrations-cart-link-title { + border-bottom: 1px solid lightgrey; + padding: 0 1.25rem 0 1.25rem; + width: 100%; +} +#registrations-cart-link-data { + padding: 0.625rem 1.25rem 0.6875rem 1.25rem; + width: 100%; +} +@media(max-width: 1024px) { + #accountHeader .accountHeader-section { + margin-bottom: 10px; + } + #accountHeader #glm-header-reg-widget { + margin-top: 0; + min-height: 0; + border-top: 1px; + border-bottom: 1px; + } } #accountHeader .button { border-radius: 3px; @@ -508,4 +583,20 @@ span.glm-error { #reg_bulletin { max-width: 1024px; margin: 10px auto; +} +@media(max-width: 640px){ + #accountHeader .button { + margin-bottom: 5px; + } + #glm-header-reg-widget { + width: 100%; + margin-bottom: 5px; + } + #glm-header-reg-widget #registrations-cart-link-widget { + width: 100% !important; + } + #regApp #glm-reg-event-name { + width: auto; + white-space: normal; + } } \ No newline at end of file diff --git a/views/front/registrations/accountHeader.html b/views/front/registrations/accountHeader.html index 33ed6fe..f1a0876 100644 --- a/views/front/registrations/accountHeader.html +++ b/views/front/registrations/accountHeader.html @@ -1,28 +1,35 @@ -
-
+
+ +
+ {if $page != 'register'} + Register for Another Event + {/if} + {if $page != 'cart'} + Return to Cart + {/if} +   +
+
{if $haveCart} -