From f9b9eebd17a5349b022b9928de86f44e6563b549 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 20 Dec 2017 16:11:10 -0500 Subject: [PATCH] increasing padding in detail view to accommodate icons in mobile mobile view had icons cut off due to padding issues, increasing detail view image width --- css/front.css | 48 ++++++++++++++++++--- views/front/registrations/registration.html | 28 ++++++++---- 2 files changed, 62 insertions(+), 14 deletions(-) diff --git a/css/front.css b/css/front.css index 1dcb590..27df7ce 100644 --- a/css/front.css +++ b/css/front.css @@ -25,7 +25,7 @@ } #glm-reg-detail-map-button { height: 35px; - padding: 5px 7px; + padding: 5px 7px 5px 0; float: left; color: #008CBA; border-right: 1px solid white; @@ -36,6 +36,8 @@ } #glm-reg-detail-map-button:hover{ cursor: pointer; + text-decoration: underline; + color: #e3a146; } #glm-reg-detail-directions-button { height: 35px; @@ -64,6 +66,17 @@ height: 24px; left: -12px; } +.glm-reg-contact-container::before{ + content: ""; + background-image: url(../assets/events/contact-icon-24x24.png); + background-height: 24px; + background-width: 24px; + position: absolute; + width: 24px; + height: 24px; + left: -26px; + top: 5px; +} .glm-reg-cost::before{ /* top: 0px; */ content: ""; @@ -131,7 +144,10 @@ left: -12px; } -.glm-reg-event-profile-details{ +glm-reg-contact-email{ + word-wrap: break-word; +} +.glm-reg-event-profile-details:not(.glm-reg-contact-details){ margin-bottom: 15px; } #glm-reg-map-container{ @@ -140,10 +156,7 @@ padding: 0; overflow: hidden; } -.glm-reg-event-profile-details-container{ - padding: 0 0 0 50px; -} .glm-reg-class-container{ } @@ -704,6 +717,7 @@ span.glm-error { margin-bottom: 25px !important; } @media(max-width: 1024px) { + #accountHeader { max-width: 300px; } @@ -807,7 +821,28 @@ span.glm-error { /* padding: 0;*/ margin-bottom: 10px; } + +/* MOBILE ONLY ----------*/ @media(max-width: 640px){ + .glm-reg-date::before{ + left: 10px; + } + .glm-reg-location::before{ + left: 10px; + } + .glm-reg-time::before{ + left: 10px; + } + .glm-reg-contact-container::before{ + left: 10px; + } + + .glm-reg-cost::before{ + left: 10px; + } + .glm-reg-has-icon, .glm-reg-contact-name,.glm-reg-contact-email,.glm-reg-contact-phone{ + padding-left: 50px; + } .glm-reg-image-container { text-align: left; } @@ -839,6 +874,9 @@ span.glm-error { } @media(min-width: 1024px){ + .glm-reg-event-profile-details-container{ + padding: 0 0 0 50px; + } .reg-class-accounts { padding: 5px; width: 50%; diff --git a/views/front/registrations/registration.html b/views/front/registrations/registration.html index baa84cc..22e737e 100644 --- a/views/front/registrations/registration.html +++ b/views/front/registrations/registration.html @@ -18,33 +18,36 @@ {* Template for the regEvent *}{literal}