ba8ed1cf by Jeff Balicki

login menu header

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent b22eaac7
Showing 40 changed files with 1179 additions and 1240 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 7
8 // Exit if accessed directly. 8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit; 9 defined( 'ABSPATH' ) || exit;
10 10 include 'inc/shortcodes.php';
11 11
12 12
13 /** 13 /**
...@@ -94,4 +94,14 @@ function understrap_child_customize_controls_js() { ...@@ -94,4 +94,14 @@ function understrap_child_customize_controls_js() {
94 add_action( 'customize_controls_enqueue_scripts', 'understrap_child_customize_controls_js' ); 94 add_action( 'customize_controls_enqueue_scripts', 'understrap_child_customize_controls_js' );
95 95
96 96
97 require_once __DIR__.'/inc/filters.php';
...\ No newline at end of file ...\ No newline at end of file
97 require_once __DIR__.'/inc/filters.php';
98
99 add_action( 'template_redirect', 'redirect_to_specific_page' );
100
101 function redirect_to_specific_page() {
102
103 if (! is_page('login') && !is_user_logged_in()) {
104 wp_redirect(home_url()."/login/", 301 );
105 exit;
106 }
107 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -51,7 +51,7 @@ $container = get_theme_mod( 'understrap_container_type' ); ...@@ -51,7 +51,7 @@ $container = get_theme_mod( 'understrap_container_type' );
51 ) 51 )
52 ); 52 );
53 ?> 53 ?>
54 54 <?php echo do_shortcode('[ultimatemember form_id="6"]'); ?>
55 </div><!-- .container(-fluid) --> 55 </div><!-- .container(-fluid) -->
56 56
57 </nav><!-- #main-nav --> 57 </nav><!-- #main-nav -->
......
...@@ -25,14 +25,15 @@ $navbar_type = get_theme_mod( 'understrap_navbar_type', 'collapse' ); ...@@ -25,14 +25,15 @@ $navbar_type = get_theme_mod( 'understrap_navbar_type', 'collapse' );
25 <body <?php body_class(); ?> <?php understrap_body_attributes(); ?>> 25 <body <?php body_class(); ?> <?php understrap_body_attributes(); ?>>
26 <?php do_action( 'wp_body_open' ); ?> 26 <?php do_action( 'wp_body_open' ); ?>
27 <div class="site" id="page"> 27 <div class="site" id="page">
28 <?php if (! is_page('login')) { ?>
29 <!-- ******************* The Navbar Area ******************* -->
30 <header id="wrapper-navbar">
28 31
29 <!-- ******************* The Navbar Area ******************* --> 32 <a class="skip-link <?php echo understrap_get_screen_reader_class( true ); ?>" href="#content">
30 <header id="wrapper-navbar"> 33 <?php esc_html_e( 'Skip to content', 'understrap' ); ?>
34 </a>
31 35
32 <a class="skip-link <?php echo understrap_get_screen_reader_class( true ); ?>" href="#content"> 36 <?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?>
33 <?php esc_html_e( 'Skip to content', 'understrap' ); ?>
34 </a>
35 37
36 <?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?> 38 </header><!-- #wrapper-navbar -->
37 39 <?php } ?>
38 </header><!-- #wrapper-navbar -->
...\ No newline at end of file ...\ No newline at end of file
......
1 <?php
2
3 add_shortcode( 'firstname', 'firstname' );
4
5 function firstname(){
6 $user = get_userdata( get_current_user_id() );
7 return "<span class='first-name'>Hi ".$user->first_name."</span>";
8
9 }
...\ No newline at end of file ...\ No newline at end of file
1 /*! 1 /*!
2 * Understrap v1.2.0 (https://understrap.com) 2 * Understrap v1.2.0 (https://understrap.com)
3 * Copyright 2013-2022 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors) 3 * Copyright 2013-2023 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors)
4 * Licensed under GPL-3.0 (undefined) 4 * Licensed under GPL-3.0 (undefined)
5 */ 5 */
6 (function (global, factory) { 6 (function (global, factory) {
...@@ -6743,6 +6743,20 @@ ...@@ -6743,6 +6743,20 @@
6743 } 6743 }
6744 })(); 6744 })();
6745 6745
6746 // Add your custom JS here.
6747
6748 var a = document.querySelector('.blur-image');
6749 document.addEventListener("DOMContentLoaded", function () {
6750 if (!a) return !1;
6751 var b = a.getAttribute("data-src"),
6752 c = document.querySelector('.full-image'),
6753 img = new Image();
6754 img.src = b;
6755 img.onload = function () {
6756 c.classList.add('image-loaded'), c.style.backgroundImage = 'url(' + b + ')';
6757 };
6758 });
6759
6746 exports.Alert = alert; 6760 exports.Alert = alert;
6747 exports.Button = button; 6761 exports.Button = button;
6748 exports.Carousel = carousel; 6762 exports.Carousel = carousel;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 <?php
2 /**
3 * Template for displaying posts on the author archive
4 *
5 * @package Understrap
6 * @since 1.0.0
7 */
8
9 // Exit if accessed directly.
10 defined( 'ABSPATH' ) || exit;
11 ?>
12
13 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
14
15 <header class="entry-header">
16
17 <?php
18 the_title(
19 sprintf( '<h3 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ),
20 '</a></h3>'
21 );
22 ?>
23
24 <?php if ( 'post' === get_post_type() ) : ?>
25
26 <div class="entry-meta">
27
28 <?php understrap_posted_on(); ?>
29
30 </div><!-- .entry-meta -->
31
32 <?php endif; ?>
33
34 </header><!-- .entry-header -->
35
36 <div class="entry-summary">
37
38 <?php the_excerpt(); ?>
39
40 </div><!-- .entry-summary -->
41
42 <footer class="entry-footer">
43
44 <?php understrap_entry_footer(); ?>
45
46 </footer><!-- .entry-footer -->
47
48 </article><!-- #post-<?php the_ID(); ?> -->
1 <?php
2 /**
3 * Blank content partial template
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10
11 the_content();
1 <?php
2 /**
3 * Content empty partial template
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10
11 the_content();
1 <?php
2 /**
3 * The template part for displaying a message that posts cannot be found
4 *
5 * Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12 ?>
13
14 <section class="no-results not-found">
15
16 <header class="page-header">
17
18 <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'understrap' ); ?></h1>
19
20 </header><!-- .page-header -->
21
22 <div class="page-content">
23
24 <?php
25 if ( is_home() && current_user_can( 'publish_posts' ) ) :
26
27 $kses = array( 'a' => array( 'href' => array() ) );
28 printf(
29 /* translators: 1: Link to WP admin new post page. */
30 '<p>' . wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'understrap' ), $kses ) . '</p>',
31 esc_url( admin_url( 'post-new.php' ) )
32 );
33
34 elseif ( is_search() ) :
35
36 printf(
37 '<p>%s<p>',
38 esc_html__( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'understrap' )
39 );
40 get_search_form();
41
42 else :
43
44 printf(
45 '<p>%s<p>',
46 esc_html__( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'understrap' )
47 );
48 get_search_form();
49
50 endif;
51 ?>
52 </div><!-- .page-content -->
53
54 </section><!-- .no-results -->
1 <?php
2 /**
3 * Partial template for content in page.php
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10 ?>
11
12 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
13
14
15
16 <div class="entry-content">
17
18 <?php
19 the_content();
20 understrap_link_pages();
21 ?>
22
23 </div><!-- .entry-content -->
24
25 <footer class="entry-footer">
26
27 <?php understrap_edit_post_link(); ?>
28
29 </footer><!-- .entry-footer -->
30
31 </article><!-- #post-<?php the_ID(); ?> -->
1 <?php
2 /**
3 * Search results partial template
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10 ?>
11
12 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
13
14 <header class="entry-header">
15
16 <?php
17 the_title(
18 sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ),
19 '</a></h2>'
20 );
21 ?>
22
23 <?php if ( 'post' === get_post_type() ) : ?>
24
25 <div class="entry-meta">
26
27 <?php understrap_posted_on(); ?>
28
29 </div><!-- .entry-meta -->
30
31 <?php endif; ?>
32
33 </header><!-- .entry-header -->
34
35 <div class="entry-summary">
36
37 <?php the_excerpt(); ?>
38
39 </div><!-- .entry-summary -->
40
41 <footer class="entry-footer">
42
43 <?php understrap_entry_footer(); ?>
44
45 </footer><!-- .entry-footer -->
46
47 </article><!-- #post-<?php the_ID(); ?> -->
1 <?php
2 /**
3 * Single post partial template
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10 ?>
11
12 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
13
14 <header class="entry-header">
15
16 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
17
18 <div class="entry-meta">
19
20 <?php understrap_posted_on(); ?>
21
22 </div><!-- .entry-meta -->
23
24 </header><!-- .entry-header -->
25
26 <?php echo get_the_post_thumbnail( $post->ID, 'large' ); ?>
27
28 <div class="entry-content">
29
30 <?php
31 the_content();
32 understrap_link_pages();
33 ?>
34
35 </div><!-- .entry-content -->
36
37 <footer class="entry-footer">
38
39 <?php understrap_entry_footer(); ?>
40
41 </footer><!-- .entry-footer -->
42
43 </article><!-- #post-<?php the_ID(); ?> -->
1 <?php
2 /**
3 * Post rendering content according to caller of get_template_part
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10 ?>
11
12 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
13
14 <header class="entry-header">
15
16 <?php
17 the_title(
18 sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ),
19 '</a></h2>'
20 );
21 ?>
22
23 <?php if ( 'post' === get_post_type() ) : ?>
24
25 <div class="entry-meta">
26 <?php understrap_posted_on(); ?>
27 </div><!-- .entry-meta -->
28
29 <?php endif; ?>
30
31 </header><!-- .entry-header -->
32
33 <?php echo get_the_post_thumbnail( $post->ID, 'large' ); ?>
34
35 <div class="entry-content">
36
37 <?php
38 the_excerpt();
39 understrap_link_pages();
40 ?>
41
42 </div><!-- .entry-content -->
43
44 <footer class="entry-footer">
45
46 <?php understrap_entry_footer(); ?>
47
48 </footer><!-- .entry-footer -->
49
50 </article><!-- #post-<?php the_ID(); ?> -->
This diff could not be displayed because it is too large.
1 <?php
2 /**
3 * Template Name: Blank Page Template
4 *
5 * Template for displaying a blank page.
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12 ?>
13 <!DOCTYPE html>
14 <html <?php language_attributes(); ?>>
15 <head>
16 <meta charset="<?php bloginfo( 'charset' ); ?>">
17 <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
18 <meta name="viewport" content="width=device-width, initial-scale=1">
19 <link rel="profile" href="http://gmpg.org/xfn/11">
20 <?php wp_head(); ?>
21 </head>
22 <body>
23 <?php
24 while ( have_posts() ) {
25 the_post();
26 get_template_part( 'loop-templates/content', 'blank' );
27 }
28 wp_footer();
29 ?>
30 </body>
31 </html>
1 <?php
2 /**
3 * Template Name: Left and Right Sidebar Layout
4 *
5 * This template can be used to override the default template and sidebar setup
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header();
14 $container = get_theme_mod( 'understrap_container_type' );
15 ?>
16
17 <div class="wrapper" id="page-wrapper">
18
19 <div class="<?php echo esc_attr( $container ); ?>" id="content">
20
21 <div class="row">
22
23 <?php
24 get_template_part( 'sidebar-templates/sidebar', 'left' );
25
26 if ( is_active_sidebar( 'left-sidebar' ) xor is_active_sidebar( 'right-sidebar' ) ) {
27 $class = 'col-md-8';
28 } elseif ( is_active_sidebar( 'left-sidebar' ) && is_active_sidebar( 'right-sidebar' ) ) {
29 $class = 'col-md-4';
30 } else {
31 $class = 'col-md-12';
32 }
33 ?>
34 <div class="<?php echo $class; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> content-area" id="primary">
35
36 <main class="site-main" id="main" role="main">
37
38 <?php
39 while ( have_posts() ) {
40 the_post();
41
42 get_template_part( 'loop-templates/content', 'page' );
43
44 // If comments are open or we have at least one comment, load up the comment template.
45 if ( comments_open() || get_comments_number() ) {
46 comments_template();
47 }
48 }
49 ?>
50
51 </main>
52
53 </div><!-- #primary -->
54
55 <?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
56
57 </div><!-- .row -->
58
59 </div><!-- #content -->
60
61 </div><!-- #page-wrapper -->
62
63 <?php
64 get_footer();
1 <?php
2 /**
3 * Template Name: Empty Page Template
4 *
5 * Template for displaying a page just with the header and footer area and a "naked" content area in between.
6 * Good for landingpages and other types of pages where you want to add a lot of custom markup.
7 *
8 * @package Understrap
9 */
10
11 // Exit if accessed directly.
12 defined( 'ABSPATH' ) || exit;
13
14 get_header();
15
16 while ( have_posts() ) :
17 the_post();
18 get_template_part( 'loop-templates/content', 'empty' );
19 endwhile;
20
21 get_footer();
1 <?php
2 /**
3 * Template Name: Full Width Page
4 *
5 * Template for displaying a page without sidebar even if a sidebar widget is published.
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header();
14 $container = get_theme_mod( 'understrap_container_type' );
15
16 if ( is_front_page() ) {
17 get_template_part( 'global-templates/hero' );
18 }
19
20 $wrapper_id = 'full-width-page-wrapper';
21 if ( is_page_template( 'page-templates/no-title.php' ) ) {
22 $wrapper_id = 'no-title-page-wrapper';
23 }
24 ?>
25
26 <div class="wrapper" id="<?php echo $wrapper_id; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- ok. ?>">
27
28 <div class="<?php echo esc_attr( $container ); ?>" id="content">
29
30 <div class="row">
31
32 <div class="col-md-12 content-area" id="primary">
33
34 <main class="site-main" id="main" role="main">
35
36 <?php
37 while ( have_posts() ) {
38 the_post();
39 get_template_part( 'loop-templates/content', 'page' );
40
41 // If comments are open or we have at least one comment, load up the comment template.
42 if ( comments_open() || get_comments_number() ) {
43 comments_template();
44 }
45 }
46 ?>
47
48 </main>
49
50 </div><!-- #primary -->
51
52 </div><!-- .row -->
53
54 </div><!-- #content -->
55
56 </div><!-- #<?php echo $wrapper_id; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- ok. ?> -->
57
58 <?php
59 get_footer();
1 <?php
2 /**
3 * Template Name: Left Sidebar Layout
4 *
5 * This template can be used to override the default template and sidebar setup
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header();
14 $container = get_theme_mod( 'understrap_container_type' );
15 ?>
16
17 <div class="wrapper" id="page-wrapper">
18
19 <div class="<?php echo esc_attr( $container ); ?>" id="content">
20
21 <div class="row">
22
23 <?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
24
25 <div class="<?php echo is_active_sidebar( 'right-sidebar' ) ? 'col-md-8' : 'col-md-12'; ?> content-area" id="primary">
26
27 <main class="site-main" id="main" role="main">
28
29 <?php
30 while ( have_posts() ) {
31 the_post();
32
33 get_template_part( 'loop-templates/content', 'page' );
34
35 // If comments are open or we have at least one comment, load up the comment template.
36 if ( comments_open() || get_comments_number() ) {
37 comments_template();
38 }
39 }
40 ?>
41
42 </main>
43
44 </div><!-- #primary -->
45
46 </div><!-- .row -->
47
48 </div><!-- #content -->
49
50 </div><!-- #page-wrapper -->
51
52 <?php
53 get_footer();
1 <?php
2 /**
3 * Template Name: Login
4 *
5 * Template for displaying a page without sidebar even if a sidebar widget is published.
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header();
14 $container = get_theme_mod( 'understrap_container_type' );
15
16 if ( is_front_page() ) {
17 get_template_part( 'global-templates/hero' );
18 }
19
20 $wrapper_id = 'full-width-page-wrapper';
21 if ( is_page_template( 'page-templates/no-title.php' ) ) {
22 $wrapper_id = 'no-title-page-wrapper';
23 }
24 ?>
25
26
27 <div class="hero-container header-section blur-image" data-src="<?php echo the_post_thumbnail_url(); ?>" style="--med-image: url(<?php echo the_post_thumbnail_url('medium'); ?>);">
28 <div class="full-image">
29 <div class="container">
30 <div class="hero-content row">
31 <div class="col align-self-center">
32
33 <?php
34 the_custom_logo();
35 while ( have_posts() ) {
36 the_post();
37 get_template_part( 'loop-templates/content', 'page' );
38
39 // If comments are open or we have at least one comment, load up the comment template.
40 if ( comments_open() || get_comments_number() ) {
41 comments_template();
42 }
43 }
44 ?>
45 </div>
46 </div>
47 </div>
48 </div>
49 </div>
50
51
52 <?php
53 get_footer();
1 <?php
2 /**
3 * Template Name: No Title, Full Width Page
4 *
5 * This template can be used to override the default template
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_template_part( 'page-templates/fullwidthpage' );
1 <?php
2 /**
3 * Template Name: Right Sidebar Layout
4 *
5 * This template can be used to override the default template and sidebar setup
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header();
14 $container = get_theme_mod( 'understrap_container_type' );
15 ?>
16
17 <div class="wrapper" id="page-wrapper">
18
19 <div class="<?php echo esc_attr( $container ); ?>" id="content">
20
21 <div class="row">
22
23 <div class="<?php echo is_active_sidebar( 'right-sidebar' ) ? 'col-md-8' : 'col-md-12'; ?> content-area" id="primary">
24
25 <main class="site-main" id="main" role="main">
26
27 <?php
28 while ( have_posts() ) {
29 the_post();
30
31 get_template_part( 'loop-templates/content', 'page' );
32
33 // If comments are open or we have at least one comment, load up the comment template.
34 if ( comments_open() || get_comments_number() ) {
35 comments_template();
36 }
37 }
38 ?>
39
40 </main>
41
42 </div><!-- #primary -->
43
44 <?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
45
46 </div><!-- .row -->
47
48 </div><!-- #content -->
49
50 </div><!-- #page-wrapper -->
51
52 <?php
53 get_footer();
...@@ -18,9 +18,23 @@ get_header(); ...@@ -18,9 +18,23 @@ get_header();
18 $container = get_theme_mod( 'understrap_container_type' ); 18 $container = get_theme_mod( 'understrap_container_type' );
19 19
20 ?> 20 ?>
21 21 <?php if (! is_page('account')) { ?>
22 <div class="wrapper" id="page-wrapper"> 22 <div class="wrapper" id="page-wrapper">
23 23 <div class="hero-container header-section blur-image" data-src="<?php echo the_post_thumbnail_url(); ?>" style="--med-image: url(<?php echo the_post_thumbnail_url('medium'); ?>);">
24 <div class="full-image">
25 <?php $hero_content = apply_filters('the_content', get_post_meta(get_the_id(), 'hero_content', true));
26 if (!empty($hero_content)) {?>
27 <div class="container">
28 <div class="hero-content row">
29 <div class="col align-self-center">
30 <?php echo $hero_content; ?>
31 </div>
32 </div>
33 </div>
34 <?php } ?>
35 </div>
36 </div>
37 <?php } ?>
24 <div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1"> 38 <div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
25 39
26 <div class="row"> 40 <div class="row">
......
1 module.exports = { 1 module.exports = {
2 "proxy": "svi.test", 2 "proxy": "stellervista-intranet.test",
3 "notify": false, 3 "notify": false,
4 "files": ["./css/*.min.css", "./js/*.min.js", "./**/*.php"] 4 "files": ["./css/*.min.css", "./js/*.min.js", "./**/*.php"]
5 }; 5 };
...\ No newline at end of file ...\ No newline at end of file
......
1 // Add your custom JS here.
...\ No newline at end of file ...\ No newline at end of file
1 // Add your custom JS here.
2
3 var a = document.querySelector('.blur-image');
4
5 document.addEventListener("DOMContentLoaded", function() {
6 if (!a) return !1;
7 var b = a.getAttribute("data-src"),
8 c = document.querySelector('.full-image'),
9 img = new Image;
10
11 img.src = b;
12
13 img.onload = function() {
14
15 c.classList.add('image-loaded'),
16 c.style.backgroundImage = 'url(' + b + ')';
17 };
18 });
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
9 9
10 // Any additional imported files // 10 // Any additional imported files //
11 @import "theme/child_theme"; // <------- Add your styles into this file 11 @import "theme/child_theme"; // <------- Add your styles into this file
12 @import "theme/menu";
13 @import "theme/header";
14 @import "theme/footer";
15 @import "theme/login";
12 // @import "assets/understrap/theme/colors"; // <-------- This creates the necessary bootstrap color classes. 16 // @import "assets/understrap/theme/colors"; // <-------- This creates the necessary bootstrap color classes.
13 // @import "assets/understrap/theme/blocks"; // <-------- This adds Bootstrap styles to blocks. 17 // @import "assets/understrap/theme/blocks"; // <-------- This adds Bootstrap styles to blocks.
14 // @import "assets/understrap/theme/contact-form7"; // <-------- Contact Form 7 - Bootstrap 4 support 18 // @import "assets/understrap/theme/contact-form7"; // <-------- Contact Form 7 - Bootstrap 4 support
......
...@@ -5,4 +5,16 @@ ...@@ -5,4 +5,16 @@
5 .entry-header { 5 .entry-header {
6 display: none; 6 display: none;
7 } 7 }
8 }
...\ No newline at end of file ...\ No newline at end of file
8
9 }
10
11 #page-wrapper {
12 position: relative;
13 display: inline-block;
14 vertical-align: top;
15 width: calc(100% - 280px);
16 padding-top: 0px;
17 #content {
18 position: relative;
19 }
20 }
......
1 #wrapper-footer{
2 background-color: #183668;
3 }
...\ No newline at end of file ...\ No newline at end of file
1
2
3 .hero-container {
4 background-position: top right;
5 background-size: cover;
6 width: 100%;
7 background-color: #ccc;
8 height: 530px;
9
10 }
11
12 .header-section,
13 .full-image,
14 .image-loaded {
15 height: 530px;
16 background-position: center;
17 background-size: cover;
18 width: 100%;
19 position: relative;
20 }
21 .full-image::after {
22 content: "";
23 display: block;
24 position: absolute;
25 background-size: cover;
26 background-position: top right;
27 bottom: -20px;
28 right: 0px;
29 width: 100%;
30 height: 120px;
31 background-image: url("../images/logo-border.png");
32 }
33
34 .hero-content {
35 width: 60%;
36 height: 530px;
37 //margin-left: 48px;
38 @media only screen and (max-width: 900px) {
39 width: 95%;
40 margin: auto;
41 }
42 h1 {
43 color: #fff;
44 font-size: 39px;
45 font-weight: bold;
46 }
47 .first-name{
48 color: #fff;
49 font-size: 39px;
50 font-weight: bold;
51 }
52 p {
53 color: #fff;
54 font-size: 20px;
55 line-height: 28px;
56 margin-bottom: 25px;
57 }
58
59 }
1
2 .page-template-login{
3 .custom-logo-link{
4 width: 290px;
5 }
6 .hero-container {
7 background-position: top right;
8 background-size: cover;
9 width: 100%;
10 background-color: #ccc;
11 height: 95vh;
12 }
13
14 .header-section,
15 .full-image,
16 .image-loaded {
17 height: 95vh;
18 background-position: center;
19 background-size: cover;
20 width: 100%;
21 position: relative;
22 }
23 .full-image::after {
24 content: "";
25 display: block;
26 position: absolute;
27 background-size: cover;
28 background-position: top right;
29 bottom: -20px;
30 right: 0px;
31 width: 100%;
32 height: 120px;
33 background-image: url("../images/logo-border.png");
34 }
35
36 .hero-content {
37 width: 40%;
38 height: 530px;
39 //margin-left: 48px;
40 @media only screen and (max-width: 900px) {
41 width: 95%;
42 margin: auto;
43 }
44 h1 {
45 color: #000;
46 font-size: 39px;
47 font-weight: bold;
48 }
49 p {
50 color: #000;
51 font-size: 20px;
52 line-height: 28px;
53 margin-bottom: 25px;
54 }
55 .um{
56 width: 100% !important;
57 display: flex!important;
58 flex-basis: auto;
59 flex-direction: row;
60 align-self: flex-end ;
61 max-width: unset;
62 .um-form {
63 margin-bottom: 40px;
64 width: 100%;
65 }
66 }
67
68
69 }
70 #wrapper-footer{
71 display: none;
72 }
73 }
...\ No newline at end of file ...\ No newline at end of file
1 #wrapper-navbar{
2 position: relative;
3 display: inline-block;
4 width: 275px;
5 height: 768px;
6 clear: both;
7 vertical-align: top;
8 padding: 41px 27px 41px 42px;
9 background-color: #F6F6F6;
10 box-shadow: 0px 3px 6px #00000029;
11 }
12 #main-menu{
13 flex-direction: column;
14 }
15 #main-nav{
16 .container{
17 flex-direction: column;
18 align-items: flex-start;
19 width: 275px;
20 height: 768px;
21 .custom-logo-link{
22 width: 206px;
23 }
24 .navbar-collapse{
25 align-items: flex-start;
26 margin-top: 70px;
27 a{
28 text-decoration: none;
29 color: #000000;
30 }
31 }
32 }
33 }
34 .um{
35 width: 275px !important;
36 display: flex!important;
37 flex-basis: auto;
38 flex-direction: row;
39 align-self: flex-end ;
40 .um-form {
41 margin-bottom: 40px;
42 .um-misc-with-img{
43 width: 30%;
44 display: inline-block;
45 border-bottom: 0px solid #eee;
46 margin-bottom:0px;
47 padding: 0px;
48 div{
49 strong{
50 display: none;
51 }
52 }
53 }
54 .um-misc-ul{
55 width: 50%;
56 display: inline-block;
57 list-style: none;
58 padding-left: 14px;
59 vertical-align: top;
60 a{
61 text-decoration: none;
62 color: #000000;
63 }
64 }
65 }
66 }
...\ No newline at end of file ...\ No newline at end of file