From 9a8eb00e847772c6c406d8bdf185d2e90a320fef Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Wed, 29 Mar 2017 09:46:47 -0400 Subject: [PATCH] I made some progressive changes. After a talk with steve, I removed the graphic from the corner of the featured image on the golf template. Now the only locations for the central swing graphic is under the navigation item and in the off canvas under the same navigation item. I might need to make the graphics anchors. --- css/app.css | 117 ++++++++++++++++++++----------------- page-golf-template.php | 77 +----------------------- parts/off-canvas-menu.php | 1 + scss/_left-off-canvas.scss | 6 +- scss/_main.scss | 18 +++--- scss/_page.header.scss | 3 + scss/_settings.scss | 2 +- 7 files changed, 83 insertions(+), 141 deletions(-) diff --git a/css/app.css b/css/app.css index e950f73..a1a7d0d 100644 --- a/css/app.css +++ b/css/app.css @@ -1569,12 +1569,12 @@ button, .button { font-size: 1rem; background-color: #ffc742; border-color: #ffc742; - color: #FFFFFF; + color: #690433; transition: background-color 300ms ease-out; } button:hover, button:focus, .button:hover, .button:focus { background-color: #ffc742; } button:hover, button:focus, .button:hover, .button:focus { - color: #FFFFFF; } + color: #690433; } button.secondary, .button.secondary { background-color: #e7e7e7; border-color: #b9b9b9; @@ -1586,27 +1586,27 @@ button, .button { button.success, .button.success { background-color: #43AC6A; border-color: #368a55; - color: #FFFFFF; } + color: #690433; } button.success:hover, button.success:focus, .button.success:hover, .button.success:focus { background-color: #368a55; } button.success:hover, button.success:focus, .button.success:hover, .button.success:focus { - color: #FFFFFF; } + color: #690433; } button.alert, .button.alert { background-color: #f04124; border-color: #cf2a0e; - color: #FFFFFF; } + color: #690433; } button.alert:hover, button.alert:focus, .button.alert:hover, .button.alert:focus { background-color: #cf2a0e; } button.alert:hover, button.alert:focus, .button.alert:hover, .button.alert:focus { - color: #FFFFFF; } + color: #690433; } button.warning, .button.warning { background-color: #f08a24; border-color: #cf6e0e; - color: #FFFFFF; } + color: #690433; } button.warning:hover, button.warning:focus, .button.warning:hover, .button.warning:focus { background-color: #cf6e0e; } button.warning:hover, button.warning:focus, .button.warning:hover, .button.warning:focus { - color: #FFFFFF; } + color: #690433; } button.info, .button.info { background-color: #a0d3e8; border-color: #61b6d9; @@ -1614,7 +1614,7 @@ button, .button { button.info:hover, button.info:focus, .button.info:hover, .button.info:focus { background-color: #61b6d9; } button.info:hover, button.info:focus, .button.info:hover, .button.info:focus { - color: #FFFFFF; } + color: #690433; } button.large, .button.large { padding: 1.125rem 2.25rem 1.1875rem 2.25rem; font-size: 1.25rem; } @@ -1641,14 +1641,14 @@ button, .button { button.disabled, button[disabled], .button.disabled, .button[disabled] { background-color: #ffc742; border-color: #ffc742; - color: #FFFFFF; + color: #690433; box-shadow: none; cursor: default; opacity: 0.7; } button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus { background-color: #ffc742; } button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus { - color: #FFFFFF; } + color: #690433; } button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus { background-color: #ffc742; } button.disabled.secondary, button[disabled].secondary, .button.disabled.secondary, .button[disabled].secondary { @@ -1667,40 +1667,40 @@ button, .button { button.disabled.success, button[disabled].success, .button.disabled.success, .button[disabled].success { background-color: #43AC6A; border-color: #368a55; - color: #FFFFFF; + color: #690433; box-shadow: none; cursor: default; opacity: 0.7; } button.disabled.success:hover, button.disabled.success:focus, button[disabled].success:hover, button[disabled].success:focus, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus { background-color: #368a55; } button.disabled.success:hover, button.disabled.success:focus, button[disabled].success:hover, button[disabled].success:focus, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus { - color: #FFFFFF; } + color: #690433; } button.disabled.success:hover, button.disabled.success:focus, button[disabled].success:hover, button[disabled].success:focus, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus { background-color: #43AC6A; } button.disabled.alert, button[disabled].alert, .button.disabled.alert, .button[disabled].alert { background-color: #f04124; border-color: #cf2a0e; - color: #FFFFFF; + color: #690433; box-shadow: none; cursor: default; opacity: 0.7; } button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus { background-color: #cf2a0e; } button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus { - color: #FFFFFF; } + color: #690433; } button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus { background-color: #f04124; } button.disabled.warning, button[disabled].warning, .button.disabled.warning, .button[disabled].warning { background-color: #f08a24; border-color: #cf6e0e; - color: #FFFFFF; + color: #690433; box-shadow: none; cursor: default; opacity: 0.7; } button.disabled.warning:hover, button.disabled.warning:focus, button[disabled].warning:hover, button[disabled].warning:focus, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus { background-color: #cf6e0e; } button.disabled.warning:hover, button.disabled.warning:focus, button[disabled].warning:hover, button[disabled].warning:focus, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus { - color: #FFFFFF; } + color: #690433; } button.disabled.warning:hover, button.disabled.warning:focus, button[disabled].warning:hover, button[disabled].warning:focus, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus { background-color: #f08a24; } button.disabled.info, button[disabled].info, .button.disabled.info, .button[disabled].info { @@ -1713,7 +1713,7 @@ button, .button { button.disabled.info:hover, button.disabled.info:focus, button[disabled].info:hover, button[disabled].info:focus, .button.disabled.info:hover, .button.disabled.info:focus, .button[disabled].info:hover, .button[disabled].info:focus { background-color: #61b6d9; } button.disabled.info:hover, button.disabled.info:focus, button[disabled].info:hover, button[disabled].info:focus, .button.disabled.info:hover, .button.disabled.info:focus, .button[disabled].info:hover, .button[disabled].info:focus { - color: #FFFFFF; } + color: #690433; } button.disabled.info:hover, button.disabled.info:focus, button[disabled].info:hover, button[disabled].info:focus, .button.disabled.info:hover, .button.disabled.info:focus, .button[disabled].info:hover, .button[disabled].info:focus { background-color: #a0d3e8; } @@ -4591,11 +4591,11 @@ meta.foundation-mq-topbar { padding-right: 0.8333333333rem; background-color: #008CBA; border-color: #007095; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button:hover, .top-bar-section ul li > a.button:focus { background-color: #007095; } .top-bar-section ul li > a.button:hover, .top-bar-section ul li > a.button:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.secondary { background-color: #e7e7e7; border-color: #b9b9b9; @@ -4607,27 +4607,27 @@ meta.foundation-mq-topbar { .top-bar-section ul li > a.button.success { background-color: #43AC6A; border-color: #368a55; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.success:hover, .top-bar-section ul li > a.button.success:focus { background-color: #368a55; } .top-bar-section ul li > a.button.success:hover, .top-bar-section ul li > a.button.success:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.alert { background-color: #f04124; border-color: #cf2a0e; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.alert:hover, .top-bar-section ul li > a.button.alert:focus { background-color: #cf2a0e; } .top-bar-section ul li > a.button.alert:hover, .top-bar-section ul li > a.button.alert:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.warning { background-color: #f08a24; border-color: #cf6e0e; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.warning:hover, .top-bar-section ul li > a.button.warning:focus { background-color: #cf6e0e; } .top-bar-section ul li > a.button.warning:hover, .top-bar-section ul li > a.button.warning:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > a.button.info { background-color: #a0d3e8; border-color: #61b6d9; @@ -4635,18 +4635,18 @@ meta.foundation-mq-topbar { .top-bar-section ul li > a.button.info:hover, .top-bar-section ul li > a.button.info:focus { background-color: #61b6d9; } .top-bar-section ul li > a.button.info:hover, .top-bar-section ul li > a.button.info:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button { font-size: 1.125rem; padding-left: 0.8333333333rem; padding-right: 0.8333333333rem; background-color: #008CBA; border-color: #007095; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button:hover, .top-bar-section ul li > button:focus { background-color: #007095; } .top-bar-section ul li > button:hover, .top-bar-section ul li > button:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.secondary { background-color: #e7e7e7; border-color: #b9b9b9; @@ -4658,27 +4658,27 @@ meta.foundation-mq-topbar { .top-bar-section ul li > button.success { background-color: #43AC6A; border-color: #368a55; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.success:hover, .top-bar-section ul li > button.success:focus { background-color: #368a55; } .top-bar-section ul li > button.success:hover, .top-bar-section ul li > button.success:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.alert { background-color: #f04124; border-color: #cf2a0e; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.alert:hover, .top-bar-section ul li > button.alert:focus { background-color: #cf2a0e; } .top-bar-section ul li > button.alert:hover, .top-bar-section ul li > button.alert:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.warning { background-color: #f08a24; border-color: #cf6e0e; - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.warning:hover, .top-bar-section ul li > button.warning:focus { background-color: #cf6e0e; } .top-bar-section ul li > button.warning:hover, .top-bar-section ul li > button.warning:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li > button.info { background-color: #a0d3e8; border-color: #61b6d9; @@ -4686,7 +4686,7 @@ meta.foundation-mq-topbar { .top-bar-section ul li > button.info:hover, .top-bar-section ul li > button.info:focus { background-color: #61b6d9; } .top-bar-section ul li > button.info:hover, .top-bar-section ul li > button.info:focus { - color: #FFFFFF; } + color: #690433; } .top-bar-section ul li:hover:not(.has-form) > a { background-color: #1479b0; color: #FFFFFF; @@ -6431,14 +6431,14 @@ h1, h2, h3, h4, h5, h6 { font-size: 1rem; background-color: #ffc742; border-color: #ffc742; - color: #FFFFFF; + color: #690433; transition: background-color 300ms ease-out; display: block; margin: 0 auto; } .ninja-forms-form-wrap input[type=submit]:hover, .ninja-forms-form-wrap input[type=submit]:focus { background-color: #ffc742; } .ninja-forms-form-wrap input[type=submit]:hover, .ninja-forms-form-wrap input[type=submit]:focus { - color: #FFFFFF; } + color: #690433; } /* For fixing cellphones not showing phone numbers because of /helpful/ auto-coloring */ a[href^=tel] { @@ -6528,6 +6528,9 @@ header#page-header { position: absolute; top: 0; right: 0; } + @media screen and (max-width: 1055px) { + .golf-container #golf-logo { + display: none; } } ul#sec-nav { display: inline-block; @@ -6970,19 +6973,20 @@ main #mid { #head-img .featured-image { margin-top: -140px; min-height: 170px; } } - #head-img #golf-logo { - position: absolute; - bottom: 20px; - right: 25px; - -webkit-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8); - -moz-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8); - -ms-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8); - box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.8); } main#golf-template h2#slide-text { margin-top: -85px; } main#golf-template img.orb-shadow { top: 0; } + @media screen and (max-width: 797px) { + main#golf-template img.orb-shadow { + top: -2px; } } + @media screen and (max-width: 735px) { + main#golf-template img.orb-shadow { + top: -4px; } } + @media screen and (max-width: 547px) { + main#golf-template img.orb-shadow { + top: -6px; } } main#golf-template #content-wrapper { top: 0; } main#golf-template ul.sidenav { @@ -7104,14 +7108,14 @@ h2#slide-text { font-size: 1rem; background-color: #ffc742; border-color: #ffc742; - color: #FFFFFF; + color: #690433; transition: background-color 300ms ease-out; display: block; margin: 0 auto; } .ninja-forms-form-wrap input[type=submit]:hover, .ninja-forms-form-wrap input[type=submit]:focus { background-color: #ffc742; } .ninja-forms-form-wrap input[type=submit]:hover, .ninja-forms-form-wrap input[type=submit]:focus { - color: #FFFFFF; } + color: #690433; } #ui-datepicker-div .ui-datepicker-header, #ui-datepicker-div .ui-datepicker-calendar th, #ui-datepicker-div .ui-datepicker-calendar td { padding: 1px !important; } @@ -7244,13 +7248,13 @@ h2#slide-text { padding: 0.75rem 1.5rem 0.8125rem 1.5rem; background-color: #690433; border-color: #540329; - color: #FFFFFF; + color: #690433; border-radius: 3px; transition: background-color 300ms ease-out; } #glm-event-wrapper #glm-events-search-form .button:hover, #glm-event-wrapper #glm-events-search-form .button:focus { background-color: #540329; } #glm-event-wrapper #glm-events-search-form .button:hover, #glm-event-wrapper #glm-events-search-form .button:focus { - color: #FFFFFF; } + color: #690433; } #glm-event-wrapper #glm-events-shortcuts .shortcuts-button-group { list-style: none; margin: 0; @@ -7283,14 +7287,14 @@ h2#slide-text { width: 100%; background-color: #690433; border-color: #540329; - color: #FFFFFF; + color: #690433; border-radius: 3px; transition: background-color 300ms ease-out; margin-bottom: 1px; } #glm-event-wrapper #glm-events-shortcuts .shortcuts-button-group .shortcuts-button:hover, #glm-event-wrapper #glm-events-shortcuts .shortcuts-button-group .shortcuts-button:focus { background-color: #540329; } #glm-event-wrapper #glm-events-shortcuts .shortcuts-button-group .shortcuts-button:hover, #glm-event-wrapper #glm-events-shortcuts .shortcuts-button-group .shortcuts-button:focus { - color: #FFFFFF; } + color: #690433; } #glm-event-wrapper #glm-events-shortcuts .shortcuts-button-group > li { float: none; display: list-item; @@ -7332,14 +7336,14 @@ h2#slide-text { padding: 0.75rem 1.5rem 0.8125rem 1.5rem; background-color: #008752; border-color: #006c42; - color: #FFFFFF; + color: #690433; border-radius: 3px; transition: background-color 300ms ease-out; width: 220px; } #glm-event-wrapper button#glm-event-add-event:hover, #glm-event-wrapper button#glm-event-add-event:focus { background-color: #006c42; } #glm-event-wrapper button#glm-event-add-event:hover, #glm-event-wrapper button#glm-event-add-event:focus { - color: #FFFFFF; } + color: #690433; } #glm-event-wrapper p { margin-left: 15px; } #glm-event-wrapper .glm-event-day-row { @@ -8124,12 +8128,17 @@ aside.left-off-canvas-menu ul.open { list-style: none; } .left-off-canvas-menu ul { list-style: none; + margin-bottom: 0; padding: 10px 0; } .left-off-canvas-menu ul li a { color: #FFFFFF; } .left-off-canvas-menu ul li ul { list-style: none; } +#off-canvas-golf { + margin-bottom: 20px; + margin-left: 1.1rem; } + input.button { margin-left: 25px; padding: 10px; } diff --git a/page-golf-template.php b/page-golf-template.php index 57de1e2..ef8f158 100644 --- a/page-golf-template.php +++ b/page-golf-template.php @@ -3,85 +3,10 @@ * Template Name: Golf Template */ ?> - - - - - - <?php wp_title(); ?> - - - - - - - - - - - - - -
-
-
- - +
-
diff --git a/parts/off-canvas-menu.php b/parts/off-canvas-menu.php index 9da354b..0a58899 100644 --- a/parts/off-canvas-menu.php +++ b/parts/off-canvas-menu.php @@ -1,6 +1,7 @@