From dea39d297d7ee4861af34de5185f5c149140deb6 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Mon, 19 Sep 2016 15:50:30 -0400 Subject: [PATCH] Removing Capstone layout I removed a majority of the Capstone specific layout code to make it better. --- root/scss/_topbar.scss | 176 ++++++++++++++------------------ root/sections/blog-archive.php | 4 +- root/sections/blog-home.php | 4 +- root/sections/footer.php | 36 +------ root/sections/front-page.php | 99 +----------------- root/sections/header.php | 12 +-- root/sections/interior-page.php | 30 ------ root/sections/off-canvas.php | 13 +-- 8 files changed, 90 insertions(+), 284 deletions(-) diff --git a/root/scss/_topbar.scss b/root/scss/_topbar.scss index 43fbd78..41f423e 100644 --- a/root/scss/_topbar.scss +++ b/root/scss/_topbar.scss @@ -13,113 +13,93 @@ text-align: right; } } -.top-bar-section { +#main-menu { background: transparent; - float: none; - margin-left: auto; - margin-right: auto; - display: inline-block; - height: auto; - line-height: 1; + height: 73px; + z-index: 2; + border-bottom: 3px solid $bri-blue; + box-shadow: 0px 7px 5px 0 rgba($black, 0.5); + -ms-box-shadow: 0px 7px 5px 0 rgba($black, 0.5); + -moz-box-shadow: 0px 7px 5px 0 rgba($black, 0.5); + -webkit-box-shadow: 0px 7px 5px 0 rgba($black, 0.5); + .top-bar-left { + max-width: rem-calc(1200); + margin: 0 auto; + float: none; + ul { + li { + text-align: center; + padding: 0 10px; + a { + padding: 11px 15px; + font-size: rem-calc(20); + font-family: 'Roboto Slab', sans-serif; + color: $d-blue; + text-decoration: none; + text-transform: uppercase; + &:hover { + color: $white; + background: $d-blue; + border-top-left-radius: 10px; + border-top-right-radius: 10px; + } + } + ul.submenu { + &:before { + background-repeat: no-repeat; + content: ""; + left: 25px; +// min-height: 130px; + position: absolute; + right: 0px; + top: 22px; + width: 100%; + } + box-shadow: 0px 5px 7px 0 rgba($black, 0.5); + -ms-box-shadow: 0px 5px 7px 0 rgba($black, 0.5); + -moz-box-shadow: 0px 5px 7px 0 rgba($black, 0.5); + -webkit-box-shadow: 0px 5px 7px 0 rgba($black, 0.5); + border: 3px solid $d-blue; + padding-left: 25px; + padding-right: 25px; + padding-bottom: 21px; + min-width: 320px; + left: 10px; + li { + border-bottom: 1px dotted $d-blue; + padding: 8px 0; + a { + font-size: rem-calc(17); + color: $d-blue; + text-align: left; + padding: 0; + text-decoration: none; + &:hover { + background: $white; + color: $bri-blue; + } + } + } + } + &.drop-left { + ul.is-dropdown-submenu { + right: 10px; + left: auto; + } + } + } + } + } ul{ li { - a { } &:not(.has-form):not(.active) { & > a:not(.button) { - background: transparent; +// background: transparent; } } -// &.drop-left { -// ul.dropdown { -// padding-left: 21px; -// padding-right: 250px; -// top: 74px; -// background: $white; -// border-bottom-left-radius: 10px; -// border-bottom-right-radius: 10px; -// min-width: 500px; -// box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// -ms-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// -moz-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// -webkit-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// li { -// white-space: nowrap; -// border-bottom: 1px solid #e7e7e8; -// padding: 5px 0; -// &.nav-img-container { -// img { -// position: absolute; -// right: 20px; -// top: 23px; -// border: 6px solid #fdefd4; -// } -// border: none; -// } -// a { -// padding-left: 0; -// text-align: left; -// font-size: 18px; -// &:hover { -// color: $d-blue; -// text-shadow: 0 0 1px $green; -// text-shadow: 1 0 1px $green; -// text-shadow: 0 1 1px $green; -// text-shadow: -1 0 1px $green; -// text-shadow: 0 -1 1px $green; -// } -// } -// } -// } -// } -// &.drop-right { -// ul.dropdown { -// padding-left: 250px; -// padding-right: 21px; -// right: -1%; -// left: auto; -// top: 74px; -// background: $white; -// border-bottom-left-radius: 10px; -// border-bottom-right-radius: 10px; -// min-width: 500px; -// box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// -ms-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// -moz-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// -webkit-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5); -// li { -// white-space: nowrap; -// background: $white; -// text-align: right; -// border-bottom: 1px solid #e7e7e8; -// padding: 5px 0; -// &.nav-img-container { -// img { -// position: absolute; -// left: 20px; -// top: 23px; -// border: 6px solid #fdefd4; -// } -// border: none; -// } -// a { -// padding-left: 0; -// text-align: left; -// font-size: 18px; -// &:hover { -// color: $d-blue; -// text-shadow: 0 0 1px $green; -// text-shadow: 1 0 1px $green; -// text-shadow: 0 1 1px $green; -// text-shadow: -1 0 1px $green; -// text-shadow: 0 -1 1px $green; -// } -// } -// } -// } -// } } } -} +} \ No newline at end of file diff --git a/root/sections/blog-archive.php b/root/sections/blog-archive.php index 1d3b1f8..29dfd72 100644 --- a/root/sections/blog-archive.php +++ b/root/sections/blog-archive.php @@ -1,8 +1,6 @@
-
- -
+
\ No newline at end of file diff --git a/root/sections/blog-home.php b/root/sections/blog-home.php index 90a0b4f..f3a5c3a 100644 --- a/root/sections/blog-home.php +++ b/root/sections/blog-home.php @@ -1,8 +1,6 @@
- -
-
+
\ No newline at end of file diff --git a/root/sections/footer.php b/root/sections/footer.php index b7b805c..e7e0b35 100644 --- a/root/sections/footer.php +++ b/root/sections/footer.php @@ -1,30 +1,9 @@ \ No newline at end of file diff --git a/root/sections/front-page.php b/root/sections/front-page.php index e0e927c..9f07b26 100644 --- a/root/sections/front-page.php +++ b/root/sections/front-page.php @@ -1,101 +1,6 @@
-
-
- -
-
-
-
- Training -
-

Let’s work together! Every team should have the best leaders equipped with the best solutions.

-
-
-
- Partnering -
-

Let’s work together! Your journey is our passion.

-
-
-
- Speaking -
-

Let’s work together! To inspire positive change.

-
-
-
- Planning -
-

Let’s work together! Your great vision deserves a great plan.

-
-
-
-
-
-
- $number, - 'orderby' => 'title', - 'order' => 'ASC', - 'hide_empty' => $hide_empty, - 'include' => $ids - ); - $product_categories = get_terms( 'product_cat', $args ); - $count = count($product_categories); - if ( $count > 0 ){ - foreach ( $product_categories as $product_category ) { ?> -
-
-
- -
-
- ' . $product_category->name . ''; - $args = array( - 'posts_per_page' => -1, - 'tax_query' => array( - 'relation' => 'AND', - array( - 'taxonomy' => 'product_cat', - 'field' => 'slug', - // 'terms' => 'white-wines' - 'terms' => $product_category->slug - ) - ), - 'post_type' => 'product', - 'orderby' => 'title,' - ); - $products = new WP_Query( $args ); - echo "
    "; - - while ( $products->have_posts() ) { - - $products->the_post(); - ?> -
  • - - - -
  • - have_posts()) { - echo "TBD"; - } - echo "
";?> -
-
-
- - +
+
diff --git a/root/sections/header.php b/root/sections/header.php index 726f945..c15a852 100644 --- a/root/sections/header.php +++ b/root/sections/header.php @@ -1,15 +1,5 @@
-
- -
-
- -

You Want Healthcare to be Great. We Do Too.

-

Let's Work Together.

-
-
-

Let's Work Together.

-
+
\ No newline at end of file diff --git a/root/sections/interior-page.php b/root/sections/interior-page.php index 2173b42..3cf6169 100644 --- a/root/sections/interior-page.php +++ b/root/sections/interior-page.php @@ -1,9 +1,5 @@
- ID ) == "partners-blocks") { ?> -
-
-
-
- - ID ) == "partners-blocks") { ?> - - ID); ?> - - - post_content) ; ?> - - - - - ID ) == "members-only") { ?> - - ID); ?> -
- - -
-
- post_content) ; ?> -
- - -
-
"; get_template_part('parts/main-content'); diff --git a/root/sections/off-canvas.php b/root/sections/off-canvas.php index bda0d38..53606b4 100644 --- a/root/sections/off-canvas.php +++ b/root/sections/off-canvas.php @@ -7,15 +7,12 @@
- -