Browse Source

patterns styles

windhamdavid 1 year ago
parent
commit
f5bb084846

+ 61 - 7
css/site.css

@@ -5,7 +5,7 @@
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 400;
-  src: url('./fonts/playfair-display-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
+  src: url('./fonts/playfair-display-v36-latin-regular.woff2') format('woff2'); 
 }
 
 @font-face {
@@ -13,7 +13,7 @@
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 600;
-  src: url('./fonts/playfair-display-v36-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
+  src: url('./fonts/playfair-display-v36-latin-600.woff2') format('woff2'); 
 }
 
 @font-face {
@@ -29,7 +29,7 @@
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 900;
-  src: url('./fonts/playfair-display-v36-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
+  src: url('./fonts/playfair-display-v36-latin-900.woff2') format('woff2'); 
 }
 
 @font-face {
@@ -141,14 +141,48 @@ table.costs tr.border-top {
 ################### Site Migration #########################
 ************************************************************/
 
-.wp-block-navigation-link .current-menu-item a {
-  color: #ffffff !important;
+::selection { 
+  background-color: var(--wp--preset--color--tirtiary); 
+}
+a {
+  position: relative;
+}
+a::before {
+  content: "";
+  position: absolute;
+  display: block;
+  width: 100%;
+  height: 2px;
+  bottom: 0;
+  left: 0;
+  background-color: var(--wp--preset--color--tirtiary);
+  transform: scaleX(0);
+  transition: transform 0.3s ease;
+}
+a:hover::before {
+  transform: scaleX(1);
+}
+.wp-block-site-logo a::before,
+.wp-block-site-title a::before {
+  display: none;
+}
+.no-padding {
+  margin-block-start: 0;
 }
 .wp-block-site-title {
   text-transform: uppercase;
   font-weight: 600;
   letter-spacing: 3px;
 }
+.wp-block-site-title a:hover {
+  color: var(--wp--preset--color--tirtiary) !important;
+}
+.wp-block-navigation-item a:hover {
+  color: var(--wp--preset--color--tirtiary) !important;
+}
+.current-menu-item a {
+  color: var(--wp--preset--color--tirtiary) !important;
+}
 .wp-block-navigation__submenu-container {
   background-color: #484c57;
 }
@@ -160,8 +194,8 @@ table.costs tr.border-top {
   background-color: #484c57;
   font-size: 18px;
 }
-.wp-block-navigation-item.current-menu-item {
-  color: #ffffff;
+.wp-element-button:hover, .wp-block-button__link:hover {
+  border-color: var(--wp--preset--color--primary-dark);
 }
 footer ul li {
   margin-block-start: 0;
@@ -174,9 +208,29 @@ footer .wp-block-query {
 footer .wp-block-query ul.wp-block-post-template {
   padding-top: 0 !important;
 }
+footer .wp-block-query ul.wp-block-post-template .wp-block-post-date {
+  font-weight: 200;
+}
+
+.page-id-11 ul li {
+  list-style: none;
+}
+
 
+/***********************************************************
+#################### Gravity Forms #########################
+************************************************************/
 
 
+.gform_wrapper .gform_footer input.button,
+.gform_wrapper .gform_footer input[type=submit] {
+  background-color:#006837 !important;
+}
+.gform_wrapper .gform_footer input[type=submit]:hover {
+  border: 1px solid #484c57 !important;
+  background-color: #002314 !important;
+}
+
 
 @charset "UTF-8";
 /***********************************************************

+ 61 - 7
css/styles.css

@@ -5,7 +5,7 @@
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 400;
-  src: url('./fonts/playfair-display-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
+  src: url('./fonts/playfair-display-v36-latin-regular.woff2') format('woff2'); 
 }
 
 @font-face {
@@ -13,7 +13,7 @@
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 600;
-  src: url('./fonts/playfair-display-v36-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
+  src: url('./fonts/playfair-display-v36-latin-600.woff2') format('woff2'); 
 }
 
 @font-face {
@@ -29,7 +29,7 @@
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 900;
-  src: url('./fonts/playfair-display-v36-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
+  src: url('./fonts/playfair-display-v36-latin-900.woff2') format('woff2'); 
 }
 
 @font-face {
@@ -141,14 +141,48 @@ table.costs tr.border-top {
 ################### Site Migration #########################
 ************************************************************/
 
-.wp-block-navigation-link .current-menu-item a {
-  color: #ffffff !important;
+::selection { 
+  background-color: var(--wp--preset--color--tirtiary); 
+}
+a {
+  position: relative;
+}
+a::before {
+  content: "";
+  position: absolute;
+  display: block;
+  width: 100%;
+  height: 2px;
+  bottom: 0;
+  left: 0;
+  background-color: var(--wp--preset--color--tirtiary);
+  transform: scaleX(0);
+  transition: transform 0.3s ease;
+}
+a:hover::before {
+  transform: scaleX(1);
+}
+.wp-block-site-logo a::before,
+.wp-block-site-title a::before {
+  display: none;
+}
+.no-padding {
+  margin-block-start: 0;
 }
 .wp-block-site-title {
   text-transform: uppercase;
   font-weight: 600;
   letter-spacing: 3px;
 }
+.wp-block-site-title a:hover {
+  color: var(--wp--preset--color--tirtiary) !important;
+}
+.wp-block-navigation-item a:hover {
+  color: var(--wp--preset--color--tirtiary) !important;
+}
+.current-menu-item a {
+  color: var(--wp--preset--color--tirtiary) !important;
+}
 .wp-block-navigation__submenu-container {
   background-color: #484c57;
 }
@@ -160,8 +194,8 @@ table.costs tr.border-top {
   background-color: #484c57;
   font-size: 18px;
 }
-.wp-block-navigation-item.current-menu-item {
-  color: #ffffff;
+.wp-element-button:hover, .wp-block-button__link:hover {
+  border-color: var(--wp--preset--color--primary-dark);
 }
 footer ul li {
   margin-block-start: 0;
@@ -174,6 +208,26 @@ footer .wp-block-query {
 footer .wp-block-query ul.wp-block-post-template {
   padding-top: 0 !important;
 }
+footer .wp-block-query ul.wp-block-post-template .wp-block-post-date {
+  font-weight: 200;
+}
+
+.page-id-11 ul li {
+  list-style: none;
+}
+
 
+/***********************************************************
+#################### Gravity Forms #########################
+************************************************************/
 
 
+.gform_wrapper .gform_footer input.button,
+.gform_wrapper .gform_footer input[type=submit] {
+  background-color:#006837 !important;
+}
+.gform_wrapper .gform_footer input[type=submit]:hover {
+  border: 1px solid #484c57 !important;
+  background-color: #002314 !important;
+}
+

+ 74 - 9
functions.php

@@ -47,7 +47,7 @@ function gwp24_enqueue_assets() {
 }
 add_action( 'wp_enqueue_scripts', 'gwp24_enqueue_assets' );
 
-remove_theme_support( 'block-templates' );
+//remove_theme_support( 'block-templates' );
 add_theme_support( 'block-template-parts' );
 //remove_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' );
 //remove_action( 'wp_footer', 'wp_enqueue_global_styles', 1 );
@@ -252,30 +252,48 @@ function gwp24_menu_order( $menu_order ) {
     'edit-comments.php',
     'separator2',
     'upload.php',
-    'separator-last',
     'theme-settings',
     'themes.php',
     'plugins.php',
     'tools.php',
-		'users.php'
+		'users.php',
+    'separator-last'
   );
 }
 
+add_filter( 'gform_menu_position', 'gwp23_gform_menu_position', 10, 1 );
+function gwp23_gform_menu_position( $position ) {
+  return 15;
+}
+
+//add_action('wp_dashboard_setup', 'gwp24_remove_dashboard_widgets' );
+function gwp24_remove_dashboard_widgets() {
+  remove_meta_box( 'rg_forms_dashboard', 'dashboard', 'side' );
+}
+
+add_filter('screen_options_show_screen', '__return_false');
+
 add_action( 'admin_menu', 'gwp24_remove_admin_pages', 99 );
 function gwp24_remove_admin_pages() {
   global $current_user;
   $user_id = get_current_user_id();
   if($user_id != '0') {
-    remove_submenu_page('themes.php', 'themes-editor.php');
-    remove_submenu_page( 'themes.php', 'customize.php?return=' . urlencode($_SERVER['SCRIPT_NAME']));
-    remove_submenu_page( 'themes.php', 'themes.php' );
-    remove_submenu_page( 'themes.php', 'theme-editor.php' );
-    remove_submenu_page( 'themes.php', 'theme_options' );
   	remove_menu_page('plugins.php');
     remove_menu_page('tools.php');
     remove_menu_page('options-general.php');
     remove_menu_page('gutenberg');
     remove_menu_page('users.php');
+    remove_submenu_page('themes.php', 'themes-editor.php');
+    remove_submenu_page( 'themes.php', 'customize.php?return=' . urlencode($_SERVER['SCRIPT_NAME']));
+    remove_submenu_page( 'themes.php', 'themes.php' );
+    remove_submenu_page( 'themes.php', 'theme-editor.php' );
+    remove_submenu_page( 'themes.php', 'theme_options' );
+    remove_submenu_page('gf_edit_forms', 'gf_new_form');
+    remove_submenu_page('gf_edit_forms', 'gf_export');
+    remove_submenu_page('gf_edit_forms', 'gf_addons');
+    remove_submenu_page('gf_edit_forms', 'gf_settings');
+    remove_submenu_page('gf_edit_forms', 'gf_help');
+    remove_submenu_page('gf_edit_forms', 'gf_system_status');
   }
 }
 
@@ -358,6 +376,15 @@ function gwp24_login_logo() {
       #login h1 a, .login h1 a {
         background-image: url(<?php echo esc_url( $logo_image[0] ); ?>);
       }
+      body.login {
+        background-color: #006837 !important;
+      }
+      .login #nav a {
+        color: #E9E4DC !important;
+      }
+      .login #backtoblog a {
+        display: none !important;
+      }
     </style>
 <?php }
 add_filter( 'login_headerurl', 'gwp24_login_url' );
@@ -402,4 +429,42 @@ function gwp24_disable_comments() {
 					remove_post_type_support($post_type,'trackbacks');
 			}
 	}
-}
+}
+
+/***********************************************************
+##################### SVG ##########################
+************************************************************/
+
+// Allow SVG
+add_filter( 'wp_check_filetype_and_ext', function($data, $file, $filename, $mimes) {
+
+  global $wp_version;
+  if ( $wp_version !== '4.7.1' ) {
+     return $data;
+  }
+
+  $filetype = wp_check_filetype( $filename, $mimes );
+
+  return [
+      'ext'             => $filetype['ext'],
+      'type'            => $filetype['type'],
+      'proper_filename' => $data['proper_filename']
+  ];
+
+}, 10, 4 );
+
+function cc_mime_types( $mimes ){
+  $mimes['svg'] = 'image/svg+xml';
+  return $mimes;
+}
+add_filter( 'upload_mimes', 'cc_mime_types' );
+
+function fix_svg() {
+  echo '<style type="text/css">
+        .attachment-266x266, .thumbnail img {
+             width: 100% !important;
+             height: auto !important;
+        }
+        </style>';
+}
+add_action( 'admin_head', 'fix_svg' );

+ 3 - 3
parts/header.html

@@ -1,10 +1,10 @@
-<!-- wp:group {"style":{"spacing":{"padding":{"top":"10px","bottom":"10px"}}},"layout":{"type":"constrained"}} -->
-<div class="autohide navbar fixed-top wp-block-group has-base-color  has-contrast-background-color has-background">
+<!-- wp:group {"style":{"spacing":{"padding":{"top":"25px","bottom":"25px"}}},"layout":{"type":"constrained"}} -->
+<div class="autohide navbar fixed-top wp-block-group has-base-color has-contrast-background-color has-background" style="padding-top:25px;padding-bottom:25px">
 	<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap"}} -->
 	<div class="wp-block-group alignwide container">
 		<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex"}} -->
 		<div class="wp-block-group">
-			<!-- wp:site-logo {"width":65 } /-->
+			<!-- wp:site-logo {"width":50 } /-->
 			<!-- wp:group {"style":{"spacing":{"blockGap":"30"}}} -->
 			<div class="wp-block-group">
 				<!-- wp:site-title {"level":0} /-->

+ 1 - 17
patterns/color-bar.php

@@ -11,23 +11,7 @@
 <!-- wp:group {"align":"full","layout":{"type":"constrained"}}} -->
 <div class="wp-block-group alignfull">
 	<!-- wp:group {"className":"row","layout":{"type":"flex","flexWrap":"nowrap"}} -->
-	<div class="wp-block-group row">
-		<div class="col bg-gwp-blue">&nbsp;</div>
-		<div class="col bg-gwp-blue-green">&nbsp;</div>
-		<div class="col bg-gwp-blue-blue-green">&nbsp;</div>
-		<div class="col bg-gwp-green-green-blue">&nbsp;</div>
-		<div class="col bg-gwp-green">&nbsp;</div>
-		<div class="col bg-gwp-blue">&nbsp;</div>
-		<div class="col bg-gwp-blue-green">&nbsp;</div>
-		<div class="col bg-gwp-blue-blue-green">&nbsp;</div>
-		<div class="col bg-gwp-green-green-blue">&nbsp;</div>
-		<div class="col bg-gwp-green">&nbsp;</div>
-		<div class="col bg-gwp-blue">&nbsp;</div>
-		<div class="col bg-gwp-blue-green">&nbsp;</div>
-		<div class="col bg-gwp-blue-blue-green">&nbsp;</div>
-		<div class="col bg-gwp-green-green-blue">&nbsp;</div>
-		<div class="col bg-gwp-green">&nbsp;</div>
-	</div>
+
 	<!-- /wp:group -->
 </div>
 <!-- /wp:group -->

+ 21 - 2
patterns/footer.php

@@ -13,11 +13,14 @@
 
 	<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|50"}}}} -->
 	<div class="wp-block-group alignwide container" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--50)">
+		
 		<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
 		<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
 		<!-- /wp:spacer -->
+		
 		<!-- wp:columns {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}} -->
 		<div class="wp-block-columns" style="padding-top:var(--wp--preset--spacing--10)">
+			
 			<!-- wp:column {"width":"50%"} -->
 			<div class="wp-block-column" style="flex-basis:50%">
 				<!-- wp:paragraph -->
@@ -38,34 +41,45 @@
 				<!-- /wp:paragraph -->
 			</div>
 			<!-- /wp:column -->
+			
 			<!-- wp:column {"width":"50%"} -->
 			<div class="wp-block-column" style="flex-basis:50%">
+				
 				<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"horizontal"}} -->
 				<div class="wp-block-group">
-					<!-- wp:heading {"level":3} -->
-					<h3 class="wp-block-heading has-large-font-size has-text-color-base amatic"><?php esc_html_e('The Power of Promise News', 'gwp'); ?></h3>
+
+					<!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontSize":"large","fontWeight":"100"}}} -->
+					<h3 class="wp-block-heading has-large-font-size has-text-color-base"><?php esc_html_e('Power of Promise', 'gwp'); ?></h3>
 					<!-- /wp:heading -->
+
 					<!-- wp:image {"align":"right","width":"70px","linkDestination":"none"} -->
 					<figure class="wp-block-image alignright is-resized">
 						<img src="<?php echo esc_url(get_template_directory_uri()); ?>/img/_gwp_logo-2.png" style="width:70px" />
 					</figure>
 					<!-- /wp:image -->
+
 				</div>
 				<!-- /wp:group -->
+
 				<!-- wp:query -->
 				<div class="wp-block-query">
 					<!-- wp:pattern {"slug":"gwp/query-short"} /-->
 				</div>
 				<!-- /wp:query -->
+
 			</div>
 			<!-- /wp:column -->
+
 		</div>
 		<!-- /wp:columns -->
+
 		<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
 		<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
 		<!-- /wp:spacer -->
+
 		<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","horizontalAlignment":"top"}} -->
 		<div class="wp-block-group">
+
 			<!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
 			<div class="wp-block-group">
 				<!-- wp:paragraph {"fontSize":"small"} -->
@@ -74,15 +88,20 @@
 				<!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /-->
 			</div>
 			<!-- /wp:group -->
+
 			<!-- wp:paragraph -->
 			<p class="float-end mb-1"><a href="#"><i class="bi bi-arrow-up-circle-fill text-light fs-2"></i></a></p>
 			<!-- /wp:paragraph -->
+
 		</div>
 		<!-- /wp:group -->
+
 	</div>
 	<!-- /wp:group -->
+
 	<!-- wp:spacer {"height":"100px"} -->
 	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
 	<!-- /wp:spacer -->
+
 </div>
 <!-- /wp:group -->

+ 3 - 5
patterns/query-short.php

@@ -14,13 +14,11 @@
 	<!-- wp:post-template -->
 		<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"horizontal"}} -->
 		<div class="wp-block-group">
-			<!-- wp:post-title {"level":2,"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|tirtiary"}}}},"textColor":"tirtiary","fontSize":"small"} /-->
+			<!-- wp:post-title {"level":2,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontSize":"medium","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|tirtiary"}}}},"textColor":"tirtiary"} /-->
 			<!-- wp:paragraph -->
-			<span>&nbsp;( </span>
-			<!-- wp:post-date {"format":"m.d.Y"} /-->
-			<span> )</span>
+			<span>&nbsp;-&nbsp;</span>
+			<!-- wp:post-date {"format":"m/d/Y"} /-->
 			<!-- /wp:paragraph -->
-			
 		</div>
 		<!-- /wp:group -->
 	<!-- /wp:post-template -->

+ 151 - 43
style-editor.css

@@ -3,31 +3,35 @@
   height: auto !important;
 }
 /* stop bootstrap 0 margin resets on ul */
-
-body {
-  background: #e9e4dc;
+.wp-admin .components-panel__header ul, li {
+  margin-top: 16px;
 }
+
 :root {
   --wp-components-color-accent: #006837;
   --wp-admin-theme-color: #E9E4DC;
 }
-#wpcontent a {
-  color: #484c57;
+::selection { 
+  background-color: var(--wp--preset--color--tirtiary); 
 }
-a:hover {
+#wp-version-message {
+  display: none;
+}
+body.wp-admin {
+  background: var(--wp-admin-theme-color);
+}
+#wpbody-content a {
   color: var(--wp-components-color-accent);
 }
-.wp-core-ui .button, .wp-core-ui .button-secondary {
-  color: #484c57;
-  border-color: #484c57;
-  background: #f6f7f7;
-  vertical-align:top
+#wpbody-content .block-editor:not(.is-root-container) a {
+  color: #eaeaea;
 }
-.wrap .add-new-h2, .wrap .add-new-h2:active, .wrap .page-title-action, .wrap .page-title-action:active {
-  border: 1px solid #484c57;
-  color: #484c57;
+#wpbody-content a:hover {
+  color: var(--wp-components-color-accent-darker-20);
+}
+#wpbody-content #site-editor a {
+  color: var(--wp--preset--color--tirtiary) !important;
 }
-
 #wp-admin-bar-site-name .ab-item::before {
   background-image: url(../gwp/img/_gwp_icon.svg) !important;
   background-position: center !important;
@@ -37,6 +41,81 @@ a:hover {
   height: 25px;
   content: '' !important;
 }
+#adminmenu,
+#adminmenuback,
+#adminmenuwrap,
+#adminmenuwrap,
+#wpadminbar {
+  background-color: #484c57;
+}
+#wpadminbar .ab-top-menu > li.hover > .ab-item, 
+#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, 
+#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, 
+#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus {
+  background: #2a2d36;
+  color:#5dbd73;
+}
+#adminbar,
+#adminmenu .wp-submenu, 
+#adminmenu .wp-submenu-wrap,
+#adminmenu li.menu-top:hover,
+#adminmenu li.opensub {
+  background-color: #2a2d36;
+}
+#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, 
+#adminmenu .wp-menu-arrow, #adminmenu .wp-menu-arrow div, 
+#adminmenu li.current a.menu-top, 
+#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 
+#adminmenu li.wp-has-current-submenu:hover, 
+#adminmenu li.wp-has-current-submenu.opensub:hover, 
+#adminmenu li:hover, #adminmenu li.opensub:hover {
+  background-color: #006837;
+}
+#adminmenu li a:focus div.wp-menu-image:before, 
+#adminmenu li.opensub div.wp-menu-image:before, 
+#adminmenu li:hover div.wp-menu-image:before{
+  color:#5dbd73;
+}
+#adminmenu li.menu-top:hover, 
+#adminmenu li.opensub > a.menu-top, 
+#adminmenu li > a.menu-top:focus {
+  position: relative;
+  background-color: #2a2d36;
+  color:#5dbd73;
+}
+#adminmenu .wp-submenu a:focus, 
+#adminmenu .wp-submenu a:hover, 
+#adminmenu a:hover, 
+#adminmenu li.menu-top > a:focus {
+  color:#ffffff;
+}
+#adminmenu li.menu-top:hover, 
+#adminmenu li.opensub > a.menu-top, 
+#adminmenu li > a.menu-top:focus {
+  background-color: #2a2d36;
+  color:#ffffff;
+}
+#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, 
+#adminmenu .wp-menu-arrow, 
+#adminmenu .wp-menu-arrow div, 
+#adminmenu li.current a.menu-top, 
+#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
+  background: #006837 !important;
+  color:#fff;
+}
+.wp-core-ui .button, .wp-core-ui .button-secondary {
+  color: #484c57;
+  border-color: #484c57;
+  background: #f6f7f7;
+  vertical-align:top
+}
+.wrap .add-new-h2, 
+.wrap .add-new-h2:active, 
+.wrap .page-title-action, 
+.wrap .page-title-action:active {
+  border: 1px solid #484c57;
+  color: #484c57;
+}
 .edit-site-site-icon__image {
   display: none !important;
 }
@@ -80,34 +159,10 @@ a:hover {
 .dashicons-admin-media::before {
   content: '\f322' !important;
 }
-
-#adminmenu,
-#adminmenuback,
-#adminmenuwrap,
-#adminmenuwrap,
-#wpadminbar {
-  background-color: #484c57;
-}
-#adminbar,
-#adminmenu .wp-submenu, 
-#adminmenu .wp-submenu-wrap,
-#adminmenu li.menu-top:hover,
-#adminmenu li.opensub {
-  background-color: #383b44;
-}
-#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, #adminmenu .wp-menu-arrow, #adminmenu .wp-menu-arrow div, #adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu:hover, #adminmenu li.wp-has-current-submenu.opensub:hover, #adminmenu li:hover, #adminmenu li.opensub:hover {
-  background-color: #006837;
+.media-sidebar {
+  background: #2a2d36 !important;
 }
 
-@media (prefers-color-scheme: dark) {
-  #wpcontent.wp-admin a {
-    color: #484c57;
-  }
-  #wpcontent.wp-admin a:hover {
-    color: #006837;
-  }
-
-}
 
 
 /***********************************************************
@@ -196,7 +251,9 @@ a:hover {
     background-color: #484c57;
     color: rgb(213, 213, 213);
   }
-
+  :where(.editor-styles-wrapper) {
+    background: #484c57;
+  }
   .edit-post-header {
     background: #484c57 !important;
   }
@@ -222,11 +279,19 @@ a:hover {
   .edit-site-document-actions .edit-site-document-actions__command {
     background: #bababa;
   }
+  .edit-site-sidebar-navigation-item.components-item:focus,
+  .edit-site-sidebar-navigation-item.components-item:hover,
+  .edit-site-sidebar-navigation-item.components-item[aria-current] {
+    background:#2a2d36;
+    color: #e0e0e0;
+}
   .edit-site-patterns .edit-site-patterns__search input[type=search],
   .edit-site-sidebar-navigation-item.components-item[aria-current] {
     background: #2a2d36;
   }
-
+  .components-notice.is-warning {
+    background: #2a2d36;
+  }
   .components-button {
     color: rgb(213, 213, 213);
   }
@@ -265,3 +330,46 @@ a:hover {
     border: 1px solid #484c57 !important;
   }
 }
+
+/***********************************************************
+#################### Gravity Forms #########################
+************************************************************/
+
+header.gform-settings-header {
+  display: none;
+}
+#rg_forms_dashboard .postbox-header h2.hndle {
+  display: none !important;
+}
+#rg_forms_dashboard .postbox-header:before{
+  content:'Forms';
+  font-weight: 700;
+  font-size: 14px;
+  padding-left: 15px;
+}
+#rg_forms_dashboard .inside i {
+  font-style: normal !important;
+  font-weight: 500;
+  font-size: 13px;
+}
+#form-editor .gform-settings__wrapper .button.primary {
+  background-color: #006837 !important;
+}
+#form-editor .gforms_edit_form {
+  background-color: #E9E4DC !important;
+}
+#form-editor .gform-form-toolbar__container {
+  background-color: #E9E4DC !important;
+}
+.editor-sidebar .sidebar__panel {
+  background: #E9E4DC !important;
+}
+#gform-form-toolbar {
+  background: #E9E4DC !important;
+}
+#form-editor .sidebar__nav-wrapper {
+  background: #E9E4DC !important;
+}
+#form-editor .ui-widget-content {
+  background: #E9E4DC !important;
+}

+ 9 - 0
templates/page-no-title-no-padding.html

@@ -0,0 +1,9 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","className":"no-padding","style":{"spacing":{"padding":{"top":"var:preset|spacing|0","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group no-padding" style="padding-top:var(--wp--preset--spacing--0);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 0 - 0
templates/no-title.html → templates/page-no-title.html


+ 11 - 1
theme.json

@@ -35,6 +35,11 @@
 					"color": "#006837",
 					"name": "Primary"
 				},
+				{
+					"slug": "primary-dark",
+					"color": "#00562E",
+					"name": "Primary"
+				},
 				{
 					"slug": "secondary",
 					"color": "#2a2d36",
@@ -42,7 +47,7 @@
 				},
 				{
 					"slug": "tirtiary",
-					"color": "#C2FFC6",
+					"color": "#5dbd73",
 					"name": "tirtiary"
 				},
 				{
@@ -386,6 +391,11 @@
 			"title": "No title",
 			"postTypes": [ "post","page" ]
 		},
+		{
+			"name": "no-title-no-padding",
+			"title": "No title No Padding",
+			"postTypes": [ "post","page" ]
+		},
 		{
 			"name": "home",
 			"title": "Home",