diff --git a/img/donate.gif b/img/donate.gif deleted file mode 100644 index 4700ced8..00000000 Binary files a/img/donate.gif and /dev/null differ diff --git a/scripts/pi-hole/php/debug.php b/scripts/pi-hole/php/debug.php index d7ef02bf..60286b9b 100644 --- a/scripts/pi-hole/php/debug.php +++ b/scripts/pi-hole/php/debug.php @@ -50,9 +50,9 @@ function echoEvent($datatext) { } if (isset($_GET["upload"])) { - $proc = popen("sudo pihole -d -a -w", "r"); + $proc = popen("export TERM=dumb && sudo pihole -d -a -w", "r"); } else { - $proc = popen("sudo pihole -d -w", "r"); + $proc = popen("export TERM=dumb && sudo pihole -d -w", "r"); } while (!feof($proc)) { diff --git a/scripts/pi-hole/php/header.php b/scripts/pi-hole/php/header.php index b4637806..e7703a7a 100644 --- a/scripts/pi-hole/php/header.php +++ b/scripts/pi-hole/php/header.php @@ -313,10 +313,10 @@ if($auth) { diff --git a/style/pi-hole.css b/style/pi-hole.css index 2388325b..8dba0c14 100644 --- a/style/pi-hole.css +++ b/style/pi-hole.css @@ -667,6 +667,33 @@ td.details-control { height: 50px; } +.navbar-nav > .user-menu > .dropdown-menu > .user-body a { + background: transparent !important; +} + +/*** Donate button - navbar ***/ +.main-header .navbar-custom-menu .user-footer .donate { + margin: 15px; + padding: 0.8em 1em; + width: calc(100% - 30px); + color: #fff; + background: #96060c; + border: none; + border-radius: 6px; +} + +.main-header .navbar-custom-menu .user-footer .donate:hover, +.main-header .navbar-custom-menu .user-footer .donate:active, +.main-header .navbar-custom-menu .user-footer .donate:active:hover, +.main-header .navbar-custom-menu .user-footer .donate:focus, +.main-header .navbar-custom-menu .user-footer .donate:active:focus { + background: #f60d1a; +} + +.navbar-custom-menu > .navbar-nav > li:nth-child(2) { + padding: 0 5px; +} + #apiTokenIframe { width: 100%; border: 0; diff --git a/style/themes/default-dark.css b/style/themes/default-dark.css index a95ab53c..68100a88 100644 --- a/style/themes/default-dark.css +++ b/style/themes/default-dark.css @@ -503,7 +503,7 @@ fieldset[disabled] .form-control { background-color: #353c42; opacity: 1; } -.dropdown-menu { +.navbar-custom-menu > .navbar-nav > li > .dropdown-menu { background-color: #4c5761; color: #bec5cb; border: 1px solid #171c20; diff --git a/style/themes/lcars.css b/style/themes/lcars.css index 103a1fac..139e6699 100644 --- a/style/themes/lcars.css +++ b/style/themes/lcars.css @@ -505,6 +505,10 @@ p.login-box-msg, box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.6); } +.dropdown-toggle { + z-index: 2000; +} + .dropdown-menu > li > a { color: inherit; }