Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 38 additions & 39 deletions assets/sass/_global-overrides.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.flex-content {
//padding: 50px 25px 0;
@media (min-width: 992px) {
padding-top: 197px;
}
&.has-flexible-sidebar {
@media (min-width: 768px) {
.flex-content__breadcrumbs + .flex-content__page-title + .flex-content__sidebar {
Expand All @@ -16,48 +12,51 @@
@media (min-width: 992px) {
padding-right: calc(300px + 1vw);
.flex-content__breadcrumbs + .flex-content__page-title + .flex-content__sidebar {
top: 200px;
&.sticky {
top: 97px!important;
transform: translateY(40px);
top: 100px;
}
}
}
}

.top-menu {
.top-nav-cta {
margin: 0 -17px 0 auto;
text-transform: uppercase;
padding: 0 0 0 8px!important;
a {
transition: all 300ms ease-in-out;
background-color: #C64F00;
border-left: 2px solid #ffffff;
padding: 0 12px;
vertical-align: middle;
&:after {
margin-left: 8px;
display: inline-block;
content: '';
transition: all 300ms ease-in-out;
background-image: url('./assets/images/link-arrow-white.svg');
background-repeat: no-repeat;
background-size: 10px 10px;
width: 10px;
height: 10px;
}
}
&:before {
display: none;
}
&:hover,
&:focus {
a {
background-color: #903900;
&:after {
transform: translateX(4px);
}
}
}
}
}

.navbar {
&__logo {
position: relative;
z-index: 2;
}
&__cta {
width: 100vw;
height: 66px;
left: 0;
top: 0;
position: absolute;
background-color: $isc_gray_2;
z-index: 1;
display: none;
@media (min-width: 768px) {
display: flex;
}
@media (min-width: 992px) {
height: 97px;
}
.isc_btn {
margin: 10px 20px 10px auto;
padding: 5px 16px;
@media (min-width: 992px) {
padding: 10px 28px;
margin: 20px 50px 20px auto;
}
}
}
.menu-toggle {
z-index: 2;
}
&__nav {
&__title {
font-family: "Gotham A", "Gotham B";
Expand Down
16 changes: 2 additions & 14 deletions config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,9 @@
"ec" : 1,
"ft" : 4,
"ma" : 0,
"oA" : 0,
"oA" : 1,
"oAP" : "\/new-module-styles.css",
"oF" : 2,
"oF" : 3,
"oS" : 0,
"pg" : 0,
"sct" : 1
Expand Down Expand Up @@ -1637,18 +1637,6 @@
"oAP" : "\/menutest.html",
"oF" : 0
},
"\/new-module-styles.css" : {
"aP" : 1,
"bl" : 0,
"ci" : 0,
"co" : 0,
"ft" : 16,
"ma" : 0,
"oA" : 0,
"oAP" : "\/new-module-styles-min.css",
"oF" : 0,
"pg" : 0
},
"\/page-flex-content.php" : {
"cB" : 0,
"ft" : 8192,
Expand Down
10 changes: 0 additions & 10 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1012,16 +1012,6 @@ function disable_wp_auto_p( $content ) {
}
add_filter( 'the_content', 'disable_wp_auto_p', 0 );

/**
* Enqueue Styles - Load Front End CSS
*/
function isc_enqueue_front_end_styles() {

$version = THEME_VERSION;
wp_enqueue_style( $handle . '-new-module-styles', get_template_directory_uri() . '/new-module-styles.css', array(), $version );

}
add_action( 'wp_enqueue_scripts', 'isc_enqueue_front_end_styles' );

/**
* Enqueue Scripts - Load Front End JS
Expand Down
12 changes: 0 additions & 12 deletions header-flex-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@

$ab_testing = get_field('ab_testing_styles');
$ab_testing_styles = $ab_testing ? 'ab-styles' : '';
$disable_nav_cta = get_field('disable_nav_cta');

// Add the blog name.
// bloginfo ( 'name' );
Expand Down Expand Up @@ -136,17 +135,6 @@
<a href="/" class="navbar__logo" rel="home">
<img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo.svg" alt="InterSystems: Creative data technology" />
</a>

<?php if(!$disable_nav_cta) :
$nav_cta = get_field('nav_cta', 'options');
$nav_cta_classes = get_field('nav_cta_classes', 'options') ? get_field('nav_cta_classes', 'options') : '';
?>
<?php if($nav_cta) : ?>
<div class="navbar__cta">
<a href="<?php echo $nav_cta['url']; ?>" class="isc_btn <?php echo $nav_cta_classes; ?>" target="<?php echo $nav_cta['target']; ?>"><?php echo $nav_cta['title']; ?></a>
</div>
<?php endif; ?>
<?php endif; ?>

<div class="navbar__nav">
<?php
Expand Down
Loading