From 06dd15966c3d856f7b591b377b304284d49824d1 Mon Sep 17 00:00:00 2001 From: Greg Post Date: Thu, 12 Dec 2024 16:44:31 -0600 Subject: [PATCH] Header render Fixes (#1962) * Switch header buttons to use HTML button element for better UX * Adjust styling to restoring honoring header button text color * Improve header button layout on <768px display --- config/symbbase.php | 2 +- css/symbiota/header.css | 12 +++++++++--- css/symbiota/main.css | 1 + includes/header_template.php | 20 +++++++++++--------- 4 files changed, 22 insertions(+), 13 deletions(-) diff --git a/config/symbbase.php b/config/symbbase.php index 0071526f10..8c77b56e8b 100644 --- a/config/symbbase.php +++ b/config/symbbase.php @@ -2,7 +2,7 @@ header('X-Frame-Options: DENY'); header('Cache-control: private'); // IE 6 FIX date_default_timezone_set('America/Phoenix'); -$CODE_VERSION = '3.1.5'; +$CODE_VERSION = '3.1.5.1'; set_include_path(get_include_path() . PATH_SEPARATOR . $SERVER_ROOT . PATH_SEPARATOR . $SERVER_ROOT.'/config/' . PATH_SEPARATOR . $SERVER_ROOT.'/classes/'); diff --git a/css/symbiota/header.css b/css/symbiota/header.css index c9ff51ec33..2b14b41f9f 100644 --- a/css/symbiota/header.css +++ b/css/symbiota/header.css @@ -30,16 +30,22 @@ header { margin-right: 0.4rem; } -#login { - float: right; + +nav.top-login > span > form{ + display: inline; margin: 0; padding: 0; + } -#contactUs { +#profile, #contactUs{ float: left; } +#login, #logout { + float: right; +} + .top-brand { /* align a and brand-name */ clear: both; diff --git a/css/symbiota/main.css b/css/symbiota/main.css index fd8e12fff1..59be1e0007 100644 --- a/css/symbiota/main.css +++ b/css/symbiota/main.css @@ -442,6 +442,7 @@ button.inverse-color { .button-secondary { background-color: var(--bright-color); + color: var(--darkest-color); } .button-secondary > a { diff --git a/includes/header_template.php b/includes/header_template.php index 90f75e6e5d..b46899d647 100644 --- a/includes/header_template.php +++ b/includes/header_template.php @@ -16,24 +16,26 @@
!
- - + +
+ +
- - + +
+ +
- - - - + +
"> "> - +